Opened 13 years ago

Closed 11 years ago

Last modified 7 years ago

#1079 closed defect (worksforme)

[raster] Compilation fails with `make -jX`

Reported by: martinl Owned by: pracine
Priority: low Milestone: PostGIS Fund Me
Component: raster Version: master
Keywords: compilation Cc:

Description

PostGIS configured with

--with-raster --with-topology

and compiled by

make -j3

Compilation fails with

gcc -g -O2 -g -O2 -Wall -fPIC -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -fpic -shared -o rtpostgis-2.0.so rt_pg.o -L/usr/lib -Wl,--as-needed  -Wl,--as-needed  -L/usr/local/lib  -lgeos_c -lproj -lxml2 ../rt_core/librtcore.a /usr/local/src/postgis_trunk/liblwgeom/liblwgeom.a -L/usr/local/lib -lgdal 
gcc: error: ../rt_core/librtcore.a: No such file or directory
make[2]: *** [rtpostgis-2.0.so] Error 1
make[2]: Leaving directory `/usr/local/src/postgis_trunk/raster/rt_pg'

Change History (9)

comment:1 by martinl, 13 years ago

Version: 1.5.Xtrunk

comment:2 by strk, 13 years ago

PostGIS Makefiles are pretty messy. You'll have worst problems than this one (deps not correctly tracked). Anyway, any improvement patch is welcome.

comment:3 by pracine, 13 years ago

Summary: compilation fails with `make -jX`[raster] Compilation fails with `make -jX`

comment:4 by Bborie Park, 12 years ago

Milestone: PostGIS 2.0.0PostGIS Raster Future
Priority: mediumlow

Lowered priority and moved from 2.0 to Future as this is a nice feature to have though I can't complain about the compile time of PostGIS with raster and topology.

comment:5 by pracine, 12 years ago

Milestone: PostGIS Raster FuturePostGIS Future

comment:6 by mloskot, 11 years ago

FYI, r11115 build for me on Ubuntu 12.04 with stock GCC and make.

comment:7 by mloskot, 11 years ago

…and make -j3

(premature submit)

comment:8 by Bborie Park, 11 years ago

Resolution: worksforme
Status: newclosed

Same here. No errors with make -j3 on r11228.

comment:9 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.