[mapserver-users] php4, apache and mapserver3.5 (FWD)

teb teb at mallit.fr.umn.edu
Wed Feb 20 14:45:58 EST 2002


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

X-UIDL: -<]"!kg<"!jDH!!LM7!!
From: Patricio Gigoux <pgigoux at munistgo.cl>
To: mapserver-info at lists.gis.umn.edu
Subject: php4, apache and mapserver3.5
Date: Wed, 20 Feb 2002 14:00:37 -0300
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit


I have followed the next step
1) I configured PHP and Apache
>cd apache_1.3.23
>./configure
>cd ../php-4.1.1
>./configure --with-mysql --with-dbase --with-pgsql 
--with-apache=../apache_1.3.23 --enable-track-vars 
--with-system-regex
>make
>make install
>cd ../apache_1.3.23
>./configure --prefix=/www 
--activate-module=src/modules/php4/libphp4.a
>make
>make install
>cd ../php-4.1.1
>cp *.ini-dist /usr/local/lib/php.ini

2) I am trying to configure mapserver with PHP support, 
>./configure --with-proj=/usr/local/proj-4.4.3 
--with-php=/usr/local/php-4.1.1  --with-apache=/www
>make

but, meke give me next

gcc -O2 -march=i386 -mcpu=i686 -fno-strict-aliasing 
-I/usr/local/include -I. 
-I.. -f
PIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS     -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE
_EPPL -DUSE_TIFF   -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP 
-DUSE_GD_FT 
-DUSE_JPEG  
-I/usr/local/mapserver_3.5      -I/usr/local/proj-4.4.3/src   
-I/usr/include  
 -I/us
r/local/php-4.1.1 -I/usr/local/php-4.1.1/dl 
-I/usr/local/php-4.1.1/main 
-I/usr/local
/php-4.1.1/Zend -I/usr/local/php-4.1.1/include 
-I/usr/local/php-4.1.1/TSRM 
-I/www/in
clude  -c -o php_mapscript.o php_mapscript.c
php_mapscript.c:434: warning: initialization makes integer from 
pointer 
without a ca
st
php_mapscript.c:434: initializer element is not computable at 
load time
php_mapscript.c:434: (near initialization for 
`php3_ms_module_entry.size')
php_mapscript.c:434: warning: initialization makes integer from 
pointer 
without a ca
st
php_mapscript.c:434: warning: initialization makes integer from 
pointer 
without a ca
st
php_mapscript.c:434: initializer element is not computable at 
load time
php_mapscript.c:434: (near initialization for 
`php3_ms_module_entry.zend_debug')
php_mapscript.c:434: warning: initialization makes integer from 
pointer 
without a ca
st
php_mapscript.c:434: initializer element is not computable at 
load time
php_mapscript.c:434: (near initialization for 
`php3_ms_module_entry.zts')
php_mapscript.c:437: warning: initialization from incompatible 
pointer type
php_mapscript.c: In function `php3_ms_img_saveImage':
php_mapscript.c:3917: warning: implicit declaration of function 
`php_header'
make[1]: *** [php_mapscript.o] Error 1
make[1]: Saliendo directorio 
`/usr/local/mapserver_3.5/mapscript/php3'

Then, php_mapscript.so is not create

What is mistake?

Thank you in advance

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





More information about the mapserver-users mailing list