[Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper

Tim Sutton tim at linfiniti.com
Fri Jul 20 18:55:21 EDT 2007


Hi Reid

The instructions for building QGIS from source are supplied in the  
sources as INSTALL.txt. In 0.8.1 we started a new system for  
providing INSTALL.txt. Before this the install process was described  
in various places on our wiki. We updated the install docs regularly  
on the wiki but this meant the docs became incorrect for older  
versions of QGIS. With the new approach the INSTALL.t2t doc is now  
under version control and so we can provide backtrackable install  
notes for all releases of QGIS. However due to an oversight, a part  
of the linux install notes were ommitted. This will be repaired in  
the upcoming release of QGIS.

Regarding automake support, the only practical way to continue suport  
for it is if someone volunteers to update the automake build system  
to work with the new python bindings, refactored libs etc. Any  
volunteers?

Best regards

Tim

Em 20/07/2007, às 14:07, Reid Priedhorsky escreveu:

> Aaron Racicot wrote:
>> Well, can you post the build output so we can look and make sure  
>> there is
>> nothing suspicious there?  Also, can you run ldd on the core.so  
>> file...
>> something like:
>>
>> aaronr at z-linux2: ldd /usr/local/lib/libqgis_core.so
>>         linux-gate.so.1 =>  (0xffffe000)
>>         libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb7bec000)
>>         ...
>>
>> Is there anything in the ldd dump of the .so that showed errors or  
>> other
>> .so's it can't find?  Shooting a bit in the dark here as I have  
>> not seen
>> that error, but it is having trouble resolving the symbol in a  
>> shared object
>> at run time... ldd might provide a hint.
>
> Aaron,
>
> An excellent suggestion -- it turns out that it was finding the QT
> libraries included with the system, not the ones I had compiled  
> against.
> "export
> LD_LIBRARY_PATH=/export/scratch/reid/qt-4.2.2/lib:$LD_LIBRARY_PATH"  
> did
> the trick. QGIS now starts up, though I haven't yet tested it in  
> detail.
>
> I wonder if this is something that could be fixed in the build  
> process?
> I've compiled a lot of software in the past that used libraries other
> than the ones installed by the system, including QGIS 0.8.0 using
> autotools configure, and they didn't need LD_LIBRARY_PATH juju to run.
>
> In a larger sense, from the perspective of users like me who are
> compiling QGIS from source on UNIX, the new build system is a major
> regression from the old autotools system. In 0.8.0, it was ./configure
> --with-qtdir=FOO; make; make install ... poof! working QGIS. With  
> 0.8.1
> it was no installation instructions that applied to me, scouring  
> mailing
> lists (including for basic stuff like how to specify which QT  
> install to
> use), asking for help on mailing lists, compiling and installing cmake
> since the one on my system was too old, etc., etc. Ugh.
>
> I don't know if I get a vote in the discussion of whether to remove
> autotools configure from 0.9, but if I do, I vote -1.
>
> Thanks,
>
> Reid
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user


Tim Sutton

QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS

openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological  
niche modelling tool

Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-user/attachments/20070720/96cb61a9/attachment.html


More information about the Qgis-user mailing list