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

Weird SASS_LIBSASS_PATH issue. #100

Closed
sambws opened this Issue Mar 8, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@sambws

sambws commented Mar 8, 2015

I'm running Ubuntu 14.10 (pretty new to it), and I'm trying to build SassC. When I try to run sudo make, it tells me that SASS_LIBSASS_PATH isn't defined. After doing an echo, the variable's value seems to be the correct path, directing straight into the root folder of libsass.

sam@sam-AY747AA-ABA-p6310y:/usr/local/lib/sassc$ echo $SASS_LIBSASS_PATH
/usr/local/lib/libsass/
sam@sam-AY747AA-ABA-p6310y:/usr/local/lib/sassc$ sudo make
Makefile:131: *** SASS_LIBSASS_PATH must be defined.  Stop.

If I could get some help for this, that would be great.

@mgreter

This comment has been minimized.

Show comment
Hide comment
@mgreter

mgreter Mar 8, 2015

Contributor

Sudo probably resets the env.

sudo echo $SASS_LIBSASS_PATH
Contributor

mgreter commented Mar 8, 2015

Sudo probably resets the env.

sudo echo $SASS_LIBSASS_PATH
@akhleung

This comment has been minimized.

Show comment
Hide comment
@akhleung

akhleung Mar 8, 2015

sudo -E will preserve the environment, I believe.

akhleung commented Mar 8, 2015

sudo -E will preserve the environment, I believe.

@sambws

This comment has been minimized.

Show comment
Hide comment
@sambws

sambws Mar 9, 2015

@akhleung @mgreter Thanks for the pointers! I was able to make it work using the env command. Still gotta get used to Unix commands.

sambws commented Mar 9, 2015

@akhleung @mgreter Thanks for the pointers! I was able to make it work using the env command. Still gotta get used to Unix commands.

@mgreter mgreter closed this Mar 9, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment