[mapserver-users] mapscript compile problem
Aaron Hunt
hunt@zedxinc.com
Tue, 5 Feb 2002 10:45:10 -0800
This is a multi-part message in MIME format.
------=_NextPart_000_00F1_01C1AE32.2F231270
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
When I try to compile mapserver with php 4.1.1 Below is some information =
for what I am getting and my configs.
Thank you for any help,
Aaron
Errors when compiling mapserver:
php_mapscript.c:493: warning: initialization makes integer from pointer =
without a cast
php_mapscript.c:493: initializer element is not computable at load time
php_mapscript.c:493: (near initialization for =
`php3_ms_module_entry.size')
php_mapscript.c:493: warning: initialization makes integer from pointer =
without a cast
php_mapscript.c:493: warning: initialization makes integer from pointer =
without a cast
php_mapscript.c:493: initializer element is not computable at load time
php_mapscript.c:493: (near initialization for =
`php3_ms_module_entry.zend_debug')
php_mapscript.c:493: warning: initialization makes integer from pointer =
without a cast
php_mapscript.c:493: initializer element is not computable at load time
php_mapscript.c:493: (near initialization for =
`php3_ms_module_entry.zts')
php_mapscript.c:496: warning: initialization from incompatible pointer =
type
php_mapscript.c: In function `php3_ms_img_saveImage':
php_mapscript.c:4082: warning: implicit declaration of function =
`php_header'
make[1]: *** [php_mapscript.o] Error 1
make[1]: Leaving directory `/home/hunt/mapserver_dev/mapscript/php3'
The php config is :
./configure --with-mysql --with-dbase --with-system-regex=20
The mapserver config is :
./configure --with-proj4 --with-ogr --with-gdal =
--with-php=3D/home/hunt/php-4.1.1
------=_NextPart_000_00F1_01C1AE32.2F231270
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When I try to compile mapserver with =
php 4.1.1=20
Below is some information for what I am getting and my =
configs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you for any help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Aaron</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Errors when compiling =
mapserver:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>php_mapscript.c:493: warning: =
initialization makes=20
integer from pointer without a cast<BR>php_mapscript.c:493: initializer =
element=20
is not computable at load time<BR>php_mapscript.c:493: (near =
initialization for=20
`php3_ms_module_entry.size')<BR>php_mapscript.c:493: warning: =
initialization=20
makes integer from pointer without a cast<BR>php_mapscript.c:493: =
warning:=20
initialization makes integer from pointer without a =
cast<BR>php_mapscript.c:493:=20
initializer element is not computable at load =
time<BR>php_mapscript.c:493: (near=20
initialization for =
`php3_ms_module_entry.zend_debug')<BR>php_mapscript.c:493:=20
warning: initialization makes integer from pointer without a=20
cast<BR>php_mapscript.c:493: initializer element is not computable at =
load=20
time<BR>php_mapscript.c:493: (near initialization for=20
`php3_ms_module_entry.zts')<BR>php_mapscript.c:496: warning: =
initialization from=20
incompatible pointer type<BR>php_mapscript.c: In function=20
`php3_ms_img_saveImage':<BR>php_mapscript.c:4082: warning: implicit =
declaration=20
of function `php_header'<BR>make[1]: *** [php_mapscript.o] Error =
1<BR>make[1]:=20
Leaving directory =
`/home/hunt/mapserver_dev/mapscript/php3'<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The php config is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure --with-mysql --with-dbase=20
--with-system-regex </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The mapserver config is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure --with-proj4 --with-ogr =
--with-gdal=20
--with-php=3D/home/hunt/php-4.1.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML>
------=_NextPart_000_00F1_01C1AE32.2F231270--