[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-beginners
Subject:    Re: [Fink-beginners] kdebase4-workspace-x11 won't compile
From:       David Reiser <dbreiser () earthlink ! net>
Date:       2010-06-11 21:48:47
Message-ID: 5C23EC26-0A76-48D3-93CF-644C4C4B7814 () earthlink ! net
[Download RAW message or body]


On Jun 10, 2010, at 2:07 PM, wrcturbo@aol.com wrote:

> Can you explain how to do what you described?  I am getting the same error with \
> regard to gps_query but have no idea how to move forward. -- David Reiser wrote :  
> On May 31, 2010, at 9:19 PM, George Karrys wrote:
> 
> > Using fink-0.29.10 32bit
> > OS X 10.6.3 Xcode 3.2.2
> > Xquartz 2.5.0
> > 
> > I get compile error in kdebase4-workspace-x11 at same place each time with
> > following text
> > 
> > [ 68%] Building CXX object
> > plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.dir
> > /location_gps.o
> > cd 
> > /sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/bu
> > ild/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/pl
> > asma/generic/dataengines/geolocation/location_gps.cpp
> > /sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1/kdebase-workspace-4.4.1/pl
> > asma/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/pl
> > asma/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.di
> > r/location_gps.o] Error 1
> > make[1]: *** 
> > [plasma/generic/dataengines/geolocation/CMakeFiles/plasma-geolocation-gps.di
> > r/all] Error 2
> > make: *** [all] Error 2
> > ### execution of /var/tmp/tmp.1.KcjXV2 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 ... 209473 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
> > 
> > Any help would be appriciated.
> > 
> > George Karrys
> 
> 
> Newer versions of some component require gps_stream() instead of gps_query(). \
> Upstream had a patch for workspace about a week after this version was released. If \
> I cherry-pick just that patch, workspace will build, but ends in an error while \
> installing: 
> -- Installing: /sw/src/fink.build/root-kdebase4-workspace-x11-4.4.1-1.1/sw/opt/kde4/x11/bin/kdmctl
>  running /sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1.1/kdebase-workspace-4.4.1/build/kdm/kfrontend/genkdmconf \
> --in "$DESTDIR/sw/opt/kde4/x11/share/config/kdm" --no-in-notice --face-src \
> "/sw/src/fink.build/kdebase4-workspace-x11-4.4.1-1.1/kdebase-workspace-4.4.1/kdm/kfrontend/pics" \
>                 $GENKDMCONF_FLAGS  2>&1
> Warning: cannot copy file /usr/X11/lib/X11/xdm/xdm-keys
> 
> I'll keep flailing at this since I'm trying to clean up a pyqt4 mess, and workspace \
> is one of the packages that uses pyqt4. 
> My toolset:
> Package manager version: 0.29.11
> Distribution version: selfupdate-cvs Sat Jun  5 16:11:24 2010, 10.6, x86_64
> Mac OS X version: 10.6.3
> Xcode version: 3.2.2
> gcc version: 4.2.1 (Apple Inc. build 5659)
> make version: 3.81
> 
> Dave
> --
> David Reiser
> dbreiser@eart...
> 
OK. Here goes..., but it won't do a whole lot of good. The installation fails after \
solving the gps_query problem -- possibly with Apple's help by having an error in \
/usr/X11/lib/X11/xdm/xdm-config.

First, you need to understand the explanation in
http://finkers.wordpress.com/2009/06/08/local-packages/
You're going to copy the kdebase4-workspace.info and kdebase4-workspace.patch files \
from your fink unstable tree to your local tree, modify both files, and then attempt \
to build workspace again.

The patch to solve the gps_query problem is available from:
http://websvn.kde.org/trunk/KDE/kdebase/workspace/plasma/generic/dataengines/geolocation/location_gps.cpp?r1=1070489&r2=1070488&pathrev=1070489&view=patch


You have to add that patch to the kdebase4-workspace.patch file, recompute the md5sum \
of the patch, put that new md5sum in the PatchFile-MD5: field of the \
kdebase4-workspace.info file, and then attempt to recompile kdebase4-workspace-x11.

Compilation succeeds for me, but installation fails as described in my prior message. \
I think we need the maintainer's help on this one.

Dave
--
David Reiser
dbreiser@earthlink.net





------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic