[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [DebianGIS] error durin gdal 1.5.3 compilation



hi,

2008/12/18 Alan Boudreault <aboudreault@mapgears.com>:
> If you need only the ubuntu packages, you can use these packages of gdal
> 1.5.3: http://dev5.mapgears.com/ubuntu/pool/main/
> I built them and they work properly.

great, thanks
>
> NOTE: that's a temporary repository. I plan to create another one at
> "Launchpad's Personal Package Archives" as soon as i have free time :P

hmm, mayte I should move http://les-ejk.cz/ubuntu there as well

jachym

> Alan
>
> Jachym Cepicky wrote:
>>
>> Hi,
>> though I'm using Ubuntu, I never had problems compiling GIS packages
>> with debian configuration files from svn.debian.org
>>
>> however, now, I have such problem:
>>
>> gdal 1.5.3 (from gdal.org)
>> gdal/trunk/debian (from
>> http://svn.debian.org/wsvn/pkg-grass/packages/gdal/trunk/?rev=0&sc=0)
>>
>> dpkg-buildpackage -rfakeroot
>> # all dependances fixed, compilation goes ahead
>>
>> [........]
>> /bin/sh /home/jachym/usr/src/gdal/gdal-1.5.3/libtool --mode=link
>>  g++
>> -Wl,-Bsymbolic-functions -fPIC -DPIC -shared -L/usr/lib  -L/usr/lib
>> -lgeos_c -I/usr/include -lsqlite3 -lodbc -lodbcinst -L/usr/lib -lexpat
>> -L/usr/lib -lxerces-c -lpthread -ljasper -lhdf5 -lmfhdf -ldf -logdi
>> -lgif -ljpeg -ltiff -lpng -lnetcdf -lpq -L/usr/lib -lpq -lz -lpthread
>> -lm -lrt -ldl    -lcurl -Wl,-Bsymbolic-functions -lidn -lldap -lrt
>> -L/usr/lib -g -O2 -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5
>> -lk5crypto -lcom_err -lgssapi_krb5 -lz -lgnutls
>> -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient
>> -L/home/jachym/usr/src/gdal/gdal-1.5.3 -lgdal1.5.0 -lruby1.8
>> gdal_wrap.o -o gdal.so
>> libtool: link: g++ -Wl,-Bsymbolic-functions -fPIC -DPIC -I/usr/include
>> -Wl,-Bsymbolic-functions -g -O2 -Wl,-Bsymbolic-functions
>> -Wl,-Bsymbolic-functions -rdynamic gdal_wrap.o -o gdal.so  -L/usr/lib
>> -lc -L/usr/lib/mysql -lm -L/home/jachym/usr/src/gdal/gdal-1.5.3
>> /usr/lib/libgdal1.5.0.so /usr/lib/libgeos_c.so /usr/lib/libgeos.so
>> /usr/lib/libsqlite3.so /usr/lib/libodbc.so /usr/lib/libodbcinst.so
>> /usr/lib/libltdl.so /usr/lib/libexpat.so -lxerces-c
>> /usr/lib/libjasper.so /usr/lib/libhdf5.so -lmfhdf -ldf -logdi
>> /usr/lib/libgif.so /usr/lib/libtiff.so /usr/lib/libjpeg.so -lpng
>> -lnetcdf -lpq -ldl /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so
>> -lldap -lrt -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5
>> /usr/lib/libgnutls.so /usr/lib/libtasn1.so /lib/libgcrypt.so
>> /usr/lib/libmysqlclient.so -lpthread -lcrypt -lnsl -lz -lruby1.8
>> /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crt1.o: In function
>> `_start':
>> (.text+0x18): undefined reference to `main'
>> collect2: ld returned 1 exit status
>> make[2]: *** [gdal.so] Error 1
>> make[2]: Leaving directory
>> `/home/jachym/usr/src/gdal/gdal-1.5.3/swig/ruby'
>> make[1]: *** [build] Error 2
>> make[1]: Leaving directory
>> `/home/jachym/usr/src/gdal/gdal-1.5.3/swig/ruby'
>> make: *** [build-stamp] Error 2
>> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
>>
>> $
>>
>> I have
>>
>> libruby1.8    1.8.7.72-1ubuntu0.1
>> ruby          4.2
>> ruby1.8       1.8.7.72-1ubuntu0.1
>> ruby1.8-dev   1.8.7.72-1ubuntu0.1
>>
>> Any hint, how to approach?
>>
>> Thanks
>>
>> jachym
>>
>>
>
>
> --
> Alan Boudreault
> Mapgears
> http://www.mapgears.com
>
>



-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp



Reply to: