[mapserver-users] PHP/Mapscript on FreeBSD
Rob Martinson
cathode at nichebox.com
Sun Jul 1 07:58:32 PDT 2001
Chris,
I figured that and changed LD to cc -shared. It linked without a hitch
and loads into PHP 4.0.6 with no problems so far. Thanks so much for the
help. If I don't have any troubles with this installation I'm going to
go for the OGR/Gdal linking next and see what happens. Also, I was
thinking it might be helpful to write down a step-by-step for different
options (and problems such as this) for FreeBSD users. Once I'm a bit
more organized I'll do this and provide it online somewhere or it can be
added to the current PHP/Mapscript FAQ if DM is interested.
On this note, would there be any interest in a more easily maintainable
FAQ in an online database for Mapserver/Mapscript? I'd be more than
willing to put this together and do my best to organize current
information into categories in the database. Ideas?
Rob Martinson
Nichebox - http://www.nichebox.com
Development - http://dev.nichebox.com
> -----Original Message-----
> From: cdf.lists at fxp.org [mailto:cdf.lists at fxp.org] On Behalf
> Of Chris Faulhaber
> Sent: Sunday, July 01, 2001 5:45 PM
> To: Rob Martinson; 'MapServer List'
> Subject: Re: [mapserver-users] PHP/Mapscript on FreeBSD
>
>
> On Sun, Jul 01, 2001 at 10:05:59AM -0400, Chris Faulhaber wrote:
> > 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
> >
>
> Oops, that should be
>
> LD = 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