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