[QGIS-trac] Re: [Quantum GIS] #2411: FTBFS: qgsgrass.cpp + old
grasses on Debian/Lenny
Quantum GIS
qgis at qgis.org
Thu May 6 08:37:04 EDT 2010
#2411: FTBFS: qgsgrass.cpp + old grasses on Debian/Lenny
-----------------------------------------------------+----------------------
Reporter: hamish | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.5.0
Component: Build/Install | Version: HEAD
Resolution: | Keywords: grass
Platform_version: Lenny amd64 | Platform: Debian
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by hamish):
Replying to [comment:5 pcav]:
> Is this still valid?
Yes, as of latest r13426.
Today I didn't get as far as the linking-
I edited debian/rules to turn off spatialite, and CMakeLists.txt too just
in case.
But it still dies:
{{{
$ cp debian/control.lenny debian/control
$ debuild binary
...
[ 40%] Building CXX object
src/app/CMakeFiles/qgis.dir/qgsnewspatialitelayerdialog.cpp.o
In file included from
/home/hamish/dev/qgis/svn/trunk/src/app/qgsnewspatialitelayerdialog.cpp:22:
/home/hamish/dev/qgis/svn/trunk/src/app/qgsnewspatialitelayerdialog.h:30:24:
error: spatialite.h: No such file or directory
/home/hamish/dev/qgis/svn/trunk/src/app/qgsnewspatialitelayerdialog.cpp:
In member function 'bool QgsNewSpatialiteLayerDialog::apply()':
/home/hamish/dev/qgis/svn/trunk/src/app/qgsnewspatialitelayerdialog.cpp:297:
error: 'spatialite_init' was not declared in this scope
make[3]: ***
[src/app/CMakeFiles/qgis.dir/qgsnewspatialitelayerdialog.cpp.o] Error 1
make[3]: Leaving directory `/home/hamish/dev/qgis/svn/trunk/debian/build'
make[2]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make[2]: Leaving directory `/home/hamish/dev/qgis/svn/trunk/debian/build'
make[1]: *** [all] Error 2
...
}}}
missing #ifdef in the .cpp or CMakeLists.txt rule?
(fwiw I'm not a cmake expert)
> Does it make sense to support Lenny,
Yes please, it does. For work reasons etc. not everyone has the luxury (or
desire) to change OSs on the shared machines they need to work on, to the
latest-greatest testing release.. especially when it is just for one app.
I would accept using an older version on an older OS, but so far the most
modern version I can build for Lenny is 1.2.0. :-/
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2411#comment:6>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list