有人设法从该站点制作 snap 包吗?
https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/
当我尝试时出现以下错误:
From git://github.com/mikix/golang-static-http
* branch HEAD -> FETCH_HEAD
Already up-to-date.
Please consider setting `go-importpath for the 'cam' part
env GOPATH=/home/c/.local/share/Trash/files/webcam-webui/parts/cam/go go get -t -d ./golang-static-http/...
/tmp/tmp26__r97x: 1: export: /usr/lib/jvm/java-8-openjdk-amd64:/snap/bin:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin: bad variable name
Command '['/bin/sh', '/tmp/tmp26__r97x', 'env',
'GOPATH=/home/c/.local/share/Trash/files/webcam-webui/parts/cam/go',
'go', 'get', '-t', '-d', './golang-static-http/...']' returned non-
zero exit status 2
答案1
我们有一个新开始这可能更合适,特别是如果你开始在 16.04 LTS 桌面上使用 snap。参与文档的人员将了解 Java 8 的情况。
答案2
我建议你使用文档中的入门指南http://snapcraft.io/docs/build-snaps/your-first-snap