On Sat, Sep 24, 2016 at 5:21 PM, Even Rouault <[email protected]> wrote:
> Le samedi 24 septembre 2016 16:34:36, Sandro Santilli a écrit : > > On Sat, Sep 24, 2016 at 04:31:23PM +0200, Sandro Santilli wrote: > > > I'm trying to build the master branch on Ubuntu 14.04.5 > > > > > > but the build configuration fails with: > > > CMake Error at cmake/FindQCA.cmake:60 (message): > > > Could not find QCA > > > > > > Call Stack (most recent call first): > > > CMakeLists.txt:296 (FIND_PACKAGE) > > > > > > I have libqca2-dev installed, and 2.14 branch builds just fine: > > > -- Found QCA: /usr/lib/x86_64-linux-gnu/libqca.so (2.0.3) > > > -- Found QCA OpenSSL plugin > > > > > > What changed between 2.14 and master wrt QCA ? > > > > This seems to have changed: > > > > diff qgis-2.14/cmake/FindQCA.cmake qgis/cmake/FindQCA.cmake > > 23,27c23 > > < if(ENABLE_QT5) > > < set(QCA_LIBRARY_NAMES qca-qt5 qca2-qt5) > > < else(ENABLE_QT5) > > < set(QCA_LIBRARY_NAMES qca qca2) > > < endif(ENABLE_QT5) > > --- > > > > > set(QCA_LIBRARY_NAMES qca-qt5 qca2-qt5) > > > > 52c48 > > < PATH_SUFFIXES QtCrypto qt4/QtCrypto Qca-qt5/QtCrypto > > --- > > > > > PATH_SUFFIXES QtCrypto qt5/QtCrypto Qca-qt5/QtCrypto > > > > It looks like qca-qt5 is not packaged for ubuntu 14.04, > > can I disable it ? > > Some time ago, I had rebuilt the whole stack of dependencies from sources. > This was quite a pain for a few of them (one of the QT based lib. can't > remember which one), especially to convince them to install to a custom > prefix. > > You could take inspiration from Matthias' build recipees at > https://github.com/opengisch/osgeo4travis/tree/master/docker/qt5 that are > used > to generate the > https://github.com/opengisch/osgeo4travis/archive/qt5bin.tar.gz archive > used > on Travis-CI (but you can't probably directly use those binaries for 14.04 > as > they are targetted for 12.04). > > > > > --strk; > > _______________________________________________ > > Qgis-developer mailing list > > [email protected] > > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer > I'm also trying to build on 14.04, I've installed QCA following this guide: https://github.com/JPNaude/dev_notes/wiki/Using-the-Qt-Cryptographic-Architecture-with-Qt5#building-qca-on-linux But this was not the last issue: GDAL is 1.10.1, Qt5 is 5.2.1 and the build fails with: /home/ale/dev/QGIS/src/core/qgsexpression.cpp: In member function ‘void QgsExpression::detach()’: /home/ale/dev/QGIS/src/core/qgsexpression.cpp:3835:15: error: no match for ‘operator>’ (operand types are ‘QAtomicInt’ and ‘int’) if ( d->ref > 1 ) I've another machine with xenial and it builds just fine but it would nice to be able to build on trusty too. -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
