-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
External dependencies missing when building Hugo !? #4
Comments
Hugo executable has no external dependencies. Building it does, however go handles these for you. go get github.com/spf13/hugo should get and install all dependencies. |
Also a bit curious why you are trying to build it instead of just using the binaries.. I should probably write better instructions for building hugo from source than I have up there. Those instructions are building as a contributor not just to build from source for your use. |
Also a bit curious why you are trying to build it instead of just using the binaries.. Because I was following the Installing from source steps as I am on a Raspberry PI ( ARM architecture ) : git clone https://github.com/spf13/hugo
cd hugo
go build -o hugo main.go Which gives me : pi@raspberrypi ~/projects/go/src/github.com $ go get github.com/spf13/hugo
/home/pi/projects/go/src/github.com/spf13/hugo/main.go:17:2: local import "./hugolib" in non-local package |
I was wondering if anyone would want ARM support. I'll make the next release build for that as well. I'll fix that issue shortly. |
GIve it a try now. I just pushed a fix for it. |
pi@raspberrypi ~/projects/go/src/github.com $ go get github.com/spf13/hugo
go: missing Bazaar command. See http://golang.org/s/gogetcmd
package launchpad.net/goyaml: exec: "bzr": executable file not found in $PATH |
Go get supports a variety of version control systems. That particular |
I agree, a But the pi@raspberrypi ~/projects/go/src/github.com $ go get github.com/spf13/hugo
can't load package: /home/pi/projects/go/src/github.com/spf13/hugo/main.go:17:2: local import "./hugolib" in non-local package |
Did you pull the latest? My line 17 shows the right include statement with the full path. |
Assuming closed. Let me know if there are still any issues. |
Thank you for the help, project compiles now without error ! |
added support for https
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. |
Quote from the main page :
Hugo has no external dependencies.
But when trying to build the project :
The text was updated successfully, but these errors were encountered: