cURL / Mailing Lists / curl-users / Single Mail

curl-users

'make check' fails due to no valgrind.pm

From: Randy McMurchy <randy_at_linuxfromscratch.org>
Date: Sun, 6 Mar 2005 12:02:13 -0600

Wanted to pass along the following error when trying to run
'make check' after building libcurl, with a shared library.

srcdir=. /usr/bin/perl -I. ./runtests.pl -s -a
Can't locate valgrind.pm in @INC (@INC contains: .
/usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i686-linux
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl . . .)
at ./runtests.pl line 32.
make[1]: *** [quiet-test] Error 2
make[1]: Leaving directory `/home/rml/build/curl-7.13.1/tests'
make: *** [test] Error 2

I've never noticed the need for valgrind.pm before, and I
checked the CPAN archives and there is no valgrind.pm module
available. Perhaps this is something I can get from the
Valgrind site, but I didn't check.

Anyway, the 'make check' bombs out before even starting any
of the tests.

I commented out the "require valgrind.pm" line in the
runtest.pl file and the tests run just fine. 250 out of
250 reported OK: 100%

--
Randy
Received on 2005-03-06