[Mapserver-users] which ./configure options needed?

Daniel Morissette morissette at dmsolutions.ca
Fri Apr 25 09:08:22 PDT 2003


Benjamin Thelen wrote:
> 
> Hi again,
> 
> I could find out with which options php was compiled:
> 
> ./configure' '--with-apxs=/usr/local/sbin/apxs'
> '--with-config-file-path=/usr/local/etc' '--enable-versioning'
> '--with-regex=system' '--without-gd' '--without-mysql'
> '--with-gd=/usr/local' '--enable-gd-native-ttf'
> '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local'
> '--with-png-dir=/usr/local' '--with-zlib' '--with-pdflib=/usr/local'
> '--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local'
> '--with-png-dir=/usr/local' '--with-tiff-dir=/usr/local'
> '--with-mysql=/usr/local' '--with-pgsql=/usr/local' '--with-dbase'
> '--with-expat-dir=/usr/local' '--with-dom=/usr/local' '--prefix=/usr/local'
> 'i386-portbld-freebsd4.7'
> 
> So, as you can see, it was compiled with regex=system.
> What can I do now??
> 

--with-regex=system has no effect when you use --with-apxs.  ANyway you
need PHP compiled as a CGI so you should remove the --with-apxs config
option, and then --with-regex=system will also start to work.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list