I have a need to install CGI::Session in my home directory and I am having issues with that when I run 'make test'.

Also, whenever I try to install new modules and hit the 'make' command, it brings up error messages asking for certain prerequisite modules to be installed. Then, I have to get and install them from CPAN. Sometimes, it gets to 4 levels or more, which is frustrating. Is this how we go about installing new modules?

Below is the error message i get with CGI::Session but I was still able to install the module despite these errors. Should I go ahead and try the code if it works or get rid of the errors before trying anything?

make test PERL_DL_NONLAZY=1 /pgesys/bin/perl -Iblib/arch -Iblib/lib -I/n +et/opt/perl/lib/5.6.1/PA-RISC2.0 -I/net/opt/perl/lib/5.6.1 -e 'use Te +st::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*. +t t/api3_db_file......skipped: DB_File not available t/api3_db_file_freezethaw.skipped: DB_File not available t/api3_db_file_storable.skipped: DB_File not available t/api3_db_file_storable_incr.skipped: DB_File not available t/api3_file.........ok + t/api3_file_freezethaw.skipped: FreezeThaw not available t/api3_file_freezethaw_incr.skipped: FreezeThaw not available t/api3_file_storable.skipped: Storable not available t/api3_file_storable_incr.skipped: Storable not available t/api3_incr.........ok + t/api3_obj_store....skipped test on this platform t/api3_obj_store_db_file.skipped: DB_File is not available t/cgi_simple........skipped: CGI::Simple not installed, so skipping re +lated tests. t/complex_ds........ok + t/driver_dbi........FAILED tests 1-3 + Failed 3/3 tests, 0.00% okay t/expire............FAILED tests 1-6 + Failed 6/6 tests, 0.00% okay t/flush.............FAILED tests 1-2 + Failed 2/2 tests, 0.00% okay t/g4................ok + t/g4_dbfile.........skipped: DB_File is NOT available t/g4_dbfile_freezethaw.skipped: DB_File is NOT available t/g4_dbfile_storable.skipped: DB_File is NOT available t/g4_freezethaw.....skipped: FreezeThaw is NOT available t/g4_mysql..........Use of uninitialized value in join or string at /net/opt/perl/lib/site_perl/5.6.1/PA-RISC2.0/DBI.pm line 383 ( +#1) (W uninitialized) An undefined value was used as if it were alread +y defined. It was interpreted as a "" or a 0, but maybe it was a mi +stake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what ope +ration you used the undefined value in. Note, however, that perl optimiz +es your program and the operation displayed in the warning may not necessa +rily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer +to the concatenation (.) operator, even though there is no . in your program. Can't read $DBI::errstr, last handle unknown or destroyed at t/g4_mysq +l.t line 45. skipped: Couldn't establish connection with the MySQL server: Can't co +nnect( user HASH(0x40010b40)), no database driver specified and DBI_ +DSN env var not set at t/g4_mysql.t line 43 t/g4_mysql_freezethaw.skipped: FreezeThaw is NOT available t/g4_mysql_storable.skipped: Storable is NOT available t/g4_postgresql.....skipped: DataSource is not known t/g4_postgresql_freezethaw.skipped: DataSource is not known t/g4_postgresql_storable.skipped: DataSource is not known t/g4_sqlite.........skipped: DBD::SQLite is NOT available t/g4_sqlite_freezethaw.skipped: DBD::SQLite is NOT available t/g4_sqlite_storable.skipped: DBD::SQLite is NOT available t/g4_storable.......skipped: Storable is NOT available t/header............FAILED tests 1-2 + Failed 2/2 tests, 0.00% okay t/ip_matches........FAILED tests 1-18 + Failed 18/18 tests, 0.00% okay t/is_new............FAILED tests 1-4 + Failed 4/4 tests, 0.00% okay t/load..............FAILED tests 1-4 + Failed 4/4 tests, 0.00% okay t/parse_dsn.........ok + t/remote_addr.......ok + t/str2seconds.......FAILED tests 1-9 + Failed 9/9 tests, 0.00% okay Failed Test Status Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +-------------------------------------------------- t/driver_dbi.t 3 3 100.00% 1-3 t/expire.t 6 6 100.00% 1-6 t/flush.t 2 2 100.00% 1-2 t/header.t 2 2 100.00% 1-2 t/ip_matches.t 18 18 100.00% 1-18 t/is_new.t 4 4 100.00% 1-4 t/load.t 4 4 100.00% 1-4 t/str2seconds.t 9 9 100.00% 1-9 25 tests skipped. Failed 8/39 test scripts, 79.49% okay. 48/194 subtests failed, 75.26% +okay. *** Error exit code 255 Stop.

READMORE tags added by Arunbear


In reply to Issues Installing CGI:Session by sara2005

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.