Re: reinstall PERL
U¿ytkownik "Bulba007" <[EMAIL PROTECTED]> napisa³ w wiadomo¶ci news:[EMAIL PROTECTED] > How to repair Perl instalation on OBSD 3.3 stable? Succes I don't know how, but I have various version Cwd.pm in /usr/libdata/perl5, /usr/libdata/perl5/i36-openbsd/ there must are some bugs in OBSD ports. Where, I don't know. I have about 60 ports installed. B. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reinstall PERL
Bulba007 wrote: 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 419, near "croak "Cannot chdir to $path: $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare croak?) 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 422, near "croak "Cannot chdir back to $cwd: $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare croak?) 2003-08-23 17:43:09 -- syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 364, near "carp "stat($start): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 375, near "carp "opendir($dotdots): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 380, near "carp "stat($dotdots): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 394, near "carp "readdir($dotdots): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 419, near "croak "Cannot chdir to $path: $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 422, near "croak "Cannot chdir back to $cwd: $!"" BEGIN not safe after errors--compilation aborted at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 506. -bash-2.05b# It looks like a problem with Carp.pm. Run your program as: perl -WMCarp program-name and if it still doesn't help, then maybe try reinstalling Carp.pm from CPAN: perl -MCPAN -eshell and write: install Carp Maybe you have some other Carp.pm in your @INC? Carp.pm has to be loaded, since you don't have any error like this: Can't locate Carp.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .). BEGIN failed--compilation aborted. while Cwd.pm has "use Carp" but for some reason its symbols are not being exported properly. This should find every Carp.pm which might be used: perl '-le-f($_="$_/Carp.pm")&&print [EMAIL PROTECTED]' Is there more than one module? Does it look like http://search.cpan.org/src/JHI/perl-5.8.0/lib/Carp.pm? -zsdc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reinstall PERL
U¿ytkownik "zsdc" <[EMAIL PROTECTED]> napisa³ w wiadomo¶ci news:[EMAIL PROTECTED] > Bulba007 wrote: > > > How to repair Perl instalation on OBSD 3.3 stable? > > Well, I guess it depends on, like... what's wrong with it? > > If you want to have a fresh install then get the source from CPAN or > install the prebuilt binaries with whatever packaging system you are using. > > I don't know if my answer is useful, it's quite obvious actually, but > you know, your question is like asking how to repair Corvette 2001 Turbo. OpenBSD 3.3-stable (GENERIC) #0: Thu Jun 5 14:37:12 CEST 2003 Terminal type? [xterm] A lot of program are writing those ugly errors: (eg mrtg) -bash-2.05b# mrtg 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 364, near "carp "stat($start): $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare carp?) 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 375, near "carp "opendir($dotdots): $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare carp?) 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 380, near "carp "stat($dotdots): $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare carp?) 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 394, near "carp "readdir($dotdots): $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare carp?) 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 419, near "croak "Cannot chdir to $path: $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare croak?) 2003-08-23 17:43:09 -- String found where operator expected at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 422, near "croak "Cannot chdir back to $cwd: $!"" 2003-08-23 17:43:09 -- (Do you need to predeclare croak?) 2003-08-23 17:43:09 -- syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 364, near "carp "stat($start): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 375, near "carp "opendir($dotdots): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 380, near "carp "stat($dotdots): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 394, near "carp "readdir($dotdots): $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 419, near "croak "Cannot chdir to $path: $!"" syntax error at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 422, near "croak "Cannot chdir back to $cwd: $!"" BEGIN not safe after errors--compilation aborted at /usr/libdata/perl5/i386-openbsd/5.8.0/Cwd.pm line 506. -bash-2.05b# B. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reinstall PERL
Bulba007 wrote: How to repair Perl instalation on OBSD 3.3 stable? Not very familiar with OBSD. But I think the CPAN.pm module is the best way of upgrading perl. If you can get CPAN -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reinstall PERL
Bulba007 wrote: How to repair Perl instalation on OBSD 3.3 stable? Well, I guess it depends on, like... what's wrong with it? If you want to have a fresh install then get the source from CPAN or install the prebuilt binaries with whatever packaging system you are using. I don't know if my answer is useful, it's quite obvious actually, but you know, your question is like asking how to repair Corvette 2001 Turbo. As the old saying goes, TMTOWTBIsTMTOWTFI -- There's More Than One Way To Break It so There's More Than One Way To Fix It. -zsdc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
reinstall PERL
How to repair Perl instalation on OBSD 3.3 stable? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]