[mapserver-users] Mapscript compile error

woodbri at swoodbridge.com woodbri at swoodbridge.com
Thu Oct 3 05:34:09 PDT 2002


Tom, this is a know bug. On some platforms the Makefile is generated 
wrong. Notice the "cc cc " in your first line below. remove the extra 
"cc" with and editor and it should work fine.

-Steve W.
 http://iMapTools.com

On 3 Oct 2002 at 14:19, Tom Myny wrote:

> 
> cc cc -I. -I.. -fpic -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL -
> DUSE_PDF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -
> DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_JPEG -I/usr/src/mapserver-
> 3.6.1 -I/usr/include -I/usr/src/mapserver-3.6.1/../php- 4.2.3
> -I/usr/src/mapserver-3.6.1/../php-4.2.3/dl -I/usr/src/mapserver-
> 3.6.1/../php-4.2.3/main -I/usr/src/mapserver-3.6.1/../php-4.2.3/Zend -
> I/usr/src/mapserver-3.6.1/../php-4.2.3/include -I/usr/src/mapserver-
> 3.6.1/../php-4.2.3/TSRM -o php_mapscript_util.o php_mapscript_util.c
> cc: cc: No such file or directory cc1: warning: changing search order
> for system directory "/usr/include" cc1: warning: as it has already
> been specified as a non-system directory php_mapscript_util.c: In
> function `_phpms_object_init': php_mapscript_util.c:681: warning:
> unused variable `tsrm_ls' make: *** [php_mapscript_util.o] Error 1 I'm
> using gcc 3.2 but i can't find the error.
> 
> Help would be great ;)
> 
> Tom





More information about the MapServer-users mailing list