Comments (12)
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.
from hugo.
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.
from hugo.
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
from hugo.
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.
from hugo.
GIve it a try now. I just pushed a fix for it.
from hugo.
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
from hugo.
Go get supports a variety of version control systems. That particular
library is only available using Bazaar. Unfortunately you either need to
download it yourself and put it in the expected location or install bazaar
and go will do that for you.
from hugo.
I agree, a sudo apt-get install bzr
solved the bzr issue.
But the local import "./hugolib"
issue still persists :
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
from hugo.
Did you pull the latest?
My line 17 shows the right include statement with the full path.
https://github.com/spf13/hugo/blob/master/main.go#L17
from hugo.
Assuming closed. Let me know if there are still any issues.
from hugo.
Thank you for the help, project compiles now without error !
from hugo.
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.
from hugo.
Related Issues (20)
- Live reload issue when both HTML and CSS changes
- Panic with a misleading error on new page creation. ?When similar page exists? HOT 1
- Honor the Hugo Goldmark Extras extension when rendering TOC entries
- Taxonomy terms with single quote in the term name and custom metadata duplicates HOT 5
- Improve integration with cloud static website hosting HOT 2
- conflict in `Related` with `.Site.Params.tags` (similar to already fixed (#9188)
- Investigate GetTerms performance HOT 1
- Replace the Google Analytics internal template with Google Tag one. HOT 1
- Making User Experience Easier HOT 1
- Please delete my Hugo Community account
- Erroridf (and probably also Warnidf) has a casing issue
- Add css.TailwindCSS (or something) and do some package restructuring
- Improve npx speed HOT 1
- Old timers reprinted in (at least) defer blocks on server rebuilds
- Configured defaultMarkdownHandler "BlackFriday" not found. HOT 2
- hugo mod get -u ./... seems only updates modules of the first folder.
- Add js.Bundle
- hugo github pages cicd exception HOT 3
- Using non-2006 year in date format breaks output HOT 1
- Bump version of tdewolff / minify to fix new line bug HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo.