Professional Web Applications Themes

cgi.pm install problem on windows 2000 - PERL Modules

Hello. I'm running a Windows 2000 Server with IIS 5. i've got activestate perl v.5.8.7 installed. I also have MySQL 5 installed and running as well. I'd like to use Myadmin to administer my databases. I've installed cgi.pm as needed by myadmin and I can't get install to work. Make seems to go ok (I'm using nmake15), but make install dies with: Array found where operator expected at C:/Perl/lib/Carp.pm line 424, at end of line (Do you need to predeclare Carp::longmess?) Array found where operator expected at C:/Perl/lib/Carp.pm line 425, at end of line (Do you need to predeclare Carp::shortmess?) ...

  1. #1

    Default cgi.pm install problem on windows 2000

    Hello.

    I'm running a Windows 2000 Server with IIS 5. i've got activestate perl
    v.5.8.7 installed. I also have MySQL 5 installed and running as well.
    I'd like to use Myadmin to administer my databases. I've installed
    cgi.pm as needed by myadmin and I can't get install to work. Make seems
    to go ok (I'm using nmake15), but make install dies with:

    Array found where operator expected at C:/Perl/lib/Carp.pm line 424, at
    end of line
    (Do you need to predeclare Carp::longmess?)
    Array found where operator expected at C:/Perl/lib/Carp.pm line 425, at
    end of line
    (Do you need to predeclare Carp::shortmess?)
    Array found where operator expected at C:/Perl/lib/Carp.pm line 426, at
    end of line
    (Do you need to predeclare Carp::shortmess?)
    Array found where operator expected at C:/Perl/lib/Carp.pm line 427, at
    end of line
    (Do you need to predeclare Carp::longmess?)
    syntax error at C:/Perl/lib/Carp.pm line 424, near "Carp::longmess _"
    syntax error at C:/Perl/lib/Carp.pm line 425, near "Carp::shortmess _"
    syntax error at C:/Perl/lib/Carp.pm line 426, near "Carp::shortmess _"
    syntax error at C:/Perl/lib/Carp.pm line 427, near "Carp::longmess _"
    Compilation failed in require at C:/Perl/lib/warnings.pm line 134.
    BEGIN failed--compilation aborted at C:/Perl/lib/warnings.pm line 134.
    Compilation failed in require at
    C:/Perl/site/lib/ActivePerl/DocTools.pm line 4.
    BEGIN failed--compilation aborted at
    C:/Perl/site/lib/ActivePerl/DocTools.pm line 4.
    Compilation failed in require.
    BEGIN failed--compilation aborted.

    Is there a way to load CGI.pm on Windows without running the installer?
    Or if not, how can I deal with this error?

    Thanks.

    Michael

    salmonsm Guest

  2. #2

    Default Re: cgi.pm install problem on windows 2000


    "salmonsm" <salmonsmmissouri.edu> wrote in message
    news:1141336287.134470.40590t39g2000cwt.googlegro ups.com...
    > Hello.
    >
    > I'm running a Windows 2000 Server with IIS 5. i've got activestate perl
    > v.5.8.7 installed.
    ActiveState perl already has the CGI module. You shouldn't ned to do
    anything other than 'use CGI;' in your scripts.

    If you intend to use nmake, you would be better off getting a more recent
    version.
    It should be available via Microsoft Visual Studio .NET 2003 or the
    Microsoft .NET Framework SDK . Both are free downloads - the latter can be
    obtained from:
    [url]http://msdn.microsoft.com/netframework[/url]

    If that doesn't contain nmake, try googling for the former.

    Cheers,
    Rob



    Sisyphus Guest

  3. #3

    Default Re: cgi.pm install problem on windows 2000

    Rob,

    Thanks for your reply. I tried just letting things be and loaded up
    myadmin.cgi in a browser. Interstingly, I got pretty much the same
    error message I saw when trying to load CGI.pm:

    CGI Error
    The specified CGI application misbehaved by not returning a complete
    set of HTTP headers. The headers it did return are:


    Array found where operator expected at c:/Perl/lib/Carp.pm line 424, at
    end of line
    (Do you need to predeclare Carp::longmess?)
    Array found where operator expected at c:/Perl/lib/Carp.pm line 425, at
    end of line
    (Do you need to predeclare Carp::shortmess?)
    Array found where operator expected at c:/Perl/lib/Carp.pm line 426, at
    end of line
    (Do you need to predeclare Carp::shortmess?)
    Array found where operator expected at c:/Perl/lib/Carp.pm line 427, at
    end of line
    (Do you need to predeclare Carp::longmess?)
    syntax error at c:/Perl/lib/Carp.pm line 424, near "Carp::longmess _"
    syntax error at c:/Perl/lib/Carp.pm line 425, near "Carp::shortmess _"
    syntax error at c:/Perl/lib/Carp.pm line 426, near "Carp::shortmess _"
    syntax error at c:/Perl/lib/Carp.pm line 427, near "Carp::longmess _"

    The reason I felt the need to load CGI.pm to begin with is myadmin
    reported it as missing when I first tried it out. I guess I will try a
    new install of activestate and try again.

    salmonsm Guest

  4. #4

    Default Re: cgi.pm install problem on windows 2000


    "salmonsm" <salmonsmmissouri.edu> wrote in message
    news:1141417682.988876.192990e56g2000cwe.googlegr oups.com...
    > Rob,
    >
    > Thanks for your reply. I tried just letting things be and loaded up
    > myadmin.cgi in a browser. Interstingly, I got pretty much the same
    > error message I saw when trying to load CGI.pm:
    There's no error about being unable to find CGI.pm - which would indicate
    that (assuming an attempt has been made to load Carp.pm) it was found.
    >
    > CGI Error
    > The specified CGI application misbehaved by not returning a complete
    > set of HTTP headers. The headers it did return are:
    >
    >
    > Array found where operator expected at c:/Perl/lib/Carp.pm line 424, at
    > end of line
    > (Do you need to predeclare Carp::longmess?)
    > Array found where operator expected at c:/Perl/lib/Carp.pm line 425, at
    > end of line
    > (Do you need to predeclare Carp::shortmess?)
    > Array found where operator expected at c:/Perl/lib/Carp.pm line 426, at
    > end of line
    > (Do you need to predeclare Carp::shortmess?)
    > Array found where operator expected at c:/Perl/lib/Carp.pm line 427, at
    > end of line
    > (Do you need to predeclare Carp::longmess?)
    > syntax error at c:/Perl/lib/Carp.pm line 424, near "Carp::longmess _"
    > syntax error at c:/Perl/lib/Carp.pm line 425, near "Carp::shortmess _"
    > syntax error at c:/Perl/lib/Carp.pm line 426, near "Carp::shortmess _"
    > syntax error at c:/Perl/lib/Carp.pm line 427, near "Carp::longmess _"
    >
    Those errors make no sense - Carp.pm doesn't contain 424 lines on my AS perl
    5.8.7 (build 815):

    E:\>perl -e "open RD, 'C:/perl/lib/Carp.pm' or die $!;while(<RD>){};print
    $.;close RD or die $!"

    For me that prints 274, indicating that Carp.pm contains only 274 lines.

    If the re-install doesn't fix the problem, you might want to start with a
    smaller and simpler test script.

    Cheers,
    Rob


    Sisyphus Guest

Similar Threads

  1. Acrobat Distiller Printer Doesn't Install With Windows 2000
    By Rene_Wagner@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 5
    Last Post: April 28th, 02:36 PM
  2. Replies: 1
    Last Post: December 19th, 05:27 AM
  3. eGroupWare - Newbie Needs Help with Windows 2000 install
    By Charlie in forum PHP Development
    Replies: 1
    Last Post: October 16th, 01:56 PM
  4. Eclipse install problem windows 2000 or XP
    By Jerome Hauss in forum Ruby
    Replies: 0
    Last Post: September 15th, 11:54 AM
  5. Windows XP pro and Windows 2000 server Problem
    By Kris in forum Windows Setup, Administration & Security
    Replies: 0
    Last Post: June 30th, 03:23 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