Opened 15 years ago

Last modified 15 years ago

#991 closed defect (fixed)

swig compile problem on solaris

Reported by: tzhai2002@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:


traditional /bin/sh (normally used under Solaris) does not support an empty item
list in a for loop where as we don't run into this with bash on linux platforms.

To work around this try editing gdal/GNUmakefile
and changing:

	(cd swig; $(MAKE) build)

or delete reference to swig in this makefile.
Also needs to make it more flexible which component is to be compiled, this is
very important for users who don't have admin privilage.

Change History (2)

comment:1 Changed 15 years ago by havard.tveite@…

Same problem here (Solaris 2.7). If BINDINGS is empty, swig make fails.

comment:2 Changed 15 years ago by warmerdam

This is now fixed in CVS.

Note: See TracTickets for help on using tickets.