Re: perl2exe can't locate DBI.pm

From: Bunny (bunny1112_at_yahoo.com)
Date: 03/18/04


Date: 18 Mar 2004 04:00:57 -0800

Thanks Todd,
I know I am using an old version of Linux & Perl.. But now I want to
create
binary executables for the perl files present on this old linux......

So I have loaded an old version of perl2exe compatable with that
version of
Linux. I tried creating the binary executable for the perl files
after loading
it on the Linux system...

The binary executables created without the use of DBI are working
fine. But in the perl files having "use DBI;" the binary executables
are not creating and in
the logs for these I find

Can't locate DBI.pm in @INC (@INC contains: PERLTOEXE_STORAGE /tmp
lib\site
~../cgi-bin/lib/5.00503/i-686/linux
~../cgi-bin/lib/site_perl/5.005/i686-linux
~../cgi-bin/lib/site_perl/5.005 .) at newsample.pl line 4.
BEGIN failed--compilation aborted at newsample.pl line 4.

It would be more helpful if you can explain how I can make the DBI.pm
available for perl2exe in order for it to create the binary
executables.

thanks in advance
Bunny

Todd de Gruyl <todd@tdegruyl.com> wrote in message news:<elvni1-1k8.ln1@espresso.tdegruyl.com>...
> Bunny wrote:
> > I have perl5.00503 loaded on my Linux and I have downloaded and loaded
> > perl2exe V1.09U on Linux 6.1
>
> <nitpicking>
>
> I can't answer the question, but I am a little bit confused about what
> you are running:
>
> According to <http://kernel.org/> the latest stable version of linux is
> 2.6.4, so either you're running some fifteen years or so in the future,
> or you're looking at the wrong number (perhaps your distribution release
> number? IIRC Red Hat had a popular 6.1 release from about the same time
> as the perl you're running)
>
> Also, you might want to upgrade your perl, perl5.005_03.tar.gz is from
> 29-Mar-1999, we're up to 5.8.3 (stable), or 5.9.0 (dev)
>
> </nitpicking>