[mapserver-users] Fwd: php4, apache and mapserver3.5
Steve Lime
steve.lime@dnr.state.mn.us
Wed, 20 Feb 2002 11:04:51 -0600
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_A2FFE052.99F89669
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Stephen Lime
Data & Applications Manager
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
--=_A2FFE052.99F89669
Content-Type: message/rfc822
Received: from mail.state.mn.us
(state.mn.us [156.99.125.109])
by co5.dnr.state.mn.us; Wed, 20 Feb 2002 11:00:43 -0600
Return-Path: <root@localhost.localdomain>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Wed, 20 Feb 2002 11:00:02 -0600
Received: from localhost.localdomain ([200.54.64.42])
by lists.gis.umn.edu (8.9.3+Sun/8.9.1) with ESMTP id LAA11845
for <mapserver-info@lists.gis.umn.edu>; Wed, 20 Feb 2002 11:01:15 -0600 (CST)
Message-Id: <200202201700.g1KH0cl03490@localhost.localdomain>
From: Patricio Gigoux <pgigoux@munistgo.cl>
Reply-To: pgigoux@munistgo.cl
To: mapserver-info@lists.gis.umn.edu
Subject: php4, apache and mapserver3.5
Date: Wed, 20 Feb 2002 14:00:37 -0300
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
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
--=_A2FFE052.99F89669--