How many times are you going to post the same question? Give people a
chance to respond.
> -----Original Message-----
> From: Jacob [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 09, 2001 9:14 AM
> To: [EMAIL PROTECTED]
> Subject: compiling perl DBI programs
>
>
> I am trying to build a web application in perl, and am using the Mysql as
> the database .
> I have written a sample code f.pl that includes the DBI module
> when I try compiling with perlcc I get the following .
>
> bash# perlcc f.pl
> ------------------------------------------------------------------
> --------------
>
> Compiling f.pl:
> ------------------------------------------------------------------
> --------------
>
> Making C(f.pl.c) for f.pl!
> /usr/bin/perl -I/usr/libdata/perl/5.00503/mach
> -I/usr/libdata/perl/5.00503
> -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> -I/usr/local/lib/perl5/site_perl/5.005 -I. -MO=CC,-of.pl.c f.pl
> f.pl syntax OK
> Compiling C(f) for f.pl!
> /usr/bin/perl -I/usr/libdata/perl/5.00503/mach
> -I/usr/libdata/perl/5.00503
> -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> -I/usr/local/lib/perl5/site_perl/5.005 -I. /tmp/f.pl.tst
> cc -I/usr/libdata/perl/5.00503/mach/CORE
> /usr/libdata/perl/5.00503/mach/auto/Fcntl/Fcntl.so
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBI.so -o f
> f.pl.c -Wl,-E -lperl -lm -L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm
> -lc -lcrypt
> bash# ./f
> Can't locate object method "unimport" via package "strict" at /Mysql.pm
> line 247.
> BEGIN failed--compilation aborted at /Mysql.pm line 247.
> bash#
> ------------------------------------------------------------------
> ----------------------------
>
> Please help me get out of these errors.
> Or can anyone suggest an alternative method?
> ---jacob ----