Received: (qmail 94489 invoked by uid 501); 20 May 2001 07:03:03 -0000 Message-Id: <20010520070303.94488.qmail@apache.org> Date: 20 May 2001 07:03:03 -0000 From: Joshua Slive Reply-To: slive@apache.org To: submit@bugz.apache.org Subject: make install puts files both under /usr/local/ and /usr/local/apache2 X-Send-Pr-Version: 3.110 >Number: 7750 >Category: build >Synopsis: make install puts files both under /usr/local/ and /usr/local/apache2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun May 20 00:10:01 PDT 2001 >Closed-Date: Sat Jul 07 20:31:16 PDT 2001 >Last-Modified: Sat Jul 07 20:31:16 PDT 2001 >Originator: slive@apache.org >Release: 2.0.18 >Organization: >Environment: Linux 2.2.17-14smp #1 >Description: The default configure and install will install duplicate files, some of which will go into system directories rather than the proper Apache PREFIX. eg. /usr/local/lib: -rw-r--r-- 1 root root 2011228 May 19 23:56 libapr.a -rw-rw-r-- 1 root root 622 May 19 23:56 libapr.la -rw-r--r-- 1 root root 664082 May 19 23:57 libaprutil.a -rw-rw-r-- 1 root root 634 May 19 23:57 libaprutil.la /usr/local/apache2/lib: -rw-r--r-- 1 root root 1914744 May 9 20:44 libapr.a -rw-rw-r-- 1 root root 607 May 9 20:44 libapr.la -rw-r--r-- 1 root root 991868 May 9 20:44 libaprutil.a -rw-rw-r-- 1 root root 619 May 9 20:44 libaprutil.la The same is true for the include directory which is completely duplicated in /usr/local/apache2/include and /usr/local/include/ >How-To-Repeat: ./configure make make install >Fix: >Release-Note: >Audit-Trail: Comment-Added-By: slive Comment-Added-When: Sun May 20 00:14:43 PDT 2001 Comment-Added: I just realized from looking at dates that the files in /usr/local/apache2/lib are from a previous install. Those files are ONLY being installed in /usr/local/lib when no --prefix is specified. The include/ files ARE being installed in both locations, however. State-Changed-From-To: open-closed State-Changed-By: rbb State-Changed-When: Sat Jul 7 20:31:16 PDT 2001 State-Changed-Why: I have just committed a fix to this problem. Basically, we weren't passing the prefix to the libraries that Apache relies on. By passing that information to the libraries, everything is always installed to the correct locations. >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! ]