You are not logged in.

#1 2007-01-29 04:17:48

Jessehk
Member
From: Toronto, Ontario, Canada
Registered: 2007-01-16
Posts: 152

O'Caml and ledit

I installed ocaml on my Arch system and quickly discovered that when I tried to run the interactive toplevel, the executable complained about missing ledit. Now, I know that ledit is a line editing program written in O'Caml and used by the toplevel.

The thing is, when I try to run it as root, it somehow can find ledit, but not when I run it as a normal user. Here's a transcript:

[root@archlinux jesse]# pacman -Sy ocaml
:: Synchronizing package databases... 
:: current is up to date
:: extra is up to date
:: unstable is up to date
:: community is up to date

Targets: ocaml-3.09.3-1

Total Package Size:   11.6 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
installing ocaml... done.
[root@archlinux jesse]# exit
exit
jesse@archlinux:~$ ocaml
bash: ledit: command not found
jesse@archlinux:~$ su
Password: 
[root@archlinux jesse]# ocaml
        Objective Caml version 3.09.3

# let square x = x *. x ;;
val square : float -> float = <fun>
# 
[root@archlinux jesse]# exit

Any ideas?

Offline

#2 2007-01-31 18:50:32

proc
Member
From: Italy
Registered: 2006-11-27
Posts: 71

Re: O'Caml and ledit

Here OCaml 3.09.3-1 is working fine.
I suggest you to delete the package from the cache and to try to install it again.

Last edited by proc (2007-01-31 18:54:11)

Offline

Board footer

Powered by FluxBB