Problems with PREFIX when building a snap
Dietmar Winkler
dietmar.winkler at dwe.no
Thu Jul 28 13:52:01 UTC 2016
Hi,
I'm currently trying to buld my first snap. With the help of the
#snappy irc channel I could finally create a snapp package but it
seems to be empty and non of the binary are actually contained.
Running `snapcraft` on
https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml
generates this structure:
https://gist.github.com/dietmarw/422354f1906bcb2babacd0168349ea55
Doing `sudo snapcraft install` then gives
https://gist.github.com/dietmarw/7622ba197f64b4b89dbc79b60b86d348
One thing that threw snapcraft earlier was the definition of
"IPEPREFIX" . But that is needed by the Makefile of the project.
Setting it to something that is writable by the user running snapcraft
was the only way to get it working. I've ended up using
IPEPREFIX=$SNAPCRAFT_STAGE
(as mentioned in
https://developer.ubuntu.com/en/snappy/build-apps/snapcraft-advanced-features/)
but still don't know if this is the correct "installation" directory
as required by the Makefile.
The snap is supposed to just compile ipe just like described here:
https://github.com/otfried/ipe-wiki/wiki/Downloading,%20Compiling,%20and%20Installing%20Ipe#debian-ubuntu-mint
which works without problems.
I'm a but at a loss of what it is I'm doing wrong. Also snapcraft is
not really reporting any problems or what is missing :-(
Anyone got an idea what is missing?
--
/Dietmar/
Secure email communication:
https://encrypt.to/dietmar.winkler@dwe.no
Public OpenPGP key: 0x235E6689
More information about the Snapcraft
mailing list