Johnny B.: Probleme beim Installieren eines Moduls

Beitrag lesen

Johnny: Vermutlich hast du mehr Fehler unterschlagen, die noch davor kamen. Ich kann diesmal ganz schlecht aus der Entfernung diagnostizieren und nur vage Vermutungen anstellen.

Ok, ich hab nochmal ganz von vorne angefangen in $HOME/temp. Ich kopiere mal alles, was nach Fehler aussieht. Da kommen ja einige, von manchen wird geschrieben, sie seien nicht so wichtig - mal schauen ob etwas dabei ist, was uns weiterbringt...

<<<<<
Installation prefix to use? (~name ok) [/vivnemhc/local]

AFS does not seem to be running...

In some special cases, particularly when building perl5 for distribution,
it is convenient to distinguish the directory in which files should be
installed from the directory (/vivnemhc/local) in which they will
eventually reside.  For most users, these two directories are the same.

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

Checking for optional libraries...
No -lsfio.
No -lsocket.
No -lbind.
No -linet.
Found -lnsl (shared).
No -lnm.
No -lndbm.
Found -lgdbm (shared).
No -ldbm.
Found -ldb (shared).
No -lmalloc.
Found -ldl (shared).
No -ldld.
No -lld.
No -lsun.
Found -lm (shared).
Found -lcrypt (shared).
No -lsec.
Found -lutil (shared).
Found -lc (shared).
No -lcposix.
No -lposix.
No -lucb.
No -lbsd.
No -lBSD.

In order to compile perl5 on your machine, a number of libraries
are usually needed.  Include any other special libraries here as well.
Say "none" for none.  The default list is almost always right.

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

Shall I use /usr/bin/nm to extract C symbols from the libraries? [n]

<dld.h> NOT found.

Checking for C++...
You are not using a C++ compiler.

dlopen() found.

<unistd.h> found.

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

qgcvt() found.

Checking how to print long doubles...

fwalk() NOT found.

access() found.

<sys/file.h> defines the *_OK access constants.

accessx() NOT found.

aintl() NOT found.

alarm() found.

<pthread.h> found.

<sys/types.h> found.

<sys/select.h> found.

Checking to see if your struct tm has tm_zone field...
Yes, it does.

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

er findet im Verlauf einige Funktionen nicht...

dann sowas wie hier:

*** WHOA THERE!!! ***
    The previous value for $d_drand48_r on this machine was "undef"!
    Keep the previous value? [y]

kommt für viele verschiedene Variablen...

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

Das war's mit den Fehlern bei Configure.
Jetzt kommt make:

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

make
sh  cflags "optimize='-O'" miniperlmain.o  miniperlmain.c
<<< hier mußte ich was löschen, ich wurde für zu geschwätzig gehalten :) >>>
gcc -L/usr/local/lib -o miniperl \             echo   gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o perl.o run.o pp\_hot.o sv.o pp.o scope.o pp\_ctl.o pp\_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp\_pack.o pp\_sort.o  | sed 's/ op.o / /' \             miniperlmain.o opmini.o -lnsl -ldl -lm -lcrypt -lutil -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
./miniperl -Ilib configpm
written lib/Config.pod
updated lib/Config.pm
updated lib/Config_heavy.pl
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
        AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \                 autosplit_lib_modules(@ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \                 autosplit_lib_modules(@ARGV)' lib/*/*.pm
make lib/re.pm
make[1]: Entering directory /vivnemhc/temp/perl-5.10.0' make[1]: lib/re.pm' is up to date.
make[1]: Leaving directory /vivnemhc/temp/perl-5.10.0' ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm cd lib/unicore &&   ../../miniperl -I../../lib mktables -w touch uni.data sh  cflags "optimize='-O'" perlmain.o`  perlmain.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe  -std=c89 -O  -Wall -ansi -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -DPERL_GCC_PEDANTIC

Making DynaLoader (static)
make[1]: Entering directory /vivnemhc/temp/perl-5.10.0/ext/DynaLoader' Makefile out-of-date with respect to ../../lib/Config.pm ../../config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 ../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" "INSTALLMAN3DIR=none" "PERL\_CORE=1" "LIBPERL\_A=libperl.a" opendir(./../../../../..): Permission denied at ../../lib/File/Spec/Unix.pm line 478 opendir(./../../../../..): Permission denied at ../../lib/File/Spec/Unix.pm line 478 Writing Makefile for DynaLoader ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command.  <== false make[1]: \*\*\* [Makefile] Error 1 make[1]: Leaving directory /vivnemhc/temp/perl-5.10.0/ext/DynaLoader'
make config failed, continuing anyway...
make[1]: Entering directory /vivnemhc/temp/perl-5.10.0/ext/DynaLoader' /bin/sh: /miniperl: No such file or directory make[1]: \*\*\* [../../lib/.exists] Error 127 make[1]: Leaving directory /vivnemhc/temp/perl-5.10.0/ext/DynaLoader'
make: *** [DynaLoader.o] Error 2

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

Ja, da ist der Fehler, oder sagen wir mal EIN Fehler. Ich habe dann gemäß den Anweisungen "make" nochmal laufen lassen, bevor ich "make test" gemacht habe.

Ich werde mal schauen, ob ich rausbekomme, wo opendir(./../../../../..) landet, wobei meine Hoffnungen gering sind. Völlig außerstande sehe ich mich "seltsame Permissions" zu entdecken, weiß ich doch nicht, wie "normale Permissions" aussehen, sorry... Huh, eine verzwickte Kiste.

Also für mich kurzes Zwischenfazit:

  • Module per CPAN installieren geht nicht aufgrund von unbekanntem Fehler, der die CPAN-Shell nicht öffnen läßt

  • Module per Perl-Script, welches auf CPAN zugreift, zu installieren, geht nicht, weil das Script abbricht

  • Module per Hand eines nach dem anderen zu installieren geht nicht, da das eine Modul nicht erkennt, wo das bereits installierte, benötigte Modul ist - und es ihm auch nicht gezeigt werden kann, da der Server die enviroment variablen ablehnt

  • Perl selbst neu zu installieren geht nicht aufgrund von unbekanntem Fehler

WAS BLEIBT MIR? Hat irgendjemand noch eine weiterführende Idee?