[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Caml-list] Real World OCaml beta2 now available (final beta)



You'll need to check if your bash_profile is actually being executed 

utop works after "eval `opam config env`" was added to '.bash_profile'

> Can I run 'utop' from a putty console?

I need to figure out how to get utop 'graphics' displayed properly in putty console.

Thanks for your help.

PhiHo




On Wed, Aug 14, 2013 at 10:44 AM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
On 14 Aug 2013, at 10:39, Phiho Hoang <hohoangphi@xxxxxxxxx> wrote:

>
> Yes, that works.
> Thank you.
>
> BTW, in my '.bash_profile', the OPAM configuration is already in there:
>
> # OPAM configuration
> . ~/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
>
> Now I need to add:
>
>  eval `opam config env`

You'll need to check if your bash_profile is actually being executed for an interactive shell (as bashrc may also take precedence).  Put an "echo" in there to debug it.  You shouldn't need the extra eval line if the above fragment is activated.

>
> Is that correct?
>
> Can I run 'utop' from a putty console?

Sure.

-anil


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.