Errors compiling in openSUSE 11.1

Asked by Sciamano

Hi Michael, still me. :-)
I've installed openSUSE 11.1 with KDE3 and I was trying compiling igotu2gpx.

During the 'make' phase, I get these errors:

make[1]: Entering directory `/home/luca/Sources/igotu2gpx-0.2.94/src/marblevisualizer'
moc marblevisualizer.cpp
compiling marblevisualizer.cpp
In file included from /usr/include/marble/GlobeScanlineTextureMapper.h:20,
                 from /usr/include/marble/MarbleModel.h:43,
                 from /usr/include/marble/MarbleWidget.h:34,
                 from marblevisualizer.cpp:26:
/usr/include/marble/AbstractScanlineTextureMapper.h:20:41: error: AbstractLayer/AbstractLayer.h: No such file or directory
In file included from marblevisualizer.cpp:26:
/usr/include/marble/MarbleWidget.h:48:30: error: gps/GpxFileModel.h: No such file or directory
In file included from /usr/include/marble/GlobeScanlineTextureMapper.h:20,
                 from /usr/include/marble/MarbleModel.h:43,
                 from /usr/include/marble/MarbleWidget.h:34,
                 from marblevisualizer.cpp:26:
/usr/include/marble/AbstractScanlineTextureMapper.h:29: error: expected class-name before ‘{’ token
In file included from /usr/include/marble/MarbleWidget.h:34,
                 from marblevisualizer.cpp:26:
/usr/include/marble/MarbleModel.h:154: error: ‘BoundingBox’ has not been declared
In file included from marblevisualizer.cpp:26:
/usr/include/marble/MarbleWidget.h:666: error: ‘BoundingBox’ has not been declared
make[1]: *** [.build/debug/marblevisualizer.o] Error 1
make[1]: Leaving directory `/home/luca/Sources/igotu2gpx-0.2.94/src/marblevisualizer'
make: *** [sub-src-marblevisualizer-make_default] Error 2

and I don't know how to proceed. Any suggestion?
Thanks

Question information

Language:
English Edit question
Status:
Expired
For:
igotu2gpx Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sciamano (sciamano72) said :
#1

A little more info... it looks to me that the problems are related to the marble thingy.
In case you are wondering, I have installed the following packages:

i | kde3-marble | Desktop Globe | package
i | kde3-marble-data | Desktop Globe: Data Files | package
i | kde3-marble-devel | Desktop Globe: Build Environment | package

Ciao!

Revision history for this message
malcolmlewis (coyoteuser) said :
#2

Hi
I've been building igotu2gpx on the openSUSE build service. If you search here there is a prebuilt rpm for 11.1 and 11.2.
http://software.opensuse.org/search?baseproject=openSUSE%3A11.1&p=1&q=igotu2

Revision history for this message
Michael Hofmann (mh21) said :
#3

I think you need kde4-marble-devel instead.

Revision history for this message
Sciamano (sciamano72) said :
#4

I decided to get rid of KDE. No reason to cling to it, except for Amarok maybe...
Therefore I installed openSUSE 11.1 Gnome Edition, but since nothing can go smooth at once, it happens that it did not install 'gksudo'. I searched the forums and it seems like this happens from time to time when installing from CD. So I'm now downloading the DVD version...
Anyway, to make this short... I will report back if compiling works in the Gnome version, as soon as I get the chance to try.
For the time being, thanks for your help (and Malcolm, if you are still reading: does your prebuilt rpm work for v11.1 with Gnome?)

Revision history for this message
malcolmlewis (coyoteuser) said :
#5

Hi
On openSUSE it's gnomesu (not gksudo) :) and from the cli you just use the zypper command;

sudo zypper in kde4-marble-devel

I've run it on KDE11.1 and Gnome 11.2RC1 (I don't have a unit, I'm just the packager) and it works fine, should be no reason for it now to work on 11.1, it will just draw in the marble components.

Cheers
Malcolm

Revision history for this message
Sciamano (sciamano72) said :
#6

