[Mapserver-users] 4.0 mapscript on freebsd 4.4

Joe Smith joe@poconogis.com
Mon, 18 Aug 2003 15:22:33 -0400


Has anyone tried to compile mapserver 4.0 with mapscript on freebsd yet?
I'm trying on freebsd 4.4, but the php mapscript Makefile seems to be
erroring during compile - much like the old version of mapserver did.
Except this time the Makefile is different, and the old fixes that worked in
3.6 don't work in 4.0.

  Here's the error code:

gcc -fPIC -02 -Wall -DCOMPILE_DL=1 -DPHP4 -c php_mapscript_util.c
In file included from php_mapscript_util.c:101:
php_mapscript_util.h:58: php.h: No such file or directory
php_mapscript_util.h:59: php_globals.h: No such file or directory
php_mapscript_util.h:102: maperror.h: No such file or directory
*** Error code 1

Stop in /usr/home/joe/mapserver40/mapscript/php3.
*** Error code 1

  Here's part of the Makefile (where the error might be):

CC =     gcc -fPIC
LD =     c++ -shared
CFLAGS = -02  -Wall -DCOMPILE_DL=1 -DPHP4
RUNPATHS=

What do I need to change?

Joe

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users