New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build from source #76
Comments
You'll need to have libsass.pc in your PKG_CONFIG_PATH to use go get. Since you have the source now, do these steps to build libsass and see if everything is working.
This will build libsass for you and do a test with a modified PKG_CONFIG_PATH. Setting |
Ahh yeah, you'll need libsass source to do these steps. I'll add a make task for that. To get going
Thanks for testing this out! |
Thanks for pointers! I was having trouble still getting the tests to pass, and I see you already committed the fix on go-libsass, so I wiped out I think I'm doing this right now, but still getting the same error:
So I tried
|
Ah, just needed to install libtool! Looks like that part fixed. Will report back once everything is passing tests. |
Got it! For posterity, the only other thing is that Thanks again @drewwells . |
Sorry this part will be very hard until there's better support for building C++ with Go which isn't supported. Could you list any brew packages you needed to get this going ie. libtool? I'll add them to the readme |
Sorry, didn't mean to re-open. I brew installed I also brew installed I already had |
I probably have some dependency using mercurial, so Go will complain about it. Thanks ! I'll update readme with those. |
Hello, I got the following error when attempting to
go get
:For reference:
~/go/src/github.com/wellington/go-libsass/libsass-src
is empty, so I suspect it's trying to statically link against my brew installed version of libsass.The text was updated successfully, but these errors were encountered: