dbTalk Databases Forums  

Re: Newbie question, DBD::mysql/AIX5

mailing.database.msql-mysql-modules mailing.database.msql-mysql-modules


Discuss Re: Newbie question, DBD::mysql/AIX5 in the mailing.database.msql-mysql-modules forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David García Aristegui
 
Posts: n/a

Default Re: Newbie question, DBD::mysql/AIX5 - 08-28-2003 , 06:06 AM






Excuse me, for me it's hard to explain things in english. Perl etc
was already compiled with gcc 3.0.1
I'm gonna try from source (DBD-mysql-2.9002.tar.gz) with the
Makefile.PL, make, make test, make install dance...

Thankx

Quote:
Quoting David Garc=EDa Aristegui <david (AT) cnb (DOT) uam.es>:

I use all the time gcc:

Excellent, so your first step is done. Unfortunately your Perl (most
probably a binary version of Perl which you have obtained from somewhere
else) doesn't. :-)

The bad news is, that it is *very* difficult to exchange compilers after
Perl is compiled. In other words, I definitely recommend to recompile
Perl from sources using gcc. (Btw, has definitely not been a version
which is known to be bug free. I'd recommend 2.95 or at least 3.2.)


LD_RUN_PATH=3D"/opt/database/mysql/lib:/lib" /usr/local/bin/perl myld
ld -bhalt:4 -bM:SRE
-bI:/usr/local/lib/perl5/5.8.0/aix-thread-multi-64int/CORE/perl.exp
-bE:mysql.exp -bnoentry -lpthreads -lc_r -L/usr/local/lib dbdimp.o
mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/opt/database/mysql/lib -lmysqlclient -lcrypt -lnsl_r -lm

If I am right to blame the missing license, I'd expect an error message
here. We don't see an error message here, but that might be related
to a bug in the myld script. Use the option --nocatchstderr when running
"perl Makefile.PL".


Jochen

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3D...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.