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?

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)

Similar Messages

  • After pres star, my macbook pro 15inc, making beep sound sevral times, but display remain black, and led light blink, inside fan is runing sounds starup come, but display not working :( any one please help me

    I have mac book pro, 15inch server color, 2008 modal, few days before I was watching movie at the same time I was chating on face book, suddenly my mac stuck so I just tried to force shutdown, by pressing shadown key for 7sec, and after I try to turn on, but nothing comes on display it's black ad if it's off, but laptop fan is on the led is on its heat is as if it's working, after I tried to reset then it's started making beep noses for ten times and again same thing nothing comes on display black, but sounds like fan is on and led blink, please help me

    Hi Aparana.rahul,
    The beeps during the startup of your MacBook Pro indicate that it may need to be serviced. See this article for further information -
    OS X Mavericks: If you hear beeps when your computer starts up
    http://support.apple.com/kb/PH14206
    Note that while the article title says it is for computers running Mac OS X 10.9 Mavericks, the same information applies to other versions.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Iphone power button doesn't work and LED is on

    Have a black 64gb iphone 4s, (ios 6.1.3), no case - for about 1yr4mo.  last week i fell asleep on the phone and when i woke up, the power button wasn't working.  I left the phone plugged in for the rest of the night, and when i got up it was working again.  Last night I once again fell asleep on my iphone, and woke up to find both the power button not working AND the LED light is stuck on... its kind of like at maybe 5% brightness.  I put the phone in a bag of rice for the rest of the night, but this morning now, the light is still on and LED still on.  Phone never officially got wet, but I suspect there was enough moisture to potentially cause problems.
    phone is out of warranty and i'm trying to figure out how long i wait until i start poking around at it to see if i can do anything with it...
    anyone have any ideas?

    Hi, bruno7.
    1. Have you tried "Mac OS: Apple Pro Keyboard Shortcuts for Shut Down and Restart"?
    2. What changes did you make to your Mac before this problem arose?
    3. Are you using FruitMenu? If so, check for updates, disable it, or uninstall it.
    4. After you next shut down, run the procedure specified in my "Resolving Disk, Permission, and Cache Corruption" FAQ. Perform the steps therein in the order specified.
    5. An errant Startup or Login Item maybe the cause. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    6. If none of the above, when you attempt to select Shut Down or Restart from the Apple menu and nothing happens, immediately check the ends of these Console logs for clues.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • GX660R Webcam and LED problem

    Got my machine and everything works fine except the webcam and led controller after I uninstall some applications.
    As I can see, this is not happening to me only. My webcam cannot be detected now and still doesn't work after reinstalling SCM.
    Also led controller says ' don't support the led controller'.
    Anyone knows how to fix this? Pls don't tell me to restore.

    What did you uninstall before this happened?

  • Lumia 1020 flash and LED not working

    Both flash and LED stoped working on my Lumia 1020. I tried: soft reboot, hard reboot, different camera apps (and settings) and a app to use the phone as a flash light: no result. 
    It worked untill yesterday. Camera is working fine, but without LED and flash.
    Suggestions?

    Having the same problem. Suddenly camera flash & led stopped working. Cannot afford hard reset due to much lost of data. Searched for solutions but could not found any. Also nobody seems to be interested to help out. Don't get any solution or answer by Nokia.

  • Camera and led light not working after IOS 7 update on iphone 5 help please!!

    After I installed the update my led light won't work for the flashlight and my camera doesn't work either. Only the front facing camera works. Any suggestions?

    thanks for the suggestions, i tried the ideas you suggested but i dont even get a camera showing for the rear camera, i also noticed the torchlight no longer works.  i did all the steps but no luck.
    So I took my camera to the genius bar this weekend as well as walking through various steps with the apple guys in ohio support over the net. 
    With the guys at the genius bar, after i insisted that it must be software as the rear camera stopped working only after the softwre update, they continued to assure me it was hardware and talked me into letting them replace the camera,  they then took it to the back and tried fixing a camera and 30 minutes later came out and said the rear camera is no longer being detected and wanted me to replace the motherboard for yet more money.  im glad they didnt charge me for the new camera though as it still didnt work.
    anyway the motherboard idea i rejected as it was just 2 months out of warranty and had only stopped working the day after the release of 7.0.2, so im going to wait until the next few releases to see what happens, as i dont believe for a second its hardware.  i expected a stock answer from apple and its exactly what i got even after my explanation of how it was working the day before the release.  not overly impressed with the whole process.
    i wanted to back down to 7.0.1 to confirm the camera still works but they said no chance so i cant even see if it still works ouside 7.0.2.  anyway will update if i get any further progress.

  • Sort order in list wrong: in CAML and in view

    Hello,
    When I order my list with document sets by ID, the order is wrong. It is wrong in the list and with caml.
    This is my view (I just set the sort on the ID column):
    The first 4 objects are created by the Client Object Model; the last 4 are created by a SharePoint webpart that I developped myself...
    My code for creating document sets in COM is something like this:
    ListItemCreationInformation newItemInfo = new ListItemCreationInformation
    UnderlyingObjectType = FileSystemObjectType.Folder,
    LeafName = _strLeafname // = date in format YYYYMMDDhhmmss
    ListItem newListItem = myList.AddItem(newItemInfo);
    newListItem["ContentTypeId"] = targetDocumentSetContentType.Id.ToString();
    newListItem["Title"] = title;
    newListItem.Update();
    clientContext.Load(myList);
    clientContext.ExecuteQuery();
    The code in the webpart is this:
    SPContentType docsetCt = myLst.ContentTypes[p.GetFromResourcefile("xxxxxxxxxxxxxx")];
    Hashtable properties = new Hashtable
    {"DocumentSetDescription", ""},
    {"Title", txtTitle.Text}
    SPFolder parentFolder = myLst.RootFolder;
    int newId = GetLastId(myLst) + 1;
    DocumentSet ds = DocumentSet.Create(parentFolder, newId.ToString(CultureInfo.InvariantCulture), docsetCt.Id, properties, true);
    ds.Item["Title"] = title
    ds.Item.Update();
    why is the sort order wrong?
    if i do this query in the U2U Caml builder, the order is also wrong
    <OrderBy><FieldRef Name='ID' Ascending='FALSE' /></OrderBy>
    if i order by "created", the order is also wrong....
    i don't get it....

    Document Sets are great tools for grouping multiple documents together. However, if every set has exactly one document, it would be better to just upload the file and not place it within a Document Set:
    Uploading documents using object model - http://msdn.microsoft.com/en-us/library/office/ms454491(v=office.14).aspx
    Uploading documents using web services -
    http://cecildt.blogspot.com/2010/10/upload-documents-to-sharepoint-2010.html
    If you have requirements to use Document Sets, keep in mind that this adds a layer of complexity beyond a simple Document Library. Behind the scenes, each Document Set is treated as a separate folder, and although can you query items within it, there might
    be extra steps for getting the sort order to ignore the folder structure. Can you try setting the Scope to be "Recursive" and also specify that you are looking only for files and not folders:
    <Eq><FieldRef Name='FSObjType'/><Value Type='Lookup'>1</Value></Eq></Where>
    Dimitri Ayrapetov (MCSE: SharePoint)

  • New Mac Pro and LED cinema display

    Sorry if this has been asked before, I tried searching for it but none of the topics answered my question specifically enough.
    I have a 24" Apple LED Cinema Display purchased less than a year ago. Will it connect to a new Mac Pro and what happens to the power cable that's attached to the LED display?

    I have a 24" Apple LED Cinema Display purchased less than a year ago. Will it connect to a new Mac Pro
    Yes. All the standard cards that come in the Mac Pro have one Mini DisplayPort. The 24"LED display will plug into that.
    and what happens to the power cable that's attached to the LED display?
    It is not used if you don't have a MacBook.

  • Screen resolution problem - HP computer and LED Cinema Display

    I just purchased an HP Envy Phoenix H9-1330 with Windows 8, and I connected it to my 27" Mac LED Cinema Display, but the resolution is horrible. The highest option in the screen resolution menu is 1280 x 720, and I'm getting the error message "Your resolution is lower than 1024 x 768. Some items might not fit and apps might not open". How do I fix this? What kind of issue is this (Windows 8? Graphics card? HP can't support my monitor? etc...)?
    I just bought another brand new computer, but not an HP, with Windows 8 and I have no problems with the resolution - it looks absolutely beautiful. I want to use my monitor with my HP desktop though.
    Thanks for any help

    Still haven't figured it out....
    BUT I did notice that, on the back of the computer, there are 2 additional DVI connections that are covered with a black cover and screwed in (and they say 'please do not remove'.... I'm asuming it's because they aren't connected to anything? Or maybe they aren't connected to the graphics card?). Is it possible that just my DVI connection is wrong, and I'll need to connect to one of these covered-up DVI inputs instead? But why are they covered up? Do I need to take it in so they can be connected to the graphics card?? Help! I don't want to return this computer, but I will have to if I can't get the resolution fixed.

  • Profiles and LED

    Hi
    I have a profile set with notifications so that SMS/MMS recieved blink the red LED, however my email is set to have no blinking LED (with me so far?)
    All works ok, if I receive a SMS the LED blinks as expected however if an email then arrives the LED will go off.
    How can I adjust it so if there is an unread SMS/MMS the LED will remain blinking?
    8520 Curve
    OS 5
    Cheers
    Neil

    Hello,
    The BlackBerry smartphone will display/playback the last notification setting that is set. Therefore if the email comes in after the SMS message and is set not to have a flashing LED then the LED will not flash after the email has come in.
    Thank you
    -DrP
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Charging issue, battery is installed in my iBook g4 and led is orange, when battery is out, led is green

    is my battery bad, or dc board bad?  When my battery is installed and "charging" the LED is orange and battery indicator shows plugged in and 0% in the battery.  when I take the battery out, the led is green and battery has an X in it.  thanks. 
    Dennis

    These batteries are designed to last a set number of charging cycles, so it is very possible that it "dead."

  • Dropped my phone in the toilet, screen won't come on and LED is staying constantly on.

    Yesterday, my phone fell out of my back pocket into the toilet. I quickly picked it up, and wiped it off then tried to shake all the water out. A few minutes later, the LED flash light came on, but the screen (which was already cracked before i dropped it, as was the back of the phone) stayed black and wouldnt turn on. I left it sitting on my dresser, and a couple hours later the light went off. A few hours after that, i put it in a bowl of rice. this morning i took it out, but the screen still wouldnt turn on. I plugged it up to my computer (which didnt recognize it was there) and after about 15 minutes the light came back on, but the screen still wouldnt turn on. I put it back in the bowl of rice.
    Is there any hope it might turn back on?

    i have done the same how ever mine is basically new buuuut i don't have any rice soo just wrapped mine in a towle and put it on my heater .... that wont damage it ...right?

  • Mouse bug with MBA 13" and LED CD27"

    Hardware:
    LED Cinema Display 27"
    MacBook Air 13" Dec 2010 1,86 ghz
    Problem:
    At any giving time the mouse won't click anymore. I can move the pointer and use the keyboard to certain extent.
    This problem make no distinction between the keyboard and trackpad on the MBA and the external mouse/keyboard connected to the display or directly to the laptop.
    Already tried:
    rebooting => doesn't work
    changing mouse settings => doesn't work
    What works is:
    Rebooting to safe mode, then creating a new user account and logging onto that account after a restart and then logging on the my real user account.
    But the solution is not something I want to do every 2 hours when the problem appears. Can somebody help??, it's very bizarre...

    I've made a video of what happens:
    http://www.youtube.com/watch?v=7aAn_S5X9uk

  • Switches and led wiring

    I can see that switches was connected to resistor and got a wire from positive ( Own 3v wiring)
    While the Led was not connected to positive , directly to the pi pins .
    What is the reason behind it ? Is it because the led doesnt need so much power as the switch ?

    Thanks Tom it is helpfull but its not so much clear to me yet ,
    I tried to upload an image to ask my question in a better way
    thats the link
    diagram question
    I ll press solved on this post to not make a duplicate please check out the other post because i think by image its better to understand where is my confusion especially that im not english native and im having difficulties to explain myself here

  • Stamina Mode and Led Notification

    Hi
    Do Sony have any plans to allow apps that use LED notification work correctly when Stamina mode is enabled?
    i.e. the light Manager app allows a user to configure LED notications, but it only works for a few seconds when Stamina mode is enabled(even though the app is added to the Apps Active in Standby), you have to disable Stamina mode for lightmanager to work correctly

    Is there any update availabel to this topic ?
    Searched half a day also in german boards and found no answer which satisfied me.
    Using Xperia Z1 compact
    Android 4.4.4
    If Stamina mode is activated, the LED doesn't flash ANY time !
    It also DOESN'T flash, if I activate the screen !!!
    I don't think this is normal...
    I've also tried several apps like "Light Manager", "Light flow" and so on...
    With this apps, the LED is "flashing" every 2 or 3 second white/violett, not recognizable if you're not sitting direct above the phone !
    After activating the screen, the LED is flashing as set up in the app.... faster and other colour.
    YES, I added the messaging app and / or the light app to Stamina.
    Dear Sony Team, I would appreciate, if you'll implement to the next update the choice, to activate the LED notification with activated Stamina !
    And if possible a little bit more illumination !!

Maybe you are looking for