Received: (qmail 28985 invoked by uid 2012); 26 Jan 1999 02:27:26 -0000 Message-Id: <19990126022726.28984.qmail@hyperreal.org> Date: 26 Jan 1999 02:27:26 -0000 From: Avi Alkalay Reply-To: avi@br.ibm.com To: apbugs@hyperreal.org Subject: Can't compile apache as a shared core X-Send-Pr-Version: 3.2 >Number: 3764 >Category: os-aix >Synopsis: Can't compile apache as a shared core >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: duplicate >Submitter-Id: apache >Arrival-Date: Mon Jan 25 18:30:02 PST 1999 >Last-Modified: Thu Mar 11 12:53:54 PST 1999 >Originator: avi@br.ibm.com >Organization: >Release: 1.3.4 >Environment: OS=IBM AIX 4.3.1 CC=GCC 2.8.1 >Description: I want to compile apache, make a binary package and remove the source. I don't want to recompile it every time I'll add a new module (e.g. mod_perl, mod_php, mod_ssl). It seems I have to compile apache with a shared core to do that. It worked on linux but not on an AIX box. I got errors when linking the libhttpd.so: ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry -bI:./support/httpd.exp -bE:`echo libhttpd.so|sed -e 's:\.so$:.exp:'` -lc -o libhttpd.so buildmark.o modules.o modules/standard.a main/libmain.a ./os/unix/libpos.a ap/libap.a regex/libregex.a ld: 0706-004 Cannot find or read export file: libhttpd.exp ld:accessx(): No such file or directory AIX needs a file for exported symbols(?) with .exp extension. I can't see it in the distribution. I just found src/support/httpd.exp. What is the --enable-rule=SHARED_CHAIN option to ./configure? >How-To-Repeat: Just do this: CC="gcc -D_LONG_LONG" \ ./configure --enable-all --enable-module=all --enable-shared=max \ --enable-rule=SHARED_CORE --enable-rule=SHARED_CHAIN make >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: rbbloom@us.ibm.com State-Changed-When: Thu Mar 11 12:53:53 PST 1999 State-Changed-Why: [This is a standard response.] This issue has been reported before; please search the FAQ and the bug database. Thanks for using Apache! Class-Changed-From-To: change-request-duplicate Class-Changed-By: rbbloom@us.ibm.com Class-Changed-When: Thu Mar 11 12:53:53 PST 1999 >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]