Comments (3)
Let's move the discussion to the jakubfijalkowski/hsass#4, cause these are exactly the same problems and there is more info about them (and I am unable to reliably track both issues).
from hlibsass.
just upgraded to sierra and now this solution does not work.
even stack build
was broken, but removing the flag did work.
no intero though, don't know what's going on.
edit : after upgrading to 8.0.2, and not adding the flag in stack.yaml
everything works fine
edit : after upgrading stack it does not
hsass-0.4.0: build
Progress: 2/4
-- While building package hsass-0.4.0 using:
/Users/nrolland/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /Users/nrolland/Sync/clones/xquant2/.stack-work/logs/hsass-0.4.0.log
Configuring hsass-0.4.0...
Building hsass-0.4.0...
Preprocessing library hsass-0.4.0...
[ 1 of 11] Compiling Text.Sass.Values ( Text/Sass/Values.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Values.o )
[ 2 of 11] Compiling Text.Sass.Utils ( Text/Sass/Utils.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Utils.o )
[ 3 of 11] Compiling Text.Sass.Values.Internal ( Text/Sass/Values/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Values/Internal.o )
[ 4 of 11] Compiling Text.Sass.Values.Utils ( Text/Sass/Values/Utils.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Values/Utils.o )
[ 5 of 11] Compiling Text.Sass.Functions ( Text/Sass/Functions.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Functions.o )
[ 6 of 11] Compiling Text.Sass.Functions.Internal ( Text/Sass/Functions/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Functions/Internal.o )
[ 7 of 11] Compiling Text.Sass.Options ( Text/Sass/Options.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Options.o )
[ 8 of 11] Compiling Text.Sass.Options.Internal ( Text/Sass/Options/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Options/Internal.o )
[ 9 of 11] Compiling Text.Sass.Internal ( Text/Sass/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Internal.o )
[10 of 11] Compiling Text.Sass.Compilation ( Text/Sass/Compilation.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass/Compilation.o )
[11 of 11] Compiling Text.Sass ( Text/Sass.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Text/Sass.o )
ld: warning: directory not found for option '-L/private/var/folders/9d/vgq7v77x27xb7v93gg85bcmc0000gn/T/stack79876/hlibsass-0.1.5.0/libsass/lib'
ld: library not found for -lsass
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
from hlibsass.
Okay, I've tested this on macOS, and GHCi still does not work. I have no idea what should be done to make this work. I suspect that it is related to the fact that LibSass uses GCC to compile and default compiler for macOS is LLVM (although it seems that gcc
is only an alias for LLVM on this system).
Currently, the only option is to use shared (tested, works) or external (tested) version of LibSass. I've updated the README with the fix, so I consider this issue resolved.
from hlibsass.
Related Issues (14)
- Trouble installing on Mac OS X HOT 5
- Setup.hs `makeLibsass` assumes that `make` is GNU make HOT 4
- Build fails with Cabal-3.0 HOT 3
- Update to libsass 3.6.3 HOT 3
- Windows support HOT 3
- Outdated libsass bindings. HOT 2
- Does not seem to build neatly with stack. HOT 2
- Support for libsass 3.3.2? HOT 5
- Segmentation Fault with using hlibsass (and by proxy hsass) in ghci HOT 10
- Link warning (ld: warning: directory not found) on Mac OS HOT 12
- Build failure: constructors not in scope HOT 1
- Troubles Installing on Windows10 HOT 2
- Updated Needed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hlibsass.