perl geht net mehr

crash-x

Unregistered User
ich habe seit einigen tagen das problem das echt nix mehr geht. aufeinmal geht irssi net und xmms und und und. Ich glaube das hat was mit perl zutun. wenn ich aber versuche es neuzuinstallieren kommt folgendes:

Some users have reported that Configure halts when testing for
the O_NONBLOCK symbol with a syntax error. This is apparently a
sh error. Rerunning Configure with ksh apparently fixes the
problem. Try
ksh Configure [your options]

Operating system name? [freebsd]
Operating system version? [5.2.1-release-p9]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/lib /usr/local/lib]
What is the file extension used for shared libraries? [so]
Build Perl for SOCKS? [n]
Checking for optional libraries...
What libraries to use? [-ldl -lm -lc -lcrypt -lutil]
What optimizer/debugger flag should be used? [-O -pipe -mcpu=pentiumpro]
Any additional cc flags?
[-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[-Wl,-E -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:

#include <stdio.h>
int main() { printf("Ok\n"); exit(0); }

I used the command:

cc -o try -O -pipe -mcpu=pentiumpro -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -Wl,-E -L/usr/local/lib try.c -ldl -lm -lc -lcrypt -lutil
./try

and I got the following output:

/usr/bin/ld: cannot find -ldl
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
===> Script "Configure" failed unexpectedly.
Please report the problem to tobez@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5/work/perl-5.6.1/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

ich hoffe jemand kann mir helfen danke und mfg
 
So wie es aussieht hängst Du noch bei 5.6.1. Na aber dann husch ab nach /usr/ports/UPDATING und auf 5.8 updaten. Wie es geht steht dort beschrieben. Nicht vergessen die in Abhängigkeit stehenden Ports neu zu bauen. Steht aber auch alles im File.
 
ok danke habs nun versucht aber hab noch immer ein problem
* now, run some magic incantations to upgrade all ports depending on perl,
that is run something like :
portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; \
find /usr/local/lib/perl5/site_perl/5.8.[124] -type f -print0 \
| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
nur funzt das net :/
# portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; \
bquote> find /usr/local/lib/perl5/site_perl/5.8.[124] -type f -print0 \
bquote> | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
zsh: no matches found: /usr/local/lib/perl5/site_perl/5.8.[124]
portupgrade rev.1.226
...

** No package names given.
hmm und ja ich verspreche ab jetz immer die UPDATE zu lesen ;)
 
Zuletzt bearbeitet:
crash-x schrieb:
ok danke habs nun versucht aber hab noch immer ein problem

nur funzt das net :/
Hast Du das genauso in ein $TERM gepastet? Wahrscheinlich mit den Backslashes "\" Die stellen nur den Zeilenumbruch dar. Nimm die raus und dann geht es. Also so als wenn das ganz in einer Zeile stehen würde.
 
hmm jetz nachm reboot gehts, hatte es davor mit den \ und auch ohne probiert ging net, und nu gehts :) danke :)
 
Zurück
Oben