Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newbie question: How do I install and use cabal-meta? #28

Open
benjamingorman opened this issue Oct 12, 2014 · 8 comments
Open

Newbie question: How do I install and use cabal-meta? #28

benjamingorman opened this issue Oct 12, 2014 · 8 comments

Comments

@benjamingorman
Copy link

I'm trying to use cabal-meta to install gtk2hs, following the instructions at https://github.com/gtk2hs/gtk2hs. Having downloaded the package using 'cabal install cabal-meta', should I then navigate to the tarball, unzip it and build it from source - adding the binary to my path?
I just got started using Arch Linux so basic things like this are confusing me.

@gregwebs
Copy link
Member

cabal install cabal-meta should install cabal-meta to ~/.cabal/bin. Make sure that folder is in your path.

@benjamingorman
Copy link
Author

Ok thanks, that's worked. However attempting to 'cabal-meta install' in any directory gives an error; "please run: cabal install cabal-src", which is not remedied by installing cabal-src.

@gregwebs
Copy link
Member

hmm, is cabal-src reachable from your $PATH ?

@benjamingorman
Copy link
Author

Checking directories in my path reveals that 'cabal-src-install' is reachable, but 'cabal-src' is not.

@gregwebs
Copy link
Member

oh, right, the executable is cabal-src-install. What is the result of which cabal-src-install?

@benjamingorman
Copy link
Author

/home/ben/.cabal/bin/cabal-src-install

@gregwebs gregwebs reopened this Oct 12, 2014
@gregwebs
Copy link
Member

That is bizarre. This should probably work for now:

cat sources.txt | xargs cabal install

@benjamingorman
Copy link
Author

Thanks Greg!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants