Closed tibbe closed 12 years ago
The package doesn't build on Mac OS X 10.7.2 at the moment:
Downloading simple-sendfile-0.1.2... Configuring simple-sendfile-0.1.2... Preprocessing library simple-sendfile-0.1.2... MacOS.hsc: In function ‘main’: MacOS.hsc:46: error: ‘off_t’ undeclared (first use in this function) MacOS.hsc:46: error: (Each undeclared identifier is reported only once MacOS.hsc:46: error: for each function it appears in.) MacOS.hsc:46: error: expected expression before ‘int’ MacOS.hsc:46: error: expected ‘)’ before numeric constant MacOS.hsc:46: error: expected ‘)’ before numeric constant MacOS.hsc:46: error: expected expression before ‘int’ MacOS.hsc:46: error: expected ‘)’ before numeric constant MacOS.hsc:46: error: expected ‘)’ before numeric constant MacOS.hsc:60: error: expected expression before ‘int’ MacOS.hsc:60: error: expected ‘)’ before numeric constant MacOS.hsc:60: error: expected ‘)’ before numeric constant MacOS.hsc:60: error: expected expression before ‘int’ MacOS.hsc:60: error: expected ‘)’ before numeric constant MacOS.hsc:60: error: expected ‘)’ before numeric constant MacOS.hsc:75: error: expected expression before ‘int’ MacOS.hsc:75: error: expected ‘)’ before numeric constant MacOS.hsc:75: error: expected ‘)’ before numeric constant MacOS.hsc:75: error: expected expression before ‘int’ MacOS.hsc:75: error: expected ‘)’ before numeric constant MacOS.hsc:75: error: expected ‘)’ before numeric constant MacOS.hsc:79: error: expected expression before ‘int’ MacOS.hsc:79: error: expected ‘)’ before numeric constant MacOS.hsc:79: error: expected ‘)’ before numeric constant MacOS.hsc:79: error: expected expression before ‘int’ MacOS.hsc:79: error: expected ‘)’ before numeric constant MacOS.hsc:79: error: expected ‘)’ before numeric constant compiling dist/build/Network/Sendfile/MacOS_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Network/Sendfile/MacOS_hsc_make.c -o dist/build/Network/Sendfile/MacOS_hsc_make.o -m64 -fno-stack-protector -I/Users/tibbe/src/ghc/includes -m64 -D__GLASGOW_HASKELL__=703 -Ddarwin_BUILD_OS -Ddarwin_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -DOS_MacOS -I/Users/tibbe/.cabal/lib/network-2.3.0.7/ghc-7.3.20111027/include -I/Users/tibbe/src/ghc/libraries/unix/include -I/Users/tibbe/src/ghc/libraries/bytestring/include -I/Users/tibbe/src/ghc/libraries/array/include -I/Users/tibbe/src/ghc/libraries/base/include -I/Users/tibbe/src/ghc/includes -I/Users/tibbe/src/ghc/inplace/lib/include/
It builds fine using ghc-7.0.4 but fails with GHC HEAD (soon to be 7.4).
Your patch has been merged and the new package has been released.
Thanks!
The package doesn't build on Mac OS X 10.7.2 at the moment: