[mapserver-dev] Re: MapServer trunk Redhat 6.2 Build - require no
space between `-L' and `-lc'
thomas bonfort
thomas.bonfort at gmail.com
Mon Jan 2 09:35:52 EST 2012
that seems reasonable, -L is expecting a directory. can you look in
Makefile which dependency added this -L ?
On Mon, Jan 2, 2012 at 15:31, Smith, Michael ERDC-CRREL-NH
<Michael.Smith at usace.army.mil> wrote:
> Thomas,
>
> After the libtool changes, I'm seeing the error
>
> libtool: link: require no space between `-L' and `-lc'
>
> Our config is
>
> [gridusr at rsgisvmw05 mapserver]$ cat build.grid
> ./configure \
> --without-tiff \
> --with-agg \
> --with-threads \
> --with-jpeg \
> --with-png \
> --with-freetype \
> --with-proj \
> --with-ogr=/home/gridusr/local/bin/gdal-config \
> --with-gdal=/home/gridusr/local/bin/gdal-config \
> --with-wfs \
> --with-wcs \
> --with-kml \
> --with-sos \
> --with-wmsclient \
> --with-wfsclient \
> --with-curl-config=/usr/bin/curl-config \
> --with-xml2-config=/usr/bin/xml2-config \
> --with-libiconv \
> --with-oraclespatial=/home/gridusr/local/instantclient_11_2 \
> --enable-debug \
> --enable-point-z-m
>
> And the specific libtool line is
>
> libtool: compile: gcc -c -I/home/gridusr/local/include -Wall
> -DUSE_POINT_Z_M -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -DUSE_LIBXML2
> -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML -DUSE_WCS_SVR -DUSE_WFS_SVR
> -DUSE_WMS_SVR -DUSE_ORACLESPATIAL -DUSE_GDAL -DUSE_OGR -DUSE_THREAD
> -DUSE_PROJ -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
> -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG -DUSE_ZLIB
> -DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR
> -DDISABLE_CVSID -I/usr/include/freetype2 -Irenderers/agg/include
> -I/home/gridusr/local/include
> -I/home/gridusr/local/instantclient_11_2/sdk/include
> -I/home/gridusr/local/instantclient_11_2/rdbms/demo
> -I/home/gridusr/local/instantclient_11_2/rdbms/public -I/usr/include/libxml2
> mapserv.c -o mapserv.o >/dev/null 2>&1
> /bin/sh ./libtool --mode=link --tag=CXX g++ -release 6.1-dev -rpath
> /home/gridusr/local/lib renderers/agg/src/clipper.lo
> renderers/agg/src/agg_arc.lo renderers/agg/src/agg_curves.lo
> renderers/agg/src/agg_vcgen_contour.lo renderers/agg/src/agg_vcgen_dash.lo
> renderers/agg/src/agg_vcgen_stroke.lo renderers/agg/src/agg_image_filters.lo
> renderers/agg/src/agg_line_aa_basics.lo
> renderers/agg/src/agg_line_profile_aa.lo
> renderers/agg/src/agg_sqrt_tables.lo
> renderers/agg/src/agg_embedded_raster_fonts.lo
> renderers/agg/src/agg_trans_affine.lo
> renderers/agg/src/agg_vpgen_clip_polygon.lo
> renderers/agg/src/agg_vpgen_clip_polyline.lo
> renderers/agg/src/agg_font_freetype.lo mapgeomutil.lo mapdummyrenderer.lo
> mapogl.lo mapoglrenderer.lo mapoglcontext.lo mapimageio.lo mapcairo.lo
> maprendering.lo mapgeomtransform.lo mapquantization.lo maptemplate.lo
> mapbits.lo maphash.lo mapshape.lo mapxbase.lo mapparser.lo maplexer.lo
> maptree.lo mapsearch.lo mapstring.lo mapsymbol.lo mapfile.lo maplegend.lo
> maputil.lo mapscale.lo mapquery.lo maplabel.lo maperror.lo mapprimitive.lo
> mapproject.lo mapraster.lo mapsde.lo mapogr.lo mappostgis.lo maplayer.lo
> mapresample.lo mapwms.lo mapwmslayer.lo maporaclespatial.lo mapgml.lo
> mapprojhack.lo mapthread.lo mapdraw.lo mapgd.lo mapagg.lo mapoutput.lo
> mapgdal.lo mapimagemap.lo mapows.lo mapwfs.lo mapwfs11.lo mapwfslayer.lo
> mapcontext.lo maphttp.lo mapdrawgdal.lo mapjoin.lo mapgraticule.lo
> mapcopy.lo mapogcfilter.lo mapogcsld.lo maptime.lo mapwcs.lo mapwcs11.lo
> mapcpl.lo cgiutil.lo maprasterquery.lo mapobject.lo mapgeos.lo
> classobject.lo layerobject.lo mapio.lo mappool.lo mapregex.lo
> mappluginlayer.lo mapogcsos.lo mappostgresql.lo mapcrypto.lo mapowscommon.lo
> maplibxml2.lo mapdebug.lo mapchart.lo maptclutf.lo mapxml.lo mapkml.lo
> mapkmlrenderer.lo mapogroutput.lo mapwcs20.lo mapogcfiltercommon.lo
> mapunion.lo mapcluster.lo mapxmp.lo mapuvraster.lo mapservutil.lo maptile.lo
> -lfreetype -lgd -lgd -ljpeg -lfreetype -lpng -lz -lXpm -lX11 -lproj
> -ljpeg -lpng -lgif -L/home/gridusr/local/lib -lgdal -lcurl
> -L/home/gridusr/local/instantclient_11_2 -lclntsh -lpthread -L -lc -lz
> -lxml2 -lz -lm -lm -lstdc++ -o libmapserver.la
> libtool: link: require no space between `-L' and `-lc'
>
More information about the mapserver-dev
mailing list