Received: (qmail 36351 invoked by uid 501); 2 Dec 2000 20:12:00 -0000 Message-Id: <20001202201200.36350.qmail@locus.apache.org> Date: 2 Dec 2000 20:12:00 -0000 From: Mark J.Hershenson Reply-To: markhers@green-ant.com To: submit@bugz.apache.org Subject: Configuration fails at numerous levels X-Send-Pr-Version: 3.110 >Number: 6922 >Category: config >Synopsis: Configuration fails at numerous levels >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Dec 02 12:20:00 PST 2000 >Closed-Date: Wed Mar 21 22:41:03 PST 2001 >Last-Modified: Wed Mar 21 22:41:03 PST 2001 >Originator: markhers@green-ant.com >Release: 2.0a8 >Organization: >Environment: [localhost:/] root# uname -a Darwin localhost 1.2 Darwin Kernel Version 1.2: Wed Aug 30 23:32:53 PDT 2000; root:xnu/xnu-103.obj~1/RELEASE_PPC Power Macintosh powerpc aka Mac OS X Public Beta >Description: I tried to configure Apache 2.0a8 with the following on Mac OS X Public Beta: ./configure --prefix=/opt/apache2 --enable-so --enable-shared=max --enable-cgi --with-optim=-O3 At a number of stages, configuration fails because it would seem that many levels have different ways of getting the config.guess/sub information, and using it. I fixed some of the problems along the way by either editing the Makefile.in's or copying config.* into the proper places. Additionally, unstuffing the tarball leaves a number of symbolic links which do not match up with Mac OS X / Darwin's layout. -- Then, I tried to configure with --host=powerpc-apple-netbsd, but that fails as well. It works for instance, tho, in directories like: lib/apr/shmem/unix/mm/ The configuration works. In this directory, a compilation yields: [localhost:shmem/unix/mm] root# make ./libtool --quiet --mode=compile cc -c -O2 mm_global.c ./libtool --quiet --mode=compile cc -c -O2 mm_alloc.c ./libtool --quiet --mode=compile cc -c -O2 mm_core.c ./libtool --quiet --mode=compile cc -c -O2 mm_lib.c ./libtool --quiet --mode=compile cc -c -O2 mm_vers.c ./libtool --quiet --mode=link cc -o libmm.la mm_global.lo mm_alloc.lo mm_core.lo mm_lib.lo mm_vers.lo \ -rpath /usr/local/lib -version-info `./shtool version -l c -d libtool mm_vers.c` /usr/bin/ld: unknown flag: -Bshareable make: *** [libmm.la] Error 1 I would easily chalk this up to a lack of testing on X, which is fine, it's young, but it does need to be addressed, as many on Mac OS X Server / Mac OS X / Darwin would like to test the server for future use. >How-To-Repeat: >Fix: I know it's an alpha, but it would make sense to make sure that all configure's use the same config.guess and config.sub, likely in the src directory. Doesn't seem right that a configure would work on the base tree, and then fail in a number of folders because they use their own configure/config.*. Putting together a master config.* shouldn't be too difficult, and would allow the project as a whole to incorporate a single new host-trip/quad and support in a single file. >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: rbb State-Changed-When: Thu Feb 22 15:56:25 PST 2001 State-Changed-Why: There has been some work done on the code base to bring a lot of the configuration stuff under control. Most notably, most of the tree uses the same config.sub/config.guess now. Could you try the Apache 2.0 tree from CVS and let us know if it is working, or better? Thank you for using Apache. State-Changed-From-To: feedback-closed State-Changed-By: slive State-Changed-When: Wed Mar 21 22:41:03 PST 2001 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! ]