cURL / Mailing Lists / curl-users / Single Mail

curl-users

first time build from source - need help with errors

From: Jeff Shearer, CISA, CISSP <jeffshearer_at_trustedtechpro.com>
Date: Thu, 6 Dec 2012 03:39:49 -0800

I am building a Moodle server with all dependencies built from source.
This is my first time building software from source to this extent so I
have some learning to go. After running make test, I received the
following messages:

TESTDONE: 628 tests out of 635 reported OK: 98%
TESTFAIL: These test cases failed: 20 507 526 527 532 534 546
TESTDONE: 779 tests were considered during 562 seconds.
*** Error code 1

Daniel Stenberg directed me to http://curl.haxx.se/dev/runtests.html to
learn how to run each of the tests. I have run each of the tests, they all
indicate that there is an "uninitialized value $p in string eq at
/usr/local/lib/perl5/5.10.1/BSDPAN/BSDPAN.pm line 36."

Tests 507, 526, 527, 532, 534, and 546 also indicated two additional
errors:

Use of uninitialized value in require at
/usr/home/myuid/installs/curl-7.28.1/tests/runtests.pl line 80.

Can't locate serverhelp.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.10.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.10.1/mach
/usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach
/usr/local/lib/perl5/5.10.1 . .) at
/usr/home/myuid/installs/curl-7.28.1/tests/runtests.pl line 80.

Line 36 of BSDPAN.pm is part of the following line numbered subroutine:
33 sub canonical_path {
     34 my ($pkg, $path) = @_;
     35 my $p = $path;
     36 $p = '.' if $p eq '';
     37 $p =~ tr|/|/|s;
     38 $p =~ s|/$||;
     39 return $p;
     40 }

I found serverhelp.pm

# find / -name serverhelp.pm -print
/usr/home/myuid/installs/curl-7.28.1/tests/serverhelp.pm

I reviewed the ouput of ./configure --help to see if I could specify the
path to serverhelp.pm so I could run the ./configure again but I am too
unfamiliar with the process to be certain of what I am doing.

Here is the full out put from test 20:

# /curl-7.28.1/tests/runtests.pl 20 <
Use of uninitialized value $p in string eq at
/usr/local/lib/perl5/5.10.1/BSDPAN/BSDPAN.pm line 36.
********* System characteristics ********
* curl 7.28.1 (i386-unknown-freebsd8.2)
* libcurl/7.28.1 OpenSSL/0.9.8q zlib/1.2.3
* Features: IPv6 Largefile NTLM NTLM_WB SSL libz
* Host: myhost.local
* System: FreeBSD myhost.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb
18 02:24:46 UTC 2011
root_at_almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
* Server SSL: OFF libcurl SSL: ON
* debug build: OFF track memory: OFF
* valgrind: OFF HTTP IPv6 ON
* FTP IPv6 ON Libtool lib: OFF
* Shared build: yes
* SSL library: OpenSSL
* Ports:
* HTTP/8990 FTP/8992 FTP2/8995 RTSP/9007
* TFTP/8997 HTTP-IPv6/8994 RTSP-IPv6/9008 FTP-IPv6/8996
* GOPHER/9009 GOPHER-IPv6/9009
* SSH/8999 SOCKS/9000 POP3/9001 IMAP/9003 SMTP/9005
* POP3-IPv6/9002 IMAP-IPv6/9004 SMTP-IPv6/9006
*****************************************
test 020...[attempt connect to non-existing host name]

curl returned 7, when expecting 6
 exit FAILED

 - abort tests
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 20
TESTDONE: 1 tests were considered during 1 seconds.
</pre>

Please advise.

Thanks,

Jeff Shearer, CISA, CISSP
TrustedTechPro, LLC
(703) 615-6997
http://www.linkedin.com/in/shearerjeff
----------------------------------------------------------------
This message may contain information that is legally sensitive. This
messages is intended only for the recipient. Forwarding this message to
other recipients is not authorized. If you receive this message in error,
please notify the sender by replying to the sending email address. This
message may include trademarks owned by TrustedTechPro, LLC.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-06