Hi all, First, Peter. Actually, this package is meant for those people using Snapcraft to install packages. It's like with docker, you need docker to make it work. Actually I made this not to make it the default way to distribute pharo, but just because they asked it in the university, it is the default way they want to install new packages in here...
Alistair, - thanks for the typo. Maybe we can force wget as a build dependency? Like that it will not fail like that ;) - I'll fix the typos. However, next time could you just open a pull request? or make an issue? emails tend to get lost (specially in a weekend and with many answers :P) Guille On Fri, Jan 13, 2017 at 11:35 PM, Alistair Grant <[email protected]> wrote: > Never mind, I just saw the "wget not found" error. > > Sorry for the noise, > Alistair > > > On 14 January 2017 at 09:17, Alistair Grant <[email protected]> wrote: > > Hi Guille, > > > > Thanks very much for making this available. > > > > I'm trying to build the snap and am getting the following error: > > > > # snapcraft > > Loaded local plugin for pharo-build-plugin > > Skipping pull pharo-sources (already ran) > > Skipping pull pharo-vm (already ran) > > Preparing to build pharo-sources > > Building pharo-sources > > Preparing to build pharo-vm > > Building pharo-vm > > scripts/build.sh > > + '[' '' = -h ']' > > + '[' '' = --help ']' > > + '[' 0 -gt 0 ']' > > ++ readlink scripts/build.sh > > + SCRIPT_DIR= > > + SCRIPT_DIR=scripts/build.sh > > ++ dirname scripts/build.sh > > + SCRIPT_DIR=scripts > > + cd scripts > > ++ pwd -P > > + SCRIPT_DIR=/home/pharo/pharo-snapcraft/parts/pharo-vm/build/scripts > > ++ uname > > ++ tr '[:upper:]' '[:lower:]' > > + TMP_OS=linux > > + [[ {linux} = *darwin* ]] > > + [[ {linux} = *linux* ]] > > + OS=linux > > + cd /home/pharo/pharo-snapcraft/parts/pharo-vm/build/scripts/../image > > + ./newImage.sh > > ++ readlink ./newImage.sh > > + IMAGE_DIR= > > + IMAGE_DIR=./newImage.sh > > ++ dirname ./newImage.sh > > + IMAGE_DIR=. > > + cd . > > ++ pwd -P > > + IMAGE_DIR=/home/pharo/pharo-snapcraft/parts/pharo-vm/build/image > > + wget -O- get.pharo.org/50+vm > > + bash > > ./newImage.sh: line 12: wget: command not found > > + echo -e 'LOADING VM MAKER SOURCES INTO IMAGE' > > LOADING VM MAKER SOURCES INTO IMAGE > > + set -x > > + ./pharo Pharo.image > > /home/pharo/pharo-snapcraft/parts/pharo-vm/build/image/../ > scripts/LoadVMMaker.st > > ./newImage.sh: line 16: ./pharo: No such file or directory > > Command '['/bin/sh', '/tmp/tmpgelke1nt', 'scripts/build.sh']' returned > > non-zero exit status 1 > > > > > > I haven't built the VM before, so it will take me a while to track > > this down. If this is a common problem with an easy solution I'd like > > to know :-) > > > > P.S. In the readme under Installing snapcraft, build-essential doesn't > > have an "s", and git is required, e.g. > > > > $ sudo apt install build-essential git > > > > Thanks again, > > Alistair > > > > > > > > > > > > On 13 January 2017 at 21:50, Guillermo Polito <[email protected]> > wrote: > >> Hi all, > >> > >> Just wanted to share this: > >> > >> https://github.com/guillep/pharo-snapcraft > >> > >> It is basically the code to generate a snap package of the pharo-vm > using > >> snapcraft. Using this, the VM is generated and packaged with all > >> dependencies. This should help in running pharo in different linux > >> distributions. > >> > >> I invite you to check it, report problems and submit fixes. > >> > >> Cheers, > >> Guille > >
