oops. Meant to send this to the list too.
----- Forwarded message from Nicholas Clark <[EMAIL PROTECTED]> -----

Date: Sat, 30 Oct 2004 17:29:14 +0100
From: Nicholas Clark <[EMAIL PROTECTED]>
To: brown wrap <[EMAIL PROTECTED]>
Subject: Re: Need help in installing inline
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.3.25i

On Fri, Oct 29, 2004 at 01:16:03PM -0700, brown wrap wrote:
> Actually there is more to the output. I have to attach it.

Which my mailer doesn't want to include in the reply so I'll paste the first
bit of it:

mermaid% make test
make[1]: Entering directory `/home/gcr/compiles/Inline-0.44/C'
make[1]: Leaving directory `/home/gcr/compiles/Inline-0.44/C'
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.0050
3/sun4-solaris -I/usr/local/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests
 $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00init............ok
t/01usages..........readdir(_Inline_test/../../..): Value too large for defined 
data type at blib/lib/Inline.pm line 371
readdir(./../..): Value too large for defined data type at blib/lib/Inline.pm (a
utosplit into blib/lib/auto/Inline/find_temp_dir.al) line 1256
readdir(./../..): Value too large for defined data type at /usr/local/lib/perl5/
5.00503/FindBin.pm line 143
stat(/t/): No such file or directory at /usr/local/lib/perl5/5.00503/FindBin.pm 
line 162
stat(/t/): No such file or directory at /usr/local/lib/perl5/5.00503/FindBin.pm 
line 163
Uncaught exception from user code:
        Uncaught exception from user code:
        Couldn't find an appropriate DIRECTORY for Inline to use.
 
 at t/01usages.t line 19
        Carp::croak('Couldn\'t find an appropriate DIRECTORY for Inline to use.^
J^J') called at blib/lib/Inline.pm (autosplit into blib/lib/auto/Inline/find_tem
p_dir.al) line 1296
        Inline::find_temp_dir('Inline=HASH(0x1f7a14)') called at blib/lib/Inline
.pm (autosplit into blib/lib/auto/Inline/check_config_file.al) line 676
        Inline::check_config_file('Inline=HASH(0x1f7a14)') called at blib/lib/In
line.pm line 242
        Inline::glue('Inline=HASH(0x1f7a14)') called at blib/lib/Inline.pm line 
144
        Inline::import('Inline', 'Foo', './t/file') called at t/01usages.t line 
19
        main::BEGIN() called at /usr/local/lib/perl5/5.00503/FindBin.pm line 19
        eval {...} called at /usr/local/lib/perl5/5.00503/FindBin.pm line 19
BEGIN failed--compilation aborted at t/01usages.t line 19.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay



[and so on]

I'm guessing that the readdir() system call that perl is using is returning
an error, and I think that it's EOVERFLOW. I've never met this before.

The POSIX spec for readdir 

http://www.opengroup.org/onlinepubs/009695399/functions/readdir.html

says:

  ERRORS

    The readdir() function shall fail if:

    [EOVERFLOW]
      One of the values in the structure to be returned cannot be represented
      correctly.


and searching google for the text "Value too large for defined data type"
throws up lots of results that suggest to me that the problem is something
to do with large files.

I'm guessing that readdir is being used to work out the absolute path of
the directory where you're building, by scanning each directory in turn up
to /, and it's choking on a large file. Do you have one (or more) files >2Gb
in the directory you're trying to build Inline in, or any directories up the
tree between it and / ? If so, I'd suggest moving them out of the way, or
attempting the build somewhere else on the filesystem where there aren't big
files.

Nicholas Clark

----- End forwarded message -----

Reply via email to