Newsgroup: it.comp.os.linux.iniziare
Titolo: problema con script perl per xchat

Avevo trovato su internt ( 
http://atheism-v2.sourceforge.net/
 ) uno script
che faceva proprio al caso mio... solo che non riesco proprio a
installarlo!
sia che provi a usare il metodo da loro consigliato (lanciare perl -MCPAN
-e 'install Bundle::Xmms' )
che a farlo da solo (scaricandomi il tar.gz e facendo perl Makefile.PL,
make e make install) mi si blocca, dando questi errori
[root@localhost Xmms-Perl-0.12]# perl Makefile.PL Writing Makefile for
Xmms::Config
Writing Makefile for Xmms::Remote
Writing Makefile for Xmms::SongChange Writing Makefile for Xmms-Perl
[root@localhost Xmms-Perl-0.12]# make cp lib/Xmms.pm blib/lib/Xmms.pm
cp lib/Xmms/ExtUtils.pm blib/lib/Xmms/ExtUtils.pm cp lib/Bundle/Xmms.pm
blib/lib/Bundle/Xmms.pm make[1]: Entering directory
`/home/zed/Desktop/Xmms-Perl-0.12/Config' cp Config.pm
../blib/lib/Xmms/Config.pm /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux
-I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap Config.xs > Config.xsc && mv
Config.xsc Config.c cc -c -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-fno-strict-aliasing -I/usr/local/include -O3 -fomit-frame-pointer -pipe
-mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce  
-DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic
-I/usr/lib/perl5/5.6.1/i386-linux/CORE  Config.c Config.xs:5:29:
xmms/configfile.h: No such file or directory Config.xs:7: parse error
before `*'
Config.xs:7: warning: data definition has no type or storage class
Config.c: In function `XS_Xmms__Config_new': Config.c:67: `gchar'
undeclared (first use in this function) Config.c:67: (Each undeclared
identifier is reported only once Config.c:67: for each function it appears
in.) Config.c:67: `filename' undeclared (first use in this function)
Config.c:68: parse error before `RETVAL' Config.c:73: parse error before
`)'
Config.xs:44: `RETVAL' undeclared (first use in this function) Config.c:
In function `XS_Xmms__Config_DESTROY': Config.c:97: parse error before
`cfg' Config.c:101: `cfg' undeclared (first use in this function)
Config.c:101: called object is not a function Config.c: In function
`XS_Xmms__Config_write_file': Config.c:117: parse error before `cfg'
Config.c:118: `gchar' undeclared (first use in this function)
Config.c:118: `filename' undeclared (first use in this function)
Config.c:118: parse error before `)'
Config.c:119: `gboolean' undeclared (first use in this function)
Config.c:119: parse error before `RETVAL' Config.c:124: `cfg' undeclared
(first use in this function) Config.c:124: called object is not a function
Config.c:129: `RETVAL' undeclared (first use in this function)
Config.c:130: `targ' undeclared (first use in this function) Config.c: In
function `XS_Xmms__Config_remove_key': Config.c:141: parse error before
`cfg' Config.c:142: `gchar' undeclared (first use in this function)
Config.c:142: `section' undeclared (first use in this function)
Config.c:142: parse error before `)'
Config.c:143: `key' undeclared (first use in this function) Config.c:143:
parse error before `)'
Config.c:147: `cfg' undeclared (first use in this function) Config.c:147:
called object is not a function Config.c: In function
`XS_Xmms__Config_read': Config.c:163: parse error before `cfg'
Config.c:164: `gchar' undeclared (first use in this function)
Config.c:164: `section' undeclared (first use in this function)
Config.c:164: parse error before `)'
Config.c:165: `key' undeclared (first use in this function) Config.c:165:
parse error before `)'
Config.xs:77: `value' undeclared (first use in this function)
Config.c:170: parse error before `*'
Config.c:174: `cfg' undeclared (first use in this function) Config.c:174:
called object is not a function Config.xs:83: `RETVAL' undeclared (first
use in this function) Config.c: In function `XS_Xmms__Config_write':
Config.c:199: parse error before `cfg' Config.c:200: `gchar' undeclared
(first use in this function) Config.c:200: `section' undeclared (first use
in this function) Config.c:200: parse error before `)'
Config.c:201: `key' undeclared (first use in this function) Config.c:201:
parse error before `)'
Config.c:202: `value' undeclared (first use in this function)
Config.c:202: parse error before `)'
Config.c:206: `cfg' undeclared (first use in this function) Config.c:206:
called object is not a function make[1]: *** [Config.o] Error 1
make[1]: Leaving directory `/home/zed/Desktop/Xmms-Perl-0.12/Config' make:
*** [subdirs] Error 2
che cosa devo fare???
-- 
ZeD
Io, solo io, sempre io, anche io, nient' altro che io, proprio io

 
Installare il pacchetto xmms-develop.
ciao
Ale

Scusa, Alessandro Boggiano, ma ci sei o ci fai?

ma l' ho fatto!!! (xmms-devel-1.2.7-4.i386.rpm scaricato da rpmfind!)
e il file configfile.h si trova in /usr/X11R6/include/xmms/
