Page 9 of 12 FirstFirst 123456789101112 LastLast
Results 81 to 90 of 119

Thread: Navit - The OpenSource vector based navigation program with routing engine.

  1. #81
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Code:
    alexs-computer:~/navit-0.0.1/src alex$ ./navit
    Running from source directory
    
    ** (process:8695): WARNING **: can't load '*/*/.libs/lib*.so', Error 'dlopen(*/*/.libs/lib*.so, 9): image not found'
    
    sh: line 1: pidof: command not found
    
    ** (process:8695): WARNING **: failed to create gui 'gtk'
    Using 'navit.xml'
    No instance has been created, exiting
    I've seen the same error earlier in this thread, though there was no fix, was it? (Btw.: Same error appears if I run the installed navit with a specified .xml file; if I use -sdl though it tells me that it could not create gui 'sdl' instead of 'gtk')

    So what do I do?


    Till now I only had to install gtk2, glib2 via MacPorts, no big deal. (At least as much as I recall, after having everything running I will do a fresh installation and document everything I am doing.)

  2. #82
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Quote Originally Posted by bpwned View Post
    Code:
    alexs-computer:~/navit-0.0.1/src alex$ ./navit
    Running from source directory
    
    ** (process:8695): WARNING **: can't load '*/*/.libs/lib*.so', Error 'dlopen(*/*/.libs/lib*.so, 9): image not found'
    
    sh: line 1: pidof: command not found
    
    ** (process:8695): WARNING **: failed to create gui 'gtk'
    Using 'navit.xml'
    No instance has been created, exiting
    I've seen the same error earlier in this thread, though there was no fix, was it? (Btw.: Same error appears if I run the installed navit with a specified .xml file; if I use -sdl though it tells me that it could not create gui 'sdl' instead of 'gtk')

    So what do I do?
    This is an easy issue. We are working on a fix which will ease this part
    In fact, you have to specify in the config file where to find the libraries.
    By default, it looks in ./*/*, which works fine if you run navit from the source tree. If you run it from elsewhere, you have to specify the full path to these libraires (the gui and the graphic renderer, mainly).

    By default, they should be installed in /usr/local/lib/navit, so just edit your navit.xml file and change the plugin path line to :
    Code:
    <plugin path="/usr/share/navit/*/*/*.so" />
    We will ease that part.

    Let me know how it works!

    Quote Originally Posted by bpwned View Post
    Till now I only had to install gtk2, glib2 via MacPorts, no big deal. (At least as much as I recall, after having everything running I will do a fresh installation and document everything I am doing.)

    Great thanks.

  3. #83
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Quote Originally Posted by KaZeR View Post

    By default, they should be installed in /usr/local/lib/navit, so just edit your navit.xml file and change the plugin path line to :
    Code:
    <plugin path="/usr/share/navit/*/*/*.so" />
    Maybe I'm just not getting it, but which one is it now?

  4. #84
    Newbie
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    2
    Since I am new to this forum, I first wish to extend my congratulations to this excellent project.

    After some internal discussions (caused by missing knowledge on my side), navit and me seem to become friends. SuSE 10.2 refused to install gpsd, so I turned to ubuntu 7.04 with full success.

    The correct plugin path for me is "/usr/local/lib/navit/*/lib*.so" and is functioning.

    Further, the "Reiseplaner" maps are operative, but there is still an error message "failed to load font, no labeling", which I could not resolve so far.

    Has anybody any solution or hint for this problem?

    Greetings
    compucat

  5. #85
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Quote Originally Posted by bpwned View Post
    Maybe I'm just not getting it, but which one is it now?
    Maybe my explanations aren't very clear

    In navit.xml, you should have :

    Code:
    <plugin path="*/*/*.so" />
    Or something like this. It is a relative path, impling that you run navit from the source tree.

    If you ran make install, libraries have been installed in /usr/share/navit so you can use an absolute path, by changing the previous line to something like this :

    Code:
    <plugin path="/usr/share/navit/*/*/*.so" />
    which is the default path used by navit upon make install.

    Hope it's better now

  6. #86
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Quote Originally Posted by compucat View Post
    Since I am new to this forum, I first wish to extend my congratulations to this excellent project.
    Hi compucat, and welcome !
    Also, thanks for your compliment

    Quote Originally Posted by compucat View Post
    After some internal discussions (caused by missing knowledge on my side), navit and me seem to become friends. SuSE 10.2 refused to install gpsd
    I ran into this issue as well.
    You can't use the rpm provided by the gpsd project, they won't run under OpenSuse. Instead, if you search for a OpenSuse rpm at webpin, you will get this : http://benjiweber.co.uk:8080/webpin/...earchTerm=gpsd

    And thoses rpms works (you need both gpsd and gpsd-devel, as navit needs to link against it).

    Quote Originally Posted by compucat View Post
    so I turned to ubuntu 7.04 with full success.
    Great. glad you made it work. If you had any distro-specific step to follow, i'd be happy to hear about them to enhance our docs.

    Quote Originally Posted by compucat View Post
    The correct plugin path for me is "/usr/local/lib/navit/*/lib*.so" and is functioning.
    Exactly. Default path after make install. /*.so at the end would also work.

    Quote Originally Posted by compucat View Post
    Further, the "Reiseplaner" maps are operative, but there is still an error message "failed to load font, no labeling", which I could not resolve so far.

    Has anybody any solution or hint for this problem?
    Sure. By default, we currently use the Arial font for labelling, because it easily readable even on small fonts. The drawback is that it's not an open font, so some distro don't ship it by default because of licensing issues.

    Under gentoo, it's packed in "corefonts".
    Under OpenSuse, you can find a package with them.
    Under Ubuntu, i have to say that i don't know.

    I'll add a word in the error message about this font, it would be more convenient for users. it's true that if you don't read into the code, you can't guess which font is needed. Thanks for the feedback.

    We have discussed last week about replacing arial with something open. If anybody knows about a font which would fit, suggestions are welcome.

    If you have any other question, feel free to ask
    Comments / criticisms / suggestions are welcome.

  7. #87
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Hm, I've been trying to find those libraries, but I can't find any .so files.

    Code:
    alexs-computer:~ alex$ find /usr | grep navit
    /usr/local/bin/navit
    /usr/local/lib/navit
    /usr/local/lib/navit/binding
    /usr/local/lib/navit/binding/libbinding_python.0.0.0.dylib
    /usr/local/lib/navit/binding/libbinding_python.0.dylib
    /usr/local/lib/navit/binding/libbinding_python.dylib
    /usr/local/lib/navit/binding/libbinding_python.la
    /usr/local/lib/navit/data
    /usr/local/lib/navit/data/libdata_garmin_img.0.0.0.dylib
    /usr/local/lib/navit/data/libdata_garmin_img.0.dylib
    /usr/local/lib/navit/data/libdata_garmin_img.dylib
    /usr/local/lib/navit/data/libdata_garmin_img.la
    /usr/local/lib/navit/data/libdata_mg.0.0.0.dylib
    /usr/local/lib/navit/data/libdata_mg.0.dylib
    /usr/local/lib/navit/data/libdata_mg.dylib
    /usr/local/lib/navit/data/libdata_mg.la
    /usr/local/lib/navit/data/libdata_poi_geodownload.0.0.0.dylib
    /usr/local/lib/navit/data/libdata_poi_geodownload.0.dylib
    /usr/local/lib/navit/data/libdata_poi_geodownload.dylib
    /usr/local/lib/navit/data/libdata_poi_geodownload.la
    /usr/local/lib/navit/data/libdata_textfile.0.0.0.dylib
    /usr/local/lib/navit/data/libdata_textfile.0.dylib
    /usr/local/lib/navit/data/libdata_textfile.dylib
    /usr/local/lib/navit/data/libdata_textfile.la
    /usr/local/lib/navit/graphics
    /usr/local/lib/navit/graphics/libgraphics_null.0.0.0.dylib
    /usr/local/lib/navit/graphics/libgraphics_null.0.dylib
    /usr/local/lib/navit/graphics/libgraphics_null.dylib
    /usr/local/lib/navit/graphics/libgraphics_null.la
    /usr/local/lib/navit/speech
    /usr/local/lib/navit/speech/libspeech_cmdline.0.0.0.dylib
    /usr/local/lib/navit/speech/libspeech_cmdline.0.dylib
    /usr/local/lib/navit/speech/libspeech_cmdline.dylib
    /usr/local/lib/navit/speech/libspeech_cmdline.la
    /usr/local/lib/navit/vehicle
    /usr/local/lib/navit/vehicle/libvehicle_file.0.0.0.dylib
    /usr/local/lib/navit/vehicle/libvehicle_file.0.dylib
    /usr/local/lib/navit/vehicle/libvehicle_file.dylib
    /usr/local/lib/navit/vehicle/libvehicle_file.la
    /usr/local/share/navit
    /usr/local/share/navit/navit.xml
    /usr/local/share/navit/README
    /usr/local/share/navit/xpm
    /usr/local/share/navit/xpm/camping.xpm
    /usr/local/share/navit/xpm/car_dealer.xpm
    /usr/local/share/navit/xpm/flag_bk_tr.xpm
    /usr/local/share/navit/xpm/flag_bk_wh.xpm
    /usr/local/share/navit/xpm/flag_bl_wh.xpm
    /usr/local/share/navit/xpm/fuel.xpm
    /usr/local/share/navit/xpm/hospital.xpm
    /usr/local/share/navit/xpm/hotel.xpm
    /usr/local/share/navit/xpm/parking.xpm
    /usr/local/share/navit/xpm/restaurant.xpm
    /usr/local/share/navit/xpm/unknown.xpm
    Shouldn't I see them somewhere here? I mean there is obviously nothing in usr/share, only in usr/local/share (maybe OS X uses usr/local/share instead of usr/share?). But still no .so files. Any Ideas?

  8. #88
    Low Bitrate
    Join Date
    Jan 2007
    Posts
    81
    Quote Originally Posted by bpwned View Post
    Hm, I've been trying to find those libraries, but I can't find any .so files.

    Code:
    alexs-computer:~ alex$ find /usr | grep navit
    /usr/local/bin/navit
    [...]
    /usr/local/share/navit/xpm/unknown.xpm
    Shouldn't I see them somewhere here? I mean there is obviously nothing in usr/share, only in usr/local/share (maybe OS X uses usr/local/share instead of usr/share?). But still no .so files. Any Ideas?
    I'm sorry, my bad

    /usr/local/share is for various ressources, like icons, SDL gui datafiles, etc.
    You are right, libs should be in /usr/local/lib/navit (unless you changed the prefix in ./configure to /usr, in which case they will be in /usr/lib/navit.

    I noticed that you only have the null graphics renderer. You are probably missing something gtk related (like a gtk2-devel package probably) and you have no gui compiled yet (no gtk, no sdl). So you have to install gtk2-devel, rerun ./configure && make && make install

    It's quite hard, because you're the first one trying it on MacOS. For the next users, it will work probably out of the box

    Thanks for your time!

  9. #89
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    No need to thank me, I'm happy to help.

    I will take a look on the issue as soon as I'm back on my Mac, right now I'm sitting in front of a Windows-Box...

    Alors, à bientôt ;-)

  10. #90
    Low Bitrate bpwned's Avatar
    Join Date
    Jan 2007
    Location
    Munich, Germany
    Posts
    82
    Alright, seems like my gtk2 install didn't really work, I reinstalled it again (had to reinstall Apple X11).

    Now, configure is working fine, make not:

    Code:
    alexs-computer:~/navit-0.0.1 alex$ make
    (...)
    Making all in gtk
    if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../..  -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -DPNG_NO_MMX_CODE -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include   -I../../../src -DMODULE=\"gui_gtk\" -I/System/Library/Frameworks/CoreFoundation.framework/Headers  -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -MT datawindow.lo -MD -MP -MF ".deps/datawindow.Tpo" -c -o datawindow.lo datawindow.c; \
    then mv -f ".deps/datawindow.Tpo" ".deps/datawindow.Plo"; else rm -f ".deps/datawindow.Tpo"; exit 1; fi
     gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DPNG_NO_MMX_CODE -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I../../../src -DMODULE=\"gui_gtk\" -I/System/Library/Frameworks/CoreFoundation.framework/Headers -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -MT datawindow.lo -MD -MP -MF .deps/datawindow.Tpo -c datawindow.c  -fno-common -DPIC -o .libs/datawindow.o
    datawindow.c:1:20: error: malloc.h: No such file or directory
    In file included from /opt/local/include/gtk-2.0/gtk/gtkactiongroup.h:34,
                     from /opt/local/include/gtk-2.0/gtk/gtk.h:38,
                     from datawindow.c:6:
    /opt/local/include/gtk-2.0/gtk/gtkitemfactory.h:50: warning: function declaration isn't a prototype
    datawindow.c: In function 'keypress':
    datawindow.c:135: warning: passing argument 2 of 'gui_gtk_datawindow_delete' from incompatible pointer type
    make[4]: *** [datawindow.lo] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2

Similar Threads

  1. iGuidance Navigation Program
    By Stillalive2029 in forum Classified Archive
    Replies: 4
    Last Post: 01-01-2007, 05:06 PM
  2. media engine navigation question
    By jonathanaboona in forum General MP3Car Discussion
    Replies: 2
    Last Post: 09-18-2006, 02:18 PM
  3. Voice activated navigation for routis!
    By 0l33l in forum PowerVoice
    Replies: 352
    Last Post: 10-03-2004, 03:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •