Project

General

Profile

Actions

Bug #52

closed

Lib htp installs in /usr/lib by default on OSX 10.5

Added by Matt Watchinski over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Lib htp installs into /usr/lib instead of /usr/local/lib by default on OSX 10.5. This makes BSD admins cranky, as the FHS standard (http://proton.pathname.com/fhs/) and "man hier" disagree.

$ pwd
/usr/lib
$ ls l libhtp*
-rwxr-xr-x 1 root wheel 78360 Jan 8 09:50 libhtp-0.1.1.dylib
-rw-r--r-
1 root wheel 306320 Jan 8 09:50 libhtp.a
lrwxr-xr-x 1 root wheel 18 Jan 8 09:50 libhtp.dylib -> libhtp-0.1.1.dylib
-rwxr-xr-x 1 root wheel 928 Jan 8 09:50 libhtp.la

Actions #1

Updated by Victor Julien over 14 years ago

  • Assignee set to Ivan Ristic
Actions #2

Updated by Ivan Ristic over 14 years ago

  • Status changed from New to Assigned

I've changed the installation prefix to /usr/local, so that will take care of new installations. I see that the default automake install does not remove any of the versions previously installed in /usr/lib; I still need to figure out how to deal with that situation.

Actions #3

Updated by Ivan Ristic over 14 years ago

I added the following code to the Makefile:

# An early version of LibHTP would install in /usr, rather
# than /usr/local. The following code removes the older
# installation.
install-exec-hook:
        rm -rf /usr/lib/libhtp.*
        rm -rf /usr/lib/libhtp-0.1.*
        rm -rf /usr/include/htp/

While the code works as intended, I don't know if that's appropriate to do in a Makefile, or if there is a better way to address this issue.

Actions #4

Updated by Victor Julien about 14 years ago

  • Status changed from Assigned to Closed

I think this is fixed in libhtp upstream.

Actions

Also available in: Atom PDF