www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Lopez-Lezcano <na...@ccrma.stanford.edu>
Subject os-irix/833: makefiles incorrectly generated when compiling from mod_perl
Date Mon, 07 Jul 1997 19:40:02 GMT

>Number:         833
>Category:       os-irix
>Synopsis:       makefiles incorrectly generated when compiling from mod_perl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul  7 12:40:01 1997
>Originator:     nando@ccrma.stanford.edu
>Release:        1.2.1
Irix 6.3 R10000 running on an O2
uname -a = IRIX cm 6.3 12161207 IP32
As perl is compiled with "-n32" libraries in irix, mod_perl wants apache to also be compiled
with the same options so that perl can be linked into it. Perl includes the compilation mode
in the CC variable, as in 'cc -n32'. When mod_perl  tells apache to compile, the generated
makefiles contain calls to "make CC=cc -n32". Note the absence of quote marks around 'cc -n32'.
Make bombs as it takes -n32 as an unrecognized option. 
in the mod_perl directory:
perl Makefile.PL; answer the questions
"make" when finished
I fixed the problem by adding quotes around $(CC) in:

  - Changed in apache/src/Makefile.tmpl:

	(cd regex; $(MAKE) lib CC='$(CC)' AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)')

	(cd modules; \

  - Changed in apache/src/Configure

    \$(MODULES): ForceMe
	(cd \$@; \$(MAKE) 'CC=\$(CC)' AUX_CFLAGS='\$(MOD_CFLAGS)' RANLIB='\$(RANLIB)')

Hope this helps%2

View raw message