This queue is for tickets about the BSD-Resource CPAN distribution.

Report information
The Basics
Id:
4040
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
alex [...] posixnap.net
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
(no value)
Fixed in:
(no value)



Subject: Fails in Solaris 9/sparc32?
[minotaur:Support/Modules/BSD-Resource-1.22] alex% setenv VERBOSE 1 [minotaur:Support/Modules/BSD-Resource-1.22] alex% perl Makefile.PL Configuring BSD::Resource... Checking whether you have certain header files... [cccmd = gcc -c -o tmp16838.o -I~alex/lib/perl5/5.8.1/sun4-solaris/CORE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64] tmp16838.c:1:20: EXTERN.h: No such file or directory tmp16838.c:2:18: perl.h: No such file or directory tmp16838.c:3:18: XSUB.h: No such file or directory [cccmd = gcc -c -o tmp16838.o -I~alex/lib/perl5/5.8.1/sun4-solaris/CORE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64] tmp16838.c:1:24: sys/rusage.h: No such file or directory Your operating system does not seem to have <sys/resource.h> or <sys/rusage.h>. (Run "perl Makefile.PL" with the environment variable VERBOSE set to 1 (one) too see in more detail what went wrong.) There is no way BSD::Resource is going to work. I am awfully sorry but I cannot go further. Aborting configuration of BSD::Resource. [minotaur:Support/Modules/BSD-Resource-1.22] alex% find /usr -name 'rusage.h' /usr/ucbinclude/sys/rusage.h On closer examination, it appears that Solaris has tucked the BSD headers away into /usr/ucbinclude. Well, I'll edit my copy of the module. Would appreciate the module itself being updated. Thanks alex alex@posixnap.net
Date: Tue, 7 Oct 2003 21:51:25 +0300
From: Jarkko Hietaniemi <jhi@iki.fi>
To: Guest via RT <bug-BSD-Resource@rt.cpan.org>
CC: "AdminCc of cpan Ticket #4040": ;
Subject: Re: [cpan #4040] Fails in Solaris 9/sparc32?
RT-Send-Cc:
Show quoted text
> Checking whether you have certain header files... > [cccmd = gcc -c -o tmp16838.o -I~alex/lib/perl5/5.8.1/sun4-solaris/CORE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64] > tmp16838.c:1:20: EXTERN.h: No such file or directory > tmp16838.c:2:18: perl.h: No such file or directory > tmp16838.c:3:18: XSUB.h: No such file or directory
The -I~alex/... does not look right. I think I need to fix the BSD::Resource to cope with directories like ~alex.
Show quoted text
> [cccmd = gcc -c -o tmp16838.o -I~alex/lib/perl5/5.8.1/sun4-solaris/CORE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64] > tmp16838.c:1:24: sys/rusage.h: No such file or directory > Your operating system does not seem to have <sys/resource.h> or <sys/rusage.h>.
Show quoted text
> [minotaur:Support/Modules/BSD-Resource-1.22] alex% find /usr -name 'rusage.h' > /usr/ucbinclude/sys/rusage.h > > On closer examination, it appears that Solaris has tucked the BSD headers away into /usr/ucbinclude.
Hmmm. I would think that directory should have been found by gcc. But I'll prepare a patch. -- Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
Date: Tue, 7 Oct 2003 21:53:52 +0300
From: Jarkko Hietaniemi <jhi@iki.fi>
To: Guest via RT <bug-BSD-Resource@rt.cpan.org>
Subject: Re: [cpan #4040] Fails in Solaris 9/sparc32?
RT-Send-Cc:
Hmmm. My notes of Solaris say that one should never ever do -I/usr/ucbinclude, that will break more things than it ever fixes. I'll ask my Solaris gurus. -- Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
Date: Tue, 14 Oct 2003 08:47:25 +0300
From: Jarkko Hietaniemi <jhi@iki.fi>
To: Guest via RT <bug-BSD-Resource@rt.cpan.org>
CC: "AdminCc of cpan Ticket #4040": ;
Subject: Re: [cpan #4040] Fails in Solaris 9/sparc32?
RT-Send-Cc:
I suggest you try BSD::Resource 1.23. I just got test results that it tests okay on (sparr) Solaris versions 6 to 10 (yes, 10). -- Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.