On Sat, Aug 15, 2009 at 8:02 PM, Viktor Szakáts<harbour.
0...@syenar.hu> wrote:
Just to report that using the prefix in the subj the libs are put in
/opt/harbour/lib/harbour.
I think it's perfect.
I think that set correctly HB_INSTALL_PREFIX should be an user's
responsibility and a safe
default could be $HOME/harbour-ver.
Here the main goal seem to respect HB_INSTALL_PREFIX and protect
casual user from running "make install"
without knowing well what's he doing.
I couldn't agree more. The safest place to install files
is the source tree itself. This is is how it's done already
on non-*nix OSes and such installed Harbour is perfectly usable.
If this is acceptable for Linux users, it's very easy to
make this change.
The traditional default prefix for Linux for install from source is
/usr/local. Please don't.
Okay. I assume this will be Przemek's POV also, plus expected *nix
behavior. Anyhow, for me either way is fine.
BTW, users who don't like default behavior on *nix system (me included),
can use:
$ export HB_INSTALL_PREFIX={HB_TOP}
Which will set it to the Harbour source root, just like it is for
non-*nix platforms.
{HB_COMP}, {HB_ARCH} and {HB_CPU} are also available as macros in
HB_INSTALL_PREFIX value. F.e. if someone would like to install Harbour
in C:\hb-<compiler>, (s)he can use:
set HB_INSTALL_PREFIX=C:\hb-{HB_COMP}
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour