Subject: | Failed make and install! |
Bundle::Xmms
2.6.26.5-45.fc9.x86_64 -- Fedora Core 9
This is perl, v5.10.0 built for x86_64-linux-thread-multi -- perl version
---------------------------------------------------------------
I was trying to let cpan build this module but it came back with an error.
[root@w4rl0ck ~]# perl -MCPAN -e 'install Bundle::Xmms'
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Tue, 14 Oct 2008 22:26:50 GMT
CPAN: YAML loaded ok (v0.66)
Going to read 13 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
............................................................................DONE
Restored the state of 13 (in 0.2148 secs)
Term::ReadKey is up to date (2.30).
Term::ReadLine::Perl is up to date (1.0302).
Term::ANSIColor is up to date (1.12).
MPEG::MP3Info is up to date (0.90).
Running install for module 'Xmms'
Running make for D/DO/DOUGM/Xmms-Perl-0.12.tar.gz
Has already been unwrapped into directory
/root/.cpan/build/Xmms-Perl-0.12-QGhhf3
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
-----------------------------------------------------------------
After this error. i went into the root dir and and tried to manually
make this module and here is the output of the make. It seems like it's
missing a key component to compiling plus it seems it's full of errors.
----------------------------------------------------
[root@w4rl0ck Config]# make
gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DPERL_USE_SAFE_PUTENV -DVERSION=\"0.01\"
-DXS_VERSION=\"0.01\" -fPIC
"-I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE" Config.c
Config.xs:5:29: error: xmms/configfile.h: No such file or directory
Config.xs:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
Config.xs: In function ‘XS_Xmms__Config_file’:
Config.xs:22: warning: implicit declaration of function ‘g_get_home_dir’
Config.xs:22: warning: format ‘%s’ expects type ‘char *’, but argument 3
has type ‘int’
Config.c:39: warning: unused variable ‘self’
Config.xs: In function ‘XS_Xmms__Config_perlfile’:
Config.xs:33: warning: format ‘%s’ expects type ‘char *’, but argument 3
has type ‘int’
Config.c:65: warning: unused variable ‘self’
Config.c: In function ‘XS_Xmms__Config_new’:
Config.c:92: error: ‘gchar’ undeclared (first use in this function)
Config.c:92: error: (Each undeclared identifier is reported only once
Config.c:92: error: for each function it appears in.)
Config.c:92: error: ‘filename’ undeclared (first use in this function)
Config.c:93: error: ‘Xmms__Config’ undeclared (first use in this function)
Config.c:93: error: expected ‘;’ before ‘RETVAL’
Config.c:98: error: expected expression before ‘)’ token
Config.xs:44: error: ‘RETVAL’ undeclared (first use in this function)
Config.xs:46: warning: implicit declaration of function ‘xmms_cfg_open_file’
Config.xs:49: warning: implicit declaration of function ‘xmms_cfg_new’
Config.c:91: warning: unused variable ‘svclass’
Config.c: In function ‘XS_Xmms__Config_DESTROY’:
Config.c:129: error: ‘Xmms__Config’ undeclared (first use in this function)
Config.c:129: error: expected ‘;’ before ‘cfg’
Config.c:133: error: ‘cfg’ undeclared (first use in this function)
Config.c:140: warning: implicit declaration of function ‘xmms_cfg_free’
Config.c: In function ‘XS_Xmms__Config_write_file’:
Config.c:158: error: ‘Xmms__Config’ undeclared (first use in this function)
Config.c:158: error: expected ‘;’ before ‘cfg’
Config.c:159: error: ‘gchar’ undeclared (first use in this function)
Config.c:159: error: ‘filename’ undeclared (first use in this function)
Config.c:159: error: expected expression before ‘)’ token
Config.c:160: error: ‘gboolean’ undeclared (first use in this function)
Config.c:160: error: expected ‘;’ before ‘RETVAL’
Config.c:165: error: ‘cfg’ undeclared (first use in this function)
Config.c:172: error: ‘RETVAL’ undeclared (first use in this function)
Config.c:172: warning: implicit declaration of function
‘xmms_cfg_write_file’
Config.c: In function ‘XS_Xmms__Config_remove_key’:
Config.c:191: error: ‘Xmms__Config’ undeclared (first use in this function)
Config.c:191: error: expected ‘;’ before ‘cfg’
Config.c:192: error: ‘gchar’ undeclared (first use in this function)
Config.c:192: error: ‘section’ undeclared (first use in this function)
Config.c:192: error: expected expression before ‘)’ token
Config.c:193: error: ‘key’ undeclared (first use in this function)
Config.c:193: error: expected expression before ‘)’ token
Config.c:197: error: ‘cfg’ undeclared (first use in this function)
Config.c:204: warning: implicit declaration of function
‘xmms_cfg_remove_key’
Config.c: In function ‘XS_Xmms__Config_read’:
Config.c:222: error: ‘Xmms__Config’ undeclared (first use in this function)
Config.c:222: error: expected ‘;’ before ‘cfg’
Config.c:223: error: ‘gchar’ undeclared (first use in this function)
Config.c:223: error: ‘section’ undeclared (first use in this function)
Config.c:223: error: expected expression before ‘)’ token
Config.c:224: error: ‘key’ undeclared (first use in this function)
Config.c:224: error: expected expression before ‘)’ token
Config.xs:77: error: ‘value’ undeclared (first use in this function)
Config.c:233: error: ‘cfg’ undeclared (first use in this function)
Config.xs:80: warning: implicit declaration of function
‘xmms_cfg_read_string’
Config.xs:85: warning: implicit declaration of function ‘g_free’
Config.c: In function ‘XS_Xmms__Config_write’:
Config.c:267: error: ‘Xmms__Config’ undeclared (first use in this function)
Config.c:267: error: expected ‘;’ before ‘cfg’
Config.c:268: error: ‘gchar’ undeclared (first use in this function)
Config.c:268: error: ‘section’ undeclared (first use in this function)
Config.c:268: error: expected expression before ‘)’ token
Config.c:269: error: ‘key’ undeclared (first use in this function)
Config.c:269: error: expected expression before ‘)’ token
Config.c:270: error: ‘value’ undeclared (first use in this function)
Config.c:270: error: expected expression before ‘)’ token
Config.c:274: error: ‘cfg’ undeclared (first use in this function)
Config.c:281: warning: implicit declaration of function
‘xmms_cfg_write_string’
make: *** [Config.o] Error 1
[root@w4rl0ck Config]#
--------------------------------------------
I know it's this module because i just build two other ones to make sure
it was it. Please email me back when this is fixed.