[mapserver-users] install problems (fwd)

teb teb at mallit.fr.umn.edu
Thu Jun 7 11:55:04 EDT 2001


------------- Begin Forwarded Message -------------

Date: Thu, 07 Jun 2001 08:29:29 -0700
From: "Paul Smith" <pauls at SCCWRP.ORG>
X-Accept-Language: en
MIME-Version: 1.0
To: mapserver-info at lists.gis.umn.edu
Subject: install problems
X-SLUIDL: 1F6BFE5E-4AF711D5-893600C0-F0570AEB

I am having some trouble installing mapserv 3.4 with php 
extensions from
source onto a redhat 6.2 box with php-4.0.5 and apache 1.3.20 
using the
dso method.  Attached is what is happening after make.  It looks 
as if
there are a series of compile errors.
As I understand it, after make I should have a mapserver 
executable that
gets moved to cgi-bin and php_mapscript.so that gets moved to
/usr/local/lib/php/extensions.
I've also tried installing with php-3.0.14 and apache 1.3.12, but 
same
problem.  For various reasons we don't want to install these 
packages
with rpm files.  What would be the recommended versions of each 
of these
packages and on what linux platform would you recommend.

Thank you,

Paul Smith
pauls at sccwrp.org

------------- End Forwarded Message -------------

-------------- next part --------------
#make
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapbits.c -o mapbits.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maphash.c -o maphash.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapshape.c -o mapshape.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapxbase.c -o mapxbase.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapparser.c -o mapparser.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maplexer.c -o maplexer.o
#maplexer.c: In function `msyylex':
#maplexer.c:1539: warning: `yy_cp' might be used uninitialized in this function
#maplexer.c:1539: warning: `yy_bp' might be used uninitialized in this function
#maplexer.c: At top level:
#maplexer.c:3004: warning: `yyunput' defined but not used
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maptree.c -o maptree.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapsearch.c -o mapsearch.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapstring.c -o mapstring.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapsymbol.c -o mapsymbol.o
#mapsymbol.c: In function `getCharacterSize':
#mapsymbol.c:386: warning: unused variable `error'
#mapsymbol.c:385: warning: unused variable `bbox'
#mapsymbol.c: In function `msDrawShadeSymbol':
#mapsymbol.c:424: warning: unused variable `font'
#mapsymbol.c:423: warning: unused variable `rect'
#mapsymbol.c:422: warning: unused variable `bbox'
#mapsymbol.c: In function `msGetMarkerSize':
#mapsymbol.c:622: warning: unused variable `font'
#mapsymbol.c:621: warning: unused variable `rect'
#mapsymbol.c: In function `msDrawMarkerSymbol':
#mapsymbol.c:689: warning: unused variable `font'
#mapsymbol.c:688: warning: unused variable `rect'
#mapsymbol.c:687: warning: unused variable `bbox'
#mapsymbol.c: At top level:
#mapsymbol.c:384: warning: `getCharacterSize' defined but not used
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapfile.c -o mapfile.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maplegend.c -o maplegend.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maputil.c -o maputil.o
#maputil.c: In function `msDrawShapefileLayer':
#maputil.c:1202: warning: assignment discards `const' from pointer target type
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapscale.c -o mapscale.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapquery.c -o mapquery.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maplabel.c -o maplabel.o
#maplabel.c: In function `draw_text':
#maplabel.c:348: warning: unused variable `bbox'
#maplabel.c:347: warning: unused variable `font'
#maplabel.c:347: warning: unused variable `error'
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      maperror.c -o maperror.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapprimitive.c -o mapprimitive.o
#mapprimitive.c:709: warning: `get_centroid' defined but not used
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapproject.c -o mapproject.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapraster.c -o mapraster.o
#mapraster.c: In function `msDrawRasterLayer':
#mapraster.c:1294: warning: assignment discards `const' from pointer target type
#mapraster.c: At top level:
#mapraster.c:1028: warning: `drawGEN' defined but not used
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapsde.c -o mapsde.o
#c++ -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#       mapogr.cpp -o mapogr.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      epplib.c -o epplib.o
#ar rc libmap.a mapbits.o maphash.o mapshape.o mapxbase.o mapparser.o maplexer.o maptree.o mapse
#arch.o mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o maplabel.o
# maperror.o mapprimitive.o mapproject.o mapraster.o mapsde.o mapogr.o epplib.o
#ranlib libmap.a
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      shp2img.c -o shp2img.o
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   shp2img.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o shp2img
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      legend.c -o legend.o
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   legend.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o legend
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      mapserv.c -o mapserv.o
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      cgiutil.c -o cgiutil.o
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   mapserv.o cgiutil.o   -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o mapserv
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      shptree.c -o shptree.o
#shptree.c: In function `main':
#shptree.c:38: warning: `filename' might be used uninitialized in this function
#shptree.c:40: warning: `byte_order' might be used uninitialized in this function
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   shptree.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o shptree
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      shptreevis.c -o shptreevis.o
#shptreevis.c: In function `main':
#shptreevis.c:76: warning: unused variable `pabyBuf'
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   shptreevis.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o shptreevis
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      shptreetst.c -o shptreetst.o
#shptreetst.c: In function `main':
#shptreetst.c:68: warning: `node' might be used uninitialized in this function
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   shptreetst.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o shptreetst
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      scalebar.c -o scalebar.o
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   scalebar.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o scalebar
#gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#      sortshp.c -o sortshp.o
#gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8
#   sortshp.o  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm -o sortshp
#touch perlvars
#pwd > perlvars
#echo -DIGNORE_MISSING_DATA  -DUSE_EPPL   -DUSE_TIFF -DUSE_JPEG -DUSE_GD_1_8   >> perlvars
#echo -I.        >> perlvars
#echo  -L. -lmap -lgd -lpng -lz  -ltiff  -ljpeg     -lm >> perlvars
#cd mapscript/php3; make; cd ../..
#make[1]: Entering directory `/usr/local/src/webmap_server/mapserver/mapscript/php3'
#cc  cc -I. -I.. -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL -DUSE_JPEG -DUSE_TIFF -DUSE_G
#D_1_8  -I/usr/local/src/webmap_server/mapserver          -I/usr/local/src/webmap_server/mapserv
#er/../php-4.0.5 -I/usr/local/src/webmap_server/mapserver/../php-4.0.5/dl -I/usr/local/src/webma
#p_server/mapserver/../php-4.0.5/main -I/usr/local/src/webmap_server/mapserver/../php-4.0.5/Zend
# -I/usr/local/src/webmap_server/mapserver/../php-4.0.5/include -I/usr/local/src/webmap_server/m
#apserver/../php-4.0.5/TSRM -I/usr/local/apache/include -c -o php_mapscript_util.o php_mapscript
#_util.c
#cc: cannot specify -o with -c or -S and multiple compilations
#make[1]: *** [php_mapscript_util.o] Error 1
#make[1]: Leaving directory `/usr/local/src/webmap_server/mapserver/mapscript/php3'


More information about the mapserver-users mailing list