[ 
https://issues.apache.org/jira/browse/AXIS2C-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668009#action_12668009
 ] 

Soren Hansen commented on AXIS2C-1340:
--------------------------------------

Yes, /opt is reserved for add-on (third-party) applications. I'm not sure what 
your point is, though.

Applications and libraries that install themselves in /opt typically have a 
directory layout that is rather flat and very specific to the given 
application. Also, they need to function under the constraint that they're not 
in the LD_LIBRARY_PATH, nor PATH, and that there's no standard place for them 
to look for their configuration files, extension modules, etc. etc. These 
constraints are typically worked around by requiring an environment variable to 
be set (like AXIS2_HOME) and telling the user to alter his LD_LIBRARY_PATH and 
PATH, potentially doing so globally for the entire system.

However, most of the libraries you find on a Linux system do not work this way. 
They install themselves according to the FHS, do not require various 
environment variables to be set, etc., etc. because that's how it's globally 
agreed to do this. If all libraries required additions to LD_LIBRARY_PATH, a 
special environment variable, and all applications needed additions to PATH, 
I'm sure you can see that that would be horrible  (a standard system has 
hundreds of libraries installed). As it stands, Axis2 is the *only* thing on my 
system that requires me to do something like this, and it's blocking me from 
using it in a project in Ubuntu.

> There seems to be no way to install Axis2 in an FHS compliant way
> -----------------------------------------------------------------
>
>                 Key: AXIS2C-1340
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1340
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.5.0
>         Environment: Ubuntu 9.04
>            Reporter: Soren Hansen
>            Assignee: Sanjaya Ratnaweera
>            Priority: Critical
>
> I need to be able to install Axis2/C in a way the complies to the FHS: Shared 
> libraries in /usr/lib , public header files in /usr/include, configuration 
> files under /etc/, Axis2 modules probably in /usr/lib/axis2c/ or something... 
>  As far as I can see, the only supported installation and use method for 
> Axis2/C is in its own separate directory (/opt/ style), and then keeping an 
> environment variable set to track this location. This is not acceptable for 
> inclusion in Ubuntu or Debian, which makes it impossible for us to package 
> not just Axis2/C, but also anything that depends on it.
> I've spent hours trying to subscribe to your mailing list to discuss this, 
> but your mailing list system seems to just ignore me, so I see no other way 
> than to simply file this bug report.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to