[Marble-bugs] [Bug 220489] New: Compilation error: marble assumes presence of gpsd version 2.90 without checking with cmake

Lukas Middendorf lukas.middendorf at freenet.de
Tue Dec 29 02:15:33 CET 2009


https://bugs.kde.org/show_bug.cgi?id=220489

           Summary: Compilation error: marble assumes presence of gpsd
                    version 2.90 without checking with cmake
           Product: marble
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: marble-bugs at kde.org
        ReportedBy: lukas.middendorf at freenet.de


Version:           trunk rev 1067146 (using Devel)
Compiler:          cmake version 2.6-patch 4 
OS:                Linux
Installed from:    Compiled sources

I'm on Fedora 12 and building kdeedu from svn-trunk.

While building kdeedu today, built failed with

[100%] Built target GpsdPositionProviderPlugin_automoc
[100%] Building CXX object
marble/src/plugins/positionprovider/gpsd/CMakeFiles/GpsdPositionProviderPlugin.dir/GpsdConnection.o
/home/kde-devel/kde/src/trunk/KDE/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:
In constructor 'Marble::GpsdConnection::GpsdConnection(QObject*)':
/home/kde-devel/kde/src/trunk/KDE/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:29:
error: 'class gpsmm' has no member named 'stream'
/home/kde-devel/kde/src/trunk/KDE/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:29:
error: 'WATCH_ENABLE' was not declared in this scope
/home/kde-devel/kde/src/trunk/KDE/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:
In member function 'void Marble::GpsdConnection::update()':
/home/kde-devel/kde/src/trunk/KDE/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp:43:
error: 'POLICY_SET' was not declared in this scope
make[2]: ***
[marble/src/plugins/positionprovider/gpsd/CMakeFiles/GpsdPositionProviderPlugin.dir/GpsdConnection.o]
Error 1


The class gpsmm has a member "stream" since version 2.90, but not in the
version 2.39 that I have installed. A proper check has to be made before
compiling. cmake for kdeedu always shows "-- Building with gpsd position
provider" even if I don't have gpsd-devel installed (then the build fails while
including non-existent libgpsmm.h).

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list