Hi Przemek,

Thanks a lot. [ Not very user friendly IMO :( Especially
when you have 5-7 environments. Lots of typing, lots of
places for mistakes. ]

Can we have a command line option to make this the
default? I mean that we could use './make_gnu.sh --local'
or similar to just install in current harbour dir.
(just like it is in Windows).

Also, is there a way to force generating Harbour
binaries with _static_ libs?

Brgds,
Viktor

On 2008.10.05., at 23:11, Przemyslaw Czerpak wrote:

On Sun, 05 Oct 2008, Szak�ts Viktor wrote:

Hi Viktor,

That's exactly what I'd like to do :)
Question: How?

export HB_INSTALL_PREFIX="$HOME/harbour-1.1.0"

and:

  mkdir -p $HB_INSTALL_PREFIX/{bin,include,lib}
  ./make_gnu.sh install
or:
  ./make_tgz.sh
  and then decompress it to given directory

Probably for easier usage you will find also usable:
  export PATH="$HB_INSTALL_PREFIX/bin:$PATH"
but it's not necessary if you are using hb* scripts.

If you want to use shared harbour.so library then you will
have to also inform ld where it's located. In
  man ld.so
you will find all options. In short words:
  export LD_LIBRARY_PATH="$HB_INSTALL_PREFIX/bin"

The above is for Linux. In other *nixes it looks very similar.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to