<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Hi Holger,<br>
Hi list,<br>
<br>
first of all thanks for helping me on this topic.<br>
<br>
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...<br>
<font face="Courier New, Courier, monospace">23 GENESIS
[build/gdal-1.3.0] # more my_conf <br>
./configure \<br>
--with-gif=internal \<br>
--with-jpeg=internal \<br>
--with-geotiff=internal \<br>
--with-libtiff=internal \<br>
--with-libz=internal \<br>
--with-oci=/opt/oracle/product/10.1.0/db_1<br>
</font><br>
...ran gmake and everything worked smoothly. Well almost, as I forgot
to set a few LD_OPTIONS for my Oracle libs first.<br>
<br>
I´m wondering, if I´m the first running into this issue with Solaris
9/SPARC and gdal 1.3.1?<br>
Might there be a connection to NG Swig Bindings in 1.3.1? I didn´t find
these configure options in 1.3.0.<br>
<br>
Any hints are greatly appreciated.<br>
<br>
Thanks once again, <br>
best regards,<br>
Christian<br>
<br>
</font></font><br>
<a class="moz-txt-link-abbreviated" href="mailto:H.Porath@hzd.hessen.de">H.Porath@hzd.hessen.de</a> schrieb:
<blockquote
cite="mid7101AA2E2C89C04E8571E76DE285AFCC04CDCE79@srvhzdexc095.hzd.hessen.de"
type="cite">
<title>Nachricht</title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1528" name="GENERATOR">
<div><span class="012474406-20042006"><font color="#0000ff"
face="Arial" size="2">Hi Christian,</font></span></div>
<div><span class="012474406-20042006"></span> </div>
<div><span class="012474406-20042006"><font color="#0000ff"
face="Arial" size="2">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. <font color="#000080">Sorry I
could not be of more help.<o:p></o:p></font></font></span></div>
<div> </div>
<!-- Converted from text/rtf format -->
<p><span lang="de"><font color="#0000ff" face="Arial" size="2"><span
class="012474406-20042006">Regards</span></font></span></p>
<p><span lang="de"><font face="Arial"><font size="2">Holger <span
class="012474406-20042006"><font color="#0000ff"> </font></span></font></font></span></p>
<p><font face="Tahoma" size="2">-----Ursprüngliche Nachricht-----<br>
<b>Von:</b> Christian Schaffer
[<a class="moz-txt-link-freetext" href="mailto:christian.schaffer@muenchen.de">mailto:christian.schaffer@muenchen.de</a>] <br>
<b>Gesendet:</b> Mittwoch, 19. April 2006 15:05<br>
<b>An:</b> Porath, Holger (HZD)<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.maptools.org">gdal-dev@lists.maptools.org</a><br>
<b>Betreff:</b> Re: AW: [Gdal-dev] Building 1.3.1 on Solaris 9 SPARC<br>
<br>
</font></p>
<blockquote style="margin-right: 0px;" dir="ltr"><font size="-1"><font
face="Helvetica, Arial, sans-serif">Hi Holger,<br>
<br>
thanks for the hint.<br>
I edited my GDALmake.opt to BINDINGS = python. It looks like, I´m
getting a little further, but unfortunately build failed again.<br>
The error message reads:<br>
<font face="Courier New, Courier, monospace"><font
face="Helvetica, Arial, sans-serif"><font
face="Courier New, Courier, monospace">(cd .libs && rm -f
_gdalmodule.la && ln -s ../_gdalmodule.la _gdalmodule.la)<br>
gmake[1]: Leaving directory `/ra1/build/gdal-1.3.1/pymod'<br>
(cd swig; gmake build)<br>
gmake[1]: Entering directory `/ra1/build/gdal-1.3.1/swig'<br>
for dir in python ; do (cd $dir; make build ); done<br>
make[2]: Entering directory `/ra1/build/gdal-1.3.1/swig/python'<br>
make: Fatal error: Don't know how to make target `build'<br>
Current working directory /ra1/build/gdal-1.3.1/swig/python<br>
gmake[1]: *** [build] Error 1<br>
gmake[1]: Leaving directory `/ra1/build/gdal-1.3.1/swig'<br>
gmake: *** [swig-target] Error 2</font><br>
</font></font><br>
</font></font><font size="-1"><font
face="Helvetica, Arial, sans-serif">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.</font></font><br>
<font size="-1"><font face="Helvetica, Arial, sans-serif"><br>
That´s how my configure statement looks like:<br>
<font face="Courier New, Courier, monospace">./configure \<br>
--with-gif=internal \<br>
--with-jpeg=internal \<br>
--with-geotiff=internal \<br>
--with-libtiff=internal \<br>
--with-libz=internal \<br>
--with-perl \<br>
--with-oci=/opt/oracle/product/10.1.0/db_1 \<br>
LDFLAGS=-L/opt/oracle/product/10.1.0/db_1/lib32<br>
</font><br>
So nothing special, </font></font><font size="-1"><font
face="Helvetica, Arial, sans-serif">actually</font></font><font
size="-1"><font face="Helvetica, Arial, sans-serif">. I´d be glad if
you had any further hints on this issue.<br>
<br>
Thanks once again.<br>
Regards,<br>
Christian<br>
<br>
</font></font><br>
<a class="moz-txt-link-abbreviated"
href="mailto:H.Porath@hzd.hessen.de">H.Porath@hzd.hessen.de</a>
schrieb:
<blockquote
cite="mid7101AA2E2C89C04E8571E76DE285AFCC04CDCE72@srvhzdexc095.hzd.hessen.de"
type="cite">
<meta content="MSHTML 6.00.2800.1528" name="GENERATOR">
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006">Hi Christian,</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006">we had the same problem on Solaris 8 SPARC
and solved it by inserting "python" in the GDALmake.opt, so it was
reading:</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006">BINDINGS = python</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006">Of course you can choose a different
"swig"-dir, e.g. perl. </span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006">Hope this helps.</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="584522212-18042006">Regards</span></font></div>
<p><span lang="de"><font face="Arial"><font size="2">Holger <span
class="584522212-18042006"><font color="#0000ff"> </font></span></font></font></span><span
lang="de"><font face="Arial"><font size="2"><span
class="584522212-18042006"> </span></font></font></span></p>
<p> </p>
<p><font face="Tahoma" size="2">-----Ursprüngliche Nachricht-----<br>
<b>Von:</b> <a class="moz-txt-link-abbreviated"
href="mailto:gdal-dev-bounces@lists.maptools.org">gdal-dev-bounces@lists.maptools.org</a>
[<a class="moz-txt-link-freetext"
href="mailto:gdal-dev-bounces@lists.maptools.org">mailto:gdal-dev-bounces@lists.maptools.org</a>]
<b>Im Auftrag von </b>Christian Schaffer<br>
<b>Gesendet:</b> Dienstag, 18. April 2006 14:00<br>
<b>An:</b> <a class="moz-txt-link-abbreviated"
href="mailto:gdal-dev@lists.maptools.org">gdal-dev@lists.maptools.org</a><br>
<b>Betreff:</b> [Gdal-dev] Building 1.3.1 on Solaris 9 SPARC<br>
<br>
</font></p>
<blockquote style="margin-right: 0px;"><font size="-1"><font
face="Helvetica, Arial, sans-serif">Hi List,<br>
<br>
using GNU tools, I´m experiencing problems building GDAL on Solaris 9
(SPARC).<br>
Configure runs as expected, but make stops with the following error:<br>
<br>
<font face="Courier New, Courier, monospace">(...)<br>
(cd swig; gmake build)<br>
gmake[1]: Entering directory `/ra1/build/gdal-1.3.1/swig'<br>
for dir in ; do (cd $dir; make build ); done<br>
/bin/sh: syntax error at line 1: `;' unexpected<br>
gmake[1]: *** [build] Error 2<br>
gmake[1]: Leaving directory `/ra1/build/gdal-1.3.1/swig'<br>
gmake: *** [swig-target] Error 2<br>
<br>
<font face="Helvetica, Arial, sans-serif">Looking into
GDALmake.opt, it says:</font><br>
(...)<br>
# Next Generation SWIG bindings<br>
BINDINGS = <br>
(...)<br>
</font><br>
Is there anything, I might be doing the wrong way?<br>
<br>
Thanks in advance for helping.<br>
Best regards,<br>
Christian</font></font><br>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gdal-dev@lists.maptools.org">Gdal-dev@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/gdal-dev">http://lists.maptools.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>