cgo/hsimage

Failed to install in ubuntu 12.4 with sudo cabal install repa-v4l2

Opened this issue · 1 comments

sudo cabal install repa-v4l2

martin@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise

[38 of 38] Compiling Data.Array.Repa.Stencil ( Data/Array/Repa/Stencil.hs, dist/build/Data/Array/Repa/Stencil.o )
Registering repa-3.2.2.201204.1...
Installing library in /home/martin/.cabal/lib/repa-3.2.2.201204.1/ghc-7.4.1
Registering repa-3.2.2.201204.1...
cabal: Error: some packages failed to install:
GLUT-2.3.1.0 depends on OpenGL-2.6.0.1 which failed to install.
OpenGL-2.6.0.1 failed during the building phase. The exception was:
ExitFailure 1
bindings-libv4l2-0.1 failed during the configure step. The exception was:
ExitFailure 1
gloss-1.7.7.201204.1 depends on OpenGL-2.6.0.1 which failed to install.
repa-v4l2-0.2.0.0 depends on bindings-libv4l2-0.1 which failed to install.
v4l2-0.1.0.3 depends on bindings-libv4l2-0.1 which failed to install.
martin@ubuntu:~$

cgo commented

Hi,
thanks for the comment.
Last time I checked, I was myself unable to build the package. I could not get hold of the maintainer
of the v4l2 bindings. They have a script that is apparently used to generate the bindings
from the v4l2 include file, but that failed on my machine.
Possibly, the v4l2 bindings are orphaned.
Would you volunteer to fix those bindings? Unfortunately, my time is quite constrained at the moment.

Cheers
Christian