On Sat, 19 Dec 2009, Szak�ts Viktor wrote:
Hi,
> > I think /opt should be removed from HB_SYSLOC logic in global.mk
> > /opt is not a system dir
> It's fine with me and the modification is an easy one
> (and should also be done in hbmk2.prg), but before I
> do it, can other *nix experts give a short opinion or
> confirmation?
It despneds on what you are calling system installation?
If you ask about special permissions necessary to access /opt
then it's system installation.
If you ask about using /opt/*/lib as one one default dynamic loader
libraries then it's not system installation but some installers
can add /opt/*/lib to dynamic loader library list.
If you ask about some strict directory structure used in /opt tree
which is defined by filesystem hierarchy standard then /opt is
described and should confirm such standards so in this sense it's
system installation.
> To me /opt looks like a grey area.
It's quite precisely defined by FHS (Filesystem Hierarchy Standard).
Few months ago I sent this list description of directory structure
which should be used by Harbour when it's installed in /opt directory.
Below I'm attaching it again.
best regards,
Przemek
'->' means soft link,
1. FHS2.3 compliant localization for add-on applications:
=========================================================
/opt/
/harbour/
/bin/
<harbour_executable_files>
/lib/
<native_harbour_libraries>
[/<addon_harbour_lib>/
<native_addon_libraries>]
[/<platform>/<cc>/
<platform_cc_libraries>]
/include/
<harbour_header_files>
[/<addon_harbour_lib>/
<addon_header_files>]
/share/
/man/
/man1/
<harbour_man_pages>.1
/doc/
<harbour_doc_files_and_dirs>
[/<addon_harbour_lib>/
<addon_docs>]
/etc -> /etc/harbour
/etc/
/harbour/
<harbour_config_files>
/etc/
/opt/ (if exists)
/harbour -> /etc/harbour
if /opt/bin exists then we should create in this directory soft links
to executable files in /opt/harbour/bin
if /opt/lib exists then we should create in this directory soft links
to harbour shared libraries in /opt/harbour/lib
if /opt/man/man1 exists then we should create in this directory soft links
to harbour shared libraries in /opt/harbour/share/man/man1
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour