Problems compiling with PHP support

Doug Bryant doug at starss.net
Mon Feb 19 07:19:30 PST 2001


I have had this same problem.  I believe the only options I was supplying was 
--with-apxs=/usr/sbin/apxs --with-php=/usr/local/src/php-4.0.4pl1

Also running RH7

Thanks, Doug


On Monday 19 February 2001 17:39, Tim Sutton wrote:
> Hi
>
> I am trying to compile the 3.4 build. I am compiling with php4.02 support
> on redhat 7.
>
> ./configure --with-gd --with-jpg --with-ttf --with-proj --with-apxs
> --with-p hp=/usr/local/src/php-4.0.2
>
> During the configure process, I get the following:
>
> checking for location of config.h or php_config.h...
> /usr/local/src/php-4.0.2/php_config.h
> checking whether we have PHP3 or PHP4... -DPHP4
> checking whether we should use PHP's regex... no
>         PHP/MapScript module configured.
> checking for location of Apache headers using apxs... -I/usr/include/apache
> creating ./config.status
> creating Makefile
> sed: file conftest.s1 line 74: Unterminated `s' command
> creating gdft/Makefile
> sed: file conftest.s1 line 74: Unterminated `s' command
> creating mapscript/php3/Makefile
> sed: file conftest.s1 line 74: Unterminated `s' command
>
>
> I tried to find the file conftest.s1 (find / -name conftest.s1) but was
> unable to locate it.
>
> Can anyone help me out here?
>
> As an aside, are their any compiled binaries for redhat 7 lurking around? I
> checked the DMSolutions download area but the rpm's are not current.
>
> Many thanks,
>
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
>       TIM SUTTON - GIS TECHNICIAN
>  Western Cape Nature Conservation Board
>              P Bag x5014
>              Stellenbosch
>                  7599
>          ph +27 (0)21 8891560
>          fax +27 (0)21 8891523
>     email suttont at cncjnk.wcape.gov.za
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/



More information about the MapServer-users mailing list