Perlbal - Compiling on RH8

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > July 2005 > Compiling on RH8





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Compiling on RH8
Jason Dunkerley

2005-07-05, 5:45 pm

Hi,

I have successfully setup perlbal on some Centos 4 machines and want
to now use it on some older RH8 machines. Obviously, there are some
differences between the two, but I'm not sure how to resolve this. When
I compile perlbal and run the make test, I get the following error:
<snip>
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00use....NOK 1# Failed test (t/00use.t at line
7)
# Tried to use 'Perlbal'.
# Error: Undefined subroutine &main::SYS_sendfile called at
/usr/local/src/Perlbal-1.2/blib/lib/Perlbal/ClientHTTPBase.pm line 41.
# Compilation failed in require at (eval 10) line 3.
# ...propagated at /usr/lib/perl5/5.8.0/base.pm line 64.
# BEGIN failed--compilation aborted at
/usr/local/src/Perlbal-1.2/blib/lib/Perlbal/ClientProxy.pm line 8.
</snip>

It goes on, but I'm pretty sure this is the part that is needed. Any
ideas what the problem is?

I have installed the prereq PERL modules no problem.

Any help would be much appreciated.

Thanks,

-Jason

Brad Fitzpatrick

2005-07-07, 2:45 am

You may have to install perl-dev package, or run h2ph. (looking at
perldoc -f syscall)

Look at man h2ph.

- Brad


On Tue, 5 Jul 2005, Jason Dunkerley wrote:

> Hi,
>
> I have successfully setup perlbal on some Centos 4 machines and want
> to now use it on some older RH8 machines. Obviously, there are some
> differences between the two, but I'm not sure how to resolve this. When
> I compile perlbal and run the make test, I get the following error:
> <snip>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00use....NOK 1# Failed test (t/00use.t at line
> 7)
> # Tried to use 'Perlbal'.
> # Error: Undefined subroutine &main::SYS_sendfile called at
> /usr/local/src/Perlbal-1.2/blib/lib/Perlbal/ClientHTTPBase.pm line 41.
> # Compilation failed in require at (eval 10) line 3.
> # ...propagated at /usr/lib/perl5/5.8.0/base.pm line 64.
> # BEGIN failed--compilation aborted at
> /usr/local/src/Perlbal-1.2/blib/lib/Perlbal/ClientProxy.pm line 8.
> </snip>
>
> It goes on, but I'm pretty sure this is the part that is needed. Any
> ideas what the problem is?
>
> I have installed the prereq PERL modules no problem.
>
> Any help would be much appreciated.
>
> Thanks,
>
> -Jason
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com