help building QGIS 0.8.1 on Ubuntu Dapper

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

help building QGIS 0.8.1 on Ubuntu Dapper

Reid Priedhorsky-2
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%] Generating moc_qgscontinuouscolordialog.cxx
[ 15%] Generating moc_qgssinglesymboldialog.cxx
[ 15%] Generating moc_qgsbookmarks.cxx
[ 15%] Generating moc_qgsfillstylewidget.cxx
[ 15%] Generating moc_qgsmarkerdialog.cxx
[ 15%] Generating moc_qgsidentifyresults.cxx
[ 16%] Generating moc_qgsvectorlayerproperties.cxx
[ 16%] Generating moc_qgsserversourceselect.cxx
[ 16%] Generating moc_qgspluginmanager.cxx
[ 16%] Generating moc_qgspatterndialog.cxx
[ 16%] Generating moc_qgsaddattrdialog.cxx
[ 17%] Generating moc_qgsattributetabledisplay.cxx
[ 17%] Generating moc_qgsattributedialog.cxx
[ 17%] Generating moc_qgsoptions.cxx
[ 17%] Generating moc_qgsludialog.cxx
[ 17%] Generating moc_qgslinestylewidget.cxx
[ 18%] Generating moc_qgisapp.cxx
[ 18%] Generating moc_qgisiface.cxx
[ 18%] Generating moc_qgisinterface.cxx
[ 18%] Generating moc_qgscoordinatetransform.cxx
[ 18%] Generating moc_qgsencodingfiledialog.cxx
[ 18%] Generating moc_qgslabeldialog.cxx
[ 19%] Generating moc_qgslayerprojectionselector.cxx
[ 19%] Generating moc_qgsmapcanvas.cxx
[ 19%] Generating moc_qgsmapcanvasitem.cxx
[ 19%] Generating moc_qgsmapoverviewcanvas.cxx
[ 19%] Generating moc_qgsmaplayer.cxx
[ 20%] Generating moc_qgsmaplayerregistry.cxx
[ 20%] Generating moc_qgsmaptoolidentify.cxx
[ 20%] Generating moc_qgspointstylewidget.cxx
[ 20%] Generating moc_qgsprojectionselector.cxx
[ 20%] Generating moc_qgsprojectproperties.cxx
[ 21%] Generating moc_qgsrasterlayerproperties.cxx
[ 21%] Generating moc_qgsrunprocess.cxx
[ 21%] Generating moc_qgsuniquevaluedialog.cxx
[ 21%] Generating moc_qgsvectorlayer.cxx
[ 21%] Generating moc_qgslegend.cxx
[ 22%] Generating moc_qgscomposermap.cxx
[ 22%] Generating moc_qgscomposerlabel.cxx
[ 22%] Generating moc_qgscomposer.cxx
[ 22%] Generating moc_qgscomposerpicture.cxx
[ 22%] Generating moc_qgscomposerscalebar.cxx
[ 23%] Generating moc_qgscomposervectorlegend.cxx
[ 23%] Generating moc_qgscomposerview.cxx
[ 23%] Generating moc_qgscomposition.cxx
[ 23%] Generating moc_qgsrasterlayer.cxx
[ 23%] Generating moc_qgsdbsourceselect.cxx
[ 23%] Generating moc_qgsnewconnection.cxx
[ 23%] Generating qgssearchstringparser.h
Scanning dependencies of target qgis_core
[ 24%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgis.o
[ 24%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsapplication.o
[ 24%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsbookmarkitem.o
[ 24%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsclipper.o
/export/scratch/reid/src/qgis-0.8.1/src/core/qgsclipper.h: In static
member function ‘static void QgsClipper::trimFeatureToBoundary(const
std::vector<double, std::allocator<double> >&, const std::vector<double,
std::allocator<double> >&, std::vector<double, std::allocator<double>
 >&, std::vector<double, std::allocator<double> >&,
QgsClipper::boundary, bool)’:
/export/scratch/reid/src/qgis-0.8.1/src/core/qgsclipper.h:154: warning:
comparison between signed and unsigned integer expressions
[ 24%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgscolortable.o
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp: In
member function ‘void QgsColorTable::add(int, unsigned char, unsigned
char, unsigned char, unsigned char)’:
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp:62:
warning: comparison between signed and unsigned integer expressions
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp: In
member function ‘bool QgsColorTable::color(double, int*, int*, int*)’:
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp:142:
warning: comparison between signed and unsigned integer expressions
[ 24%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgscontexthelp.o
[ 25%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgscustomsymbol.o
[ 25%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsdatamanager.o
[ 25%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsdatasource.o
/usr/include/geos/geom.h:358: error: extra qualification
‘geos::Coordinate::’ on member ‘setNull’
/usr/include/geos/geom.h:364: error: extra qualification
‘geos::Coordinate::’ on member ‘getNull’
/usr/include/geos/geom.h:368: error: extra qualification
‘geos::Coordinate::’ on member ‘Coordinate’
/usr/include/geos/geom.h:374: error: extra qualification
‘geos::Coordinate::’ on member ‘Coordinate’
/usr/include/geos/geom.h:380: error: extra qualification
‘geos::Coordinate::’ on member ‘Coordinate’
/usr/include/geos/geom.h:386: error: extra qualification
‘geos::Coordinate::’ on member ‘Coordinate’
/usr/include/geos/geom.h:392: error: extra qualification
‘geos::Coordinate::’ on member ‘setCoordinate’
/usr/include/geos/geom.h:398: error: extra qualification
‘geos::Coordinate::’ on member ‘equals2D’
/usr/include/geos/geom.h:408: error: extra qualification
‘geos::Coordinate::’ on member ‘compareTo’
/usr/include/geos/geom.h:424: error: extra qualification
‘geos::Coordinate::’ on member ‘equals3D’
/usr/include/geos/geom.h:428: error: extra qualification
‘geos::Coordinate::’ on member ‘makePrecise’
/usr/include/geos/geom.h:433: error: extra qualification
‘geos::Coordinate::’ on member ‘distance’
/usr/include/geos/geom.h:439: error: extra qualification
‘geos::Coordinate::’ on member ‘hashCode’
/usr/include/geos/geom.h:451: error: extra qualification
‘geos::Coordinate::’ on member ‘hashCode’
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsdatasource.o] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2



_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Aaron Racicot
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 - [hidden email]          
+----------------------------------------+
 e c o t r u s t                        
 pobox 1614
 langley wa 98260
 www.ecotrust.org                      
+----------------------------------------+

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Reid Priedhorsky
Sent: Thursday, July 19, 2007 9:21 AM
To: [hidden email]
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.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%] Generating moc_qgscontinuouscolordialog.cxx
[ 15%] Generating moc_qgssinglesymboldialog.cxx
[ 15%] Generating moc_qgsbookmarks.cxx
[ 15%] Generating moc_qgsfillstylewidget.cxx
[ 15%] Generating moc_qgsmarkerdialog.cxx
[ 15%] Generating moc_qgsidentifyresults.cxx
[ 16%] Generating moc_qgsvectorlayerproperties.cxx
[ 16%] Generating moc_qgsserversourceselect.cxx
[ 16%] Generating moc_qgspluginmanager.cxx
[ 16%] Generating moc_qgspatterndialog.cxx
[ 16%] Generating moc_qgsaddattrdialog.cxx
[ 17%] Generating moc_qgsattributetabledisplay.cxx
[ 17%] Generating moc_qgsattributedialog.cxx
[ 17%] Generating moc_qgsoptions.cxx
[ 17%] Generating moc_qgsludialog.cxx
[ 17%] Generating moc_qgslinestylewidget.cxx
[ 18%] Generating moc_qgisapp.cxx
[ 18%] Generating moc_qgisiface.cxx
[ 18%] Generating moc_qgisinterface.cxx
[ 18%] Generating moc_qgscoordinatetransform.cxx
[ 18%] Generating moc_qgsencodingfiledialog.cxx
[ 18%] Generating moc_qgslabeldialog.cxx
[ 19%] Generating moc_qgslayerprojectionselector.cxx
[ 19%] Generating moc_qgsmapcanvas.cxx
[ 19%] Generating moc_qgsmapcanvasitem.cxx
[ 19%] Generating moc_qgsmapoverviewcanvas.cxx
[ 19%] Generating moc_qgsmaplayer.cxx
[ 20%] Generating moc_qgsmaplayerregistry.cxx
[ 20%] Generating moc_qgsmaptoolidentify.cxx
[ 20%] Generating moc_qgspointstylewidget.cxx
[ 20%] Generating moc_qgsprojectionselector.cxx
[ 20%] Generating moc_qgsprojectproperties.cxx
[ 21%] Generating moc_qgsrasterlayerproperties.cxx
[ 21%] Generating moc_qgsrunprocess.cxx
[ 21%] Generating moc_qgsuniquevaluedialog.cxx
[ 21%] Generating moc_qgsvectorlayer.cxx
[ 21%] Generating moc_qgslegend.cxx
[ 22%] Generating moc_qgscomposermap.cxx
[ 22%] Generating moc_qgscomposerlabel.cxx
[ 22%] Generating moc_qgscomposer.cxx
[ 22%] Generating moc_qgscomposerpicture.cxx
[ 22%] Generating moc_qgscomposerscalebar.cxx
[ 23%] Generating moc_qgscomposervectorlegend.cxx
[ 23%] Generating moc_qgscomposerview.cxx
[ 23%] Generating moc_qgscomposition.cxx
[ 23%] Generating moc_qgsrasterlayer.cxx
[ 23%] Generating moc_qgsdbsourceselect.cxx
[ 23%] Generating moc_qgsnewconnection.cxx
[ 23%] Generating qgssearchstringparser.h
Scanning dependencies of target qgis_core
[ 24%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgis.o
[ 24%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsapplication.o
[ 24%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsbookmarkitem.o
[ 24%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsclipper.o
/export/scratch/reid/src/qgis-0.8.1/src/core/qgsclipper.h: In static
member function 'static void QgsClipper::trimFeatureToBoundary(const
std::vector<double, std::allocator<double> >&, const std::vector<double,
std::allocator<double> >&, std::vector<double, std::allocator<double>
 >&, std::vector<double, std::allocator<double> >&,
QgsClipper::boundary, bool)':
/export/scratch/reid/src/qgis-0.8.1/src/core/qgsclipper.h:154: warning:
comparison between signed and unsigned integer expressions
[ 24%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgscolortable.o
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp: In
member function 'void QgsColorTable::add(int, unsigned char, unsigned
char, unsigned char, unsigned char)':
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp:62:
warning: comparison between signed and unsigned integer expressions
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp: In
member function 'bool QgsColorTable::color(double, int*, int*, int*)':
/export/scratch/reid/src/qgis-0.8.1/src/core/qgscolortable.cpp:142:
warning: comparison between signed and unsigned integer expressions
[ 24%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgscontexthelp.o
[ 25%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgscustomsymbol.o
[ 25%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsdatamanager.o
[ 25%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsdatasource.o
/usr/include/geos/geom.h:358: error: extra qualification
'geos::Coordinate::' on member 'setNull'
/usr/include/geos/geom.h:364: error: extra qualification
'geos::Coordinate::' on member 'getNull'
/usr/include/geos/geom.h:368: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
/usr/include/geos/geom.h:374: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
/usr/include/geos/geom.h:380: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
/usr/include/geos/geom.h:386: error: extra qualification
'geos::Coordinate::' on member 'Coordinate'
/usr/include/geos/geom.h:392: error: extra qualification
'geos::Coordinate::' on member 'setCoordinate'
/usr/include/geos/geom.h:398: error: extra qualification
'geos::Coordinate::' on member 'equals2D'
/usr/include/geos/geom.h:408: error: extra qualification
'geos::Coordinate::' on member 'compareTo'
/usr/include/geos/geom.h:424: error: extra qualification
'geos::Coordinate::' on member 'equals3D'
/usr/include/geos/geom.h:428: error: extra qualification
'geos::Coordinate::' on member 'makePrecise'
/usr/include/geos/geom.h:433: error: extra qualification
'geos::Coordinate::' on member 'distance'
/usr/include/geos/geom.h:439: error: extra qualification
'geos::Coordinate::' on member 'hashCode'
/usr/include/geos/geom.h:451: error: extra qualification
'geos::Coordinate::' on member 'hashCode'
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgsdatasource.o] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2



_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Reid Priedhorsky-2
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
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Aaron Racicot
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 - [hidden email]          
+----------------------------------------+
 e c o t r u s t                        
 pobox 1614
 langley wa 98260
 www.ecotrust.org                      
+----------------------------------------+

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Reid Priedhorsky
Sent: Thursday, July 19, 2007 12:38 PM
To: [hidden email]
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
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Reid Priedhorsky-2
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
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Aaron Racicot
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@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.

A



+----------------------------------------+
 Aaron Racicot - GIS Programmer  
 360.221.2441 - [hidden email]          
+----------------------------------------+
 e c o t r u s t                        
 pobox 1614
 langley wa 98260
 www.ecotrust.org                      
+----------------------------------------+

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Reid Priedhorsky
Sent: Thursday, July 19, 2007 3:12 PM
To: [hidden email]
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
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Reid Priedhorsky-2
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@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
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Tim Sutton
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@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


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

Skype: timlinux
Irc: timlinux on #qgis at freenode.net




_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Harry G. McGavran Jr.
In reply to this post by Reid Priedhorsky-2

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: [hidden email]



_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Tim Sutton
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.




_______________________________________________
Qgis-user mailing list


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

Skype: timlinux
Irc: timlinux on #qgis at freenode.net




_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Harry G. McGavran Jr.
In reply to this post by Reid Priedhorsky-2

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 (0x00002aaaaabc2000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00002aaaaafef000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00002aaaab134000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002aaaab790000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002aaaab8b5000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002aaaab9bf000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002aaaabada000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002aaaabbe3000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002aaaabcec000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002aaaabdef000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002aaaabefa000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002aaaabffc000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002aaaac177000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002aaaac2b7000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aaaac3c8000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00002aaaac5d0000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00002aaaac71b000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00002aaaac877000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaacadb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaacbf2000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaacd07000)
        libqgis_core.so => /usr/local/lib/libqgis_core.so (0x00002aaaace09000)
        libpq.so.4 => /usr/lib/libpq.so.4 (0x00002aaaacf7c000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaad09e000)
        libproj.so.0 => /usr/local/lib/libproj.so.0 (0x00002aaaad223000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00002aaaad365000)
        libgeos.so.2 => /usr/lib/libgeos.so.2 (0x00002aaaad4bc000)
        libgdal.so.1 => /usr/lib/libgdal.so.1 (0x00002aaaad6be000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002aaaadba0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaadd9d000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaadeaa000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00002aaaae0e4000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00002aaaae286000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x00002aaaae39e000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002aaaae500000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002aaaae605000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002aaaae729000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
        libQtTest.so.4 => /usr/local/qt4/lib/libQtTest.so.4 (0x00002aaaae82b000)
        libQtDesigner.so.4 => /usr/local/qt4/lib/libQtDesigner.so.4
(0x00002aaaae93d000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002aaaaeb9a000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002aaaaec9c000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002aaaaede4000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00002aaaaf055000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00002aaaaf1db000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002aaaaf2de000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002aaaaf411000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaaf526000)
        libodbc.so.1 => /usr/lib/libodbc.so.1 (0x00002aaaaf63d000)
        libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x00002aaaaf799000)
        libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x00002aaaafc1d000)
        libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x00002aaaafd73000)
        libdf.so.4 => /usr/lib/libdf.so.4 (0x00002aaaafe99000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x00002aaab0044000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002aaab014d000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00002aaab026f000)
        libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x00002aaab03c7000)
        libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x00002aaab0503000)
        libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x00002aaab0790000)
        libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x00002aaab09fd000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002aaab0b59000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00002aaab0cec000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x00002aaab0e12000)
        libicuuc.so.34 => /usr/lib/libicuuc.so.34 (0x00002aaab0f19000)
        libicudata.so.34 => /usr/lib/libicudata.so.34 (0x00002aaab113f000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00002aaab1ab4000)


             Harry

On Sat, 21 Jul 2007 20:40:58 -0600  "Harry G. McGavran Jr. " wrote:
>
> I tried cmake -I/usr/local/qt4/include (etc.) and got:
>
> (grep -i qt * | grep -i include)
>
> CMakeCache.txt:QT_INCLUDE_DIR:PATH=/usr/local/qt4/include
> CMakeCache.txt:QT_QT3SUPPORT_INCLUDE_DIR:PATH=/usr/local/qt4/include/Qt3Suppo
rt
> CMakeCache.txt:QT_QTASSISTANT_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtAssis
ta
> nt
> CMakeCache.txt:QT_QTCORE_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtCore
> CMakeCache.txt:QT_QTDESIGNER_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtDesign
er

> CMakeCache.txt:QT_QTGUI_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtGui
> CMakeCache.txt:QT_QTNETWORK_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtNetwork
> CMakeCache.txt:QT_QTOPENGL_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtOpenGL
> CMakeCache.txt:QT_QTSQL_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtSql
> CMakeCache.txt:QT_QTSVG_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtSvg
> CMakeCache.txt:QT_QTTEST_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtTest
> CMakeCache.txt:QT_QTUITOOLS_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtUiTools
> CMakeCache.txt:QT_QTXML_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtXml
> CMakeCache.txt:QT_QT_INCLUDE_DIR:PATH=/usr/local/qt4/include/Qt
> CMakeCache.txt:QT_HEADERS_DIR:INTERNAL=/usr/local/qt4/include
>
> symbol lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined symbol:
 

> _ZN16QDialogButtonBox16staticMetaObjectE
>
> One would think that it was using the right qt headers, but who knows?
>
> Harry
>
> On Sat, 21 Jul 2007 19:12:43 -0600  "Harry G. McGavran Jr. " wrote:
> >
> > Very likely --
> >
> > I have two versions, one in /usr and one in /usr/local.
> > The one in /usr/local is the one I want.  How do I make
> > sure it gets built using /usr/local/qt4/include???
> >
> >
> > QT4DIR=/usr/local/qt4
> > export PATH=$QT4DIR/bin:$PATH
> > cmake -D QT_BINARY_DIR=$QT4DIR/bin ..
> >
> >    Harry
> >
> >
> > On Sat, 21 Jul 2007 20:59:21 -0300  Tim Sutton wrote:
> > >
> > > --Apple-Mail-3-596731713
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Type: text/plain;
> > > charset=ISO-8859-1;
> > > delsp=yes;
> > > format=flowed
> > >
> > > Hi
> > >
> > > My guess is that the Qt version providing headers and the Qt version =20
> > > 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, =E0s 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: =20
> > > > 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
> > > >
> > > >
> > > > --=20
> > > >
> > > > Harry G. McGavran, Jr.
> > > >
> > > > E-mail: [hidden email]
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Qgis-user mailing list
> > > > [hidden email]
> > > > 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 =20
> > > niche modelling tool
> > >
> > > Home Page: http://tim.linfiniti.com
> > > Skype: timlinux
> > > Irc: timlinux on #qgis at freenode.net
> > >
> > >
> > >
> > >
> > > --Apple-Mail-3-596731713
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Type: text/html;
> > > charset=ISO-8859-1
> > >
> > > <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
> > > -khtml-line-break: after-white-space; ">Hi<DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>My guess is that the Qt =
> > > version providing headers and the Qt version for lib linking=A0 could be
=
> > > out of sync...</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>How many versions of Qt do =
> > > you have on your system?</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>Regards</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>Tim</DIV><DIV><BR><DIV><DIV>
E=
> > > m 21/07/2007, =E0s 13:37, Harry G. McGavran Jr. escreveu:</DIV><BR =
> > > class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I've =
> > > been following this thread and trying to do the same thing.</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">It works like Reid's except what I get is:</DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">symbol =
> > > lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined =
> > > symbol:<SPAN class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">_ZN16QDialogButtonBox16staticMetaObjectE</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">even =
> > > with the correct LD_LIBRARY_PATH, although qgis seems to</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">want /usr/local/qt4/lib which is correct in any =
> > > case.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Qt4.2.2 is in that path which is what it looks like =
> > > Reid is using.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Suggestions?</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
> > > 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; "><SPAN class=3D"Apple-tab-span" =
> > > style=3D"white-space:pre"> </SPAN>Harry</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<SPAN =
> > > class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Harry G. =
> > > McGavran, Jr.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">E-mail: <A =
> > > href=3D"mailto:[hidden email]">[hidden email]</A></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
> > > 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; =
> > > ">_______________________________________________</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Qgis-user mailing list</DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A =
> > > href=3D"mailto:[hidden email]">[hidden email]</A></DI
V=
> > > ><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; "><A =
> > > href=3D"http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user">http://
l=

> > > ists.qgis.org/cgi-bin/mailman/listinfo/qgis-user</A></DIV> =
> > > </BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
> > > style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
> > > rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
> > > normal; font-variant: normal; font-weight: normal; letter-spacing: =
> > > normal; line-height: normal; text-align: auto; =
> > > -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> > > white-space: normal; widows: 2; word-spacing: 0px; "><BR =
> > > class=3D"Apple-interchange-newline"><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
> > > normal normal 12px/normal Helvetica; min-height: 14px; "></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Tim Sutton</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">QGIS Project =
> > > Steering Committee Member - Release=A0<SPAN =
> > > class=3D"Apple-converted-space">=A0</SPAN>Manager</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Visit <A href=3D"http://qgis.org">http://qgis.org</A>
 =
> > > for a great open source GIS</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">openModeller =
> > > Desktop Developer</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px;
=
> > > margin-bottom: 0px; margin-left: 0px; ">Visit <A =
> > > href=3D"http://openModeller.sf.net">http://openModeller.sf.net</A> for a
=
> > > great open source ecological niche modelling tool</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; "><BR class=3D"khtml-block-placeholder"></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Home Page: <A =
> > > href=3D"http://tim.linfiniti.com">http://tim.linfiniti.com</A></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Skype: timlinux</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Irc: timlinux
=

> > > on #qgis at freenode.net</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><BR =
> > > class=3D"Apple-interchange-newline"></SPAN> =
> > > </DIV><BR></DIV></BODY></HTML>=
> > >
> > > --Apple-Mail-3-596731713--
> >
> > --
> >
> > Harry G. McGavran, Jr.
> >
> > E-mail: [hidden email]
> >
> >
> >
>
> --
>
> Harry G. McGavran, Jr.
>
> E-mail: [hidden email]
>
>
>
--

Harry G. McGavran, Jr.

E-mail: [hidden email]




--

Harry G. McGavran, Jr.

E-mail: [hidden email]




_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
Reply | Threaded
Open this post in threaded view
|

Re: help building QGIS 0.8.1 on Ubuntu Dapper

Harry G. McGavran Jr.
In reply to this post by Reid Priedhorsky-2

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 (0x00002aaaaabc2000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00002aaaaafef000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00002aaaab134000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002aaaab790000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002aaaab8b5000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002aaaab9bf000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002aaaabada000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002aaaabbe3000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002aaaabcec000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002aaaabdef000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002aaaabefa000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002aaaabffc000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002aaaac177000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002aaaac2b7000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aaaac3c8000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00002aaaac5d0000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00002aaaac71b000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00002aaaac877000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaacadb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaacbf2000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaacd07000)
        libqgis_core.so => /usr/local/lib/libqgis_core.so (0x00002aaaace09000)
        libpq.so.4 => /usr/lib/libpq.so.4 (0x00002aaaacf7c000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaad09e000)
        libproj.so.0 => /usr/local/lib/libproj.so.0 (0x00002aaaad223000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00002aaaad365000)
        libgeos.so.2 => /usr/lib/libgeos.so.2 (0x00002aaaad4bc000)
        libgdal.so.1 => /usr/lib/libgdal.so.1 (0x00002aaaad6be000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002aaaadba0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaadd9d000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaadeaa000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00002aaaae0e4000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00002aaaae286000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x00002aaaae39e000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002aaaae500000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002aaaae605000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002aaaae729000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
        libQtTest.so.4 => /usr/local/qt4/lib/libQtTest.so.4 (0x00002aaaae82b000)
        libQtDesigner.so.4 => /usr/local/qt4/lib/libQtDesigner.so.4
(0x00002aaaae93d000)
        libutil.so.1 => /lib/libutil.so.1 (0x00002aaaaeb9a000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002aaaaec9c000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002aaaaede4000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00002aaaaf055000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00002aaaaf1db000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00002aaaaf2de000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002aaaaf411000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002aaaaf526000)
        libodbc.so.1 => /usr/lib/libodbc.so.1 (0x00002aaaaf63d000)
        libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x00002aaaaf799000)
        libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x00002aaaafc1d000)
        libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x00002aaaafd73000)
        libdf.so.4 => /usr/lib/libdf.so.4 (0x00002aaaafe99000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0x00002aaab0044000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002aaab014d000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00002aaab026f000)
        libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x00002aaab03c7000)
        libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x00002aaab0503000)
        libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x00002aaab0790000)
        libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x00002aaab09fd000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002aaab0b59000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00002aaab0cec000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x00002aaab0e12000)
        libicuuc.so.34 => /usr/lib/libicuuc.so.34 (0x00002aaab0f19000)
        libicudata.so.34 => /usr/lib/libicudata.so.34 (0x00002aaab113f000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00002aaab1ab4000)


             Harry

On Sat, 21 Jul 2007 20:40:58 -0600  "Harry G. McGavran Jr. " wrote:
>
> I tried cmake -I/usr/local/qt4/include (etc.) and got:
>
> (grep -i qt * | grep -i include)
>
> CMakeCache.txt:QT_INCLUDE_DIR:PATH=/usr/local/qt4/include
> CMakeCache.txt:QT_QT3SUPPORT_INCLUDE_DIR:PATH=/usr/local/qt4/include/Qt3Suppo
rt
> CMakeCache.txt:QT_QTASSISTANT_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtAssis
ta
> nt
> CMakeCache.txt:QT_QTCORE_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtCore
> CMakeCache.txt:QT_QTDESIGNER_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtDesign
er

> CMakeCache.txt:QT_QTGUI_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtGui
> CMakeCache.txt:QT_QTNETWORK_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtNetwork
> CMakeCache.txt:QT_QTOPENGL_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtOpenGL
> CMakeCache.txt:QT_QTSQL_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtSql
> CMakeCache.txt:QT_QTSVG_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtSvg
> CMakeCache.txt:QT_QTTEST_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtTest
> CMakeCache.txt:QT_QTUITOOLS_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtUiTools
> CMakeCache.txt:QT_QTXML_INCLUDE_DIR:PATH=/usr/local/qt4/include/QtXml
> CMakeCache.txt:QT_QT_INCLUDE_DIR:PATH=/usr/local/qt4/include/Qt
> CMakeCache.txt:QT_HEADERS_DIR:INTERNAL=/usr/local/qt4/include
>
> symbol lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined symbol:
 

> _ZN16QDialogButtonBox16staticMetaObjectE
>
> One would think that it was using the right qt headers, but who knows?
>
> Harry
>
> On Sat, 21 Jul 2007 19:12:43 -0600  "Harry G. McGavran Jr. " wrote:
> >
> > Very likely --
> >
> > I have two versions, one in /usr and one in /usr/local.
> > The one in /usr/local is the one I want.  How do I make
> > sure it gets built using /usr/local/qt4/include???
> >
> >
> > QT4DIR=/usr/local/qt4
> > export PATH=$QT4DIR/bin:$PATH
> > cmake -D QT_BINARY_DIR=$QT4DIR/bin ..
> >
> >    Harry
> >
> >
> > On Sat, 21 Jul 2007 20:59:21 -0300  Tim Sutton wrote:
> > >
> > > --Apple-Mail-3-596731713
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Type: text/plain;
> > > charset=ISO-8859-1;
> > > delsp=yes;
> > > format=flowed
> > >
> > > Hi
> > >
> > > My guess is that the Qt version providing headers and the Qt version =20
> > > 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, =E0s 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: =20
> > > > 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
> > > >
> > > >
> > > > --=20
> > > >
> > > > Harry G. McGavran, Jr.
> > > >
> > > > E-mail: [hidden email]
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Qgis-user mailing list
> > > > [hidden email]
> > > > 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 =20
> > > niche modelling tool
> > >
> > > Home Page: http://tim.linfiniti.com
> > > Skype: timlinux
> > > Irc: timlinux on #qgis at freenode.net
> > >
> > >
> > >
> > >
> > > --Apple-Mail-3-596731713
> > > Content-Transfer-Encoding: quoted-printable
> > > Content-Type: text/html;
> > > charset=ISO-8859-1
> > >
> > > <HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
> > > -khtml-line-break: after-white-space; ">Hi<DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>My guess is that the Qt =
> > > version providing headers and the Qt version for lib linking=A0 could be
=
> > > out of sync...</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>How many versions of Qt do =
> > > you have on your system?</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>Regards</DIV><DIV><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV>Tim</DIV><DIV><BR><DIV><DIV>
E=
> > > m 21/07/2007, =E0s 13:37, Harry G. McGavran Jr. escreveu:</DIV><BR =
> > > class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I've =
> > > been following this thread and trying to do the same thing.</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">It works like Reid's except what I get is:</DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">symbol =
> > > lookup error: /usr/local/qt4/lib/libQtDesigner.so.4: undefined =
> > > symbol:<SPAN class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">_ZN16QDialogButtonBox16staticMetaObjectE</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">even =
> > > with the correct LD_LIBRARY_PATH, although qgis seems to</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">want /usr/local/qt4/lib which is correct in any =
> > > case.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Qt4.2.2 is in that path which is what it looks like =
> > > Reid is using.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Suggestions?</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
> > > 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; "><SPAN class=3D"Apple-tab-span" =
> > > style=3D"white-space:pre"> </SPAN>Harry</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<SPAN =
> > > class=3D"Apple-converted-space">=A0</SPAN></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Harry G. =
> > > McGavran, Jr.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">E-mail: <A =
> > > href=3D"mailto:[hidden email]">[hidden email]</A></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
> > > min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
> > > 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
> > > margin-bottom: 0px; margin-left: 0px; =
> > > ">_______________________________________________</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Qgis-user mailing list</DIV><DIV style=3D"margin-top:
 =
> > > 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A =
> > > href=3D"mailto:[hidden email]">[hidden email]</A></DI
V=
> > > ><DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; "><A =
> > > href=3D"http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user">http://
l=

> > > ists.qgis.org/cgi-bin/mailman/listinfo/qgis-user</A></DIV> =
> > > </BLOCKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
> > > style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
> > > rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
> > > normal; font-variant: normal; font-weight: normal; letter-spacing: =
> > > normal; line-height: normal; text-align: auto; =
> > > -khtml-text-decorations-in-effect: none; text-indent: 0px; =
> > > -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
> > > white-space: normal; widows: 2; word-spacing: 0px; "><BR =
> > > class=3D"Apple-interchange-newline"><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
> > > normal normal 12px/normal Helvetica; min-height: 14px; "></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Tim Sutton</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">QGIS Project =
> > > Steering Committee Member - Release=A0<SPAN =
> > > class=3D"Apple-converted-space">=A0</SPAN>Manager</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Visit <A href=3D"http://qgis.org">http://qgis.org</A>
 =
> > > for a great open source GIS</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">openModeller =
> > > Desktop Developer</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px;
=
> > > margin-bottom: 0px; margin-left: 0px; ">Visit <A =
> > > href=3D"http://openModeller.sf.net">http://openModeller.sf.net</A> for a
=
> > > great open source ecological niche modelling tool</DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; "><BR class=3D"khtml-block-placeholder"></DIV><DIV =
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Home Page: <A =
> > > href=3D"http://tim.linfiniti.com">http://tim.linfiniti.com</A></DIV><DIV
=
> > > style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
> > > margin-left: 0px; ">Skype: timlinux</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Irc: timlinux
=

> > > on #qgis at freenode.net</DIV><DIV style=3D"margin-top: 0px; =
> > > margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR =
> > > class=3D"khtml-block-placeholder"></DIV><BR =
> > > class=3D"Apple-interchange-newline"></SPAN> =
> > > </DIV><BR></DIV></BODY></HTML>=
> > >
> > > --Apple-Mail-3-596731713--
> >
> > --
> >
> > Harry G. McGavran, Jr.
> >
> > E-mail: [hidden email]
> >
> >
> >
>
> --
>
> Harry G. McGavran, Jr.
>
> E-mail: [hidden email]
>
>
>

--

Harry G. McGavran, Jr.

E-mail: [hidden email]




2. (text/plain)
--

Harry G. McGavran, Jr.

E-mail: [hidden email]






--

Harry G. McGavran, Jr.

E-mail: [hidden email]



_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user