[Haskell-cafe] svgcairo/ghc vis cabal install error..
madhub
madhub.bits at gmail.com
Wed Feb 11 03:57:53 UTC 2015
Hi !,
I tried installing svgcairo ( for installing ghc vis ). I am getting following error. Could you please help me out install ghc vis.
Thanks in advance
Madhu
— environment details.
I am on mac yosomite with gcc provided by OS X. Following is the gcc —version
22:54:34:~$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig
export LDFLAGS=-L/usr/local/lib
export CFLAGS=-I/usr/local/include
export LIBS=-L/usr/local/lib
svgcairo error
===============
Configuring svgcairo-0.13.0.1...
Building svgcairo-0.13.0.1...
Preprocessing library svgcairo-0.13.0.1...
gtk2hsC2hs: Error in C header file.
/usr/include/sys/qos.h:124: (column 34) [FATAL]
>>> Syntax error!
The symbol `__attribute__' does not fit here.
cabal: Error: some packages failed to install:
svgcairo-0.13.0.1 failed during the building phase. The exception was:
ExitFailure 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150210/5c0ce820/attachment.html>
More information about the Haskell-Cafe
mailing list