Hi Frans,

        I've done this using CPAN's automatic installation. Check this
out:

%> perl -MCPAN -e'install "DBD::mysql"'
CPAN: Storable loaded ok
Going to read /.cpan/Metadata
  Database was generated on Thu, 27 Feb 2003 16:40:43 GMT
DBD::mysql is up to date.

%>perl -MCPAN -e'install "DBI"'
CPAN: Storable loaded ok
Going to read /.cpan/Metadata
  Database was generated on Thu, 27 Feb 2003 16:40:43 GMT
DBI is up to date.

        I think there's more to it than just installing because I'm
still getting this error message:

[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl: Can't load module DBI, dynamic loading not available in
this perl.
[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl:   (You may need to build a new perl executable which
either supports
[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl:   dynamic loading or has the DBI module statically linked
into it.)
[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl:  at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/DBI.pm line 256
[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl: BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/DBI.pm line 256.
[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl: Compilation failed in require at globals.pl line 76.
[Fri Feb 28 14:27:08 2003] checksetup.pl: [Fri Feb 28 14:27:08 2003]
checksetup.pl: BEGIN failed--compilation aborted at globals.pl line 76.
[Fri Feb 28 14:27:08 2003] checksetup.pl: Compilation failed in require
at checksetup.pl line 617.

        Keep in mind that I've already tried compiling perl with dynamic
loading and Bugzilla did not recognize the DBD::mysql or DBI modules. So
now I'm trying to build perl with static links to these two modules.
That's where I'm stuck.

Thanks!

Chris Bucchere
Bucchere Development Group
[EMAIL PROTECTED]
415.516.3941

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 2:24 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Trying to build a new perl with DBI statically linked to it

Download DBI-1.32 and and DBD module which links to the database you
want to
use (e.g. oracle, mysql or such) and compile/install both. (DBI first).

If you don't have a database setup yet you need some more documents
first,
since bugzilla requires one.

-----------------------------------
Frans Postma, (050-58) 81 852
ATOS Origin, Unix Support 
     "If at first you don't succeed, skydiving isn't for you"


> -----Oorspronkelijk bericht-----
> Van: Chris Bucchere [mailto:[EMAIL PROTECTED]
> Verzonden: vrijdag 28 februari 2003 15:19
> Aan: [EMAIL PROTECTED]
> Onderwerp: Trying to build a new perl with DBI statically linked to it
> 
> 
> Hi Folks,
> 
>  
> 
>           I've encountered an error when configuring some open-source
> software (Bugzilla) that has asked me to "build a new perl executable
> which either supports dynamic loading or has the DBI module statically
> linked into it." I don't know how to do this and I can't find any
> documentation to help me out. Can you point me in the right direction?
> 
>  
> 
> Thanks!
> 
>  
> 
> Chris Bucchere
> 
> Bucchere Development Group
> 
> [EMAIL PROTECTED]
> 
> 415.516.3941
> 
>  
> 
> 

Reply via email to