AW: AW: [Gdal-dev] Building 1.3.1 on Solaris 9 SPARC

H.Porath at hzd.hessen.de H.Porath at hzd.hessen.de
Thu Apr 20 02:51:26 EDT 2006


Hi Christian,
 
we did not have this error. For me it looks like the GNUMakefile in swig/python/ is not correct. I remember we had a similar problem using the --with-perl option. Thats why we did not use it. The next issue was that make stopped because of an error in swig/python/setyp.py. After deletion of "debug=1" in the header of the setup-function within make went on. Sorry I could not be of more help.
 

Regards

Holger  

-----Ursprüngliche Nachricht-----
Von: Christian Schaffer [mailto:christian.schaffer at muenchen.de] 
Gesendet: Mittwoch, 19. April 2006 15:05
An: Porath, Holger (HZD)
Cc: gdal-dev at lists.maptools.org
Betreff: Re: AW: [Gdal-dev] Building 1.3.1 on Solaris 9 SPARC



	Hi Holger,
	
	thanks for the hint.
	I edited my GDALmake.opt to BINDINGS = python. It looks like, I´m getting a little further, but unfortunately build failed again.
	The error message reads:
	(cd .libs && rm -f _gdalmodule.la && ln -s ../_gdalmodule.la _gdalmodule.la)
	gmake[1]: Leaving directory `/ra1/build/gdal-1.3.1/pymod'
	(cd swig; gmake build)
	gmake[1]: Entering directory `/ra1/build/gdal-1.3.1/swig'
	for dir in python ; do (cd $dir; make build ); done
	make[2]: Entering directory `/ra1/build/gdal-1.3.1/swig/python'
	make: Fatal error: Don't know how to make target `build'
	Current working directory /ra1/build/gdal-1.3.1/swig/python
	gmake[1]: *** [build] Error 1
	gmake[1]: Leaving directory `/ra1/build/gdal-1.3.1/swig'
	gmake: *** [swig-target] Error 2
	
	I then added the --with-ngpython line to my configure statement which also gives a BINDINGS = python in the GDALmake.opt, and also tried the --with-perl option. Unfortunately no success either.
	
	That´s how my configure statement looks like:
	./configure \
	--with-gif=internal     \
	--with-jpeg=internal    \
	--with-geotiff=internal \
	--with-libtiff=internal \
	--with-libz=internal    \
	--with-perl \
	--with-oci=/opt/oracle/product/10.1.0/db_1 \
	LDFLAGS=-L/opt/oracle/product/10.1.0/db_1/lib32
	
	So nothing special, actually. I´d be glad if you had any further hints on this issue.
	
	Thanks once again.
	Regards,
	Christian
	
	
	H.Porath at hzd.hessen.de schrieb: 

		Hi Christian,
		 
		we had the same problem on Solaris 8 SPARC and solved it by inserting "python" in the GDALmake.opt, so it was reading:
		BINDINGS    =    python
		 
		Of course you can choose a different "swig"-dir, e.g. perl. 
		 
		Hope this helps.
		 
		Regards

		Holger   

		 

		-----Ursprüngliche Nachricht-----
		Von: gdal-dev-bounces at lists.maptools.org [mailto:gdal-dev-bounces at lists.maptools.org] Im Auftrag von Christian Schaffer
		Gesendet: Dienstag, 18. April 2006 14:00
		An: gdal-dev at lists.maptools.org
		Betreff: [Gdal-dev] Building 1.3.1 on Solaris 9 SPARC
		
		

			Hi List,
			
			using GNU tools, I´m experiencing problems building GDAL on Solaris 9 (SPARC).
			Configure runs as expected, but make stops with the following error:
			
			(...)
			(cd swig; gmake build)
			gmake[1]: Entering directory `/ra1/build/gdal-1.3.1/swig'
			for dir in ; do (cd $dir; make build ); done
			/bin/sh: syntax error at line 1: `;' unexpected
			gmake[1]: *** [build] Error 2
			gmake[1]: Leaving directory `/ra1/build/gdal-1.3.1/swig'
			gmake: *** [swig-target] Error 2
			
			Looking into GDALmake.opt, it says:
			(...)
			# Next Generation SWIG bindings
			BINDINGS        =       
			(...)
			
			Is there anything, I might be doing the wrong way?
			
			Thanks in advance for helping.
			Best regards,
			Christian
			

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060420/1c3f7389/attachment.html


More information about the Gdal-dev mailing list