[mapserver-users] configure problems

Ken Kyler ken at kyler.com
Thu Aug 22 14:17:07 EDT 2002


First problem solved.  After reading configure.in, I found this

test -f $GD_DIR/include/gd.h && GD_INCLUDE="$GD_DIR/include"

I don't know why they ask for the GD directory and then append the /include/
subdirectory to it.  Doesn't make sense.

Anyway, it works fine with
--with-gd=/usr/local
instead of
--with-gd=/usr/local/include

now on to the next problem

!!! The current version of PHP MapScript requires PHP4 configured as  !!!
!!! a CGI and cannot be used with PHP4 configured as an Apache module,!!!

yet the Mapscript FAQ says

"2.3 Does MapScript require that PHP3/PHP4 be a DSO?

It does not, it will work either way.
However, if PHP was compiled as a DSO then you will have to pass
the --with-apxs switch to the Maperver configure script. It is very
important that the --with-apxs switch be provided if PHP was compiled as an
Apache DSO, especially on systems like RedHat 6.2 where Apache comes
compiled with the -DEAPI switch and this has an impact on DSO modules."

<sigh> Please pass the Ibuprofen...

Ken




More information about the mapserver-users mailing list