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

Christian Schaffer christian.schaffer at muenchen.de
Fri Apr 21 06:42:03 EDT 2006


Hi Holger,
Hi list,

first of all thanks for helping me on this topic.

I tried a few further variations, but couldn´t manage to avoid gmake to 
throw errors. Finally, I downloaded GDAL version 1.3.0 and configured it 
like this...
23 GENESIS [build/gdal-1.3.0] # more my_conf
./configure \
--with-gif=internal     \
--with-jpeg=internal    \
--with-geotiff=internal \
--with-libtiff=internal \
--with-libz=internal    \
--with-oci=/opt/oracle/product/10.1.0/db_1

...ran gmake and everything worked smoothly. Well almost, as I forgot to 
set a few LD_OPTIONS for my Oracle libs first.

I´m wondering, if I´m the first running into this issue with Solaris 
9/SPARC and gdal 1.3.1?
Might there be a connection to NG Swig Bindings in 1.3.1? I didn´t find 
these configure options in 1.3.0.

Any hints are greatly appreciated.

Thanks once again,
best regards,
Christian


H.Porath at hzd.hessen.de schrieb:

> 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
>>
>------------------------------------------------------------------------
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
>

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


More information about the Gdal-dev mailing list