Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yi failed to install

Tags:

haskell

Would love to try the Yi editor, but unfortunately, it keeps failing during the installation.

First I get:

> cabal install yi
haskell-src-exts-1.13.0 failed during the configure step. The exception was:
ExitFailure 1
yi-0.6.5.0 depends on haskell-src-exts-1.13.0 which failed to install.

then when I try to install haskell-src-exts I am stumped by this:

setup: The program happy version >=1.17 is required but it could not be found.
cabal: Error: some packages failed to install:
haskell-src-exts-1.13.0 failed during the configure step. The exception was:
ExitFailure 1

installing happy cabal install happy (version 1.18.9 at that) does not help, as it still produces the error above!

I am trying to get this going on ArchLinux. Also, Windows installation didn't work either.

Any ideas?

like image 268
Andriy Drozdyuk Avatar asked Apr 10 '12 19:04

Andriy Drozdyuk


People also ask

Why is my YI camera not pairing?

Check that the camera's Wi-Fi is turned on. Once the camera is on, swipe down to open the shortcut menu and check that the Wi-Fi option is lit. Check that the app is not connected to a different camera's Wi-Fi hotspot. Check that the app's Wi-Fi password is correct.

Why does YI camera fail to load videos?

This is caused by a network connection issue. When this happens, if you click on an Alert in the app you will see one of these errors. To correct this issue, you will need to power cycle your Wi-Fi router. To do this, unplug the power cable on the Wi-Fi router for 5-10 seconds.

How do I reset my YI camera?

The reset button is located on the upper left side of the QR code on the back side of the camera. Please hold down on the reset button until the yellow light turns on. The reset is successful when the yellow light is on or you hear the voice “Reset is successful”.


1 Answers

cabal installs programs to ~/.cabal/bin (on Unix; no idea about Windows) if they are not already installed, and does not warn you to add it to your $PATH; it also (unless you have the latest unreleased version, built from its repo) does not know that it has done so, because it only tracks libraries, not executables. You will need to manually add $HOME/.cabal/bin to your $PATH so that it will be found

(edit be pedantic)

like image 123
geekosaur Avatar answered Sep 28 '22 23:09

geekosaur