List:MySQL and Perl« Previous MessageNext Message »
From:John Day Date:October 23 2003 2:49am
Subject:Re: DBD::mysql install issues on HPUX 11.0
View as plain text  
Hi!

I had the same sort of problems earlier today.

1.. You need to identify where the header files are, of course that directory is need for
the 'cflags' parameter.
2.. Identify where the client libraries are, the file you can search for is mysqlclient.so

Make the module manually changing the configuration to suit your own directory structure.

I hope that gets you by! I am a newbie at this, but I found a good look at the README
document in the distribution set me on the path (with some help from Rudy and Jochen
here).

Good luck!

John


At 07:11 PM 10/22/2003 -0400, Keith Paschal wrote:
>Folks;
>
>I'm running HPUX 11.0 and am desperately trying to install the DBD::mysql components. 
> I run:
>
># perl Makefile.PL
>I will use the following settings for compiling and testing:
>
> cflags        (mysql_config) = -I'/other/mysql/include'
> libs          (mysql_config) = -L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm
> nocatchstderr (default     ) = 0
> ssl           (guessed     ) = 0
> testdb        (default     ) = test
> testhost      (default     ) =
> testpassword  (default     ) =
> testuser      (default     ) =
>
>To change these settings, see 'perl Makefile.PL --help' and
>'perldoc INSTALL'.
>
>Using DBI 1.38 installed in /opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
>Writing Makefile for DBD::mysql
># make
>       gcc -c  -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
> -I'/other/mysql/include'  -mpa-risc-2-0 -D_HPUX_SOURCE -fno-stri
>ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
> -DVERSION=\"2.1028\"  -DXS_VERSION=\"2.1028\" -fP
>IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE"   dbdimp.c
>       gcc -c  -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI
> -I'/other/mysql/include'  -mpa-risc-2-0 -D_HPUX_SOURCE -fno-stri
>ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
> -DVERSION=\"2.1028\"  -DXS_VERSION=\"2.1028\" -fP
>IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE"   mysql.c
>Running Mkbootstrap for DBD::mysql ()
>       chmod 644 mysql.bs
>       rm -f blib/arch/auto/DBD/mysql/mysql.sl
>       LD_RUN_PATH="/other/mysql/lib:/lib" /opt/perl/bin/perl myld /usr/bin/ld  -b
> -L/usr/local/lib dbdimp.o  mysql.o  -o blib/arch
>/auto/DBD/mysql/mysql.sl   -L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm
>*** Error exit code 1
>
>
>I've been trolling through web pages and lists for hours now and can see a few similar
> errors, but no solutions have been able to solve my problem thus far. I have mysql
> installed in /other/mysql and am running version 4.015a.  
>I am running Perl 5.8.0 (freshly downloaded today).
>
>Any help is appreciated greatly.
>
>Best Regards;
>
>Keith
>
>_________________________________________________________________
>Cheer a special someone with a fun Halloween eCard from American Greetings! Go to 
> http://www.msn.americangreetings.com/index_msn.pd?source=msne134
>
>
>-- 
>MySQL Perl Mailing List
>For list archives: http://lists.mysql.com/perl
>To unsubscribe:    http://lists.mysql.com/perl?unsub=1
>
>

Thread
DBD::mysql install issues on HPUX 11.0Keith Paschal23 Oct
  • Re: DBD::mysql install issues on HPUX 11.0John Day23 Oct
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann23 Oct
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal23 Oct
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann23 Oct
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal31 Oct
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann1 Nov
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal4 Nov
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann4 Nov
RE: DBD::mysql install issues on HPUX 11.0Madhu Kangara4 Nov
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal4 Nov
  • Re: DBD::mysql install issues on HPUX 11.0Jochen Wiedmann5 Nov
Re: DBD::mysql install issues on HPUX 11.0Keith Paschal12 Nov
RE: DBD::mysql install issues on HPUX 11.0Madhu Kangara12 Nov