You are not logged in.

#1 2005-10-25 09:30:14

glib
Member
Registered: 2005-09-27
Posts: 46

Anyone get the cvs version of gtkpod working?

I want to try out the added support for iPod photo/video features, as well as the podcast support.

Grabbed the latest cvs off the site for gtkpod and libgpod (they separated the front and back-end for this release I believe). libgpod's INSTALL_CVS file points to just running autogen.sh, make, make install. The autogen script fails with the following:

$ ./autogen.sh
Cleaning autotools files...
Running autoreconf...
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:54: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gnet.m4:9: warning: underquoted definition of AM_PATH_GNET
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:54: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gnet.m4:9: warning: underquoted definition of AM_PATH_GNET
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
configure.ac:53: error: possibly undefined macro: AC_PROG_INTLTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Any ideas?

Offline

#2 2005-10-25 15:47:36

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Anyone get the cvs version of gtkpod working?

This might help:
pacman -S intltool

Offline

#3 2005-10-25 15:47:58

atze
Member
From: Netherlands (Leiden)
Registered: 2005-10-22
Posts: 76
Website

Re: Anyone get the cvs version of gtkpod working?

heey i am also trying to compile the cvs of libgpod. I would really like listen( http://theli.free.fr/ ) running.

Offline

#4 2005-10-25 16:18:23

atze
Member
From: Netherlands (Leiden)
Registered: 2005-10-22
Posts: 76
Website

Re: Anyone get the cvs version of gtkpod working?

Snowman wrote:

This might help:
pacman -S intltool

This did work. Great

Offline

#5 2005-10-25 19:00:52

glib
Member
Registered: 2005-09-27
Posts: 46

Re: Anyone get the cvs version of gtkpod working?

Yeah that did it, thanks. I was misreading those warnings as errors I guess. Now that I know what to look for, installing intltool seems like the obvious choice. Thanks!

Offline

#6 2005-10-25 19:20:37

glib
Member
Registered: 2005-09-27
Posts: 46

Re: Anyone get the cvs version of gtkpod working?

libgpod audoconfed and compiled okay, but now gtkpod can't see the library. The configure script complains that it's not in my PKG_CONFIG_PATH:

... .... ....
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: *** Package libgpod-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgpod-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgpod-1.0' found
See `config.log' for more details

Offline

#7 2005-10-25 19:23:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Anyone get the cvs version of gtkpod working?

glib wrote:
Perhaps you should add the directory containing `libgpod-1.0.pc'
to the PKG_CONFIG_PATH environment variable
pacman -Ql libgpod | grep libgpod-1.0.pc
echo $PKG_CONFIG_PATH

do they match?

Offline

#8 2005-10-25 19:44:16

glib
Member
Registered: 2005-09-27
Posts: 46

Re: Anyone get the cvs version of gtkpod working?

phrakture wrote:
glib wrote:
Perhaps you should add the directory containing `libgpod-1.0.pc'
to the PKG_CONFIG_PATH environment variable
pacman -Ql libgpod | grep libgpod-1.0.pc
echo $PKG_CONFIG_PATH

do they match?

There's no libgpod package, I just compiled from source ./autogen.sh, make, make install.

Offline

#9 2005-10-25 19:48:24

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Anyone get the cvs version of gtkpod working?

glib wrote:

There's no libgpod package, I just compiled from source ./autogen.sh, make, make install.

Yeah, I always makepkg apps I install, for easy cleanup later on.

Find out where the Makefiles/autogen sends the .pc file, or just do "find / -name libgpod-1.0.pc" and wait for it.

My guess is it installed in /usr/local somewhere, which arch doesn't support by default (/usr/local is for sissies!)

Offline

#10 2005-10-25 20:41:41

glib
Member
Registered: 2005-09-27
Posts: 46

Re: Anyone get the cvs version of gtkpod working?

I already have done a find, and yes it is in /usr/local/lib... I just don't know how to get that into my PKG_CONFIG_PATH as there's no pkgconfig there.

Offline

#11 2005-10-25 21:23:50

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Anyone get the cvs version of gtkpod working?

glib wrote:

I already have done a find, and yes it is in /usr/local/lib... I just don't know how to get that into my PKG_CONFIG_PATH as there's no pkgconfig there.

$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/
$ pkg-config --libs libgpod-1.0

when you get output from pkg-config, you're golden... there's also a "--list-all" flag to dump all recognized .pc files.

Offline

#12 2005-10-26 03:09:33

glib
Member
Registered: 2005-09-27
Posts: 46

Re: Anyone get the cvs version of gtkpod working?

Well, it autoconfed and installed fine too, but now to the next problem:

glib@purgatory ~ $ echo $PKG_CONFIG_PATH
:/opt/gnome/lib/pkgconfig:/opt/mono/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/opt/xfce4/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
glib@purgatory ~ $ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
glib@purgatory ~ $ pkg-config --libs libgpod-1.0
-L/usr/local/lib -lgpod -lglib-2.0  
glib@purgatory ~ $ echo $PKG_CONFIG_PATH
:/opt/gnome/lib/pkgconfig:/opt/mono/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/opt/xfce4/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig/
glib@purgatory ~ $ /usr/local/bin/gtkpod 
/usr/local/bin/gtkpod: error while loading shared libraries: libgpod.so.108: cannot open shared object file: No such file or directory

Offline

#13 2005-10-26 05:14:42

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Anyone get the cvs version of gtkpod working?

that's to do with libtool slay, I would uninstal it then make a pkg....
search around there are plenty of examples of cvs/svn builds around
but remember to add the libtool slay line to the end...

find $startdir/pkg -name '*.la' -exec rm {} ;

Offline

#14 2005-10-26 20:08:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Anyone get the cvs version of gtkpod working?

No, it has to do with the /usr/local problem yet again

/usr/local/lib is going to have the library it wants to load, but nothing on an arch system knows that /usr/local exists.

try "ldd /usr/local/bin/gtkpod" - it will show you libraries it will load and the path to it.  Of course, libgpod will fail, because "ldd" can't find the path to it.

Add /usr/local/lib into /etc/ld.so.conf and then rerun ldd on gtkpod - it will find the path now and should run successfully.

Offline

Board footer

Powered by FluxBB