Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
It appears that perhaps because qt4.2.2 has qt3 compatibility or some such, qgis is picking up /usr/lib/libQtGui.so.4 instead of /usr/local/qt4/lib/libQtGui.so.4 which is where _ZN16QDialogButtonBox16staticMetaObjectE is defined. I don't know why Reid isn't having this problem or how to get around it... ldd on qgis-0.8.1 is: libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0x2abc2000) libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x2afef000) libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x2b134000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x2b79) libSM.so.6 => /usr/lib/libSM.so.6 (0x2b8b5000) libICE.so.6 => /usr/lib/libICE.so.6 (0x2b9bf000) libXi.so.6 => /usr/lib/libXi.so.6 (0x2bada000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x2bbe3000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x2bcec000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x2bdef000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x2befa000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x2bffc000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x2c177000) libXext.so.6 => /usr/lib/libXext.so.6 (0x2c2b7000) libX11.so.6 => /usr/lib/libX11.so.6 (0x2c3c8000) libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x2c5d) libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x2c71b000) libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x2c877000) libz.so.1 => /usr/lib/libz.so.1 (0x2cadb000) libpthread.so.0 => /lib/libpthread.so.0 (0x2cbf2000) libdl.so.2 => /lib/libdl.so.2 (0x2cd07000) libqgis_core.so => /usr/local/lib/libqgis_core.so (0x2ce09000) libpq.so.4 => /usr/lib/libpq.so.4 (0x2cf7c000) libm.so.6 => /lib/libm.so.6 (0x2d09e000) libproj.so.0 => /usr/local/lib/libproj.so.0 (0x2d223000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x2d365000) libgeos.so.2 => /usr/lib/libgeos.so.2 (0x2d4bc000) libgdal.so.1 => /usr/lib/libgdal.so.1 (0x2d6be000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2dba) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2dd9d000) libc.so.6 => /lib/libc.so.6 (0x2deaa000) libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x2e0e4000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0x2e286000) libXt.so.6 => /usr/lib/libXt.so.6 (0x2e39e000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x2e50) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x2e605000) libXau.so.6 => /usr/lib/libXau.so.6 (0x2e729000) /lib64/ld-linux-x86-64.so.2 (0x2aaab000) libQtTest.so.4 => /usr/local/qt4/lib/libQtTest.so.4 (0x2e82b000) libQtDesigner.so.4 => /usr/local/qt4/lib/libQtDesigner.so.4 (0x2e93d000) libutil.so.1 => /lib/libutil.so.1 (0x2eb9a000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x2ec9c000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x2ede4000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x2f055000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x2f1db000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x2f2de000) libresolv.so.2 => /lib/libresolv.so.2 (0x2f411000) libnsl.so.1 => /lib/libnsl.so.1 (0x2f526000) libodbc.so.1 => /usr/lib/libodbc.so.1 (0x2f63d000) libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x2f799000) libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x2fc1d000) libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x2fd73000) libdf.so.4 => /usr/lib/libdf.so.4 (0x2fe99000) libungif.so.4 => /usr/lib/libungif.so.4 (0x2aaab0044000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x2aaab014d000) libtiff.so.4 => /usr/lib/libtiff.so.4 (0x2aaab026f000) libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x2aaab03c7000) libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x2aaab0503000) libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x2aaab079) libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x2aaab09fd000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x2aaab0b59000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x2aaab0cec000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x2aaab0e12000) libicuuc.so.34 => /usr/lib/libicuuc.so.34 (0x2aaab0f19000) libicudata.so.34 => /usr/lib/libicudata.so.34 (0x2aaab113f000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x2aaab1ab4000) Harry On Sat, 21 Jul 2007 20:40:58
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
--- Begin Message --- It appears that perhaps because qt4.2.2 has qt3 compatibility or some such, qgis is picking up /usr/lib/libQtGui.so.4 instead of /usr/local/qt4/lib/libQtGui.so.4 which is where _ZN16QDialogButtonBox16staticMetaObjectE is defined. I don't know why Reid isn't having this problem or how to get around it... ldd on qgis-0.8.1 is: libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0x2abc2000) libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x2afef000) libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x2b134000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x2b79) libSM.so.6 => /usr/lib/libSM.so.6 (0x2b8b5000) libICE.so.6 => /usr/lib/libICE.so.6 (0x2b9bf000) libXi.so.6 => /usr/lib/libXi.so.6 (0x2bada000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x2bbe3000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x2bcec000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x2bdef000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x2befa000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x2bffc000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x2c177000) libXext.so.6 => /usr/lib/libXext.so.6 (0x2c2b7000) libX11.so.6 => /usr/lib/libX11.so.6 (0x2c3c8000) libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x2c5d) libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x2c71b000) libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x2c877000) libz.so.1 => /usr/lib/libz.so.1 (0x2cadb000) libpthread.so.0 => /lib/libpthread.so.0 (0x2cbf2000) libdl.so.2 => /lib/libdl.so.2 (0x2cd07000) libqgis_core.so => /usr/local/lib/libqgis_core.so (0x2ce09000) libpq.so.4 => /usr/lib/libpq.so.4 (0x2cf7c000) libm.so.6 => /lib/libm.so.6 (0x2d09e000) libproj.so.0 => /usr/local/lib/libproj.so.0 (0x2d223000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x2d365000) libgeos.so.2 => /usr/lib/libgeos.so.2 (0x2d4bc000) libgdal.so.1 => /usr/lib/libgdal.so.1 (0x2d6be000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2dba) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2dd9d000) libc.so.6 => /lib/libc.so.6 (0x2deaa000) libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x2e0e4000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0x2e286000) libXt.so.6 => /usr/lib/libXt.so.6 (0x2e39e000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x2e50) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x2e605000) libXau.so.6 => /usr/lib/libXau.so.6 (0x2e729000) /lib64/ld-linux-x86-64.so.2 (0x2aaab000) libQtTest.so.4 => /usr/local/qt4/lib/libQtTest.so.4 (0x2e82b000) libQtDesigner.so.4 => /usr/local/qt4/lib/libQtDesigner.so.4 (0x2e93d000) libutil.so.1 => /lib/libutil.so.1 (0x2eb9a000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x2ec9c000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x2ede4000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x2f055000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x2f1db000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x2f2de000) libresolv.so.2 => /lib/libresolv.so.2 (0x2f411000) libnsl.so.1 => /lib/libnsl.so.1 (0x2f526000) libodbc.so.1 => /usr/lib/libodbc.so.1 (0x2f63d000) libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x2f799000) libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x2fc1d000) libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x2fd73000) libdf.so.4 => /usr/lib/libdf.so.4 (0x2fe99000) libungif.so.4 => /usr/lib/libungif.so.4 (0x2aaab0044000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x2aaab014d000) libtiff.so.4 => /usr/lib/libtiff.so.4 (0x2aaab026f000) libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x2aaab03c7000) libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x2aaab0503000) libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x2aaab079) libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x2aaab09fd000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x2aaab0b59000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x2aaab0cec000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x2aaab0e12000) libicuuc.so.34 => /usr/lib/libicuuc.so.34 (0x2aaab0f19000) libicudata.so.34 => /usr/lib/libicudata.so.34 (0x2aaab113f000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x2aaab1ab4000) Harry On Sat,
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
Hi My guess is that the Qt version providing headers and the Qt version for lib linking could be out of sync... How many versions of Qt do you have on your system? Regards Tim Em 21/07/2007, às 13:37, Harry G. McGavran Jr. escreveu: I've been following this thread and trying to do the same thing. It works like Reid's except what I get is: symbol lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined symbol: _ZN16QDialogButtonBox16staticMetaObjectE even with the correct LD_LIBRARY_PATH, although qgis seems to want /usr/local/qt4/lib which is correct in any case. Qt4.2.2 is in that path which is what it looks like Reid is using. Suggestions? Harry -- Harry G. McGavran, Jr. E-mail: [EMAIL PROTECTED] ___ Qgis-user mailing list Qgis-user@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 ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
I've been following this thread and trying to do the same thing. It works like Reid's except what I get is: symbol lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined symbol: _ZN16QDialogButtonBox16staticMetaObjectE even with the correct LD_LIBRARY_PATH, although qgis seems to want /usr/local/qt4/lib which is correct in any case. Qt4.2.2 is in that path which is what it looks like Reid is using. Suggestions? Harry -- Harry G. McGavran, Jr. E-mail: [EMAIL PROTECTED] ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
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: [EMAIL PROTECTED]: ldd /usr/local/lib/libqgis_core.so linux-gate.so.1 => (0xe000) 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@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 ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
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: > > [EMAIL PROTECTED]: ldd /usr/local/lib/libqgis_core.so > linux-gate.so.1 => (0xe000) > 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@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
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: [EMAIL PROTECTED]: ldd /usr/local/lib/libqgis_core.so linux-gate.so.1 => (0xe000) 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. A ++ Aaron Racicot - GIS Programmer 360.221.2441 - [EMAIL PROTECTED] ++ e c o t r u s t pobox 1614 langley wa 98260 www.ecotrust.org ++ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reid Priedhorsky Sent: Thursday, July 19, 2007 3:12 PM To: qgis-user@lists.qgis.org Subject: Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper Aaron Racicot wrote: > Is it possible for you to try using 2.2.3 and see if that makes a > difference? 2.1.4 is from August of 2005 and I have never tried compiling > with that version. If possible give that a try and report back... Aaron, Thanks again for your help. With GEOS 2.2.3, it builds successfully, but when I run it, all I get is the following error message: /export/scratch/reid/qgis-0.8.1/bin/qgis: symbol lookup error: /export/scratch/reid/qgis-0.8.1/lib/libqgis_core.so: undefined symbol: _ZN11QToolButton17mouseReleaseEventEP11QMouseEvent Reid ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
Aaron Racicot wrote: > Is it possible for you to try using 2.2.3 and see if that makes a > difference? 2.1.4 is from August of 2005 and I have never tried compiling > with that version. If possible give that a try and report back... Aaron, Thanks again for your help. With GEOS 2.2.3, it builds successfully, but when I run it, all I get is the following error message: /export/scratch/reid/qgis-0.8.1/bin/qgis: symbol lookup error: /export/scratch/reid/qgis-0.8.1/lib/libqgis_core.so: undefined symbol: _ZN11QToolButton17mouseReleaseEventEP11QMouseEvent Reid ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
Is it possible for you to try using 2.2.3 and see if that makes a difference? 2.1.4 is from August of 2005 and I have never tried compiling with that version. If possible give that a try and report back... Aaron ++ Aaron Racicot - GIS Programmer 360.221.2441 - [EMAIL PROTECTED] ++ e c o t r u s t pobox 1614 langley wa 98260 www.ecotrust.org ++ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reid Priedhorsky Sent: Thursday, July 19, 2007 12:38 PM To: qgis-user@lists.qgis.org Subject: Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper Aaron Racicot wrote: > Reid, > What version of GEOS are you using? I believe there are issues trying to > use the 3.x versions, so verify you have a 2.x version. The errors look > like a mismatch in GEOS structures... Aaron, Thanks for the reply. I am using GEOS 2.1.4. Reid ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
Aaron Racicot wrote: > Reid, > What version of GEOS are you using? I believe there are issues trying to > use the 3.x versions, so verify you have a 2.x version. The errors look > like a mismatch in GEOS structures... Aaron, Thanks for the reply. I am using GEOS 2.1.4. Reid ___ Qgis-user mailing list Qgis-user@lists.qgis.org http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Re: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
Reid, What version of GEOS are you using? I believe there are issues trying to use the 3.x versions, so verify you have a 2.x version. The errors look like a mismatch in GEOS structures... A ++ Aaron Racicot - GIS Programmer 360.221.2441 - [EMAIL PROTECTED] ++ e c o t r u s t pobox 1614 langley wa 98260 www.ecotrust.org ++ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reid Priedhorsky Sent: Thursday, July 19, 2007 9:21 AM To: qgis-user@lists.qgis.org Subject: [Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper Hi all, I'm having trouble building QGIS 0.8.1 on Ubuntu Dapper. My build transcript is below. (Note that QT is installed in a nonstandard path, since the Dapper QT verison is too old. I don't have root on the box, and upgrading the OS to Edgy isn't an option.) QGIS 0.8.0 compiled fine using the autotools configure script which was included in the distribution, but there's no configure script in 0.8.1. Any help would be greatly appreciated. Thanks! Reid $ mkdir build $ cd build $ QT4DIR=/export/scratch/reid/qt-4.2.2/ $ export PATH=$QT4DIR/bin:$PATH $ ../../cmake-2.4.7/bin/cmake -D QT_BINARY_DIR=$QT4DIR/bin .. -- Check for working C compiler: /soft/gcc-4.1/ubuntu/bin/gcc -- Check for working C compiler: /soft/gcc-4.1/ubuntu/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /soft/gcc-4.1/ubuntu/bin/c++ -- Check for working CXX compiler: /soft/gcc-4.1/ubuntu/bin/c++ -- works -- Found Proj: /usr/lib/libproj.so -- Found Sqlite3: /usr/lib/libsqlite3.so -- Found GEOS: /usr/lib/libgeos.so -- Found GDAL: /usr/lib/libgdal.so -- Found PostgreSQL: /usr/lib/libpq.so -- Found Expat: /usr/lib/libexpat.so -- Using GSL from /usr -- Could not find GRASS -- Python libraries found -- SIP not found! -- PyQt4 not found! -- Python bindings disabled due dependency problems! -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.2.2 -- Configuring done -- Generating done -- Build files have been written to: /export/scratch/reid/src/qgis-0.8.1/build $ make [ 0%] Generating qgssvnversion.h [ 0%] Built target svnversion [ 0%] Generating ui_qgisappbase.h [ 0%] Generating ui_qgsabout.h [ 0%] Generating ui_qgsaddattrdialogbase.h [ 0%] Generating ui_qgsattributeactiondialogbase.h [ 0%] Generating ui_qgsattributedialogbase.h [ 0%] Generating ui_qgsattributetablebase.h [ 0%] Generating ui_qgsbookmarksbase.h [ 0%] Generating ui_qgscomposerbase.h [ 0%] Generating ui_qgscomposerlabelbase.h [ 0%] Generating ui_qgscomposermapbase.h [ 0%] Generating ui_qgscomposerpicturebase.h [ 0%] Generating ui_qgscomposerscalebarbase.h [ 0%] Generating ui_qgscomposervectorlegendbase.h [ 0%] Generating ui_qgscompositionbase.h [ 0%] Generating ui_qgscontinuouscolordialogbase.h [ 0%] Generating ui_qgscustomprojectiondialogbase.h Warning: name tab is already used [ 0%] Generating ui_qgsdbsourceselectbase.h [ 0%] Generating ui_qgsdelattrdialogbase.h [ 0%] Generating ui_qgsfillstylewidgetbase.h [ 0%] Generating ui_qgsgeomtypedialogbase.h [ 0%] Generating ui_qgsgraduatedsymboldialogbase.h [ 0%] Generating ui_qgshelpviewerbase.h [ 0%] Generating ui_qgsidentifyresultsbase.h [ 0%] Generating ui_qgslabeldialogbase.h [ 0%] Generating ui_qgslayerprojectionselectorbase.h [ 0%] Generating ui_qgslinestyledialogbase.h [ 0%] Generating ui_qgslinestylewidgetbase.h [ 0%] Generating ui_qgsludialogbase.h [ 0%] Generating ui_qgsmarkerdialogbase.h [ 0%] Generating ui_qgsmeasurebase.h [ 0%] Generating ui_qgsmessageviewer.h [ 0%] Generating ui_qgsnewconnectionbase.h [ 0%] Generating ui_qgsnewhttpconnectionbase.h [ 0%] Generating ui_qgsoptionsbase.h Warning: name TabPage is already used [ 0%] Generating ui_qgspastetransformationsbase.h [ 0%] Generating ui_qgspatterndialogbase.h [ 0%] Generating ui_qgspgquerybuilderbase.h [ 0%] Generating ui_qgspluginmanagerbase.h [ 0%] Generating ui_qgspointstylewidgetbase.h [ 0%] Generating ui_qgsprojectionselectorbase.h [ 0%] Generating ui_qgsprojectpropertiesbase.h Warning: name tab is already used [ 0%] Generating ui_qgsrasterlayerpropertiesbase.h [ 0%] Generating ui_qgsserversourceselectbase.h [ 0%] Generating ui_qgssinglesymboldialogbase.h [ 0%] Generating ui_qgsuniquevaluedialogbase.h [ 0%] Generating ui_qgsvectorlayerpropertiesbase.h [ 0%] Generating ui_qgsvectorsymbologywidgetbase.h [ 0%] Generating ui_qgsmapserverexportbase.h [ 9%] Built target ui [ 10%] Generating moc_qgspgquerybuilder.cxx [ 10%] Generating flex_qgssearchstringlexer.cpp [ 11%] Generating qgssearchstringparser.cpp [ 11%] Generating moc_qgscontexthelp.c
[Qgis-user] help building QGIS 0.8.1 on Ubuntu Dapper
Hi all, I'm having trouble building QGIS 0.8.1 on Ubuntu Dapper. My build transcript is below. (Note that QT is installed in a nonstandard path, since the Dapper QT verison is too old. I don't have root on the box, and upgrading the OS to Edgy isn't an option.) QGIS 0.8.0 compiled fine using the autotools configure script which was included in the distribution, but there's no configure script in 0.8.1. Any help would be greatly appreciated. Thanks! Reid $ mkdir build $ cd build $ QT4DIR=/export/scratch/reid/qt-4.2.2/ $ export PATH=$QT4DIR/bin:$PATH $ ../../cmake-2.4.7/bin/cmake -D QT_BINARY_DIR=$QT4DIR/bin .. -- Check for working C compiler: /soft/gcc-4.1/ubuntu/bin/gcc -- Check for working C compiler: /soft/gcc-4.1/ubuntu/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /soft/gcc-4.1/ubuntu/bin/c++ -- Check for working CXX compiler: /soft/gcc-4.1/ubuntu/bin/c++ -- works -- Found Proj: /usr/lib/libproj.so -- Found Sqlite3: /usr/lib/libsqlite3.so -- Found GEOS: /usr/lib/libgeos.so -- Found GDAL: /usr/lib/libgdal.so -- Found PostgreSQL: /usr/lib/libpq.so -- Found Expat: /usr/lib/libexpat.so -- Using GSL from /usr -- Could not find GRASS -- Python libraries found -- SIP not found! -- PyQt4 not found! -- Python bindings disabled due dependency problems! -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.2.2 -- Configuring done -- Generating done -- Build files have been written to: /export/scratch/reid/src/qgis-0.8.1/build $ make [ 0%] Generating qgssvnversion.h [ 0%] Built target svnversion [ 0%] Generating ui_qgisappbase.h [ 0%] Generating ui_qgsabout.h [ 0%] Generating ui_qgsaddattrdialogbase.h [ 0%] Generating ui_qgsattributeactiondialogbase.h [ 0%] Generating ui_qgsattributedialogbase.h [ 0%] Generating ui_qgsattributetablebase.h [ 0%] Generating ui_qgsbookmarksbase.h [ 0%] Generating ui_qgscomposerbase.h [ 0%] Generating ui_qgscomposerlabelbase.h [ 0%] Generating ui_qgscomposermapbase.h [ 0%] Generating ui_qgscomposerpicturebase.h [ 0%] Generating ui_qgscomposerscalebarbase.h [ 0%] Generating ui_qgscomposervectorlegendbase.h [ 0%] Generating ui_qgscompositionbase.h [ 0%] Generating ui_qgscontinuouscolordialogbase.h [ 0%] Generating ui_qgscustomprojectiondialogbase.h Warning: name tab is already used [ 0%] Generating ui_qgsdbsourceselectbase.h [ 0%] Generating ui_qgsdelattrdialogbase.h [ 0%] Generating ui_qgsfillstylewidgetbase.h [ 0%] Generating ui_qgsgeomtypedialogbase.h [ 0%] Generating ui_qgsgraduatedsymboldialogbase.h [ 0%] Generating ui_qgshelpviewerbase.h [ 0%] Generating ui_qgsidentifyresultsbase.h [ 0%] Generating ui_qgslabeldialogbase.h [ 0%] Generating ui_qgslayerprojectionselectorbase.h [ 0%] Generating ui_qgslinestyledialogbase.h [ 0%] Generating ui_qgslinestylewidgetbase.h [ 0%] Generating ui_qgsludialogbase.h [ 0%] Generating ui_qgsmarkerdialogbase.h [ 0%] Generating ui_qgsmeasurebase.h [ 0%] Generating ui_qgsmessageviewer.h [ 0%] Generating ui_qgsnewconnectionbase.h [ 0%] Generating ui_qgsnewhttpconnectionbase.h [ 0%] Generating ui_qgsoptionsbase.h Warning: name TabPage is already used [ 0%] Generating ui_qgspastetransformationsbase.h [ 0%] Generating ui_qgspatterndialogbase.h [ 0%] Generating ui_qgspgquerybuilderbase.h [ 0%] Generating ui_qgspluginmanagerbase.h [ 0%] Generating ui_qgspointstylewidgetbase.h [ 0%] Generating ui_qgsprojectionselectorbase.h [ 0%] Generating ui_qgsprojectpropertiesbase.h Warning: name tab is already used [ 0%] Generating ui_qgsrasterlayerpropertiesbase.h [ 0%] Generating ui_qgsserversourceselectbase.h [ 0%] Generating ui_qgssinglesymboldialogbase.h [ 0%] Generating ui_qgsuniquevaluedialogbase.h [ 0%] Generating ui_qgsvectorlayerpropertiesbase.h [ 0%] Generating ui_qgsvectorsymbologywidgetbase.h [ 0%] Generating ui_qgsmapserverexportbase.h [ 9%] Built target ui [ 10%] Generating moc_qgspgquerybuilder.cxx [ 10%] Generating flex_qgssearchstringlexer.cpp [ 11%] Generating qgssearchstringparser.cpp [ 11%] Generating moc_qgscontexthelp.cxx [ 11%] Generating moc_qgsdataprovider.cxx [ 11%] Generating moc_qgshttptransaction.cxx [ 12%] Generating moc_qgsrasterdataprovider.cxx [ 12%] Generating moc_qgsnewhttpconnection.cxx [ 12%] Generating moc_qgshelpviewer.cxx [ 12%] Generating moc_qgsattributetable.cxx [ 12%] Generating moc_qgssearchquerybuilder.cxx [ 13%] Generating moc_qgsattributeactiondialog.cxx [ 13%] Generating moc_qgslinestyledialog.cxx [ 13%] Generating moc_qgsabout.cxx [ 13%] Generating moc_qgsmaprender.cxx [ 13%] Generating moc_qgsdelattrdialog.cxx [ 13%] Generating moc_qgsmeasure.cxx [ 14%] Generating moc_qgsgeomtypedialog.cxx [ 14%] Generating moc_qgsgraduatedsymboldialog.cxx [ 14%] Generating moc_qgscustomprojectiondialog.cxx [ 14%] Generating moc_qgspastetransformations.cxx [ 14%] Generatin