List Info

Thread: "ocaml_beginners"::[] PATH problem with GODI and Ubuntu




"ocaml_beginners"::[] PATH problem with GODI and Ubuntu
country flaguser name
United States
2007-02-22 17:19:59

I installed Ocaml via GODI in my home dir instead of the default
/usr/... where Ubuntu usually installs the package.
However, when I try to execute commands with sudo, for example, a
simple 'sudo make install', I get some PATH problems because Ubuntu's
sudo is notorious for resetting the PATH, and so I temporarily lose
the location of the OCaml compilers.

So, how do other people that use Ubuntu and have installed Ocaml with
GODI in a non-standard directory cope with this?

Thanks.

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] PATH problem with GODI and Ubuntu
country flaguser name
United States
2007-02-22 17:34:30

On Thu, 22 Feb 2007, drehman27 wrote:

> I installed Ocaml via GODI in my home dir instead of the default
> /usr/... where Ubuntu usually installs the package.
> However, when I try to execute commands with sudo, for example, a
> simple 'sudo make install', I get some PATH problems because Ubuntu's
> sudo is notorious for resetting the PATH, and so I temporarily lose
>; the location of the OCaml compilers.
>
> So, how do other people that use Ubuntu and have installed Ocaml with
>; GODI in a non-standard directory cope with this?

I don't install things as root in my home directory, therefore I don't use
sudo for that.

Does it answer your question?

Martin

--
Martin Jambon
http://martin.jambon.free.fr

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )