Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2004
    Location
    Mexico
    Posts
    4

    Unanswered: Problems to install DBD-mysql-2.9003

    Hi.

    I want to install the DBD-mysql-2.9003 module in a Ultra SPARC (SunBlade 100) con Solaris 8 (5.8) with perl 5.00803.


    # /usr/ccs/bin/make
    gcc -B/usr/ccs/bin/ -c -I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI -I/usr/local/mysql/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE" dbdimp.c
    sh: gcc: not found
    *** Error code 1
    make: Fatal error: Command failed for target `dbdimp.o'


    I need help to fix this error.

    Thanks..

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    The error message means that you need to install GNU C. This can be caused by failure to install gcc, or installing gcc into a nonstandard directory.

    If you didn't install gcc, you need to! If you have installed gcc, you need to correct the path in the make file.

    -PatP

  3. #3
    Join Date
    Apr 2004
    Location
    Mexico
    Posts
    4

    Thank's

    I corrected the gcc path and i didn't get more errors.

    thanks for your help.

  4. #4
    Join Date
    Apr 2004
    Location
    Mexico
    Posts
    4

    test

    Now in the make test display this message .

    make: Fatal error: Command failed for target `test_dynamic'

  5. #5
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    I don't have your make file. Without at least the offending line(s), I can't help. Sorry!

    -PatP

  6. #6
    Join Date
    Apr 2004
    Location
    Mexico
    Posts
    4

    Make test lines

    These are some of the offending lines.
    but the rest of them have the same error except the LAST lines.

    # /usr/ccs/bin/make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/00base...........install_driver(mysql) failed: Can't load '/opt/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file /opt/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so: symbol net_buffer_length: referenced symbol not found at /usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
    at (eval 1) line 3
    Compilation failed in require at (eval 1) line 3.
    Perhaps a required shared library or dll isn't installed where expected
    at t/00base.t line 38
    t/00base...........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 4-5
    Failed 2/5 tests, 60.00% okay
    t/10dsnlist........install_driver(mysql) failed: Can't load '/opt/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file /opt/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so: symbol net_buffer_length: referenced symbol not found at /usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
    at (eval 1) line 3
    Compilation failed in require at (eval 1) line 3.
    Perhaps a required shared library or dll isn't installed where expected
    at t/10dsnlist.t line 45
    t/10dsnlist........dubious
    Test returned status 255 (wstat 65280, 0xff00)
    DIED. FAILED tests 1-9
    Failed 9/9 tests, 0.00% okay
    t/20createdrop.....install_driver(mysql) failed: Can't load '/opt/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file /opt/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so: symbol net_buffer_length: referenced symbol not found at /usr/local/lib/perl5/5.8.3/sun4-solaris/DynaLoader.pm line 229.
    at (eval 1) line 3
    Compilation failed in require at (eval 1) line 3.
    .
    .
    *** LAST
    t/mysql2...........Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/DBI.pm line 1061.
    Use of uninitialized value in subroutine entry at /usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/DBI.pm line 1061.
    Can't locate object method "connect" via package "Mysql" at /opt/DBD-mysql-2.9003/blib/lib/Mysql.pm line 71.
    t/mysql2...........dubious

Posting Permissions

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