Code Monkey home page Code Monkey logo

Comments (3)

jakubfijalkowski avatar jakubfijalkowski commented on August 20, 2024 1

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.

nrolland avatar nrolland commented on August 20, 2024

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.

jakubfijalkowski avatar jakubfijalkowski commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.