Opened 18 years ago

Last modified 18 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:
Cc:

Description

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:

swig-target:
	(cd swig; $(MAKE) build)
to:
swig-target:

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 by havard.tveite@…, 18 years ago

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

comment:2 by warmerdam, 18 years ago

This is now fixed in CVS.

Note: See TracTickets for help on using tickets.