Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server
Hi, I was able to solve the problems. Seems like only environment variables set by SetEnv in /etc/apache2/mods-enabled/env.conf are respected. Variables set in /etc/apache2/envvars or with the FcgidInitialEnv parameter in /etc/apache2/mods-enabled/fcgid.conf seem to be ignored. Very strange. My Apache does not behave like described in the documentation. The only way to ensure that environment variables are seen by fcgid apps seems to be SetEnv in /etc/apache2/mods-enabled/env.conf Maybe this helps someone who migrates from 12.04 to 14.04. Andreas Am 10.06.2014 10:21, schrieb custard: > On 10/06/14 16:59, Andreas Neumann wrote: >> Hi, >> >> With the self-compiled libspatialite (4.1.1) I am now able to compile >> QGIS server. It does not work with the internal spatialite library >> provided by QGIS and it also fails with the version provided by Ubuntu >> 14.04 ;-( >> >> Now I am running into the next issue that Apache does not find my >> Postgis-Service definitions. Maybe the Apache 2.4 environment variables >> have a different setup than in previous Apache / Ubuntu Server versions.n >> >> Thanks for the hint - eventually I will be getting there, >> Andreas > > I think I remember reading that there are others that were having > problems shifting to 2.4. Does any of this thread help? > http://lists.osgeo.org/pipermail/qgis-developer/2014-March/031333.html > > -ramon. > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server
On 10/06/14 16:59, Andreas Neumann wrote: Hi, With the self-compiled libspatialite (4.1.1) I am now able to compile QGIS server. It does not work with the internal spatialite library provided by QGIS and it also fails with the version provided by Ubuntu 14.04 ;-( Now I am running into the next issue that Apache does not find my Postgis-Service definitions. Maybe the Apache 2.4 environment variables have a different setup than in previous Apache / Ubuntu Server versions.n Thanks for the hint - eventually I will be getting there, Andreas I think I remember reading that there are others that were having problems shifting to 2.4. Does any of this thread help? http://lists.osgeo.org/pipermail/qgis-developer/2014-March/031333.html -ramon. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server
Hi Andreas, On Tue, 10. Jun 2014 at 10:59:32 +0200, Andreas Neumann wrote: > With the self-compiled libspatialite (4.1.1) I am now able to compile > QGIS server. It does not work with the internal spatialite library > provided by QGIS and it also fails with the version provided by Ubuntu > 14.04 ;-( Hm, the nightly builds for trusty apparently work fine. Did you already try those? You could also try to build packages - as that comes with the configuration options you need. I guess we can remove the internal copy of spatialite... Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server
Hi, With the self-compiled libspatialite (4.1.1) I am now able to compile QGIS server. It does not work with the internal spatialite library provided by QGIS and it also fails with the version provided by Ubuntu 14.04 ;-( Now I am running into the next issue that Apache does not find my Postgis-Service definitions. Maybe the Apache 2.4 environment variables have a different setup than in previous Apache / Ubuntu Server versions. Thanks for the hint - eventually I will be getting there, Andreas Am 2014-06-10 09:53, schrieb Andrea Peri: I work on Debina. stable. I download the spatialite from home site and compile from source. is surely easy and no problem at all. I download and use the SL 4.2.0 RC1, but as reported in another thread of this ML. There a little bug that ask to resolve manually. Add a define to spatialite source. If you use the SL 4.1.1 all go without no errors. And GQIS-server work very well. regards, Andrea. 2014-06-10 9:45 GMT+02:00 Andreas Neumann : Hi, I am trying to compile QGIS server on a new Ubuntu 14.04 server. I have trouble around spatialite and ‘gaiaVectorLayerPtr’. The errors I get are as follows: -- In file included from /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:31:0: /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:409:43: error: ‘gaiaVectorLayerPtr’ has not been declared bool checkLayerTypeAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:410:47: error: ‘gaiaVectorLayerPtr’ has not been declared bool getGeometryDetailsAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:411:44: error: ‘gaiaVectorLayerPtr’ has not been declared bool getTableSummaryAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:412:39: error: ‘gaiaVectorLayerPtr’ has not been declared void loadFieldsAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp: In constructor ‘QgsSpatiaLiteProvider::QgsSpatiaLiteProvider(const QString&)’: /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:3: error: ‘gaiaVectorLayersListPtr’ was not declared in this scope gaiaVectorLayersListPtr list = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:27: error: expected ‘;’ before ‘list’ gaiaVectorLayersListPtr list = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:449:3: error: ‘gaiaVectorLayerPtr’ was not declared in this scope gaiaVectorLayerPtr lyr = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:449:22: error: expected ‘;’ before ‘lyr’ gaiaVectorLayerPtr lyr = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:460:5: error: ‘list’ was not declared in this scope list = gaiaGetVectorLayersList( handle->handle(), ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:460:5: note: suggested alternative: In file included from /usr/include/c++/4.8/list:63:0, from /usr/include/qt4/QtCore/qlist.h:51, from /usr/include/qt4/QtCore/qobject.h:50, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/QMetaType:1, from /root/dev/QGIS/src/providers/spatialite/../../core/qgis.h:24, from /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:17: /usr/include/c++/4.8/bits/stl_list.h:438:11: note: ‘std::list’ class list : protected _List_base<_Tp, _Alloc> ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:463:37: error: ‘GAIA_VECTORS_LIST_OPTIMISTIC’ was not declared in this scope GAIA_VECTORS_LIST_OPTIMISTIC ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:463:66: error: ‘gaiaGetVectorLayersList’ was not declared in this scope GAIA_VECTORS_LIST_OPTIMISTIC ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:465:7: error: ‘lyr’ was not declared in this scope lyr = list->First; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:466:10: error: ‘lyr’ was not declared in this scope if ( lyr == NULL ) ^ /root/dev/QGIS/sr
Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server
I work on Debina. stable. I download the spatialite from home site and compile from source. is surely easy and no problem at all. I download and use the SL 4.2.0 RC1, but as reported in another thread of this ML. There a little bug that ask to resolve manually. Add a define to spatialite source. If you use the SL 4.1.1 all go without no errors. And GQIS-server work very well. regards, Andrea. 2014-06-10 9:45 GMT+02:00 Andreas Neumann : > Hi, > > I am trying to compile QGIS server on a new Ubuntu 14.04 server. > > I have trouble around spatialite and ‘gaiaVectorLayerPtr’. > > The errors I get are as follows: > > -- > > In file included from /root/dev/QGIS/src/providers/spatialite/ > qgsspatialiteprovider.cpp:31:0: > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:409:43: > error: ‘gaiaVectorLayerPtr’ has not been declared > bool checkLayerTypeAbstractInterface( gaiaVectorLayerPtr lyr ); >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:410:47: > error: ‘gaiaVectorLayerPtr’ has not been declared > bool getGeometryDetailsAbstractInterface( gaiaVectorLayerPtr lyr ); >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:411:44: > error: ‘gaiaVectorLayerPtr’ has not been declared > bool getTableSummaryAbstractInterface( gaiaVectorLayerPtr lyr ); > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:412:39: > error: ‘gaiaVectorLayerPtr’ has not been declared > void loadFieldsAbstractInterface( gaiaVectorLayerPtr lyr ); >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp: In > constructor ‘QgsSpatiaLiteProvider::QgsSpatiaLiteProvider(const > QString&)’: > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:3: > error: ‘gaiaVectorLayersListPtr’ was not declared in this scope >gaiaVectorLayersListPtr list = NULL; >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:27: > error: expected ‘;’ before ‘list’ >gaiaVectorLayersListPtr list = NULL; >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:449:3: > error: ‘gaiaVectorLayerPtr’ was not declared in this scope >gaiaVectorLayerPtr lyr = NULL; >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:449:22: > error: expected ‘;’ before ‘lyr’ >gaiaVectorLayerPtr lyr = NULL; > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:460:5: > error: ‘list’ was not declared in this scope > list = gaiaGetVectorLayersList( handle->handle(), > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:460:5: > note: suggested alternative: > In file included from /usr/include/c++/4.8/list:63:0, > from /usr/include/qt4/QtCore/qlist.h:51, > from /usr/include/qt4/QtCore/qobject.h:50, > from /usr/include/qt4/QtCore/qiodevice.h:46, > from /usr/include/qt4/QtCore/qdatastream.h:46, > from /usr/include/qt4/QtCore/qmetatype.h:49, > from /usr/include/qt4/QtCore/QMetaType:1, > from /root/dev/QGIS/src/providers/ > spatialite/../../core/qgis.h:24, > from /root/dev/QGIS/src/providers/spatialite/ > qgsspatialiteprovider.cpp:17: > /usr/include/c++/4.8/bits/stl_list.h:438:11: note: ‘std::list’ > class list : protected _List_base<_Tp, _Alloc> >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:463:37: > error: ‘GAIA_VECTORS_LIST_OPTIMISTIC’ was not declared in this scope > GAIA_VECTORS_LIST_OPTIMISTIC ); > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:463:66: > error: ‘gaiaGetVectorLayersList’ was not declared in this scope > GAIA_VECTORS_LIST_OPTIMISTIC ); > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:465:7: > error: ‘lyr’ was not declared in this scope >lyr = list->First; >^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:466:10: > error: ‘lyr’ was not declared in this scope > if ( lyr == NULL ) > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:508:8: > error: ‘lyr’ was not declared in this scope >if ( lyr != NULL ) > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:518:33: > error: ‘list’ was not declared in this scope >gaiaFreeVectorLayersList( list ); > ^ > /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:518:33: > note: suggested alte
[Qgis-developer] Trouble compiling QGIS on Ubuntu Server
Hi, I am trying to compile QGIS server on a new Ubuntu 14.04 server. I have trouble around spatialite and ‘gaiaVectorLayerPtr’. The errors I get are as follows: -- In file included from /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:31:0: /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:409:43: error: ‘gaiaVectorLayerPtr’ has not been declared bool checkLayerTypeAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:410:47: error: ‘gaiaVectorLayerPtr’ has not been declared bool getGeometryDetailsAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:411:44: error: ‘gaiaVectorLayerPtr’ has not been declared bool getTableSummaryAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.h:412:39: error: ‘gaiaVectorLayerPtr’ has not been declared void loadFieldsAbstractInterface( gaiaVectorLayerPtr lyr ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp: In constructor ‘QgsSpatiaLiteProvider::QgsSpatiaLiteProvider(const QString&)’: /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:3: error: ‘gaiaVectorLayersListPtr’ was not declared in this scope gaiaVectorLayersListPtr list = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:448:27: error: expected ‘;’ before ‘list’ gaiaVectorLayersListPtr list = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:449:3: error: ‘gaiaVectorLayerPtr’ was not declared in this scope gaiaVectorLayerPtr lyr = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:449:22: error: expected ‘;’ before ‘lyr’ gaiaVectorLayerPtr lyr = NULL; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:460:5: error: ‘list’ was not declared in this scope list = gaiaGetVectorLayersList( handle->handle(), ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:460:5: note: suggested alternative: In file included from /usr/include/c++/4.8/list:63:0, from /usr/include/qt4/QtCore/qlist.h:51, from /usr/include/qt4/QtCore/qobject.h:50, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/QMetaType:1, from /root/dev/QGIS/src/providers/spatialite/../../core/qgis.h:24, from /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:17: /usr/include/c++/4.8/bits/stl_list.h:438:11: note: ‘std::list’ class list : protected _List_base<_Tp, _Alloc> ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:463:37: error: ‘GAIA_VECTORS_LIST_OPTIMISTIC’ was not declared in this scope GAIA_VECTORS_LIST_OPTIMISTIC ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:463:66: error: ‘gaiaGetVectorLayersList’ was not declared in this scope GAIA_VECTORS_LIST_OPTIMISTIC ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:465:7: error: ‘lyr’ was not declared in this scope lyr = list->First; ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:466:10: error: ‘lyr’ was not declared in this scope if ( lyr == NULL ) ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:508:8: error: ‘lyr’ was not declared in this scope if ( lyr != NULL ) ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:518:33: error: ‘list’ was not declared in this scope gaiaFreeVectorLayersList( list ); ^ /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:518:33: note: suggested alternative: In file included from /usr/include/c++/4.8/list:63:0, from /usr/include/qt4/QtCore/qlist.h:51, from /usr/include/qt4/QtCore/qobject.h:50, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qmetatype.h:49, from /usr/include/qt4/QtCore/QMetaType:1, from /root/dev/QGIS/src/providers/spatialite/../../core/qgis.h:24, from /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovid