gethostbyname error?

2002-11-02 Thread Dave Ellsworth
When I attempt to issue a make test:
Invalid command '=pod', perhaps mis-spelled or defined by a module not
included in the server configuration
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 0
Unsupported socket function gethostbyname called at
../blib/lib/Apache/test.pm line 25.
BEGIN failed--compilation aborted at ../blib/lib/Apache/test.pm line 28.
Compilation failed in require at t/TEST line 71.
make: *** [run_tests] Error 255

I had similar errors to this with the make test on perl

I'm guessing I need to install some module, but I'm a bit of a newb with
perl.


These are my perl errors:

../lib/Net/hostent.ok 1/7Unsupported socket function
gethostbyname called at ../lib/Net/hostent.pm line 45.
# Looks like you planned 7 tests but only ran 1.
# Looks like your test died just after 1.
../lib/Net/hostent.dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
../lib/Net/netent..skipped
all skipped: no getnetbyname
../lib/Net/Ping/t/100_load.ok
../lib/Net/Ping/t/110_icmp_instok 1/2Unsupported socket function
getprotobyname called at ../lib/Net/Ping.pm line 114.
../lib/Net/Ping/t/110_icmp_instdubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
../lib/Net/Ping/t/120_udp_inst.Unsupported socket function
getservbyname called at ../lib/Net/Ping/t/120_udp_inst.t line 9.
BEGIN failed--compilation aborted at ../lib/Net/Ping/t/120_udp_inst.t line
13.
../lib/Net/Ping/t/120_udp_inst.dubious
Test returned status 255 (wstat 65280, 0xff00)
../lib/Net/Ping/t/130_tcp_inst.Unsupported socket function
getservbyname called at ../lib/Net/Ping/t/130_tcp_inst.t line 8.
BEGIN failed--compilation aborted at ../lib/Net/Ping/t/130_tcp_inst.t line
12.
../lib/Net/Ping/t/130_tcp_inst.dubious
Test returned status 255 (wstat 65280, 0xff00)
../lib/Net/Ping/t/140_stream_inst..Unsupported socket function
getservbyname called at ../lib/Net/Ping/t/140_stream_inst.t line 8.
BEGIN failed--compilation aborted at ../lib/Net/Ping/t/140_stream_inst.t
line 12.
../lib/Net/Ping/t/140_stream_inst..dubious
Test returned status 255 (wstat 65280, 0xff00)
../lib/Net/Ping/t/200_ping_tcp.skipped
all skipped: network dependent test
../lib/Net/Ping/t/250_ping_hires...skipped
all skipped: network dependent test
../lib/Net/Ping/t/300_ping_stream..skipped
all skipped: network dependent test
../lib/Net/protoentskipped
all skipped: no getprotobyname
../lib/Net/servent.skipped
all skipped: no getservbyname
../lib/Net/t/configok
../lib/Net/t/ftp...skipped
all skipped: no reason given
../lib/Net/t/hostname..Unsupported socket function
gethostbyname called at ../lib/Net/Domain.pm line 183.
../lib/Net/t/hostname..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
../lib/Net/t/netrc.ok
2/20 skipped: various reasons
../lib/Net/t/nntp..skipped
all skipped: no reason given
../lib/Net/t/require...ok
../lib/Net/t/smtp..skipped
all skipped: no reason given
../lib/Net/t/time..Unsupported socket function
getservbyname called at ../lib/Net/Time.pm line 30.
../lib/Net/t/time..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-12
Failed 10/12 tests, 16.67% okay






RE: gethostbyname error?

2002-11-02 Thread Dave Ellsworth
Oh I forgot to include I am running Redhat 7.1, I just installed perl 5.8.0
from 5.6.1, I've never used mod perl before so it's a fresh install of 1.27,
there are no compile problems with perl or mod perl, just these test
problems.
I was also selecting to not compile apache and when I attempted to compile
just to see what would happen, when I used the activate module for libperl I
got the following error for apache:

ORE -lperl -lbind -lnsl -ldl -lm -lc -lcrypt -lutil  -ldl
/usr/local/lib/libbind.a(irs_data.o): In function `__net_data_init':
/usr/local/src/bind-9.2.1/lib/bind/irs/irs_data.c:119: undefined reference
to `pthread_key_create'
/usr/local/src/bind-9.2.1/lib/bind/irs/irs_data.c:122: undefined reference
to `pthread_getspecific'
/usr/local/src/bind-9.2.1/lib/bind/irs/irs_data.c:130: undefined reference
to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [logresolve] Error 1
make[2]: Leaving directory `/usr/local/src/apache/apache_1.3.27/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/usr/local/src/apache/apache_1.3.27'
make: *** [build] Error 2

-Original Message-
From: Dave Ellsworth [mailto:dave;ultrairc.net]
Sent: Saturday, November 02, 2002 3:41 AM
To: [EMAIL PROTECTED]
Subject: gethostbyname error?


When I attempt to issue a make test:
Invalid command '=pod', perhaps mis-spelled or defined by a module not
included in the server configuration
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 0
Unsupported socket function gethostbyname called at
../blib/lib/Apache/test.pm line 25.
BEGIN failed--compilation aborted at ../blib/lib/Apache/test.pm line 28.
Compilation failed in require at t/TEST line 71.
make: *** [run_tests] Error 255

I had similar errors to this with the make test on perl

I'm guessing I need to install some module, but I'm a bit of a newb with
perl.


These are my perl errors:

../lib/Net/hostent.ok 1/7Unsupported socket function
gethostbyname called at ../lib/Net/hostent.pm line 45.
# Looks like you planned 7 tests but only ran 1.
# Looks like your test died just after 1.
../lib/Net/hostent.dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
../lib/Net/netent..skipped
all skipped: no getnetbyname
../lib/Net/Ping/t/100_load.ok
../lib/Net/Ping/t/110_icmp_instok 1/2Unsupported socket function
getprotobyname called at ../lib/Net/Ping.pm line 114.
../lib/Net/Ping/t/110_icmp_instdubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
../lib/Net/Ping/t/120_udp_inst.Unsupported socket function
getservbyname called at ../lib/Net/Ping/t/120_udp_inst.t line 9.
BEGIN failed--compilation aborted at ../lib/Net/Ping/t/120_udp_inst.t line
13.
../lib/Net/Ping/t/120_udp_inst.dubious
Test returned status 255 (wstat 65280, 0xff00)
../lib/Net/Ping/t/130_tcp_inst.Unsupported socket function
getservbyname called at ../lib/Net/Ping/t/130_tcp_inst.t line 8.
BEGIN failed--compilation aborted at ../lib/Net/Ping/t/130_tcp_inst.t line
12.
../lib/Net/Ping/t/130_tcp_inst.dubious
Test returned status 255 (wstat 65280, 0xff00)
../lib/Net/Ping/t/140_stream_inst..Unsupported socket function
getservbyname called at ../lib/Net/Ping/t/140_stream_inst.t line 8.
BEGIN failed--compilation aborted at ../lib/Net/Ping/t/140_stream_inst.t
line 12.
../lib/Net/Ping/t/140_stream_inst..dubious
Test returned status 255 (wstat 65280, 0xff00)
../lib/Net/Ping/t/200_ping_tcp.skipped
all skipped: network dependent test
../lib/Net/Ping/t/250_ping_hires...skipped
all skipped: network dependent test
../lib/Net/Ping/t/300_ping_stream..skipped
all skipped: network dependent test
../lib/Net/protoentskipped
all skipped: no getprotobyname
../lib/Net/servent.skipped
all skipped: no getservbyname
../lib/Net/t/configok
../lib/Net/t/ftp...skipped
all skipped: no reason given
../lib/Net/t/hostname..Unsupported socket function
gethostbyname called at ../lib/Net/Domain.pm line 183.
../lib/Net/t/hostname..dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
../lib/Net/t/netrc.ok
2/20 skipped: various reasons
../lib/Net/t/nntp..skipped
all skipped: no reason given
../lib/Net/t/require...ok
../lib/Net/t/smtp..skipped
all skipped: no reason given
../lib/Net/t/time..Unsupported socket function
getservbyname called at ../lib/Net/Time.pm line 30.
../lib/Net/t/time..dubious
Test returned status 255 (wstat