On Wednesday 03 November 2004 21:02, Rikard Johnels wrote:
On Wednesday 03 November 2004 20:45, Anders Johansson wrote:
On Wednesday, 3 November 2004 20.36, Rikard Johnels wrote:
Config.xs:5:29: xmms/configfile.h: No such file or directory
<snip>
What am i doing wrong??
You're trying to compile something that uses xmms without having xmms-devel installed
oh ok.. Ill give that a whirl
--
/Rikard
--------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 --------------------------------------------------------------- No go. This is the complete output:
cpan> install Bundle::Xmms CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 03 Nov 2004 00:10:54 GMT Term::ReadKey is up to date. Term::ReadLine::Perl is up to date. Term::ANSIColor is up to date. MPEG::MP3Info is up to date. Running install for module Xmms Running make for D/DO/DOUGM/Xmms-Perl-0.12.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /root/.cpan/sources/authors/id/D/DO/DOUGM/Xmms-Perl-0.12.tar.gz ok Scanning cache /root/.cpan/build for sizes Xmms-Perl-0.12/ Xmms-Perl-0.12/README Xmms-Perl-0.12/lib/ Xmms-Perl-0.12/lib/Xmms.pm Xmms-Perl-0.12/lib/Xmms/ Xmms-Perl-0.12/lib/Xmms/ExtUtils.pm Xmms-Perl-0.12/lib/Bundle/ Xmms-Perl-0.12/lib/Bundle/Xmms.pm Xmms-Perl-0.12/test3.mp3 Xmms-Perl-0.12/MANIFEST Xmms-Perl-0.12/test.pl Xmms-Perl-0.12/Changes Xmms-Perl-0.12/Makefile.PL Xmms-Perl-0.12/Config/ Xmms-Perl-0.12/Config/Config.xs Xmms-Perl-0.12/Config/Makefile.PL Xmms-Perl-0.12/Config/Config.pm Xmms-Perl-0.12/patches/ Xmms-Perl-0.12/patches/xmms-playlist-delete.pat Xmms-Perl-0.12/Remote/ Xmms-Perl-0.12/Remote/Makefile.PL Xmms-Perl-0.12/Remote/Remote.xs Xmms-Perl-0.12/Remote/Remote.pm Xmms-Perl-0.12/SongChange/ Xmms-Perl-0.12/SongChange/SongChange.xs Xmms-Perl-0.12/SongChange/Makefile.PL Xmms-Perl-0.12/SongChange/SongChange.pm Xmms-Perl-0.12/typemap Xmms-Perl-0.12/test1.mp3 Xmms-Perl-0.12/test2.mp3 Removing previously used /root/.cpan/build/Xmms-Perl-0.12 CPAN.pm: Going to build D/DO/DOUGM/Xmms-Perl-0.12.tar.gz Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgtk Note (probably harmless): No library found for -lgdk Note (probably harmless): No library found for -lgmodule Note (probably harmless): No library found for -lgthread Note (probably harmless): No library found for -lglib Writing Makefile for Xmms::Config Note (probably harmless): No library found for -lgtk Note (probably harmless): No library found for -lgdk Note (probably harmless): No library found for -lgmodule Note (probably harmless): No library found for -lgthread Note (probably harmless): No library found for -lglib Writing Makefile for Xmms::Remote Note (probably harmless): No library found for -lgtk Note (probably harmless): No library found for -lgdk Note (probably harmless): No library found for -lgmodule Note (probably harmless): No library found for -lgthread Note (probably harmless): No library found for -lglib Writing Makefile for Xmms::SongChange Writing Makefile for Xmms-Perl cp lib/Xmms/ExtUtils.pm blib/lib/Xmms/ExtUtils.pm cp lib/Bundle/Xmms.pm blib/lib/Bundle/Xmms.pm cp lib/Xmms.pm blib/lib/Xmms.pm make[1]: Entering directory `/root/.cpan/build/Xmms-Perl-0.12/Config' cp Config.pm ../blib/lib/Xmms/Config.pm /usr/bin/perl /usr/lib/perl5/5.8.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.1/ExtUtils/typemap Config.xs > Config.xsc && mv Config.xsc Config.c cc -c -I/usr/include/xmms -I/opt/gnome/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE" Config.c In file included from Config.xs:5: /usr/include/xmms/configfile.h:21:18: glib.h: No such file or directory In file included from Config.xs:5: /usr/include/xmms/configfile.h:25: error: parse error before "gchar" /usr/include/xmms/configfile.h:27: error: parse error before '}' token /usr/include/xmms/configfile.h:32: error: parse error before "gchar" /usr/include/xmms/configfile.h:34: error: parse error before '}' token /usr/include/xmms/configfile.h:39: error: parse error before "GList" /usr/include/xmms/configfile.h:47: error: parse error before '*' token /usr/include/xmms/configfile.h:48: error: parse error before '*' token /usr/include/xmms/configfile.h:48: error: parse error before '*' token /usr/include/xmms/configfile.h:49: error: parse error before "xmms_cfg_write_file" /usr/include/xmms/configfile.h:49: error: parse error before '*' token /usr/include/xmms/configfile.h:50: error: parse error before '*' token /usr/include/xmms/configfile.h:51: error: parse error before '*' token /usr/include/xmms/configfile.h:52: error: parse error before "xmms_cfg_write_default_file" /usr/include/xmms/configfile.h:52: error: parse error before '*' token /usr/include/xmms/configfile.h:54: error: parse error before "xmms_cfg_read_string" /usr/include/xmms/configfile.h:54: error: parse error before '*' token /usr/include/xmms/configfile.h:55: error: parse error before "xmms_cfg_read_int" /usr/include/xmms/configfile.h:55: error: parse error before '*' token /usr/include/xmms/configfile.h:56: error: parse error before "xmms_cfg_read_boolean" /usr/include/xmms/configfile.h:56: error: parse error before '*' token /usr/include/xmms/configfile.h:57: error: parse error before "xmms_cfg_read_float" /usr/include/xmms/configfile.h:57: error: parse error before '*' token /usr/include/xmms/configfile.h:58: error: parse error before "xmms_cfg_read_double" /usr/include/xmms/configfile.h:58: error: parse error before '*' token /usr/include/xmms/configfile.h:60: error: parse error before '*' token /usr/include/xmms/configfile.h:61: error: parse error before '*' token /usr/include/xmms/configfile.h:62: error: parse error before '*' token /usr/include/xmms/configfile.h:63: error: parse error before '*' token /usr/include/xmms/configfile.h:64: error: parse error before '*' token /usr/include/xmms/configfile.h:66: error: parse error before '*' token Config.xs:7: error: parse error before '*' token Config.xs:7: warning: type defaults to `int' in declaration of `Xmms__Config' Config.xs:7: warning: data definition has no type or storage class Config.xs: In function `XS_Xmms__Config_file': Config.xs:22: warning: implicit declaration of function `g_get_home_dir' Config.c:29: warning: unused variable `self' Config.c: In function `XS_Xmms__Config_perlfile': Config.c:49: warning: unused variable `self' Config.c: In function `XS_Xmms__Config_new': Config.c:70: error: `gchar' undeclared (first use in this function) Config.c:70: error: (Each undeclared identifier is reported only once Config.c:70: error: for each function it appears in.) Config.c:70: error: `filename' undeclared (first use in this function) Config.c:71: error: parse error before "RETVAL" Config.c:76: error: parse error before ')' token Config.xs:44: error: `RETVAL' undeclared (first use in this function) Config.c:69: warning: unused variable `svclass' Config.c: In function `XS_Xmms__Config_DESTROY': Config.c:101: error: parse error before "cfg" Config.c:105: error: `cfg' undeclared (first use in this function) Config.c:105: error: called object is not a function Config.c: In function `XS_Xmms__Config_write_file': Config.c:122: error: parse error before "cfg" Config.c:123: error: `gchar' undeclared (first use in this function) Config.c:123: error: `filename' undeclared (first use in this function) Config.c:123: error: parse error before ')' token Config.c:124: error: `gboolean' undeclared (first use in this function) Config.c:124: error: parse error before "RETVAL" Config.c:129: error: `cfg' undeclared (first use in this function) Config.c:129: error: called object is not a function Config.c:134: error: `RETVAL' undeclared (first use in this function) Config.c: In function `XS_Xmms__Config_remove_key': Config.c:147: error: parse error before "cfg" Config.c:148: error: `gchar' undeclared (first use in this function) Config.c:148: error: `section' undeclared (first use in this function) Config.c:148: error: parse error before ')' token Config.c:149: error: `key' undeclared (first use in this function) Config.c:149: error: parse error before ')' token Config.c:153: error: `cfg' undeclared (first use in this function) Config.c:153: error: called object is not a function Config.c: In function `XS_Xmms__Config_read': Config.c:170: error: parse error before "cfg" Config.c:171: error: `gchar' undeclared (first use in this function) Config.c:171: error: `section' undeclared (first use in this function) Config.c:171: error: parse error before ')' token Config.c:172: error: `key' undeclared (first use in this function) Config.c:172: error: parse error before ')' token Config.c:181: error: `cfg' undeclared (first use in this function) Config.c:181: error: called object is not a function Config.xs:84: warning: passing arg 3 of `Perl_sv_setpv' from incompatible pointer type Config.xs:85: warning: implicit declaration of function `g_free' Config.c: In function `XS_Xmms__Config_write': Config.c:207: error: parse error before "cfg" Config.c:208: error: `gchar' undeclared (first use in this function) Config.c:208: error: `section' undeclared (first use in this function) Config.c:208: error: parse error before ')' token Config.c:209: error: `key' undeclared (first use in this function) Config.c:209: error: parse error before ')' token Config.c:210: error: parse error before ')' token Config.c:214: error: `cfg' undeclared (first use in this function) Config.c:214: error: called object is not a function make[1]: *** [Config.o] Error 1 make[1]: Leaving directory `/root/.cpan/build/Xmms-Perl-0.12/Config' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Bundle summary: The following items in bundle Bundle::Xmms had installation problems: Xmms cpan> -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------