Opened 14 years ago

Last modified 14 years ago

#3503 assigned defect

parallel builds fail — at Version 1

Reported by: goatbar Owned by: dmorissette
Priority: normal Milestone: 5.6.5 release
Component: Build Problems Version: 5.6
Severity: normal Keywords:
Cc:

Description (last modified by dmorissette)

Looks like there is one or more missing dependencies in the build system. make -j 5 fails for 5.6.5. I'm doing this on Mac OSX 10.6.4 with in a fink package as I try to upgrade fink to use the latest version of mapserver.

mapserver-config
cat mapserver-config.in >> mapserver-config
g++ -I/sw32/include/gdal1 -O3 -funroll-loops -fexpensive-optimizations
 -ffast-math -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRRSTR
 -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -DUSE_LIBXML2 -DUSE_CURL
 -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_MING_FLASH   -DUSE_POSTGIS
 -DPOSTGIS_HAS_SERVER_VERSION  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
 -DGEOS_HAS_SIMPLIFY   -DUSE_PROJ -DUSE_EPPL  -DUSE_AGG   -DUSE_PDF
 -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
 -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
 -DUSE_ICONV -DUSE_ZLIB     -I/sw32/include -I/sw32/include/freetype2
 -I/sw32/include   -I/sw32/include -I/sw32/include
 -I/sw32/include/gdal1 -I/sw32/opt/postgresql-8.4/include  -I/sw32/include
 -I/sw32/include  -I/sw32/opt/libgeos3.2.2/include
 -I/sw32/include/libxml2 -I/sw32/include   tile4ms.o  -L. -lmapserver
 -L/sw32/lib -lgd -ljpeg -lfreetype -L/sw32/lib -lpng -lz      -L/sw32/lib
 -lpdf -ljpeg -lfreetype -L/sw32/lib -lpng -lz   -L/sw32/lib -lproj -ljpeg
 -L/sw32/lib -lpng  -L/sw32/lib -lgdal -L/sw32/lib -lproj
 -L/sw32/opt/libgeos3.2.2/lib -lgeos_c -L/sw32/lib -lsqlite3 -L/sw32
 -L/sw32/lib -lodbc -lodbcinst -L/usr/lib -lexpat -L/sw32/lib -lxerces-c
 -lpthread -ljasper -L/sw32/lib -lhdf5 -L/sw32/lib -lmfhdf -ldf -lsz
 -L/sw32 -L/sw32/lib -logdi -L/sw32 -L/sw32/lib -lgif -L/sw32 -L/sw32/lib
 -ljpeg -L/sw32/lib -ltiff -L/sw32 -L/sw32/lib -lpng -L/sw32 -L/sw32/lib
 -lnetcdf -L/sw32 -L/sw32/lib -lcfitsio -lz -L/sw32 -L/sw32/lib -ldl
 -L/sw32/lib -L/sw32/lib -lcurl -L/sw32/lib -lming
 -L/sw32/opt/postgresql-8.4/lib -lpq -lpgport -lxslt -lxml2 -lpam -lssl
 -lcrypto -lgssapi_krb5 -lz -lreadline -lm   -L/sw32/lib -lcurl
 -L/sw32/opt/libgeos3.2.2/lib -lgeos_c  -liconv  -lz -L/sw32/lib -lxml2 -lz
 -lpthread -L/sw32/lib -liconv -lm  -lm -lstdc++    -o tile4ms
chmod a+x mapserver-config
ld: library not found for -lmapserver
collect2: ld returned 1 exit status

Change History (1)

comment:1 by dmorissette, 14 years ago

Description: modified (diff)
Milestone: 5.6.5 release
Status: newassigned

I fixed some dependencies in Makefile.in in SVN trunk r10406.

Please test and confirm that this solves the issue for you and then I'll backport to the 5.6 branch.

Note: See TracTickets for help on using tickets.