26 Mar 2012 09:25
Re: [Webkit] Compilation fails (hswebkit.h not found)
<wagnerdm <at> seas.upenn.edu>
2012-03-26 07:25:14 GMT
2012-03-26 07:25:14 GMT
Hi koral, Another user reported that adding "include-dirs: ." to the Library section of the .cabal file fixed a similar error in another gtk2hs package. Does that work for you? Axel, I don't seem to have permissions on the webkit repository. A few of the files in _darcs have your group instead of the gtk2hs-p group; could you issue "chgrp -R gtk2hs-p /srv/code/webkit/_darcs" for me? ~d Quoting koral <at> mailoo.org: > Hello, > > It's been several weeks since I can't compile my project anymore due to > gtk2hs > not compiling. > > To spot the problem, I've cleaned my ~/.cabal and ~/.ghc directories > and started reinstalling everything from scratch, and now I get the > following error: > >> cabal install webkit > Resolving dependencies... > [1 of 2] Compiling SetupWrapper ( > /tmp/webkit-0.12.3-17631/webkit-0.12.3/SetupWrapper.hs, > /tmp/webkit-0.12.3-17631/webkit-0.12.3/dist/setup/SetupWrapper.o ) > [2 of 2] Compiling Main ( > /tmp/webkit-0.12.3-17631/webkit-0.12.3/Setup.hs, > /tmp/webkit-0.12.3-17631/webkit-0.12.3/dist/setup/Main.o ) > Linking /tmp/webkit-0.12.3-17631/webkit-0.12.3/dist/setup/setup ... > [1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, > dist/setup-wrapper/Gtk2HsSetup.o ) > [2 of 2] Compiling Main ( SetupMain.hs, > dist/setup-wrapper/Main.o ) > Linking dist/setup-wrapper/setup ... > Configuring webkit-0.12.3... > Building webkit-0.12.3... > Preprocessing library webkit-0.12.3... > dist/build/Graphics/UI/Gtk/WebKit/Types.h:1:22: fatal error: > hswebkit.h: No such file or directory > compilation terminated. > gtk2hsC2hs: Error during preprocessing custom header file > cabal: Error: some packages failed to install: > webkit-0.12.3 failed during the building phase. The exception was: > ExitFailure 1 > > Did I do something wrong ? Is it a known problem ? > Kind regards. > > -- > koral > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gtk2hs-users mailing list > Gtk2hs-users <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-users > > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
RSS Feed