[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl-modules(sem anexos)



Ciao meu povo, agora tou eu na corda ..
Alguem tem experiencia com a installacao dos perl-modules
Preciso instalar os seguintes modulos
Tk
X11::Motif
Term::Gnuplot
PostScript::Simple
PostScript::Graph
PostScript::File
GDS2
Bit::Vector
Statistics::Descriptvive
Statistics::Descriptvive::Discrete
Storable

ja li :

man perl
man cpan
man cpanp

http://search.cpan.org/~jhi/perl-5.8.0/pod/perlmodinstall.pod
http://www.cpan.org/modules/by-module/CPAN/CPAN-1.76.readme

pesquisei :

http://www.google.ch/search?q=%22perl+-MCPAN+-e+%27shell%27+%22
http://www.google.ch/search?num=100&hl=de&q=%22perl+modules+debian%22
http://www.google.ch/search?num=100&hl=de&q=perl+modules+debian

(etc ..)


sequi passo a passo as instrucoes (sic)

testei com o cpan, com o cpanp e  manualmente

ate agora nao consegui instalar nada, digo e repito nada..

saidas de comando:

# perl Makefile.PL
em Tk-804.027:

/usr/bin/perl is installed in /usr/lib/perl/5.8 okay
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.so.6.2
PPM for perl5.008004
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
TZ gettimeofday()
Cannot find X include files via /usr/X11R6/include
Cannot find X include files anywhere at ./myConfig line 332.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 38.

-----------------------------------
# cpanp -i Tk
CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.03)
*** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>.
*** Using CPANPLUS::Backend v0.049. ReadLine support suppressed in batch mode.

Installing: Tk
Module Tk already up to date; won't install without force!
Problem installed one or more modules
*** You can view the complete error buffer by pressing 'p' ***

Exiting CPANPLUS shell

# (tudo bem ta instalado, mas porque nao funcionou manualmente??)

+++++++++++++++++++++++++++++++++++++++++++++

# make test
em X11-Motif-1.1b3:

make[1]: Entering directory `/root/perl-modules/X11-Motif-1.1b3/Lib'
cc -c -I. -I/usr/openwin/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"1\" -DXS_VERSION=\"1\" -fPIC "-I/usr/lib/perl/5.8/CORE" Lib.c
make[1]: Leaving directory `/root/perl-modules/X11-Motif-1.1b3/Lib'
In Datei, eingefügt von Lib.xs:6:
x-api.h:6:22: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
x-api.h:7:23: X11/Xutil.h: Datei oder Verzeichnis nicht gefunden
x-api.h:8:27: X11/Xresource.h: Datei oder Verzeichnis nicht gefunden
Lib.xs: In Funktion »XS_X_is_integer«:
Lib.xs:18: error: `sv_yes' undeclared (first use in this function)
Lib.xs:18: error: (Each undeclared identifier is reported only once
Lib.xs:18: error: for each function it appears in.)
Lib.xs:18: error: `sv_no' undeclared (first use in this function)
Lib.xs: In Funktion »XS_X_is_real«:
Lib.xs:26: error: `sv_yes' undeclared (first use in this function)
Lib.xs:26: error: `sv_no' undeclared (first use in this function)
Lib.xs: In Funktion »XS_X_is_numeric«:
Lib.xs:34: error: `sv_yes' undeclared (first use in this function)
Lib.xs:34: error: `sv_no' undeclared (first use in this function)
Lib.xs: In Funktion »XS_X_is_string«:

(... e Assim vai 5 minutos...)

Lib.c:13788: error: `w' undeclared (first use in this function)
Lib.c: In Funktion »XS_X__Time_delta«:
Lib.c:13807: error: `Time' undeclared (first use in this function)
Lib.c:13807: error: Fehler beim Parsen before "a"
Lib.c:13813: error: `a' undeclared (first use in this function)
make[1]: *** [Lib.o] Fehler 1
make: *** [subdirs] Fehler 2

------------------------------
#cpanp -i X11::Motif
CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.03)
*** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>.
*** Using CPANPLUS::Backend v0.049. ReadLine support suppressed in batch mode.

Installing: X11::Motif

Signature bad for CHECKSUM! in CPANPLUS::Internals::Source::_get_checksums at Fri Mar 18 14:38:45 2005 at /usr/share/perl5/CPANPLUS/Internals/Source.pm line 791 MD5 sums did not add up for X11-Motif-1.1b3.tar.gz in CPANPLUS::Internals::Install::_check_md5 at Fri Mar 18 14:38:45 2005 at /usr/share/perl5/CPANPLUS/Internals/Install.pm line 551 Checksums did not match for /var/cache/cpanplus/authors/id/K/KE/KENFOX/X11-Motif-1.1b3.tar.gz in CPANPLUS::Internals::Install::_install_module at Fri Mar 18 14:38:45 2005 at /usr/share/perl5/CPANPLUS/Internals/Install.pm line 121 Installing X11::Motif failed! in CPANPLUS::Backend::install at Fri Mar 18 14:38:45 2005 at /usr/share/perl5/CPANPLUS/Backend.pm line 255
Error installed X11::Motif
Problem installed one or more modules
*** You can view the complete error buffer by pressing 'p' ***

Exiting CPANPLUS shell

-----------------

Alguem tem uma luz ai prum pobre demonio das trevas perdido pelo vale das sombras ??

[]ś


--
To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Reply to: