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

need to depend on gtk2hs-buildtools #9

Open
teleshoes opened this issue Oct 25, 2017 · 2 comments
Open

need to depend on gtk2hs-buildtools #9

teleshoes opened this issue Oct 25, 2017 · 2 comments

Comments

@teleshoes
Copy link

@IvanMalison @travitch

wolke:~/Code/gtk-traymanager$ cabal install
Resolving dependencies...
Downloading gtk3-0.14.7...
Configuring gtk3-0.14.7...
Failed to install gtk3-0.14.7
Build log ( /home/wolke/.cabal/logs/gtk3-0.14.7.log ):
cabal: Entering directory '/tmp/cabal-tmp-30727/gtk3-0.14.7'
[1 of 1] Compiling Main             ( /tmp/cabal-tmp-30727/gtk3-0.14.7/dist/setup/setup.hs, /tmp/cabal-tmp-30727/gtk3-0.14.7/dist/setup/Main.o )
Linking /tmp/cabal-tmp-30727/gtk3-0.14.7/dist/setup/setup ...
Configuring gtk3-0.14.7...
/usr/share/gtk2hs-buildtools/hierarchyGen/Hierarchy.chs.template: openFile:
does not exist (No such file or directory)
cabal: Leaving directory '/tmp/cabal-tmp-30727/gtk3-0.14.7'
cabal: Error: some packages failed to install:
gtk-traymanager-1.0.0 depends on gtk3-0.14.7 which failed to install.
gtk3-0.14.7 failed during the configure step. The exception was:
ExitFailure 1

(cabal install gtk2hs-buildtools fixes this of course)

@teleshoes
Copy link
Author

oh wait this is a bug in gtk3, right?

@colonelpanic8
Copy link
Member

oh wait this is a bug in gtk3, right?

@teleshoes not exactly, gtk2hs-buildtools are exactly that, build-tools, so strictly speaking, gtk2hs is only a build-time dependency (not a runtime dependency)

you can see gtk2hs/gtk2hs#171 for more details
also commercialhaskell/stackage#1471

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