[mapserver-users] how come drawMap works?

Stephen Woodbridge woodbri at swoodbridge.com
Tue Apr 2 17:37:14 EST 2002


I think I have an idea about this. There is a serious bug in the build
environment - when you build mapscript it does NOT link with the just
built libmap.a!!!! It links with the installed version of libmap.a if it
exists! The Makefile(s) for mapscript need to explicitly load
../..libmap.a so insure that the correct one is loaded.

Puneet, see if you have a /usr/lib/libmap.a or /usr/local/lib/libmap.a
and delete it then make clean; make and you will probably get the error.

Could somebody chnage the Makefile(s). I will add this to bugzilla.

-Steve Woodbridge

Puneet Kishor wrote:
> 
> dunno man... no error at all... it happily draws the map for me. go figure.
> 
> pk/
> 
> > -----Original Message-----
> > From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
> > Sent: Tuesday, April 02, 2002 11:03 AM
> > To: Puneet Kishor
> > Cc: MapServer-list
> > Subject: Re: [mapserver-users] how come drawMap works?
> >
> >
> > Puneet Kishor wrote:
> > >
> > > I quite accidentally had been using drawMap() for rendering
> > my map, until I
> > > discovered that was not a part of PHP/Mapscript 3.5
> > anymore. So, how the
> > > heck does it still work? Did you folks leave it in there for
> > > backward-compatibility?
> > >
> >
> > drawMap() is not there at all in PHP/Mapscript 3.5 ... you
> > should get an
> > error about this in your HTML source (do a "View Source" in your
> > browser).
> >
> > --
> > ------------------------------------------------------------
> >  Daniel Morissette               morissette at dmsolutions.ca
> >  DM Solutions Group              http://www.dmsolutions.ca/
> > ------------------------------------------------------------
> >   Don't put for tomorrow what you can do today, because if
> >       you enjoy it today you can do it again tomorrow.
> >



More information about the mapserver-users mailing list