Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2011
    Posts
    1

    Unhappy Unanswered: Error installing DBI perl module AIX

    I've successfully run a "make test" for DBI on a system with perl 5.2.8.

    When I attempt the same thing on an AIX system with perl 5.8.8, I get errors and a core file starting with this message:

    # Failed test 'null: DBD::Gofer::db selectall_arrayref failed: No write permission to sdbm file at /tmp/install/DBI-1.616/blib/lib/DBD/DBM.pm line 429. at /tmp/install/DBI-1.616/blib/lib/DBI/DBD/SqlEngine.pm line 795; DBD:BM::st execute failed [for Statement "SELECT dKey, dVal FROM fruit ORDER BY dKey"] at /tmp/install/DBI-1.616/blib/lib/DBI/Gofer/Execute.pm line 451. [for Statement "SELECT dKey, dVal FROM fruit ORDER BY dKey"] at ./t/85gofer.t line 181.

    I've checked both systems, and the permissions on those files appear to be the same- which is -r--r--r--

    Any solutions out there?

    thanks
    Kenny

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    I've done Perl for more than a decade & must have installed it around 100 times.
    I have never seen anything like you posted & don't have any suggestion for a possible remedy.
    I doubt you'll get any meaningful response from here so Good Luck!
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Dec 2011
    Posts
    1

    I also have this issue.

    I have this same issue. Did you ever figure out what was causing the issue. I have uploaded my logs, hopefully someone may have some insight into this issue.

    Here is my circumstance:

    I am trying to install DBI through CPAN on a Solaris 10 machine. (I have a local CPAN repository that I install from since there are firewalls).

    Perl - 5.14.2
    GCC - 3.4.6
    CPAN - 1.98
    DBI - 1.616

    When running make DBI:

    The only thing that jumps out at me is the DBIxs warning in the make, unless some of the default flags are wrong or maybe somehow a library isn't included since the perl we are using is in a non-standard directory, but it seems like everything went okay during the make.

    See DBI-make.txt attachement for log

    Running test DBI:

    This causes several failures which led me to this site. I haven't found a solution documenting this issue on any website that I have been searching for regarding this issue.

    Which makes me think that this issue may stem from some other problem locally to my machine... Maybe it could be some missing library or something, but I didn't see anything get flagged. Or maybe perl was incorrectly installed with missing parameters? Someone else had done the perl install. Either way, here is the log output for test DBI.

    See DBI-test.txt attachement for log

    Any insight or reply would be very much appreciated.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    place below into file, like testDBD.pl
    Code:
    #use strict;
    use CGI::Carp qw{fatalsToBrowser};
    use DBI;
    @data_sources = DBI->data_sources('Oracle');
    $i = 0;
    while (defined $data_sources[$i]) {
      print ("-->$data_sources[$i]\n");
      $i++;
    }
    then do as below
    bcm@bcm-laptop:~/old$ perl testDBD.pl
    -->dbi:Oracle:V112
    -->dbi:Oracle:v112
    bcm@bcm-laptop:~/old$
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Tags for this Thread

Posting Permissions

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