- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Has anyone sucessful in compiling DBD-mysql in...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 09:28 AM
08-15-2003 09:28 AM
and I am not sucessful. 3 weeks back I posted another message with almost same details and some good folks
told me to compile perl myself and start . Here is the result .
mysql_config is giving the following output
$ mysql_config
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I'/usr/local/mysql/include/mysql']
--libs [-L'/usr/local/mysql/lib/mysql' -lmysqlclient -lz -lcry
pt -lnsl -lm]
--socket [/tmp/mysql.sock]
--port [3306]
--version [4.0.13]
--libmysqld-libs [ -L'/usr/local/mysql/lib/mysql' -lmysqld -lpthread -lz
-lcrypt -lnsl -lm -lpthread -lrt]
If I do gmake with the above libs option, due to -lz option the gmake is failing. But I remove -lz option, gmake is complete fine,
gmake test is giving following errors and all tests are failing
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.........../usr/lib/dld.sl: Unresolved symbol: mysql_list_dbs (code) fr
om /apps/depot/sw/DBD-mysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /apps/depot/sw/DBD-my
sql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: mysql_info (code) from /apps/depot/sw/DBD-m
ysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: mysql_list_fields (code) from /apps/depot/s
w/DBD-mysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: mysql_get_host_info (code) from /apps/depot
/sw/DBD-mysql-2.1026/blib/arch/auto/DBD/mysql/mysql.sl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 01:56 PM
08-20-2003 01:56 PM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 08:15 AM
08-21-2003 08:15 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
As I am struck with this for the last 2 months, could some one please help me with trying this on your server. If you are looking for mysql libraries , I could give or you could download it from www.mysql.com
No real help from DBD-mysql or mysql newsgroup as only few newsgroup people have access to HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 08:30 AM
08-21-2003 08:30 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 09:47 AM
08-21-2003 09:47 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
I don't have HP C compiler.
Could you please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 10:44 AM
08-21-2003 10:44 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
From there you're on your own. Don't forget the points.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 11:20 AM
08-21-2003 11:20 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
looks like I need to edit the Makefile to change all references of your /opt/perl to my /usr/local
Am I going in wrong direction or any other easy way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 12:26 PM
08-21-2003 12:26 PM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
Good luck. BTW what perl do you use? Where did you get it?
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 03:07 PM
08-21-2003 03:07 PM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
I edited only the references for mysql lib and include file and tried gmake install thinking that it will be copy your already compiled DBD-mysql modules to the relevent perl locations.
Infact it started compiling modules with gcc
and I am getting same error message.
After looking at your Makefile, it looks like you also used gcc to compile
So what is my issue ?
I am running out of ideas. any tips
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2003 11:15 PM
08-21-2003 11:15 PM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
a5:/opt 103 > find perl* -type f | grep -i mysql
perl/lib/site_perl/5.8.0/PA-RISC2.0/Bundle/DBD/mysql.pm
perl/lib/site_perl/5.8.0/PA-RISC2.0/DBD/mysql.pm
perl/lib/site_perl/5.8.0/PA-RISC2.0/DBD/mysql.pod
perl/lib/site_perl/5.8.0/PA-RISC2.0/DBD/mysql/INSTALL.pod
perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBD/mysql/mysql.sl
perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBD/mysql/mysql.bs
perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBD/mysql/.packlist
perl/lib/site_perl/5.8.0/PA-RISC2.0/Mysql.pm
perl/lib/site_perl/5.8.0/PA-RISC2.0/Mysql/Statement.pm
perl/man/man3/Mysql.3
perl/man/man3/DBD::mysql::INSTALL.3
perl/man/man3/DBD::mysql.3
perl/man/man3/Bundle::DBD::mysql.3
a5:/opt 104 >
Do *YOU* have those? Or did you download a pa-risc1.1 version, or did I add them later for someone else?
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 07:32 AM
08-22-2003 07:32 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
This is 32 bit version of Perl 5.8 for HPUX 11.00
installed into /opt/perl/lib/site_perl/5.8.0 over the default dist:
Test-Simple 0.46
Compress::Zlib 1.16
Archive::Tar 0.22
Archive::Zip 1.01
Heap 0.50
Graph 0.201
Bit::Vector 6.1
Date::Calc 5.0
Date::Manip 5.40
DBI 1.30
Proc::ProcessTable 0.35
Text::CSV_XS 0.23
Text-Format+NWrap 0.52
Tk 800.024
Tk::Clock 0.07
Tk-TreeGraph 1.024
X11-Protocol 0.04
Devel-ptkdb 1.108
README: END
I will be happy to install your 5.8.1 perl if it has MySQL modules too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 08:58 AM
08-22-2003 08:58 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
If there's none, you'll have to wait till Monday for me to make those available: system is down for the weekend due to network maintainance and re-cabling
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 09:13 AM
08-22-2003 09:13 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
BTW , here is the find output
$ pwd
/opt
$ find perl* -type f |grep -i mysql
$
Are you using gcc or HP C.
Once you built this, could you please share your compile commands so that we could try those for accadamic interest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 09:30 AM
08-22-2003 09:30 AM
SolutionFor 10.20 one cannot build 64bit objects, and /if/ I get that darn D370 up and running the way I want, expect 32- and 64-bit stuff for 11i soon.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2003 03:12 PM
08-22-2003 03:12 PM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2003 12:29 AM
08-23-2003 12:29 AM
Re: Has anyone sucessful in compiling DBD-mysql in HPUX with gcc
If you were using my perl, I am willing to put this mysql perl module on my site with your reference. I've got no idea how well different MySQL ports can works with different DBD::MySQL's but we'll find out pretty soon :)
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 02:58 PM
08-25-2003 02:58 PM