Received: (qmail 16385 invoked by uid 2012); 5 Jun 1999 19:27:35 -0000 Message-Id: <19990605192735.16384.qmail@hyperreal.org> Date: 5 Jun 1999 19:27:35 -0000 From: Johan Claesson Reply-To: md5johan@mdstud.chalmers.se To: apbugs@hyperreal.org Subject: makefile bug on irix X-Send-Pr-Version: 3.2 >Number: 4533 >Category: os-irix >Synopsis: makefile bug on irix >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Jun 5 12:30:00 PDT 1999 >Closed-Date: Mon Oct 30 19:15:09 PST 2000 >Last-Modified: Mon Oct 30 19:15:09 PST 2000 >Originator: md5johan@mdstud.chalmers.se >Release: 1.3.6 >Organization: >Environment: uname -a gives: IRIX64 sgi-origin2000-1 6.4 02121744 IP27 I use SGI own MIPSPro compiler cc -32 using old 32-bit libraries (I do this because I later want to link with mod_perl and perl is in turn linked with oracle which is not available in N32 version) GNU make 3.77 (also tried SGI make) Autoconf version 2.13 >Description: Hi make does not seem to build the src/modules/standard/mod_*.o files so it later fails to link everything together to src/httpd. I am not sure if this is a mistake by me somewhere, bug in autoconf, bug in make or bug in apache; I hope this is the appropriate forum. I tried to make apache on a sparc-machine running solaris and there everything worked fine. /Johan Output: oracle@sgi-origin2000-1:0:~/apache/apache_1.3.6>setenv CC "cc -32" oracle@sgi-origin2000-1:0:~/apache/apache_1.3.6>./configure --prefix=/usr/apache --with-perl=/usr/data/share/oracle/perl/bin/perl --disable-rule=IRIXN32 --activate-module=src/modules/perl/libperl.a --enable-shared=perl Configuring for Apache, Version 1.3.6 + using installation path layout: Apache (config.layout) + activated perl module (modules/perl/libperl.a) Creating Makefile Creating Configuration.apaci in src + enabling mod_so for DSO support Creating Makefile in src You are running 64-bit Irix. For now, we will compile 32-bit but if you would care to port to 64-bit, send us the patches. + configured for SGI IRIX-64 platform + setting C pre-processor to cc -32 -E + checking for system header files + adding selected modules o perl_module uses ConfigStart/End + mod_perl build type: DSO + id: mod_perl/1.19 + id: Perl/5.00502 (irix) [/usr/data/share/oracle/perl/bin/perl] + setting up mod_perl build environment + adjusting Apache build environment + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/main Creating Makefile in src/ap Creating Makefile in src/regex Creating Makefile in src/os/unix oracle@sgi-origin2000-1:0:~/apache/apache_1.3.6>make ===> src . . . cc -32 -DIRIX -DMOD_PERL -DUSE_HSREGEX `./apaci` \ -o httpd buildmark.o modules.o modules/standard/mod_env.o modules/standard/mod_log_config.o modules/standard/mod_mime.o modules/standard/mod_negotiation.o modules/standard/mod_status.o modules/standard/mod_include.o modules/standard/mod_autoindex.o modules/standard/mod_dir.o modules/standard/mod_cgi.o modules/standard/mod_asis.o modules/standard/mod_imap.o modules/standard/mod_actions.o modules/standard/mod_userdir.o modules/standard/mod_alias.o modules/standard/mod_access.o modules/standard/mod_auth.o modules/standard/mod_so.o modules/standard/mod_setenvif.o main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a ld: FATAL 9: I/O error (modules/standard/mod_env.o): No such file or directory make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/users/mmc/johan/apache/apache_1.3.6/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/users/mmc/johan/apache/apache_1.3.6' make: *** [build] Error 2 >How-To-Repeat: Under irix6.4 type: cd apache_1.3.6 setenv CC "cc -32" ./configure --prefix=/usr/apache --with-perl=/usr/data/share/oracle/perl/bin/perl --disable-rule=IRIXN32 --activate-module=src/modules/perl/libperl.a --enable-shared=perl make >Fix: Well as a workaround I compiled each module with a make command, like: cd src foreach mod ( env log_config mime negotiation status include autoindex dir cgi asis imap actions userdir alias access auth setenvif so) make modules/standard/mod_$mod.o cp mod_$mod.o modules/standard end cd .. ...but that is obvious no nice permanent solution:). Same problem occured when trying to install mod_perl. Here lots of objects files were not build so I had to peek at the makefiles and compile them manually. >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: jim State-Changed-When: Thu Jun 10 05:19:06 PDT 1999 State-Changed-Why: It's possible you may have grabbed the tree as this section was being worked on. Howz it look now? Comment-Added-By: coar Comment-Added-When: Wed Jun 7 11:58:00 PDT 2000 Comment-Added: [This is a standard response.] This Apache problem report has not been updated recently. Please reply to this message if you have any additional information about this issue, or if you have answers to any questions that have been posed to you. If there are no outstanding questions, please consider this a request to try to reproduce the problem with the latest software release, if one has been made since last contact. If we don't hear from you, this report will be closed. If you have information to add, BE SURE to reply to this message and include the apbugs@Apache.Org address so it will be attached to the problem report! State-Changed-From-To: feedback-closed State-Changed-By: slive State-Changed-When: Mon Oct 30 19:15:08 PST 2000 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]