kmc77 Posted March 9, 2006 Report Share Posted March 9, 2006 (edited) Here's the prob. My wife bought me an Ipod Video for Christmas. At the time, there was really no support for the video functions in any of the Linux Itunes equivalents. To install video on my Ipod, I was forced to create an XP partition, just to run Itunes. Now I see that gtkpod supports mv4. The only problem is, I can't just synaptic the gtkpod package, because it has to be compiled with the mv4 lib. I've installed the mv4 lib, downloaded gtkpod-0.99.4 and ./configured it. No errors present for the configure, but when I go to make the app., I get this: [root@localhost gtkpod-0.99.4]# make make all-recursive make[1]: Entering directory `/home/kevin/tar/gtkpod-0.99.4' Making all in src make[2]: Entering directory `/home/kevin/tar/gtkpod-0.99.4/src' make all-am make[3]: Entering directory `/home/kevin/tar/gtkpod-0.99.4/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gpod-1.0 -DMOUNT_BIN=\""/bin/mount\"" -DUMOUNT_BIN=\""/bin/umount\"" -DEJECT_BIN=\""@EJECT@\"" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gpod-1.0 -g -O2 -Wall -MT charset.o -MD -MP -MF ".deps/charset.Tpo" \ -c -o charset.o `test -f 'charset.c' || echo './'`charset.c; \ then mv -f ".deps/charset.Tpo" ".deps/charset.Po"; \ else rm -f ".deps/charset.Tpo"; exit 1; \ fi In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:25, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from charset.c:35: /usr/include/pango-1.0/pango/pangocairo.h:66: warning: type defaults to `int' in declaration of `cairo_font_options_t' /usr/include/pango-1.0/pango/pangocairo.h:66: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangocairo.h:67: error: syntax error before '*' token /usr/include/pango-1.0/pango/pangocairo.h:67: warning: type defaults to `int' in declaration of `pango_cairo_context_get_font_options' /usr/include/pango-1.0/pango/pangocairo.h:67: warning: data definition has no type or storage class In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gtk/gtk.h:31, from charset.c:35: /usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: syntax error before "cairo_font_options_t" /usr/include/gtk-2.0/gdk/gdkscreen.h:51: warning: no semicolon at end of struct or union /usr/include/gtk-2.0/gdk/gdkscreen.h:53: error: syntax error before '}' token /usr/include/gtk-2.0/gdk/gdkscreen.h:106: warning: type defaults to `int' in declaration of `cairo_font_options_t' /usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: syntax error before '*' token /usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: syntax error before '*' token /usr/include/gtk-2.0/gdk/gdkscreen.h:107: warning: type defaults to `int' in declaration of `gdk_screen_get_font_options_libgtk_only' /usr/include/gtk-2.0/gdk/gdkscreen.h:107: warning: data definition has no type or storage class make[3]: *** [charset.o] Error 1 make[3]: Leaving directory `/home/kevin/tar/gtkpod-0.99.4/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/kevin/tar/gtkpod-0.99.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kevin/tar/gtkpod-0.99.4' make: *** [all] Error 2 Now, I rarely compile anything, and when I do, I tend to just find another app if it doesn't compile correctly, but gtkpod seems to be my best bet in getting rid of that XP partition again. If anyone has any advice that would help resolve this, it would be greatly appreciated. Edited March 10, 2006 by kmc77 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 9, 2006 Report Share Posted March 9, 2006 Amarok has now native podcast support, as well as several ipod related automation scripts. Oh, and it's "slightly" prettier than gtkpod! :P Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 9, 2006 Author Report Share Posted March 9, 2006 Yeah, amarok is all good and well for the music, but the mv4 (video) is where I'm stuck. As far as I can tell gtkpod is the only one supporting that right now. Quote Link to comment Share on other sites More sharing options...
jlc Posted March 9, 2006 Report Share Posted March 9, 2006 (edited) When you do the configure, what does it end up with? Configuration for gtkpod 0.99.4 : -------------------------------- Host System Type .....: i686-pc-linux-gnu Install path .........: /home/justin/bin Preprocessor .........: gcc Compiler .............: gcc -g -O2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gpod-1.0 Linker ...............: gcc -lmp4v2 -lid3tag -pthread -Wl,--export-dynamic -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgpod -lglib-2.0 GTK2 version .........: 2.8.13 GLib2/GThread version : 2.10.1 id3tag lib ...........: yes mp4v2 ................: yes -- will build with aac support NLS/gettext ..........: yes Now type 'make' to build gtkpod 0.99.4, and then 'make install' for installation. What versions of cairo/pango do you have installed? $ rpm -qa cairo\* pango\* gtk2\* gcc pango-1.11.99-1 cairo-1.0.2-5 pango-devel-1.11.99-1 cairo-java-1.0.2.0.20060301.rh1-0 gcc-4.1.0-2 gtk2-2.8.13-3 cairo-devel-1.0.2-5 gtk2-engines-2.7.4-3 gtk2-devel-2.8.13-3 Oh, and what distrobution are you on? :lol: it's in the subject, nevermind this question :) Edited March 9, 2006 by cybrjackle Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 9, 2006 Author Report Share Posted March 9, 2006 (edited) Ok, some computer wierdness. Went back and ran ./configure to get that info and just for "fun" did another make..... and it completed without errors, as did make install. Only problem now is that after looking at the final configure info, it compiled without mp4v2 lib. What happened? The first time I configured it refused to procede, untill I loaded mp4v2 lib, now, even though it's there, gtkpod compiles without. What did I do and what can I do? BTW cybrjackle, my configure ends almost identical to yours, minus the mp4v part. Edited March 9, 2006 by kmc77 Quote Link to comment Share on other sites More sharing options...
jlc Posted March 9, 2006 Report Share Posted March 9, 2006 You have all the aac/mpeg stuff you need? Maybe you played around with it and did something else, try "make clean" and then ./confgure --prefix=$HOME/apps (or were ever you through your stuff) Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 9, 2006 Author Report Share Posted March 9, 2006 (edited) You have all the aac/mpeg stuff you need? Maybe you played around with it and did something else, try "make clean" and then ./confgure --prefix=$HOME/apps (or were ever you through your stuff) I can't find anything that I'm missing. I did notice that when I uninstall libmp4v2, the configure hits that point and immediately marks "no", but when I have it installed, and it hits the same point, it pauses for a few seconds, like it knows it's there somewhere but can't find it. checking for id3_frame_field in -lid3tag... yes checking for library containing MP4FileInfo... no checking for library containing bind... none required GTK2 version .........: 2.8.9 GLib2/GThread version : 2.8.4 id3tag lib ...........: yes mp4v2 ................: *** no -- will build without aac support NLS/gettext ..........: yes Now type 'make' to build gtkpod 0.99.4, and then 'make install' for installation. Can I direct the configure process to look in a specific place for the mp4v2 lib? [root@localhost gtkpod-0.99.4]# whereis libmp4v2 libmp4v2: /usr/lib/libmp4v2.a /usr/lib/libmp4v2.la /usr/lib/libmp4v2.so Edited March 9, 2006 by kmc77 Quote Link to comment Share on other sites More sharing options...
jlc Posted March 9, 2006 Report Share Posted March 9, 2006 According to this http://cvs.sourceforge.net/viewcvs.py/gtkp...ure.in?rev=1.74 It's looking for mp4.h so see if you have that [justin@kainos ~]$ locate mp4.h /usr/include/mp4.h If not, I don't know what your distro uses to track down file, but in fedora for example # yum provides mp4.h <snip> faad2-devel.i386 2.0-5.2.fc4.1 installed Matched from: /usr/include/mp4.h So either make sure you have a package like faad2-devel or whatever the mdk/pcos namig format is. And try again, (make clean) first. libfaad2_0-2.1-0.20050201.3tex http://www.pclinuxonline.com/pclos/html/package_list.html Might be diff version number, but you should have that installed and that might have what you need, i'm taken some guess's here :) http://ftp.nluug.nl/pub/os/Linux/distr/tex...s/2004/RPMS.os/ [ ] libfaac0-1.23.5-1.1tex.i586.rpm 30-Jun-2005 04:02 34K [ ] libfaac0-devel-1.23.5-1.1tex.i586.rpm 30-Jun-2005 04:01 42K [ ] libfaad2_0-2.0-1.1tex.i586.rpm 16-May-2005 23:01 375K [ ] libfaad2_0-devel-2.0-1.1tex.i586.rpm 16-May-2005 23:01 14K [ ] libfaad2_0-static-devel-2.0-1.1tex.i586.rpm I think those are what your looking for, you might also install any mpeg packages to just to make sure you have all the libs you need. In fedora for example # yum install *\faa\* *\mpeg\* I don't know what pkg manager you use so how ever it can handle it. Oh, just for completeness :) http://cvs.sourceforge.net/viewcvs.py/gtkp...ure.in?rev=1.74 this is still the same for "configure.in" of 99.4 so you need to find mp4.h :huh: Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 9, 2006 Author Report Share Posted March 9, 2006 Unfortunately for me, all those files are already installed. I even tried this tidbit from gtkpod.org Installed libmp4v2 or libgpod from source to /usr/local/lib, butgtkpod is unable to locate libmp4.so.0 or libgpod.so.0 If you install to /usr/local/lib please don't forget to add the path to LD_LIBRARY_PATH: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH You can add those lines to your ~/.bashrc or add it globally to /etc/profile. But had no luck with it. Maybe PCLOS just hates me :D . I just can't figure out why it doesn't recognize the files. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 9, 2006 Report Share Posted March 9, 2006 Hasn't Texstar, or any other volunteer at PCLOS compiled gtkpod yet? You may even drop a request at their forums... Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 9, 2006 Author Report Share Posted March 9, 2006 Hasn't Texstar, or any other volunteer at PCLOS compiled gtkpod yet?You may even drop a request at their forums... Yes they have, only, without m4v. Quote Link to comment Share on other sites More sharing options...
jlc Posted March 9, 2006 Report Share Posted March 9, 2006 did you look for mp4.h? Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 10, 2006 Author Report Share Posted March 10, 2006 did you look for mp4.h? [kevin@localhost ~]$ whereis mp4.h mp4: /usr/include/mp4.h Yeah, It's there also. Still stuck. Quote Link to comment Share on other sites More sharing options...
jlc Posted March 10, 2006 Report Share Posted March 10, 2006 Whereis you pkgconfig location $ rpm -ql pkgconfig /usr/bin/pkg-config /usr/lib/pkgconfig /usr/share/aclocal/pkg.m4 /usr/share/man/man1/pkg-config.1.gz /usr/share/pkgconfig What does mp4.h belong too $ rpm -qf /usr/include/mp4.h faad2-devel-2.0-5.2.fc4.1 you might try $ AC_SEARCH_LIBS=/usr/include/ ./configure --prefix=$HOME/apps <SNIP> checking for library containing MP4FileInfo... -lmp4v2 checking mp4.h usability... yes checking mp4.h presence... yes checking for mp4.h... yes Quote Link to comment Share on other sites More sharing options...
kmc77 Posted March 10, 2006 Author Report Share Posted March 10, 2006 rpm -ql and rpm -qf don't seem to do anything. whereis returned this: [kevin@localhost ~]$ whereis pkgconfig pkgconfig: /usr/lib/pkgconfig /usr/local/lib/pkgconfig [kevin@localhost ~]$ whereis pkg-config pkg-config: /usr/bin/pkg-config /usr/share/man/man1/pkg-config.1.bz2 And AC_SEARCH_LIBS=/usr/include/ ./configure --prefix=/home/kevin/tar/gtkpod-0.99.4 returns with the same configuration (still missing libmp4v2). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.