Hi all,
Now, I have another problem. When I runned the "perl Makefile.PL" and "make"
commands they work very well. But, when I runned "make test" is returned the
following message:
"Writing "Makefile.aperl" for this perl
Using DBI 1.14 installed in /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI
Writing Makefile.aperl for DBD::FreeTDS
make -f Makefile.aperl perl
make[1]: Entering directory `/root/freetds_dbd/freetds_dbd'
Writing perlmain.c
cd . && gcc -c -I/usr/lib/perl5/5.00503/i386-linux/CORE -Dbool=char -DHAS_BOOL
-I/usr/local/include -Wall -Wmissing-prototypes -ggdb
-static -DTRACE_ALLOCMEMORY_LEAKS -ggdb \
-DVERSION=\"0.03a\" \
-DXS_VERSION=\"0.03a\" -I/usr/lib/perl5/5.00503/i386-linux/CORE perlmain.c
cat /usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/extralibs.ld >>
blib/arch/auto/DBD/FreeTDS/extralibs.all
cat blib/arch/auto/DBD/FreeTDS/extralibs.ld >> blib/arch/auto/DBD/FreeTDS/extralibs.all
gcc -L/usr/local/lib -rdynamic -o perl -ggdb ./perlmain.o
blib/arch/auto/DBD/FreeTDS/FreeTDS.a
/usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/DynaLoader.a
/usr/lib/perl5/5.00503/i386-linux/CORE/libperl.a `cat
blib/arch/auto/DBD/FreeTDS/extralibs.all` -lnsl -ldl -lm -lc -lposix -lcrypt
To install the new "perl" binary, call
make -f Makefile.aperl inst_perl MAP_TARGET=perl
To remove the intermediate files say
make -f Makefile.aperl map_clean
make[1]: Leaving directory `/root/freetds_dbd/freetds_dbd'
PERL_DL_NONLAZY=1 ./perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux
-I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0;
runtests @ARGV;' t/*.t
t/01load............ok
t/02connect.........database is jdbctest
server is testms
port name is 1433
port num is 1433
uid is testuser
password is password
DBI->connect(database=jdbctest;host=testms;port=1433;) failed: Couldn't find host
testms at t/./TestCommon.pm line 17
Can't call method "disconnect" on an undefined value at t/02connect.t line 26.
tdslayer.c:2952: Didn't free block at 0x823f47c
dbdimp.c:387: Didn't free block at 0x8230cec
dbdimp.c:378: Didn't free block at 0x8235d5c
dubious
Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_static] Error 255"
Same with it error in the "make test" command, when I runned "make install" the System
don't return any error message ( it's OK ).
Now, when I try to run one perl script, it doesn't work and the following message
is showed:
"install_driver(FreeTDS) failed: Can't locate loadable object for module DBD::FreeTDS
in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at (eval
1) line 3
Perhaps a module that DBD::FreeTDS requires hasn't been fully installed
at Tempo_Resposta_MS_Perl.pl line 28"
I don't know what to do to resolve this problem anymore.
Can anyone tell me how I can resolve it?
Thanks,
________________________________________________
Edmar Edilton da Silva
Bacharel em Ci�ncia da Computac�o - UFV
Mestrando em Ci�ncia da Computac�o - UNICAMP
________________________________________________