![]() Registered Member ![]()
|
Hi, I am trying out building kdebase-workspace 4.6.3 using a Archlinux PKGBUILD, you can see this here: http://ompldr.org/vOGxpbQ
As you see in the PKGBUILD, some patches are applied: kdm-zsh-profile.patch http://ompldr.org/vOGxpcA fixpath.patch http://ompldr.org/vOGxpcw terminate-server.patch http://pastebin.com/raw.php?i=sHFzZjQy nm-09.patch http://pastebin.com/raw.php?i=KDMhV4MN So, when I try to build the package I get this error message:
I have installed cmake 2.8.4 and gcc 4.6.0-4 Can anybody help me please? Thanks in advance -------- EDIT: I have downgraded gcc to 4.6.0-3 and I tried again. I got this error:
It seems be equal or very similar to the previous one. |
![]() Administrator ![]()
|
The version of libgps you have seems to be incompatible. There are fixes to ensure it compiles with different versions every so often, so you may need to either change your libgps version to a supported version or create a patch to make it compile.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Where can I see what versions of libgps are compatibles?
Thank you so much by your answer |
![]() Registered Member ![]()
|
I had installed gpsd 2.96-1 (Archlinux package), I have downgraded to gpsd 2.95-8 and it works.
Should I report this like a bug? Thanks |
![]() Registered Member ![]()
|
Hi,
I have the same error, but it is easy to resolve it. Change line 55 in location_gps.cpp from gps_poll to gps_read, the newest version of gpsd has no gps_poll more (see gps.h from new package) On line 77 the gps_open has changed: you can change the line 77 and add these two lines: gps_data_t* gpsdata; gps_open("localhost", DEFAULT_GPSD_PORT, gpsdata); Then you can compile KDE without problem, but I cant say, if it will work. I have tried to adapt the changes of the new version: From gps.h: gps_poll() removed in favor of gps_read(). The raw hook is gone. And on gps_open the parameters changed, so the function has an int return value and this was "struct gps_data_t *" in the older package extern int gps_open(/*@null@*/const char *, /*@null@*/const char *, /*@out@*/struct gps_data_t *); I hope this helps. Best Regards, Libor |
![]() Administrator ![]()
|
Please generate a patch for this and post it on KDE's Git Reviewboard instance.
http://git.reviewboard.kde.org/
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]