hi all,


I'm trying to link DBI statically into perl(while
building perl 5.6) as i'm disabiling the loadable
module support from perl 5.6.

To accomplish the above i placed DBI sources along
with the sources of other default modules of perl.

At first DBI didnot compile then i had to change the
Makefile of DBI to look similar to the Makefile of the
default modules of perl. When i did this DBI got built
with perl but when i write a sample program i get the
following error.

"DBI object version 0.03 does not match $DBI::VERSION
1.14 at /usr/local/lib/perl
5/5.6.0/i686-linux-thread-multi-64all/DBI.pm line 180.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/5.6.0/i686-linux-threa
d-multi-64all/DBI.pm line 182.
Compilation failed in require at
/home/ashok/perlscripts/test.pl line 2.
BEGIN failed--compilation aborted at
/home/ashok/perlscripts/test.pl line 2."


what is the cause of the error. is it possible to
complie DBI statically while perl is being  built(i
tried perl Makefile.PL LINKTYPE=static) . is there an
alternate way of doing the above.

i would be very greatful if you could help me by
either sending me your valuable  suggestions or by
pointing out some sites.


Tbanks in advance
ashok

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to