Hi Gary,

i have also trouble with this. There was a discussion about this, but the 
solution will fail for me...and for you. :-)

Use one of mine two solutions:



Solution A):

In the moment you compile kdebase4-workspace-x11 you had to change one file:

Path: 
/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/plasma/generic/geolocation
File: location_gps.cpp

Search for: gps_query

Change:

#if GPSD_API_MAJOR_VERSION == 3 && defined( WATCH_ENABLE )
    gps_stream(m_gpsdata, WATCH_ENABLE, NULL);
#else
    gps_query(m_gpsdata, "w+x\n");
#endif

into:

    gps_stream(m_gpsdata, WATCH_ENABLE, NULL);



Solution B) (better):

Go to /sw/src

Type tar xjvf kdebase-workspace-4.4.1.tar.bz2

Change the file as described above.

Put changed file in the tar.



Please send e-mail if this works for you. And if your KDE Desktop will start.



Regards,

Ulrich



msp informations
    technologie UG (haftungsbeschränkt)
    --.--..-.-.-..-.--.--.-..-.-.--..--.--.-
    Adresse          Im Hofacker 21
                     D-79194 Gundelfingen
    Telefon          0761 / 456 26 23 –0
    Telefax          0761 / 456 26 23 –99
    Mobil            0151 / 174 33 239
    ICQ              21358399
    E-Mail           [email protected]<x-msg://8/[email protected]>
    Internet         http://www.msp-it.de/
    Geschäftsführer  Ulrich C. Manns
    Eingetragen beim Amtsgericht Freiburg
                     HRB 704165
    USt-ID-Nr.       DE266213113

Am 01.08.2010 um 23:00 schrieb Gary Pajer:

I have a new fink installation on a new MacBook Pro, and thus has a fairly 
fresh os etc.  It's OS X 10.6.4

I've had a couple of problems installing KDE.  The current stopper comes when 
executing

fink install kdebase4-workspace-x11

It grinds for a while, but then fails with the error below.  Google did find 
one thread on this issue, but no solution.  Any help??

TIA,
-gary

-----------------------------------------------------------------------------------

cd 
/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/build/plasma/generic/dataengines/geolocation
 && /sw/var/lib/fink/path-prefix-10.6/g++-4.2   
-DMAKE_PLASMA_GEOLOCATION_GPS_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII 
-D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1 
-DKDE_DEFAULT_DEBUG_AREA=1204 -fno-common -Woverloaded-virtual 
-fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG 
-arch i386 -isysroot / -mmacosx-version-min=10.6 -fPIC 
-I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/build/plasma/generic/dataengines/geolocation
 
-I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/plasma/generic/dataengines/geolocation
 -I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1 
-I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/build
 
-I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/kdm 
-I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/libs
 
-I/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/libs/kworkspace
 -I/sw/opt/kde4/x11/include -I/sw/opt/kde4/x11/include/KDE 
-I/sw/lib/qt4-x11/include/KDE -I/sw/lib/qt4-x11/include 
-I/sw/lib/qt4-x11/include/phonon -I/sw/lib/qt4-x11/include/QtXmlPatterns 
-I/sw/lib/qt4-x11/include/QtXml -I/sw/lib/qt4-x11/include/QtWebKit 
-I/sw/lib/qt4-x11/include/QtUiTools -I/sw/lib/qt4-x11/include/QtTest 
-I/sw/lib/qt4-x11/include/QtSvg -I/sw/lib/qt4-x11/include/QtSql 
-I/sw/lib/qt4-x11/include/QtScriptTools -I/sw/lib/qt4-x11/include/QtScript 
-I/sw/lib/qt4-x11/include/QtOpenGL -I/sw/lib/qt4-x11/include/QtNetwork 
-I/sw/lib/qt4-x11/include/QtMultimedia -I/sw/lib/qt4-x11/include/QtHelp 
-I/sw/lib/qt4-x11/include/QtDesigner -I/sw/lib/qt4-x11/include/QtDBus 
-I/sw/lib/qt4-x11/include/QtAssistant -I/sw/lib/qt4-x11/include/Qt3Support 
-I/sw/lib/qt4-x11/include/QtGui -I/sw/lib/qt4-x11/include/QtCore 
-I/sw/lib/qt4-x11/include/Qt -I/sw/lib/qt4-x11/mkspecs/default -I/sw/include   
-D__APPLE_KDE__ -D_LARGEFILE64_SOURCE -o 
CMakeFiles/plasma-geolocation-gps.dir/location_gps.o -c 
/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/plasma/generic/dataengines/geolocation/location_gps.cpp
/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/plasma/generic/dataengines/geolocation/location_gps.cpp:
 In member function 'virtual void Gpsd::run()':
/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/plasma/generic/dataengines/geolocation/location_gps.cpp:47:
 error: 'gps_query' was not declared in this scope
make[2]: *** 
[plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/location_gps.o]
 Error 1
make[1]: *** 
[plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir/all]
 Error 2
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.9v9wZJ failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-kdebase4-workspace-x11-4.4.1-1
(Reading database ... 218928 files and directories currently installed.)
Removing fink-buildlock-kdebase4-workspace-x11-4.4.1-1 ...
Failed: phase compiling: kdebase4-workspace-x11-4.4.1-1 failed

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to