[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ gpsdrive ] top_ mapimage display problem



Ryan:
> > Indeed, "the strstr() function returns a pointer to the beginning of
> > the substring, or NULL if the substring is not found."

Hamish:
> > great work spotting it Ryan!

Joerg:
> Indeed.
> 
> Hamish can you fix and check this please. Currently I can't compile on
> my machine to check before committing.


I have commited the fix, but I haven't tested it as gpsdrive won't compile
on Debian/sarge. I get this error:


$ aclocal && automake && autoconf && ./configure

...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.6... yes (version 2.6.4)
checking pkg-config is at least version 0.9.0... yes
checking for GTK_CFLAGS... -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking for GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for PKGCONFIG_CFLAGS... -DXTHREADS -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0  
checking for PKGCONFIG_LIBS... -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lart_lgpl_2  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.8.5... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: need libglib2.0 at least version 2.8.5

$ dpkg -s libglib2.0-dev | grep ersion
Version: 2.6.4-1


is there a good reason for glib to be so demanding or could that
version dependancy be worked around?

I am not willing to mess up my work machine with packages from sid/etch,
and would rather not go to the trouble of compiling a newer copy of glib
in $HOME/lib/ and do LD_LIBRARY_PATH tricks.


Hamish
-- 
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo@warbase.selwerd.nl