[mapserver-users] error building mapserver 3.6.3 on OS X 10.2

Daniel Morissette morissette@dmsolutions.ca
Thu, 10 Oct 2002 11:43:04 -0400


Puneet Kishor wrote:
> 
> but that caused even more errors right at the begining. So, I tried the
> following --
> 
> CXX= g++
> CC= gcc
> 
> That fared a bit better in that it basically replicated what was
> happening earlier. Error at shp2img. Is there someother place that I
> had to change the Makefile?
> 

Yes, around line 220, replace $(CC) with your newly created $(CXX)
variable, or directly with 'g++':

mapserv: mapserv.h libmap.a ...
	$(CXX) $(CFLAGS) mapserv.o ....


You may have to do the same for every executable in that part of the
Makefile (shp2img, etc.), or if you don't need the other executables and
need only 'mapserv' then call the Makefile with:

  make mapserv

I will fix the 3.6 and 3.7 Makefile to use an LD variable which is
really what it should use and will make this easier to handle in the
future.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette@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.