With help from Saul Pliuskonis <email@example.com> I solved
this one by removing these 2 definitions referring to 64 bit
in this line in the generated Makefile:
CCFLAGS = -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
It works fine now.
-- john l wynstra
UNIX Systems Administrator
ICIT, Hunter College
voice... (212) 650-3203
fax... (212) 772-5799
===> Original message <===
I apologize if this is not quite the right list for this one,
but I can't seem to find a perl e-list like this one for sun-managers.
I am getting this error while trying to compile the CPAN module
Proc-ProcessTable-0.28: "Cannot use procfs in the large file compilation
environment". What does this mean? What do I need to do about it?
TIA and I will summarize.
gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fPIC -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -DPR
OC_FS OS.c ProcessTable.c
In file included from /usr/include/procfs.h:26,
/usr/include/sys/procfs.h:44: #error "Cannot use procfs in the large file compilation environment"
*** Error code 1
make: Fatal error: Command failed for target `OS.o'
# uname -a
SunOS lexicon 5.7 Generic_106541-12 sun4m sparc SUNW,SPARCstation-5
# gcc --version
# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
===> Replies from Saul <===
Date: Tue, 21 Nov 2000 14:51:36 -0800 (PST)
From: Saul Pliuskonis <firstname.lastname@example.org>
I am getting the same error. I did not get the error on an Ultra 5
system, but I am getting it on an E-450, both are running Solaris 7.
From: "Saul Pliuskonis" <email@example.com>
To: "John Wynstra" <firstname.lastname@example.org>
Subject: RE: Proc-ProcessTable-0.28
Date: Wed, 22 Nov 2000 08:33:14 -0700
Given that Proc-ProcessTable-0.28 compiled just fine on my Ultra 5 at home,
I decided to rerun the "perl Makefile.PL" process on an Ultra 5 at work, and
then compare the resulting Makefile with the one from the E-450. Since the
E-450 is setup to run 64 bit and 32 bit, the program that makes the Makefile
added 64 bit flags to compile command line. I just removed all the "extra"
flags from that Makefile, and ran "make" on it on the E-450. It worked fine.
I'm not at work right now, so I can't tell you exactly what I pulled out of
the Makefile, so if you don't have a pure 32 bit machine to try it on, to
get the right flags, let me know and I'll send them to you later.
Sr. Unix Architect
XLT Services, Inc.
U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
. unsubscribe sun-managers email@example.com
L To view an archive of this list please visit:
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:24 CDT