If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Problems to install DBD-mysql-2.9003

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-04, 17:52
Ithan Ithan is offline
Registered User
 
Join Date: Apr 2004
Location: Mexico
Posts: 4
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..
Reply With Quote
  #2 (permalink)  
Old 04-20-04, 18:11
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
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
Reply With Quote
  #3 (permalink)  
Old 04-20-04, 19:59
Ithan Ithan is offline
Registered User
 
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.
Reply With Quote
  #4 (permalink)  
Old 04-20-04, 20:03
Ithan Ithan is offline
Registered User
 
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'
Reply With Quote
  #5 (permalink)  
Old 04-21-04, 01:00
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
I don't have your make file. Without at least the offending line(s), I can't help. Sorry!

-PatP
Reply With Quote
  #6 (permalink)  
Old 04-21-04, 12:50
Ithan Ithan is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On