[mapserver-users] Fwd: php-mapscript compile error

Steve Lime steve.lime@dnr.state.mn.us
Wed, 15 May 2002 09:56:40 -0500


Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Wed, 15 May 2002 04:41:18 -0500
Return-Path: <neuhaus@geoteam-umwelt.de>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Wed, 15 May 2002 04:41:09 -0500
Received: from ds1.hochfranken-online.de (ds1.hochfranken-online.de [213.167.167.10])
	by lists.gis.umn.edu (8.9.3+Sun/8.9.1) with ESMTP id EAA26785
	for <mapserver-bugs@lists.gis.umn.edu>; Wed, 15 May 2002 04:42:09 -0500 (CDT)
Received: from linux.geoteambt ([213.167.163.179])
	by ds1.hochfranken-online.de (8.10.2/hochfranken-online.de) with ESMTP id g4F9f4701564
	for <mapserver-bugs@lists.gis.umn.edu>; Wed, 15 May 2002 11:41:04 +0200
X-Authentication-Warning: ds1.hochfranken-online.de: Host [213.167.163.179] claimed to be linux.geoteambt
Received: from babe ([192.168.10.3])
	by linux.geoteambt (8.12.2/8.12.2/SuSE Linux 0.6) with SMTP id g4F9hL6Z002694
	for <mapserver-bugs@lists.gis.umn.edu>; Wed, 15 May 2002 11:43:21 +0200
From: Reinhard Wesinger <neuhaus@geoteam-umwelt.de>
To: mapserver-bugs@lists.gis.umn.edu
Date: Wed, 15 May 2002 11:35:59 +0200
X-Priority: 3 (Normal)
Organization: GeoTeam GmbH
In-Reply-To: <200205151133.33867.reiwes@laptop>
Message-Id: <54BA9DCF0VQKGVF0FC87ZT82KI95A5.3ce22bff@babe>
Subject: php-mapscript compile error
X-Mailer: Opera 6.0 build 1010
X-Virus-Scanned: by amavis-milter (http://amavis.org/)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"

Hi mapserver-community,

I' m new on mapserver and I' ve tried to compile the mapserver with php under
SuSe 8.0. With the following configuration of the mapserver and php (it is
running under apache 1.3.23) I got this error massage. Has anyone an idea?
Any help would really be appreciated!

Thanks

Reinhard Wesinger
GeoTeam
reinhard.wesinger@geoteam-umwelt.de

configuration mapserver
 ./configure --with-gd --with-postgis --with-php=/usr/include/php
--with-apxs=/usr/sbin/apxs

configuration php-4.1.0
'./configure' '--prefix=/usr/share/php' '--datadir=/usr/share/php'
'--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include'
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin'
'--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-dbase'
'--enable-versioning' '--with-system-regex' '--with-dom=/usr/include/libxml2'
'--with-pgsql=/usr/local/pgsql' '--with-xml' '--with-apxs=/usr/sbin/apxs'
'--with-zlib-dir=/usr/local'

compile error with make
cd mapscript/php3; make; cd ../..
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/home/reiwes/Documents/mapserver_3.5/mapscript/php3«
cc -I. -I.. -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL -DUSE_TIFF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG
-I/home/reiwes/Documents/mapserver_3.5         -I/usr/local/include
-I/usr/include/php -I/usr/include/php/dl -I/usr/include/php/main
-I/usr/include/php/Zend -I/usr/include/php/include -I/usr/include/php/TSRM
-I/usr/include/apache -c php_mapscript.c -o php_mapscript.o
php_mapscript.c:434: warning: initialization makes integer from pointer
without a cast
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 cast
php_mapscript.c:434: warning: initialization makes integer from pointer
without a cast
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 cast
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] Fehler 1

-------------------------------------------------------