Schrift
[thread]13066[/thread]

Errormeldung bei Installation von Perl

Leser: 2


<< >> 5 Einträge, 1 Seite
Gast Gast
 2009-01-28 16:05
#118422 #118422
Guten Tag,

Ich hab folgendes Problem:

Ich arbeite mit Solaris 10 und wollte darauf Perl installieren. Es ist ein 64Bit Server, darum habe Perl so ausgeführt sodass er mir ein 64Bit Perl macht.

Code: (dl )
./Configure -Dcc=gcc -des -Duse64bitall -Aldflags="-mcpu=v9 -m64" -Alddlflags="-mcpu=v9 -m64 -G"


Das ganze lief schön durch ohne Errormeldung. Beim ausführen des makes gibt er mir nun jedoch ein Error:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
make[1]: Leaving directory `/tmp/perl-5.8.9/ext/DynaLoader'
rm -f libperl.a
/usr/X11/lib/X11/xkb/symbols/ar rcu libperl.a gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o perl.o runo 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 perapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o DynaLoader.o
/usr/X11/lib/X11/xkb/symbols/ar: //: cannot execute
/usr/X11/lib/X11/xkb/symbols/ar: //: cannot execute
/usr/X11/lib/X11/xkb/symbols/ar: partial: not found
/usr/X11/lib/X11/xkb/symbols/ar: xkb_symbols: not found
/usr/X11/lib/X11/xkb/symbols/ar: name[Group2]=: not found
/usr/X11/lib/X11/xkb/symbols/ar: //: cannot execute
/usr/X11/lib/X11/xkb/symbols/ar: //: cannot execute
/usr/X11/lib/X11/xkb/symbols/ar: key: not found
/usr/X11/lib/X11/xkb/symbols/ar: key: not found
/usr/X11/lib/X11/xkb/symbols/ar: key: not found
/usr/X11/lib/X11/xkb/symbols/ar: //: cannot execute
/usr/X11/lib/X11/xkb/symbols/ar: //: cannot execute
/usr/X11/lib/X11/xkb/symbols/ar: modifier_map: not found
/usr/X11/lib/X11/xkb/symbols/ar: modifier_map: not found
/usr/X11/lib/X11/xkb/symbols/ar: syntax error at line 74: `}' unexpected
make: *** [libperl.a] Error 2



Was muss ich hier machen damit das ganze funktioniert?


Gruss
murphy
 2009-01-28 17:11
#118432 #118432
User since
2004-07-19
1776 Artikel
HausmeisterIn
[Homepage]
user image
Gast+2009-01-28 15:05:05--
Code: (dl )
1
2
3
[...]
/usr/X11/lib/X11/xkb/symbols/ar rcu libperl.a gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o perl.o runo 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 perapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o DynaLoader.o
[...]

[...]
Was muss ich hier machen damit das ganze funktioniert?
[...]


Ich wuerde sagen, es koennte helfen, wenn man mal das Programm zum erzeugen statischer Bibliotheken ausfuehrt, anstatt zu versuchen, ein X-Keyboardlayout als Programm zu starten ;-)

/usr/X11/lib/X11/xkb/symbols/ar ist ziemlich sicher nicht das, was hier ausgefuehrt werden sollte. Das gewuenschte Programm heisst vermutlich eher /usr/bin/ar.

Du solltest also erstmal ueberpruefen, wie Deine PATH Umgebungsvariable gesetzt ist und ausserdem das Executableflag von den X-Keyboardlayouts entfernen. Wenn das nix hilft, kannst Du vielleicht dem Configure Skript von Perl sagen, wo es den statischen Archiver finden kann, vermutlich mit ./Configure -Dar=/usr/bin/ar ... oder so aehnlich.
When C++ is your hammer, every problem looks like your thumb.
Gast Gast
 2009-02-02 09:35
#118569 #118569
Hallo,

Danke erstmal für die Antwort.

Also das "ar" gibt es noch in folgenden Verzeichnissen:

Code: (dl )
1
2
3
/usr/X11/lib/X11/xkb/symbols/ar
/usr/ccs/bin/ar
/tmp/perl-5-8.9/qnx/ar ( Installations Verzeichnis )


PATH sollte eigentlich auch gesetzt sein:

Code: (dl )
1
2
3
4
5
6
PATH=/usr/sbin:/usr/bin:/opt/sfw/bin:/opt/OV/bin:/opt/OV/bin/OpC
:/usr/openwin/bin:/usr/platform/SUNW,Sun-Blade-T6320/sbin:/usr/local
:/usr/local/bin:/usr/sfw/bin:/usr/sfw/lib:/usr/ucb:/usr/lib
:/usr/X11/lib/X11/xkb/symbols:/usr/ccs/bin:/usr/lib/vfs/2.0/extfs
:/usr/openwin/lib/locale:/usr/sfw/sparc-sun-solaris2.10/bin:/usr/xpg4/bin
:/opt/oracle/product/10.2.0/bin


Perlversion ist 5.8.9, also müsste man Configure iwie anpassen?

Danke und Gruss
Taulmarill
 2009-02-02 12:57
#118574 #118574
User since
2004-02-19
1750 Artikel
BenutzerIn

user image
Auf Solaris sollte man /usr/ccs/bin in den Pfad aufnehmen und relativ weit hoch schieben. Nicht nur bei Perl sondern auch bei anderer Software kann es sonst problematisch beim compilieren werden.

Eine gute Quelle für fertig gebaute Software für Solaris ist übrigens http://sunfreeware.com/.
$_=unpack"B*",~pack"H*",$_ and y&1|0& |#&&print"$_\n"for@.=qw BFA2F7C39139F45F78
0A28104594444504400 0A2F107D54447DE7800 0A2110453444450500 73CF1045138445F4800 0
F3EF2044E3D17DE 8A08A0451412411 F3CF207DF41C79E 820A20451412414 83E93C4513D17D2B
murphy
 2009-02-02 13:49
#118577 #118577
User since
2004-07-19
1776 Artikel
HausmeisterIn
[Homepage]
user image
Gast+2009-02-02 08:35:35--
[...]
Code: (dl )
PATH=[...]:/usr/X11/lib/X11/xkb/symbols:/usr/ccs/bin:[...]

[...]


Wie ich bereits in meinem letzten Beitrag vermutete, ist das Problem ganz offensichtlich folgendes: /usr/X11/lib/X11/xkb/symbols hat ziemlich sicher nichts in der PATH-Variable zu suchen und ausserdem sollte /usr/X11/lib/X11/xkb/symbols/ar ganz bestimmt nicht ausfuehrbar sein.

Zudem hat Taulmarill wohl recht, dass /usr/css/bin vielleicht weiter vorne in PATH stehen sollte.

Wenn Du diese Probleme behebst, ist es vermutlich nicht noetig, irgendetwas am Aufruf des Konfigurationsskriptes zu aendern. Alternativ kannst Du vermutlich auch dem Konfigurationsskript beibringen, dass es /usr/css/bin/ar benutzen soll.
When C++ is your hammer, every problem looks like your thumb.
<< >> 5 Einträge, 1 Seite



View all threads created 2009-01-28 16:05.