[mapserver-users] Fwd: php mapscript compile error

Steve Lime steve.lime@dnr.state.mn.us
Wed, 20 Mar 2002 11:01:27 -0600


Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Tue, 19 Mar 2002 19:31:00 -0600
Return-Path: <mastre@makina-corpus.com>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Tue, 19 Mar 2002 19:30:57 -0600
Received: from texo.makcorp.net (mox2.makcorp.net [62.23.140.235])
	by lists.gis.umn.edu (8.9.3+Sun/8.9.1) with ESMTP id TAA03852
	for <mapserver-bugs@lists.gis.umn.edu>; Tue, 19 Mar 2002 19:32:08 -0600 (CST)
Received: from makcorp.net (aboukir-101-2-1-matricio.adsl.nerim.net [62.4.19.50])
	by texo.makcorp.net (Postfix) with ESMTP id 1BDBF3B0152
	for <mapserver-bugs@lists.gis.umn.edu>; Wed, 20 Mar 2002 02:31:43 +0100 (CET)
Received: by makcorp.net (Postfix, from userid 1000)
	id CCD7CFD9C; Wed, 20 Mar 2002 02:29:30 +0100 (CET)
Date: Wed, 20 Mar 2002 02:29:30 +0100
From: mastre <mastre@makina-corpus.com>
To: mapserver-bugs@lists.gis.umn.edu
Subject: php mapscript compile error
Message-Id: <20020320012930.GF22643@exaro>
User-Agent: Mutt/1.3.27i
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I'm using php 4.1.1 and apache, on linux station.
When i try to compile mapserver with php mapscript enabled, i've this
error:

make[1]: Entering directory
`/home/mastre/mapserver_dev/mapscript/php3'
cc  cc -I. -I.. -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL
-DUSE_TIFF   -DUSE_GD_GIF -DUSE_JPEG  -I/home/mastre/mapserver_dev
-I/usr/include   -I/home/mastre/mapserver_dev/../php-4.1.1
-I/home/mastre/mapserver_dev/../php-4.1.1/dl
-I/home/mastre/mapserver_dev/../php-4.1.1/main
-I/home/mastre/mapserver_dev/../php-4.1.1/Zend
-I/home/mastre/mapserver_dev/../php-4.1.1/include
-I/home/mastre/mapserver_dev/../php-4.1.1/TSRM  -c -o
php_mapscript_util.o php_mapscript_util.c
cc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [php_mapscript_util.o] Error 1
make[1]: Leaving directory `/home/mastre/mapserver_dev/mapscript/php3'

Do i must use only php 4.0.6 ?

thanks

mastre