Walt,

I changed the PERL_EXTRA_CFLAGS variable in Makefile.PL to LFLAGS and got the 
following error:
"don't know how to make lib/Apache/MyConfig.pm (bu42)."  

Also, there was no LFLAGS variable in the orginal generated Makefile.  There are a 
couple variables called LDDLFLAGS and CCCDLFLAGS which I suppose are related.  There's 
also a variable called LDFLAGs set to  "-L/usr/local/lib32 -L/usr/local/lib 
-Wl,-woff,84.", which is similiar to the setting of the LFLAGS variable on your system.

-----Original Message-----
From: Wilt, Paul [mailto:pwilt@;xanedu.com]
Sent: Monday, October 28, 2002 10:41 AM
To: Wilt, Paul; DeAngelo Lampkin; '[EMAIL PROTECTED]'
Subject: RE: Irix64 mod_perl compile problems - SOLVED.


DeAngelo:

Quick follow-up!  I looked in our setups and found that we
actually use the LFLAGS (versus the CFLAGS) variable to pass
this information to the linker.  Try uncommenting the change
you made and set the LFLAGS (ours has -g -n32 -mips4 -Wl,-woff,84) and
see if that works.  If so then we need to have Stas add an extra message
about compiling on IRIX.

Paul E Wilt 
Senior Principal Software Engineer
Proquest Information and Learning
---------------------------------------------------------
http://www.proquest.com  mailto:paul.wilt@;il.proquest.com
300 North Zeeb Rd      Phone: (734) 302-6777
Ann Arbor, MI 48106    Fax:   (734) 302-6779
---------------------------------------------------------



-----Original Message-----
From: Wilt, Paul [mailto:pwilt@;xanedu.com] 
Sent: Monday, October 28, 2002 1:23 PM
To: 'DeAngelo Lampkin'; '[EMAIL PROTECTED]'
Subject: RE: Irix64 mod_perl compile problems - SOLVED.


DeAngelo:

Your sysadmin sure has a good eye!  The link that you pointed to earlier:

http://www.mail-archive.com/modperl@;apache.org/msg28889.html

has the following lines in it:

         ======== Error Output for sanity check ========
                 cd ..; cc -n32  -DIRIX -DMOD_PERL -DUSE_PERL_SSI
-D_BSD_TYPES
===> *** -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0
         -I/usr/local/include -DLANGUAGE_C -DUSE_HSREGEX -DNO_DL_NEEDED
-D_BSD_TYPES
===> *** -D_BSD_TIME -woff 1009 1110 1174 1184 1552 -OPT:Olimit=0
         -I/usr/local/include -DLANGUAGE_C `./apaci` -I.
         -I/users/webuser/perl/lib/5.6.1/IP25-irix/CORE    -o helpers/dummy
         helpers/dummy.c   -L/usr/local/lib32 -L/usr/local/lib -Wl,-woff,84
 
/users/webuser/perl/lib/5.6.1/IP25-irix/auto/DynaLoader/DynaLoader.a
         -L/users/webuser/perl/lib/5.6.1/IP25-irix/CORE -lperl -lm -lc 
         ld32: FATAL 9: I/O error (1110): No such file or directory
         cc INTERNAL ERROR:  /usr/lib32/cmplrs/ld32 returned non-zero status
32
         *** Error code 1 (bu21)
         ============= End of Error Report =============

Note the two lines I indicated with the ===> *** above:  The "-woff"
argument *DOES* need
the commas to pass this cc command-line parameter to the linker backend.
Later this week
I will examine our builds to see why this does *not* seem to cause the same
problem on our end.

Thanks
Paul E Wilt  
Senior Principal Software Engineer
Proquest Information and Learning
---------------------------------------------------------
http://www.proquest.com  mailto:paul.wilt@;il.proquest.com
300 North Zeeb Rd      Phone: (734) 302-6777
Ann Arbor, MI 48106    Fax:   (734) 302-6779
---------------------------------------------------------



-----Original Message-----
From: DeAngelo Lampkin [mailto:dlampkin@;xencor.com] 
Sent: Monday, October 28, 2002 12:23 PM
To: [EMAIL PROTECTED]
Subject: Irix64 mod_perl compile problems - SOLVED.


Apparently some of the compile options need to be delimited by commas for
compilers on SGI IRIX64 system.  

For a quick refresher on what the error was, the following error shows up
during the Makefile.PL run:
ld32: FATAL 9: I/O error (1110): No such file or directory

The way to get rid of that helpful error message is to scroll down to the
line in the Makefile.PL script that says the following (line 525 in this
version of the Makefile.PL script):

        if($PERL_EXTRA_CFLAGS) {
            $PERL_EXTRA_CFLAGS = join(" ", split(",",  $PERL_EXTRA_CFLAGS));
            $PERL_EXTRA_CFLAGS =~ s/\s+/ /g;
        }

And then comment out the line with the join so that it looks like this:
        if($PERL_EXTRA_CFLAGS) {
            #$PERL_EXTRA_CFLAGS = join(" ", split(",",
$PERL_EXTRA_CFLAGS));
            $PERL_EXTRA_CFLAGS =~ s/\s+/ /g;
        }

And now Makefile.PL runs without giving you that error message and things
compile as they are meant to!  


Thanks to my system admin for noticing that commas that were present in
template files were not showing up in output and quickly drawing a
connection.  Also, I appreciate the help from Ged and Paul for eliminating
other possible sources for error.


Until next time,

DeAngelo

Reply via email to