Hi!
jezz feddisch?
so long
hank
|
Wikiteam
Anmeldungsdatum: Beiträge: 11335 |
Hi! jezz feddisch? so long |
|
(Themenstarter)
Anmeldungsdatum: Beiträge: 17368 |
Nope - habe erst ab nächster Woche wieder mehr Zeit. Teste es dann nebenbei für Lucid. |
|
(Themenstarter)
Anmeldungsdatum: Beiträge: 17368 |
Ööhm nun ja - die Woche ist vorbei. ☺ |
|
(Themenstarter)
Anmeldungsdatum: Beiträge: 17368 |
Mehr kommt nicht. 😉 |
|
Anmeldungsdatum: Beiträge: Zähle... |
Hallo liebes Wikiteam, kann es sein, dass das Programm unter 64bit nicht läuft? Ich habe es eben mit meinem 64er Lucid nach der Anleitung installiert und natürlich auch die Verknüpfungen und Rechte nach Anleitung angepasst, aber es kam der Fehler, dass libwebkit-1.0.so.1 nicht gefunden werden kann: libwebkit-1.0.so.1: cannot open shared object file: No such file or directory Ich hab' dann unter /usr/lib nachgeschaut und es war da. Allerdings gibt es in der 64er-Version ja nur eine "Ordner-Verknüpfung"(sorry - ich weiß nicht wie das heißt) zu /lib von /lib64 aus - deshalb hab' ich mal probeweise eine Verknüpfung von /lib32 aus ähnlich der Anleitung gemacht: sudo ln -s /usr/lib/libwebkit-1.0.so.2 /usr/lib32/libwebkit-1.0.so.1 Nun hat er die Datei gefunden, aber mir zu verstehen gegeben, dass es unter 64bit nicht läuft (wenn ich richtig verstanden hab'): ./gosm: error while loading shared libraries: libwebkit-1.0.so.1: wrong ELF class: ELFCLASS64 Gruß, Pa_trick17 |
|
Anmeldungsdatum: Beiträge: 4763 |
Joa, die fertig kompilierte gosm-Variante ist für 32 Bit, dein libwebkit für 64-bit. gosm neu zu erstellen sollte helfen: cd /opt/gosm make clean make Gruß, cornix |
|
Anmeldungsdatum: Beiträge: Zähle... |
Naja, das sollte imho schon in den Wiki-Artikel rein, dass die fertig kompilierte Variante für 32 Bit ist, oder? cornix, danke für deinen Versuch mir Hilfestellung zu geben - ist ja eigtl. kein Support-Thread, da bin ich mir schon darüber im Klaren, aber ich finde schon, dass wenn es Schwierigkeiten mit 64 Bit gibt dieses im Wiki-Artikel erwähnt werden sollte und eventuell eine Hilfestellung verfasst werden sollte. Würde mich dazu auch bereit erklären, aber ich brauche als Kompilier-Null dazu weiterhin eure Hilfe! Darum: make funktioniert leider nicht! Ausgabe: /usr/bin/gcc -D BUILD=0 -g `pkg-config --cflags --libs gtk+-2.0 gdk-2.0 pango cairo glib-2.0 gthread-2.0 libpng webkit-1.0` `curl-config --cflags --libs` -c menu.c -o menu.o
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gdk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-2.0' found
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package gthread-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gthread-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gthread-2.0' found
Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
Package webkit-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit-1.0' found
/bin/sh: curl-config: not found
menu.c:25:18: error: glib.h: No such file or directory
menu.c:26:21: error: gtk/gtk.h: No such file or directory
menu.c:27:21: error: gdk/gdk.h: No such file or directory
In file included from menu.h:32,
from menu.c:29:
map_area.h:29:25: error: cairo/cairo.h: No such file or directory
In file included from map_area.h:31,
from menu.h:32,
from menu.c:29:
map_types.h:83: error: expected specifier-qualifier-list before ‘gpointer’
map_types.h:128: error: expected specifier-qualifier-list before ‘GHashTable’
In file included from map_area.h:32,
from menu.h:32,
from menu.c:29:
tiles/tile_manager.h:26:26: error: glib/gthread.h: No such file or directory
tiles/tile_manager.h:29:23: error: curl/curl.h: No such file or directory
In file included from tiles/tile_cache.h:21,
from tiles/tile_manager.h:31,
from map_area.h:32,
from menu.h:32,
from menu.c:29:
tiles/ringbuffer.h:27: error: expected specifier-qualifier-list before ‘gchar’
tiles/ringbuffer.h:36: error: expected ‘)’ before ‘length’
tiles/ringbuffer.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ringbuffer_append’
tiles/ringbuffer.h:40: error: expected declaration specifiers or ‘...’ before ‘guint’
tiles/ringbuffer.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ringbuffer_is_used’
In file included from tiles/tile_manager.h:31,
from map_area.h:32,
from menu.h:32,
from menu.c:29:
tiles/tile_cache.h:43: error: expected specifier-qualifier-list before ‘GList’
tiles/tile_cache.h:49: error: expected specifier-qualifier-list before ‘GList’
tiles/tile_cache.h:54: error: expected specifier-qualifier-list before ‘gpointer’
tiles/tile_cache.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compare_list_x_int’
tiles/tile_cache.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compare_list_x_list_x’
tiles/tile_cache.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compare_node_y_int’
tiles/tile_cache.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compare_node_y_node_y’
tiles/tile_cache.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cache_find_tile’
tiles/tile_cache.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cache_add_tile’
In file included from map_area.h:32,
from menu.h:32,
from menu.c:29:
tiles/tile_manager.h:49: error: expected specifier-qualifier-list before ‘GObject’
tiles/tile_manager.h:78: error: expected specifier-qualifier-list before ‘GObjectClass’
tiles/tile_manager.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
tiles/tile_manager.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tile_manager_request_tile’
tiles/tile_manager.h:90: error: expected declaration specifiers or ‘...’ before ‘gboolean’
tiles/tile_manager.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tile_manager_get_network_state’
In file included from map_area.h:34,
from menu.h:32,
from menu.c:29:
poi/poi_set.h:47: error: expected specifier-qualifier-list before ‘GObject’
poi/poi_set.h:59: error: expected specifier-qualifier-list before ‘GObjectClass’
poi/poi_set.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
poi/poi_set.h:72: error: expected declaration specifiers or ‘...’ before ‘gboolean’
poi/poi_set.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘poi_set_get_visible’
In file included from poi/poi_manager.h:38,
from map_area.h:35,
from menu.h:32,
from menu.c:29:
poi/osm_reader.h:49: error: expected specifier-qualifier-list before ‘GObject’
poi/osm_reader.h:63: error: expected specifier-qualifier-list before ‘GObjectClass’
poi/osm_reader.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from poi/poi_manager.h:41,
from map_area.h:35,
from menu.h:32,
from menu.c:29:
poi/tag_tree.h:44: error: expected specifier-qualifier-list before ‘GObject’
poi/tag_tree.h:51: error: expected specifier-qualifier-list before ‘GObjectClass’
poi/tag_tree.h:61: error: expected declaration specifiers or ‘...’ before ‘GHashTable’
poi/tag_tree.h:66: error: expected declaration specifiers or ‘...’ before ‘GHashTable’
poi/tag_tree.h:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from map_area.h:35,
from menu.h:32,
from menu.c:29:
poi/poi_manager.h:54: error: expected specifier-qualifier-list before ‘gboolean’
poi/poi_manager.h:59: error: expected specifier-qualifier-list before ‘GObject’
poi/poi_manager.h:78: error: expected specifier-qualifier-list before ‘GObjectClass’
poi/poi_manager.h:98: error: expected declaration specifiers or ‘...’ before ‘gboolean’
poi/poi_manager.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘poi_manager_layers_save’
poi/poi_manager.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘poi_manager_layers_revert’
poi/poi_manager.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘poi_manager_sources_add’
poi/poi_manager.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘poi_manager_sources_delete’
poi/poi_manager.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘poi_manager_sources_save’
In file included from menu.h:32,
from menu.c:29:
map_area.h:63: error: expected specifier-qualifier-list before ‘GtkDrawingArea’
map_area.h:105: error: expected specifier-qualifier-list before ‘GtkDrawingAreaClass’
map_area.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
map_area.h:152: error: expected declaration specifiers or ‘...’ before ‘gboolean’
map_area.h:153: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_area_get_network_state’
In file included from menu.h:32,
from menu.c:29:
map_area.h:168: error: expected declaration specifiers or ‘...’ before ‘gboolean’
map_area.h:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_area_get_show_grid’
map_area.h:171: error: expected declaration specifiers or ‘...’ before ‘gboolean’
map_area.h:172: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_area_get_show_font’
In file included from menu.h:33,
from menu.c:29:
config/config.h:51: error: expected specifier-qualifier-list before ‘gpointer’
config/config.h:73: error: expected specifier-qualifier-list before ‘GObject’
config/config.h:81: error: expected specifier-qualifier-list before ‘GObjectClass’
config/config.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
config/config.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘config_get_entry_data’
config/config.h:95: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘config_load_config_file’
config/config.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘config_save_config_file’
config/config.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘config_set_entry_data’
In file included from menu.c:29:
menu.h:47: error: expected specifier-qualifier-list before ‘GtkMenuBar’
menu.h:86: error: expected specifier-qualifier-list before ‘GtkMenuBarClass’
menu.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from menu.c:30:
about/about.h:40: error: expected specifier-qualifier-list before ‘GtkWindow’
about/about.h:47: error: expected specifier-qualifier-list before ‘GtkWindowClass’
about/about.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
about/about.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from menu.c:31:
manual/manual.h:38: error: expected specifier-qualifier-list before ‘GtkWindow’
manual/manual.h:43: error: expected specifier-qualifier-list before ‘GtkWindowClass’
manual/manual.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from menu.c:33:
config/config_widget.h:46: error: expected specifier-qualifier-list before ‘GtkVBox’
config/config_widget.h:57: error: expected specifier-qualifier-list before ‘GtkVBoxClass’
config/config_widget.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
config/config_widget.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
menu.c:35: error: expected declaration specifiers or ‘...’ before ‘menu’
menu.c:35: error: expected declaration specifiers or ‘...’ before ‘GTK_TYPE_MENU_BAR’
menu.c:35: warning: data definition has no type or storage class
menu.c:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘exit_cb’
menu.c:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_zoom_in_cb’
menu.c:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_zoom_out_cb’
menu.c:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_up_cb’
menu.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_down_cb’
menu.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_left_cb’
menu.c:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_right_cb’
menu.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘menubar_fullscreen_cb’
menu.c:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_manual_cb’
menu.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_gosm_cb’
menu.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_osm_cb’
menu.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_nf_cb’
menu.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_license_cb’
menu.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_preferences_cb’
menu.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘preferences_confirm_cb’
menu.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘preferences_cancel_cb’
menu.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘window_event_cb’
menu.c:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
menu.c:252: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘exit_cb’
menu.c:260: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_zoom_in_cb’
menu.c:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_zoom_out_cb’
menu.c:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_up_cb’
menu.c:279: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_down_cb’
menu.c:284: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_left_cb’
menu.c:289: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘button_move_right_cb’
menu.c:298: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘menubar_fullscreen_cb’
menu.c:311: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_manual_cb’
menu.c:318: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_gosm_cb’
menu.c:325: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_osm_cb’
menu.c:332: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_nf_cb’
menu.c:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_about_license_cb’
menu.c:346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘show_preferences_cb’
menu.c:357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘window_event_cb’
make: *** [menu.o] Fehler 1Was nun? Danke, Patrick |
|
Anmeldungsdatum: Beiträge: 4763 |
Benötigte Pakete zum Bauen: libgtk2.0-dev libpango1.0-dev libcairo2-dev libglib2.0-dev libpng12-dev libwebkit-dev |
|
Anmeldungsdatum: Beiträge: 201 |
Done. Weiter geht's: /usr/bin/gcc -D BUILD=0 -g `pkg-config --cflags --libs gtk+-2.0 gdk-2.0 pango cairo glib-2.0 gthread-2.0 libpng webkit-1.0` `curl-config --cflags --libs` -c menu.c -o menu.o
/bin/sh: curl-config: not found
In file included from map_area.h:32,
from menu.h:32,
from menu.c:29:
tiles/tile_manager.h:29:23: error: curl/curl.h: No such file or directory
In file included from map_area.h:32,
from menu.h:32,
from menu.c:29:
tiles/tile_manager.h:73: error: expected specifier-qualifier-list before ‘CURL’
make: *** [menu.o] Fehler 1Ich hab' dann auch wegen des Auftauchens von curl in der Fehlermeldung und deines älteren Beitrags, in dem du meinst curl wird benötigt, curl noch nachinstalliert. An der Fehlermeldung hat sich allerdings nichts geändert. |
|
Anmeldungsdatum: Beiträge: 201 |
Ah, hab' gerade die README im gosm-Ordner gefunden und da steht: for BUILDING gosm you'll need: libglib2.0-dev 2.20.1-1 libgtk2.0-dev 2.14.7-5 libcairo2-dev 1.8.6-2+b1 libcurl4-openssl-dev 7.18.2-8.1 libpng12-dev 1.2.27-2 libwebkit-dev 1.0.1-4 libbz2-dev 1.0.5 es werden also auch das libcurl4-openssl-dev und libbz2-dev Paket ausser den von cornix erwähnten Paketen gebraucht (ersteres erklärt auch den curl-Fehler). Jetzt startet das make, gibt aber am Schluss den Fehler "/usr/bin/ld: cannot find -lwebkit-1.0" an (siehe Anhang). |
|
Anmeldungsdatum: Beiträge: 201 |
Sorry für das 3-fach-posten! Wollte mitteilen, dass es jetzt mit dem angepassten Makefile nach dem älteren Beitrag von cornix geht. ☺ Dann werd' ich mich mal an dem Kapitel "64 Bit" versuchen und dann hier wieder melden. Gruß, Pa_trick17 |
|
Anmeldungsdatum: Beiträge: 201 |
|
|
(Themenstarter)
Anmeldungsdatum: Beiträge: 17368 |
*g* Sieht gut aus - den kleinen Syntaxfehler kann ich noch fixen. Das Bildchen für 64bit kann man noch ergänzen. ☺ |
|
Anmeldungsdatum: Beiträge: 4763 |
Die Unterscheidung ist nicht 32 Bit oder 64 Bit, sondern Binär-Datei oder selbst kompiliert. IMHO hast du Gruß, cornix |
|
Anmeldungsdatum: Beiträge: 201 |
cornix schrieb:
Generell natürlich ja - aber in diesem speziellen Fall unterscheidet sich die Installation des Programmes doch für den Anwender doch danach, ob er ein 32 oder 64 Bit-System hat, oder?
O.k., werd' ich so übernehmen. - Danke dem Kompiliermeister 😉
Sondern? march schrieb:
Danke. Welchen denn?
Man DU oder man ICH? 😉 ... falls ICH: Was genau meinst du damit? Ich werd' jetzt noch die Antwort(en) bezüglich der Gliederung 32 Bit, 64 Bit VS. Binär-Datei, Selbst kompiliert abwarten und meine Version danach in den Originalartikel einfügen. LG, Pa_trick17 |