Skip to content
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

Compiling and installing Hugo from source on Windows is getting a gcc error and fails #5798

Closed
cmpsoares91 opened this issue Mar 27, 2019 · 3 comments
Labels

Comments

@cmpsoares91
Copy link

cmpsoares91 commented Mar 27, 2019

Hello,

I'm trying to install Hugo from source on a Windows machine where I already have Git and Go installed, where I used the instructions from the docs:

mkdir $HOME/src
cd $HOME/src
git clone https://github.com/gohugoio/hugo.git
cd hugo
go install --tags extended

However, I get the following error:

C:\tools\Hugo\src (master -> origin)
λ go install --tags extended
# github.com/wellington/go-libsass/libs
exec: "gcc": executable file not found in %PATH%

What should I do as a workaround?

Thank you for the support,
Carlos Soares

@cmpsoares91
Copy link
Author

I'm looking into it as well and it seems to be related with this issue: wellington/go-libsass#37

I'll investigate and maybe we need to add it to the docs later right?

@bep
Copy link
Member

bep commented Mar 27, 2019

Please use https://discourse.gohugo.io/ for questions/troubleshooting. Also see Hugo Documentation.

@bep bep closed this as completed Mar 27, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants