Re: Cabal install fails, don't understand why

Francesco Ariis <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
Hello Volker,

Il 29 marzo 2024 alle 14:26 Volker Wysk ha scritto:
> Hi
> 
> I've migrated my HsShellScript library to Cabal 3.0 and now I get an error
> when I try to install it:
> 
> -----snip-----
> desktop /usr/local/src/hsshellscript $ cabal install --user
> Wrote tarball sdist to
> /usr/local/src/hsshellscript/dist-newstyle/sdist/hsshellscript-3.6.0.tar.gz
> Resolving dependencies...
> Error: cabal: Cannot build the executables in the package hsshellscript
> because it does not contain any executables. Check the .cabal file for the
> package and make sure that it properly declares the components that you
> expect.
> -----snip-----

If you are trying to install a library, use

    cabal install --lib

and let us know if it worked as you expected
—F
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.