[Orca-users] Orca Build problem - rrdtool

Paul Porcelli Paul.Porcelli at scottishwater.co.uk
Tue Oct 4 02:32:06 PDT 2005


Hi there,
I have downloaded and compiled perl 5.8.5 in 64 bit mode due to
limitations on
the number of file descriptors you can open(256) in the 32 bit version.

Now having problems building Orca.
During rebuild I am seeing the following errors in the rrd compilation.

Any ideas what has happened and how to fix it ?
Thanks again.
Paul

==========
Stuff deleted

cd perl-piped && make
cd perl-shared && make
cd rrdtool-1.0.50/perl-shared && make CC='gcc' OPTIMIZE='-g -O2' test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base....Can't load
'/export/home/username/OrcaSoftware/orca-snapshot-r473/packages/rrdtool-
1.0.50/perl-shared/blib/arch/auto/RRDs/RRDs.so' for module RRDs:
ld.so.1: /usr/local/bin/perl: fatal: relocation error: file
/export/home/username/OrcaSoftware/orca-snapshot-r473/packages/rrdtool-1
.0.50/perl-shared/blib/arch/auto/RRDs/RRDs.so: symbol rrd_test_error:
referenced symbol not found at
/usr/local/lib/perl5/5.8.5/sun4-solaris-64/DynaLoader.pm line 230.  at
t/base.t line 20 Compilation failed in require at t/base.t line 20.
BEGIN failed--compilation aborted at t/base.t line 20.
t/base....dubious

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------
-------
t/base.t     255 65280     7   13 185.71%  1-7
Failed 1/1 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic' Current
working directory
/export/home/username/OrcaSoftware/orca-snapshot-r473/packages/rrdtool-1
.0.50/perl-shared
*** Error code 1
make: Fatal error: Command failed for target `test_rrdtool' Current
working directory
/export/home/username/OrcaSoftware/orca-snapshot-r473/packages
*** Error code 1
make: Fatal error: Command failed for target `check'

=================================

-----Original Message-----
From: Cockcroft, Adrian [mailto:acockcroft at ebay.com] 
Sent: 28 September 2005 16:59
To: Paul Porcelli; orca-users at orcaware.com
Subject: RE: [Orca-users] HELP - Too many open files


Possible workarounds: compile perl in 64bit mode (I have no idea how
easy that is but it will fix the problem on Solaris). Also its possible
that Linux has a higher limit for stdio, so perhaps try Orca on linux? I
checked and MacOS X (I'm typing this on my powerbook) uses a short in
its definition of FILE, so it would not hit the 256 limit, it would
limit at 65536.

% grep file /usr/include/stdio.h
...
        short   _file;          /* fileno, if Unix descriptor, else -1
*/

Its unfortunate, but Solaris is back compatible with SunOS 4 code that
was written 20 years ago, thats why the only time they could change this
definition was the introduction of 64bit libc, when they made the
definition opaque and put a 32bit value in that slot.

Adrian



Privileged/Confidential information may be contained in this Email and any files transmitted 
with it. If you are not the intended recipient you should not retain, copy or use this Email 
for any purpose or disclose all or part of its contents to any person. If you have received 
this Email in error please notify the postmaster and sender immediately and delete this 
Email from your system. 

Opinions, conclusions and other information in this message that do not relate to the 
official business of Scottish Water ("SW") and / or Scottish Water Solutions Ltd ("SWS") 
shall be understood as neither given nor endorsed by them. The contents of Emails sent and 
received by SW and SWS are monitored.

WARNING: Although SW and SWS have taken reasonable precautions to ensure no viruses or other 
malicious software are present, SW and SWS cannot accept responsibility for any loss or 
damage arising from the use of this Email or attachments however caused. The recipient 
should therefore check this Email and any attachments for the presence of viruses or other 
malicious software.

Scottish Water
www.scottishwater.co.uk
www.scottishwatersolutions.co.uk
postmaster at scottishwater.co.uk





More information about the Orca-users mailing list