<html><div style='background-color:'><P>HI all,</P>
<P>I am running into problems when building GDAL on UNIX/solaris 2.8. I will just try to run through what I did. I would appreciate if anybody could help me out.<BR></P>
<P>the gdal-1.2.0.tar.gz directory has been unzipped into /home/gdal-1.2.0</P>
<P>1. I ran the configure command under /home/gdal-1.2.0 with the following options (since I do not have root permissions)</P>
<P>./configure --prefix=/home/gdal --with-pymodir=/home/gdal/pymod<BR><BR>it went ok, and I am building on python 2.3.3, it found python2.3.3 and Numeric. ok so far. (the only surprise was that it still said that it will install .py files under site-packages directory of python/lib). Python is installed in /home/python23. the python command is in /home/python23/bin directory.</P>
<P>2. I ran the make command</P>
<P>It went on for 20 minutes or so, doing a lot of stuff and in the end threw a fatal error regarding some oci file. I read through the errors and found that it could not find oci.h and it tried to use something else and then threw out a couple of error messages regarding ogrfrmts. anyway, I added option (--with-oci=no) to ./configure command . so i ran the following commands</P>
<P>make clean</P>
<P>./configure --prefix=/home/gdal --with-pymodir=/home/gdal/pymod --with-oci=no<BR><BR>make</P>
<P>after 20 minutes of printing what it has been doing, it threw fatal error again with more than 200 lines of error regarding files of libnetcdf, libjpeg and libz. So I removed the jpeg and netcdf format from the GDAL_FORMATS variable in GDALmake.opt file. and I ran make clean and make again.</P>
<P>Again there were errors, but no netcdf, but some other errors regarding jpeg were there which ended with a fatal relocation error . the dump of the last few lines of that error is provided below. I would appreciate if someone could provide me clues on how to rectify this error.</P>
<P>.div 0x38c /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jquant1.o)<BR>.div 0x4d0 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jquant1.o)<BR>.div 0x4e0 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jquant1.o)<BR>.div 0x8a8 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jquant2.o)<BR>.div 0x8c8 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jquant2.o)<BR>.div 0x8ec /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jquant2.o)<BR>.div 0xc /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jutils.o)<BR>.div 0x600 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jmemmgr.o)<BR>jpeg_open_backing_store 0x688 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jmemmgr.o)<BR>jpeg_open_backing_store 0x744 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jmemmgr.o)<BR>jpeg_make_d_derived_tbl 0xa4 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jdhuff.o)<BR>jpeg_make_d_derived_tbl 0xc0 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jdhuff.o)<BR>jpeg_make_d_derived_tbl 0x284 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jdphuff.o)<BR>jpeg_make_d_derived_tbl 0x2a8 /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jdphuff.o)<BR>jpeg_consume_input 0x39c /usr2/OS-DEPENDENT/SunOS_Generic_sparc/lib/libjpeg.a(jdapimin.o)<BR>ld: fatal: relocations remain against allocatable but non-writable sections<BR>collect2: ld returned 1 exit status<BR>make[1]: *** [libgdal.la] Error 1<BR>make[1]: Leaving directory `/home/gdal-1.2.0'<BR>make: *** [check-lib] Error 2</P>
<P> </P>
<P>Thanks</P>
<P>Gagan Tandon<BR></P>
<P> </P></div><br clear=all><hr>Join BharatMatrimony.com. <a href="http://g.msn.com/8HMAENIN/2740??PS=">Unmarried? Join Free.</a> </html>