Professional Web Applications Themes
  1. #1

    Default reinstall PERL

    How to repair Perl instalation on OBSD 3.3 stable?



    Bulba007 Guest

  2. #2

    Default 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.

    Zsdc Guest

  3. #3

    Default Re: reinstall PERL

    Użytkownik "zsdc" <zsdc@wp.pl> napisał w wiadomości
    news:3F4714EE.70701@wp.pl...
    > 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.



    Bulba007 Guest

  4. #4

    Default 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 for@INC'

    Is there more than one module? Does it look like
    [url]http://search.cpan.org/src/JHI/perl-5.8.0/lib/Carp.pm?[/url]

    -zsdc.

    Zsdc Guest

  5. #5

    Default Re: reinstall PERL


    Użytkownik "Bulba007" <bulba007@wp.pl> napisał w wiadomości
    news:bi6djp$h5q$1@sea.gmane.org...
    > 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.





    Bulba007 Guest

Similar Threads

  1. Help reinstall
    By Tony in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: July 3rd, 07:32 PM
  2. RE : [Perl-beginners] How to reinstall CPAN?
    By Steve Hemond in forum PERL Beginners
    Replies: 0
    Last Post: February 4th, 08:16 PM
  3. [Perl-beginners] How to reinstall CPAN?
    By Remko Lodder in forum PERL Beginners
    Replies: 0
    Last Post: February 4th, 08:15 PM
  4. Reinstall on new PC
    By Joan Strausbaugh in forum Adobe Photoshop Elements
    Replies: 1
    Last Post: August 31st, 05:27 PM
  5. Do I need to reinstall?
    By Peter T. Breuer in forum Linux Setup, Configuration & Administration
    Replies: 10
    Last Post: August 22nd, 01:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139