gnomesu? Never heard of that before (I've always been using K/Ubuntu)!
Thanks a lot, that's good to know... you saved me from a re-install!
I'll report tomorrow, since I'm now on a different computer. Thanks again.

Revision history for this message
Sciamano (sciamano72) said :
#7

Sorry for the delay, I've been a bit busy.
I've installed v0.2.94 and it launches correctly.
It does not connect to the logger, though. It gives the following error:

Unable to download configuration from the GPS tracker: Unable to claim interface 0 on device '0df7:0900'

I tried plugging the logger in different ways (with it switched on, with it switched off, before launching igotugui, after launching igotugui), but I still get the error.

Any insights?

Revision history for this message
Sciamano (sciamano72) said :
#8

++Addendum++
During 'make', the following problems arise. Maybe they are the source of the failed connections to the logger?

compiling libusb10connection.cpp
In file included from libusb10connection.cpp:28:
/usr/include/libusb-1.0/libusb.h: In function ‘unsigned char* libusb_get_iso_packet_buffer(libusb_transfer*, unsigned int)’:
/usr/include/libusb-1.0/libusb.h:1039: warning: comparison between signed and unsigned integer expressions
/usr/include/libusb-1.0/libusb.h:1042: warning: comparison between signed and unsigned integer expressions
/usr/include/libusb-1.0/libusb.h: In function ‘unsigned char* libusb_get_iso_packet_buffer_simple(libusb_transfer*, unsigned int)’:
/usr/include/libusb-1.0/libusb.h:1070: warning: comparison between signed and unsigned integer expressions
rm -f liblibusb10connection.so
linking ../../bin/debug/liblibusb10connection.so
mv -f liblibusb10connection.so ../../bin/debug/

Thanks

Revision history for this message
Michael Hofmann (mh21) said :
#9

The warnings shouldn't matter (they are for the libusb1.0 driver, which is not used per default). The error message basically says that igotu2gpx has no right to read from the usb device, so maybe try it as root and see if that helps.

Revision history for this message
Sciamano (sciamano72) said :
#10

Running the program as root works, although the globe does not look good (it's all blue, no land at all).
In the console, these is what happens:

Succesfully parsed file!
DGML2 Name : "OpenStreetMap"
Style reset requested.
THEME CHANGED: *** "earth/openstreetmap/openstreetmap.dgml"
[GeoParser::read] -> Error occurred: "The file is not a valid KML 2.0 / 2.1 file"
Could not parse file!
Style reset requested.
Download rejected: It's being downloaded already.
Download rejected: It's being downloaded already.
Download rejected: It's being downloaded already.
Download rejected: It's being downloaded already.
"Download of maps/earth/openstreetmap/1/0/0.png Blacklisted. Number of blacklist items: 1"
"Download of maps/earth/openstreetmap/1/1/0.png Blacklisted. Number of blacklist items: 2"
"Download of maps/earth/openstreetmap/1/0/1.png Blacklisted. Number of blacklist items: 3"
"Download of maps/earth/openstreetmap/1/1/1.png Blacklisted. Number of blacklist items: 4"
Download rejected: Blacklisted.
Download rejected: Blacklisted.
Download rejected: Blacklisted.
Download rejected: Blacklisted.
Style reset requested.
Found 115 GeoNode object LEAKS!
Found 4294967241 GeoNode object LEAKS!
Found 4294967237 GeoNode object LEAKS!
Model deleted: MarbleModel(0x9879180)

Any idea? It looks like a problem with OSM, but I thought you might want to be informed.
Thanks

Revision history for this message
Michael Hofmann (mh21) said :
#11

Hmm, interesting. Maybe the openstreetmap marble stuff is not complete in opensuse :-(. Did you have a chance to test whether this is also the case for 11.2? I could also make the map configurable...

For the running as root, this is a packaging problem. On Debian-based systems, I know how to install udev rules to give normal users access to the usb device, but I have no idea about Fedora/opensuse/Mandriva/Gentoo. So if you know, let me know :-).

Revision history for this message
Sciamano (sciamano72) said :
#12

It's not a big deal for me, I really don't need the openstreetmap/marble stuff :-)
Just thought you might want to know about the issue, though.

Regarding the packaging problem, I really am not the right person to ask. I've just started using openSUSE and I don't know much about it! Sorry!

BTW, I've written a review about the i-gotU 200e on a tech blog I write for, and I mentioned your project (I did not write much, actually, just that the device can be used under Max/Linux thanks to you).
This is the address, in case you are interested (it's in italian):
http://www.freedreamer.it/2009/11/un-gps-logger-a-prova-di-bomba/

Revision history for this message
Sciamano (sciamano72) said :
#13

Oh, I forgot: I won't upgrade my openSUSE to 11.2 for the moment. I'm not one who upgrades the system whenever a new version comes out. Usually new versions are full of problems, so I prefer to stay with the much more stable "old" versions! :-)

Revision history for this message
Launchpad Janitor (janitor) said :
#14

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.