Problem installing svgcairo

Hi, I'm having a problem installing svgcairo with Cabal, which I need for something else. I don't know what's going on, but something (maybe a C preprocessor, judging by Google search results) barfs with the complaint: ./Graphics/Rendering/Cairo/SVG.chs:209:28: error: missing binary operator before token "(" I can't find the file SVG.chs on my system to inspect this line, but perhaps I'm looking in the wrong place. Has anyone encountered this? Am I perhaps using the wrong version of Cairo or Gtk? Any suggestions welcome. thanks Roly ====== $ cabal install svgcairo Resolving dependencies... [1 of 2] Compiling SetupWrapper ( /tmp/svgcairo-0.12.125554/svgcairo-0.12.1/SetupWrapper.hs, /tmp/svgcairo-0.12.125554/svgcairo-0.12.1/dist/setup/SetupWrapper.o ) [2 of 2] Compiling Main ( /tmp/svgcairo-0.12.125554/svgcairo-0.12.1/Setup.hs, /tmp/svgcairo-0.12.125554/svgcairo-0.12.1/dist/setup/Main.o ) Linking /tmp/svgcairo-0.12.125554/svgcairo-0.12.1/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 svgcairo-0.12.1... Preprocessing library svgcairo-0.12.1... ./Graphics/Rendering/Cairo/SVG.chs:209:28: error: missing binary operator before token "(" gtk2hsC2hs: Error during preprocessing chs file cabal: Error: some packages failed to install: svgcairo-0.12.1 failed during the building phase. The exception was: ExitFailure 1
participants (1)
-
Roly Perera