[mapserver-users] PHP/Mapscript on FreeBSD
Chris Faulhaber
jedgar at fxp.org
Sun Jul 1 07:05:59 PDT 2001
On Sun, Jul 01, 2001 at 04:51:39PM +0300, Rob Martinson wrote:
> >From what I've read, configuration on FreeBSD is a bit goofy... I end up
> with the following in my mapscript/php3/Makefile:
>
> CC = cc undef -I. -I.. -DPIC -fpic
> LD = cc -Wl -Wl
> CFLAGS = -O2 -Wall -DCOMPILE_DL=1 -DPHP4
> RUNPATHS= -R/usr/local/lib -R/usr/local/src/mapserver
>
> >From here I remove undef from CC options and try for a build.
>
Use:
CC = cc -shared
--
Chris D. Faulhaber - jedgar at fxp.org - jedgar at FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve - http://www.FreeBSD.org
More information about the MapServer-users
mailing list