Skip to content

Instantly share code, notes, and snippets.

@hirokai
Created March 18, 2013 01:12
Show Gist options
  • Save hirokai/5184391 to your computer and use it in GitHub Desktop.
Save hirokai/5184391 to your computer and use it in GitHub Desktop.
hfsevents installation error
$ sudo cabal install -v hfsevents
Password:
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Ready to install hfsevents-0.1.3
Waiting for install task to finish...
Extracting
/Users/hiroyuki/Library/Haskell/repo-cache/hackage.haskell.org/hfsevents/0.1.3/hfsevents-0.1.3.tar.gz
to /tmp/hfsevents-0.1.3-29642...
Updating hfsevents.cabal with the latest revision from the index.
Configuring hfsevents-0.1.3...
Dependency base ==4.5.1.0: using base-4.5.1.0
Dependency bytestring ==0.9.2.1: using bytestring-0.9.2.1
Dependency cereal ==0.3.5.2: using cereal-0.3.5.2
Dependency text ==0.11.2.3: using text-0.11.2.3
Dependency unix ==2.5.1.1: using unix-2.5.1.1
Using Cabal-1.16.0.3 compiled by ghc-7.4
Using compiler: ghc-7.4.2
Using install prefix:
/Users/hiroyuki/Library/Haskell/ghc-7.4.2/lib/hfsevents-0.1.3
Binaries installed in:
/Users/hiroyuki/Library/Haskell/ghc-7.4.2/lib/hfsevents-0.1.3/bin
Libraries installed in:
/Users/hiroyuki/Library/Haskell/ghc-7.4.2/lib/hfsevents-0.1.3/lib
Private binaries installed in:
/Users/hiroyuki/Library/Haskell/ghc-7.4.2/lib/hfsevents-0.1.3/libexec
Data files installed in:
/Users/hiroyuki/Library/Haskell/ghc-7.4.2/lib/hfsevents-0.1.3/share
Documentation installed in:
/Users/hiroyuki/Library/Haskell/ghc-7.4.2/lib/hfsevents-0.1.3/doc
Using alex version 3.0.2 found on system at: /opt/local/bin/alex
Using ar found on system at: /opt/local/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.4.2 found on system at: /opt/local/bin/ghc
Using ghc-pkg version 7.4.2 found on system at: /opt/local/bin/ghc-pkg
No greencard found
Using haddock version 2.11.0 found on system at: /opt/local/bin/haddock
Using happy version 1.18.10 found on system at: /opt/local/bin/happy
No hmake found
Using hpc version 0.6 found on system at: /opt/local/bin/hpc
Using hsc2hs version 0.67 found on system at: /opt/local/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /opt/local/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.27.1 found on system at: /opt/local/bin/pkg-config
Using ranlib found on system at: /opt/local/bin/ranlib
Using strip found on system at: /opt/local/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
creating dist/build
creating dist/build/autogen
Building hfsevents-0.1.3...
Preprocessing library hfsevents-0.1.3...
Building library...
creating dist/build
/opt/local/bin/ghc --make -fbuilding-cabal-package -O -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Icbits -optP-include -optPdist/build/autogen/cabal_macros.h -package-name hfsevents-0.1.3 -hide-all-packages -package-conf dist/package.conf.inplace -package-id base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd -package-id bytestring-0.9.2.1-0044644a71adfe5e950e6c6f6ca13065 -package-id cereal-0.3.5.2-6b64482ad8c718d75a6e6ec3533eeaa8 -package-id text-0.11.2.3-473d9a1761b27c7315f2ef4569d93c3c -package-id unix-2.5.1.1-893830f8c9475e3199148480a2d0b149 -XHaskell98 System.OSX.FSEvents
[1 of 1] Compiling System.OSX.FSEvents ( System/OSX/FSEvents.hs, dist/build/System/OSX/FSEvents.o )
/opt/local/bin/ghc --make -fbuilding-cabal-package -O -prof -osuf p_o -hisuf p_hi -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Icbits -optP-include -optPdist/build/autogen/cabal_macros.h -package-name hfsevents-0.1.3 -hide-all-packages -package-conf dist/package.conf.inplace -package-id base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd -package-id bytestring-0.9.2.1-0044644a71adfe5e950e6c6f6ca13065 -package-id cereal-0.3.5.2-6b64482ad8c718d75a6e6ec3533eeaa8 -package-id text-0.11.2.3-473d9a1761b27c7315f2ef4569d93c3c -package-id unix-2.5.1.1-893830f8c9475e3199148480a2d0b149 -XHaskell98 System.OSX.FSEvents
[1 of 1] Compiling System.OSX.FSEvents ( System/OSX/FSEvents.hs, dist/build/System/OSX/FSEvents.p_o )
Building C Sources...
creating dist/build
/opt/local/bin/ghc -c -prof -odir dist/build -Idist/build -Icbits -optc-O2 -package-conf dist/package.conf.inplace -package-id base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd -package-id bytestring-0.9.2.1-0044644a71adfe5e950e6c6f6ca13065 -package-id cereal-0.3.5.2-6b64482ad8c718d75a6e6ec3533eeaa8 -package-id text-0.11.2.3-473d9a1761b27c7315f2ef4569d93c3c -package-id unix-2.5.1.1-893830f8c9475e3199148480a2d0b149 cbits/c_fsevents.c
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5:0:
0,
from /usr/include/os/object.h:74,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:411:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:412:44:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:414:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:415:43:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:417:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:418:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:422:30:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:423:31:
error: expected declaration specifiers or '...' before 'NSString'
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:0:
0,
from /usr/include/os/object.h:74,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:8:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:8:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:16:52:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:17:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:13:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:13:2:
error: unknown type name 'protocol'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:15:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:18:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:20:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:21:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:23:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:24:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:27:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:29:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:30:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:31:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:33:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:35:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:36:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:37:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:38:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:40:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:41:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:42:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:46:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:46:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSCopying'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:50:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:52:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:50:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:52:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSMutableCopying'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:56:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:58:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:56:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:58:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSCoding'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:61:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:63:1:
error: stray '@' in program
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:66:1:
error: stray '@' in program
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:63:2:
error: unknown type name 'end'
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:66:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSSecureCoding'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:67:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:71:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:76:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:71:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:76:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:80:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:82:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:83:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:85:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:86:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:87:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:88:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:90:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:92:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:93:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:95:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:96:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:98:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:99:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:100:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:101:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:102:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:103:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:104:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:106:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:107:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:108:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:110:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:112:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:113:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:115:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:117:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:119:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:120:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:124:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:124:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:127:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:128:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:129:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:130:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:132:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:135:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:132:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:135:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:143:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:149:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:143:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:149:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSDiscardableContent'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:150:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:149:11:
error: unknown type name 'NSDiscardableContent'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:152:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:153:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:154:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:155:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:157:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:155:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:157:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:159:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:164:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: In function 'CFBridgingRelease':
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:198:12:
error: expected expression before '[' token
In file included from /usr/include/dispatch/dispatch.h:50:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/object.h: At top level:
/usr/include/dispatch/object.h:49:1: error: stray '@' in program
/usr/include/dispatch/object.h:49:1:
error: unknown type name 'protocol'
/usr/include/dispatch/object.h:49:1: error: stray '@' in program
/usr/include/dispatch/object.h:49:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'end'
/usr/include/dispatch/object.h:55:27:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:124:16:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:130:17:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:149:17:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:175:18:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:198:22:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:216:22:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:242:26:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:266:18:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:281:17:
error: unknown type name 'dispatch_object_t'
In file included from /usr/include/dispatch/dispatch.h:52:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/queue.h:67:1: error: stray '@' in program
/usr/include/dispatch/queue.h:67:1:
error: unknown type name 'protocol'
/usr/include/dispatch/queue.h:67:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/queue.h:67:1: error: stray '@' in program
/usr/include/dispatch/queue.h:75:1: error: stray '@' in program
/usr/include/dispatch/queue.h:75:1:
error: unknown type name 'protocol'
/usr/include/dispatch/queue.h:75:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/queue.h:75:1: error: stray '@' in program
/usr/include/dispatch/queue.h:178:18:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:244:17:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:310:37:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:344:1:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:425:1:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:484:1:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:484:42:
error: unknown type name 'dispatch_queue_attr_t'
/usr/include/dispatch/queue.h:503:26:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:558:27:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/queue.h:558:53:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:638:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:718:26:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:777:25:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:820:29:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:850:29:
error: unknown type name 'dispatch_queue_t'
In file included from /usr/include/dispatch/dispatch.h:53:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/source.h:52:1: error: stray '@' in program
/usr/include/dispatch/source.h:52:1:
error: unknown type name 'protocol'
/usr/include/dispatch/source.h:52:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/source.h:52:1: error: stray '@' in program
/usr/include/dispatch/source.h:294:1:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:297:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/source.h:339:37:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:398:38:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:426:24:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:445:28:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:475:28:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:505:26:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:542:26:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:563:28:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:600:27:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:655:44:
error: unknown type name 'dispatch_source_t'
In file included from /usr/include/dispatch/dispatch.h:54:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/group.h:34:1: error: stray '@' in program
/usr/include/dispatch/group.h:34:1:
error: unknown type name 'protocol'
/usr/include/dispatch/group.h:34:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/group.h:34:1: error: stray '@' in program
/usr/include/dispatch/group.h:56:1:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:120:24:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:121:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/group.h:163:21:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:230:25:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:231:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/group.h:253:22:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:272:22:
error: unknown type name 'dispatch_group_t'
In file included from /usr/include/dispatch/dispatch.h:55:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/semaphore.h:35:1:
error: stray '@' in program
/usr/include/dispatch/semaphore.h:35:1:
error: unknown type name 'protocol'
/usr/include/dispatch/semaphore.h:35:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/semaphore.h:35:1:
error: stray '@' in program
/usr/include/dispatch/semaphore.h:62:1:
error: unknown type name 'dispatch_semaphore_t'
/usr/include/dispatch/semaphore.h:87:25:
error: unknown type name 'dispatch_semaphore_t'
/usr/include/dispatch/semaphore.h:109:27:
error: unknown type name 'dispatch_semaphore_t'
In file included from /usr/include/dispatch/dispatch.h:57:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/data.h:42:1: error: stray '@' in program
/usr/include/dispatch/data.h:42:1:
error: unknown type name 'protocol'
/usr/include/dispatch/data.h:42:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/data.h:42:1: error: stray '@' in program
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:57:67:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:26,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:186:32:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:30:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:26,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h:87:62:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:220:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h:1056:3:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDLabel.h:20:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:11,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:46,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h:533:58:
error: unknown type name 'dispatch_queue_t'
cbits/c_fsevents.c: In function 'osVersion':
cbits/c_fsevents.c:106:4:
warning: 'Gestalt' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123) [-Wdeprecated-declarations]
cbits/c_fsevents.c:107:4:
warning: 'Gestalt' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123) [-Wdeprecated-declarations]
cbits/c_fsevents.c:108:4:
warning: 'Gestalt' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123) [-Wdeprecated-declarations]
Failed to install hfsevents-0.1.3
World file is already up to date.
cabal: Error: some packages failed to install:
hfsevents-0.1.3 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment