[mapserver-users] Was Disabling postgis now Compiling Mapscript in for cvs build
Tim Sutton
sutton_t at giug.net
Tue Oct 2 15:08:38 PDT 2001
Thank you for your help....compile makes it past the postgis bits now.
My next problem is it is getting stuck on the php_mapscript
compilation. I configured php with:
./configure --with-apxs --with-mysql --with-postgres --with-dbase
--with-regex=system
And compiled mapserver with:
./configure --with-php=../php-4.0.6 --with-jpg --with-freetype
--with-png --with-apxs --with-postgis && make
Which resulted in the error listed below. I do need to use the
php_mapscript so I can't skip its compilation.
make[1]: Entering directory `/usr/local/src/mapserver/mapscript/php3'
gcc -O2 -march=i386 -mcpu=i686 -fno-strict-aliasing -I. -I.. -fPIC -O2
-Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL -DUSE_TIFF -DUSE_GD_PNG
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_JPEG
-I/usr/local/src/mapserver
-I/usr/include -I/usr/local/src/mapserver/../php-4.0.6
-I/usr/local/src/mapserver/../php-4.0.6/dl
-I/usr/local/src/mapserver/../php-4.0.6/main
-I/usr/local/src/mapserver/../php-4.0.6/Zend
-I/usr/local/src/mapserver/../php-4.0.6/include
-I/usr/local/src/mapserver/../php-4.0.6/TSRM -I -c -o
php_mapscript_util.o php_mapscript_util.c
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_report_mapserver_error':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x1a):
undefined reference to `ms_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x3f):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x1ad):
undefined reference to `ms_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_fetch_handle2':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x282):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x2a7):
undefined reference to `zend_list_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x2d0):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_fetch_property_handle2':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x33f):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x36b):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x386):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x3a8):
undefined reference to `zend_list_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x3d1):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_fetch_property_string':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x45f):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x48b):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x4a6):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x4ba):
undefined reference to `_convert_to_string'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_fetch_property_long':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x51b):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x536):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x558):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x565):
undefined reference to `convert_to_long'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_fetch_property_double':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x5af):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x5db):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x5f6):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x60a):
undefined reference to `convert_to_double'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_fetch_property_resource':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x64f):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x672):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x68d):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x6b2):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_set_property_string':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x6ff):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x728):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x74d):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x760):
undefined reference to `_convert_to_string'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x777):
undefined reference to `_efree'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x786):
undefined reference to `_estrdup'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_set_property_long':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x7ef):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x818):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x83d):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x850):
undefined reference to `convert_to_long'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_set_property_double':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x8a5):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x8c8):
undefined reference to `zend_hash_find'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x8ed):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x900):
undefined reference to `convert_to_double'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_add_property_object':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x94f):
undefined reference to
`add_property_zval_ex'/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x974):
undefined reference to `zend_error'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o: In function
`_phpms_object_init':
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x9b0):
undefined reference to `_object_init_ex'
/tmp/sutton_t-tmp.013db715128c6f23/files/ccxbVvzo.o(.text+0x9c0):
undefined reference to `add_property_resource_ex'
collect2: ld returned 1 exit status
make[1]: *** [php_mapscript_util.o] Error 1
make[1]: Leaving directory
`/usr/local/src/mapserver/mapscript/php3'
More information about the MapServer-users
mailing list