Update ebuild to get latest MySQL and Kismet-support from GPSDrive. Reproducible: Always Steps to Reproduce: 1.emerge gpsdrive 2. 3. Actual Results: Works in my overlay:ed portage emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -mno-3dnow -funroll-loops -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -mno-3dnow -funroll-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo ftp://ftp.sunet.se/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.inside.gehlin.com/gentoo-portage" USE="x86 X X509 a52 aac aalib acl alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bmp bzip2 caps cddb cdparanoia cdr chroot crypt cups curl divx4linux dts dvd dvdr dvdread dxr3 eds emboss encode esd ethereal extensions fam fame fbcon ffmpeg flac font-server foomaticdb fortran fpx gcj gd gdbm ggi gif gkrellm gnome gnutls gphoto2 gpm gps graphviz gstreamer gtk gtk2 hpn idea imagemagick imlib insecure-drivers ipv6 jack java javascript jbig joystick jpeg jpeg2k kde kerberos krb4 ldap libcaca libg++ libwww lirc live lm_sensors logitech-mouse lzo mad md5sum mikmod mjpeg mmap mmx mng motif mozilla mp3 mpeg musepack mysql nas ncurses network nfs nls nptl objc offensive ogg oggvorbis on-the-fly-crypt openexr opengl oss pam pcre pdflib perl png python qt quicktime readline real rtc samba scanner sdl sftplogging shorten sndfile snmp speex spell sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix vim-with-x vorbis wifi win32codecs wmf xanim xine xinerama xml2 xmms xosd xprint xscreensaver xv xvid xvmc yv12 zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 62060 [details, diff] gpsdrive-2.10pre2.patch Patch against current gpsdrive-2.09.ebuild. New USE-flags are 'garmin' and 'teleatlas'. Need som help to sort out the dir-names in the ebuild. We could probably do some more work in order move out the friendsd- and gpsd-daemon, for those that don't want it. /Charlie
*** Bug 82525 has been marked as a duplicate of this bug. ***
Created attachment 62958 [details] Ebuild for gpsdrive-2.10pre2 New ebuild, this one actually works =) I also added nogpsd and nofriendsd use flags to get disable gpsd and friendsd. I also have a question, where am I supposed to get the gpsnavlib from the teleatlas use flag requires?!?
(In reply to comment #3) > New ebuild, this one actually works =) I also added nogpsd and nofriendsd use > flags to get disable gpsd and friendsd. It would be better to use non-negated USE flags "gpsd" and "friendsd".
This fixed my problem with using gpsdrive, kismet and mysql not wanting to work together. Now It works like a charm. I use a NMEA device over usb.
Any chance of getting this ebuild updated for gpsdrive-2.10pre4? (see http://www.gpsdrive.de/download.shtml)
*** Bug 203735 has been marked as a duplicate of this bug. ***
Created attachment 142290 [details] ebuild for 2.10_pre4 They changed the build format completely, so the old ebuilds won't be of much use. This one works for me...
Created attachment 142291 [details, diff] to enable build without mapnik (whatever that is)
I think this version (and later) should really use the newer gpsd package (external rather than internal). I was working on the latest gpsd (with a udev rule rather than the old hotplug setup) but then I got busy again... Feel free to work on this ebuild if you want; you should be able to use the latest gpsd-2.34 while I finish up 2.36. Thanks...
Tried gpsdrive-2.10_pre4.ebuild on AMD64 and got this: configure: error: Need Perl module HTTP::Request !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-misc/gpsdrive-2.10_pre4/work/gpsdrive-2.10pre4/config.log * * ERROR: app-misc/gpsdrive-2.10_pre4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2552: Called econf 'src_compile' 'src_compile' '--enable-shared' '--enable-garmin' * ebuild.sh, line 513: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed _________________________________ Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64) ================================================================= System uname: 2.6.23-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Timestamp of tree: Fri, 22 Feb 2008 14:46:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.gentoo.no http://distfiles.gentoo.org" LANG="nb_NO.UTF-8" LC_ALL="nb_NO.UTF-8" LINGUAS="nb nb_NO" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gmail gnome gphoto2 gpm gstreamer gtk hal iconv idn ipod isdnlog java javascript jpeg jpeg2k kerberos ldap lm_sensors mad midi mikmod mime mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wifi xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nb nb_NO" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
it depends on mysql also. with USE="-mysql": ./gpsdrive.h:31:25: error: mysql/mysql.h: No such file or directory
I also get a configure error on: checking for perl module HTTP::Request... no configure: error: Need Perl module HTTP::Request What do I emerge to get that module? The ebuild needs to be updated with the proper dependencies.
(In reply to comment #13) > I also get a configure error on: > > checking for perl module HTTP::Request... no > configure: error: Need Perl module HTTP::Request > > What do I emerge to get that module? The ebuild needs to be updated with the > proper dependencies. > OK, figured it out...need to emerge libwww-perl That should be added to the ebuild's depends
Created attachment 159719 [details] Ebuild for gpsdrive-2.10pre5 I created a new ebuild for gpsdrive-2.10_pre5. It is not fully functional though. E.g. the debug use flag does not work. I will try to find out why it does not work when I have some spare time.
An updated gpsdrive-2.10_pre5 is now in portage, but I'm not sure it's worth trying to stable the older 2.0.9 ebuild at this point. Let's see how long it takes for the full 2.10 release; I may add a newer _pre if we need it, but I'd prefer to shoot for a stable 2.10 sooner rather than later. File any new bugs as needed, and thanks...