[mapserver-users] Fwd: PHP4 mapscript make error - language optional software package not installed

Steve Lime steve.lime@dnr.state.mn.us
Fri, 17 May 2002 10:51:56 -0500


Received: from mail.state.mn.us
	(state.mn.us [156.99.125.109])
	by co5.dnr.state.mn.us; Thu, 16 May 2002 17:45:38 -0500
Return-Path: <Robin.Ellis@nrm.qld.gov.au>
Received: from inet03.citec.qld.gov.au by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Thu, 16 May 2002 17:45:26 -0500
Received: by inet03.citec.qld.gov.au; id IAA05227; Fri, 17 May 2002 08:45:22 +1000 (EST)
Received: from dnrsweep.dnr.qld.gov.au( 203.8.130.181) by inet03.citec.qld.gov.au via smap (V2.0)
	id xma004791; Fri, 17 May 02 08:45:10 +1000
Received: from chq7e2ktemp.lands.resnet.qg (unverified) by dnrsweep.dnr.qld.gov.au
 (Content Technologies SMTPRS 4.2.5) with ESMTP id <T5ae9fb85f4cb0882b507e@dnrsweep.dnr.qld.gov.au> for <steve.lime@dnr.state.mn.us>;
 Fri, 17 May 2002 08:37:11 +1000
Received: from enterprise.lands.resnet.qg ([161.143.17.2]) by chq7e2ktemp.lands.resnet.qg with Microsoft SMTPSVC(5.0.2195.2966);
	 Fri, 17 May 2002 08:45:15 +1000
content-class: urn:content-classes:message
Subject: PHP4 mapscript make error - language optional software package not installed
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
Date: Fri, 17 May 2002 08:45:16 +1000
Message-Id: <CA0FFC66A075CC4C94949786DC2094C743B283@enterprise.lands.resnet.qg>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: PHP4 mapscript make error - language optional software package not installed
Thread-Index: AcH8j4CJHgf8mh2dQf+DnhJSZGYSyQAm7Leg
From: "Ellis Robin (Bundaberg)" <Robin.Ellis@nrm.qld.gov.au>
To: "Lime Steve (E-mail)" <steve.lime@dnr.state.mn.us>
X-OriginalArrivalTime: 16 May 2002 22:45:15.0107 (UTC) FILETIME=[585E2330:01C1FD2B]
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Steve, could you please do me a favour and send this on to the Mapserver
users list? I've tried sending a few messages over the last couple of
months but nothing seems to get through.

Thanks

Rob

>  -----Original Message-----
> From: 	Ellis Robin (Bundaberg)  
> Sent:	Thursday, 16 May 2002 2:10 PM
> To:	'mapserver-users@lists.gis.umn.edu'
> Subject:	PHP4 mapscript make error - language optional software
> package not installed
> 
> Sorry for bringing up a topic that seems to have been done to death,
> but I just don't seem to be able to track down a solution from the
> multitude of similar problems allready posted.
> 
> I've been waiting for a Mapserver 3.6 version to become available so
> that I could try to build with PHP4.2.0. We currently have Apache
> 1.3.24 and PHP4.2.0 on our Solaris system. Since Daniel's notification
> of the beta 3.6 becoming available I have compiled the ms3.6 with this
> command:
> 
> ./configure --with-php=/data4/userdata/rob/php-4.2.0
> --with-apxs=/usr/local/apache/bin/apxs
> --with-tiff=/data4/userdata/rob/v3.5/tiff-v3.5.7/libtiff
> --with-gd=/data4/userdata/rob/v3.5/gd-1.8.4
> --with-jpeg=/data4/userdata/rob/v3.5/jpeg-6b
> --with-postgis=/usr/local/pgsql/bin/pg_config --with-epp
> 
> I then run a 'make', and after many errors that I have been able to
> address thanks to the mailing list, I now get this message that I
> can't seem to over come:
> 
> cd mapscript/php3; /usr/ccs/bin/make; cd ../..
> cc -I. -I.. -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_POSTGIS
> -DUSE_EPPL -DUSE_TIFF   -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
> -DUSE_GD_FT -DUSE_JPEG
> -I/data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1
> -I/usr/local/pgsql/include
> -I/data4/userdata/rob/v3.5/tiff-v3.5.7/libtiff
> -I/data4/userdata/rob/v3.5/gd-1.8.4 -I/data4/userdata/rob/v3.5/jpeg-6b
> -I/data4/userdata/rob/php-4.2.0 -I/data4/userdata/rob/php-4.2.0/dl
> -I/data4/userdata/rob/php-4.2.0/main
> -I/data4/userdata/rob/php-4.2.0/Zend
> -I/data4/userdata/rob/php-4.2.0/include
> -I/data4/userdata/rob/php-4.2.0/TSRM -I/usr/local/apache/include -c
> php_mapscript_util.c
> /usr/ucb/cc:  language optional software package not installed
> *** Error code 1
> make: Fatal error: Command failed for target `php_mapscript_util.o'
> Current working directory
> /data4/userdata/rob/v3.6b/mapserver-3.6.0-beta1/mapscript/php3
> *** Error code 1
> make: Fatal error: Command failed for target `php3_mapscript'
> 
> I have been busy manipulating the Makefile founf in the php3
> directory, specifically trying to incorporate these changes in (this
> was a fix supplied to somebody else):
> 
> Your ./mapscript/php3/Makefile must look something like this, once you
> had already run ./configure..... :
> 
> CC = cc -I. -I.. -fpic
> LD = cc -shared -L/usr/local/lib -rdynamic -W1
> CFLAGS = -O2 -Wall -DCOMPILE_DL=1 -DPHP4
> 
> %.o: %.c php_mapscript_util.h php_mapscript.h
>            $(CC) $(CFLAGS) -c $<
> 
> And have also tried this:
> 
> CFLAGS = -O2  -Wall -DCOMPILE_DL=1 -DPHP4 $(MS_DEFINE) $(MS_INC) \
> 	$(PHP_INC)
> 
> All in varying combinations.
> 
> Does this error message indicate that our MAKE facilities are not up
> to scratch?
> 
> Thanks for any ideas put forward
> 
> Rob
> 
> 
> Robin Ellis
> Department of Natural Resources and Mines
> PO Box 1167
> Bundaberg QLD 4670
> +61 7 4131 5771
> Robin.Ellis@dnr.qld.gov.au
> 


************************************************************************
The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.

Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.  

If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.  
************************************************************************