[mapserver-dev] Compile problem

Ken Kyler ken at kyler.com
Sat Aug 24 20:52:33 EDT 2002


Mapserver: 3.6.1 & FreeBSD 4.5-STABLE

When I run make I get the following error:

<output deleted>
cd mapscript/php3; make; cd ../..
cc
ef  -I. -I.. -DPIC -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL    -DUS
E_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMA
GEGIFPTR -DUSE_JPEG -I/usr/local/src/mapserver-3.6.1          -I/usr/local/i
nclude -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.2 -I/usr/
ports/www/mod_php4/work/php-4.2.2/dl -I/usr/ports/www/mod_php4/work/php-4.2.
2/main  -I/usr/ports/www/mod_php4/work/php-4.2.2/Zend -I/usr/ports/www/mod_p
hp4/work/php-4.2.2/include  -I/usr/ports/www/mod_php4/work/php-4.2.2/TSRM -c
php_mapscript_util.c
cc: undef: No such file or directory
php_mapscript_util.c: In function `_phpms_object_init':
php_mapscript_util.c:681: warning: unused variable `tsrm_ls'
*** Error code 1

Stop in /usr/local/src/mapserver-3.6.1/mapscript/php3.
*** Error code 1

Stop in /usr/local/src/mapserver-3.6.1.

configure is passed these inputs

./configure \
	--with-jpeg=/usr/local \
	--with-freetype=/usr/local/bin \
	--with-png=/usr/local/lib \
	--with-gd=/usr/local \
	--with-php=/usr/ports/www/mod_php4/work/php-4.2.2 \
	--enable-runpath

Any idea what's hosed?

Ken




More information about the mapserver-dev mailing list