AW: [Gdal-dev] Building 1.3.1 on Solaris 9 SPARC
Christian Schaffer
christian.schaffer at muenchen.de
Wed Apr 19 09:04:56 EDT 2006
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/20060419/b3af34b9/attachment.html
More information about the Gdal-dev
mailing list