@@ -85,7 +85,7 @@ urbit
89sudo port selfupdate
89sudo port selfupdate
90sudo port install autoconf automake cmake gmp libsigsegv meson openssl
90sudo port install autoconf automake cmake gmp libsigsegv meson openssl
91git clone https://github.com/urbit/urbit
91git clone https://github.com/urbit/urbit
@@ -111,19 +111,50 @@ git clone https://github.com/urbit/urbit
112./scripts/bootstrap
112./scripts/bootstrap
113./scripts/build
113./scripts/build
114−sudo env "PATH=$PATH" ninja -C ./build/ meson-install
114+sudo env "PATH=$PATH" ninja -C ./build/ install
118+N.B. if the step `./scripts/build` fails when attempting to
119+build libh2o, it could be caused by a bug in version 0.46 of meson (the bug
120+is not present in 0.45 and is fixed in 0.47).
122+If the command `meson -v` returns a version starting with 0.46, try these steps:
127+pip install meson=0.47.0
132+If that is successful, resume the above instructions after the `build` step.
118##### Ubuntu or Debian
136##### Ubuntu or Debian
123sudo apt-get update
141sudo apt-get update
124−sudo apt-get install autoconf automake cmake exuberant-ctags g++ git libcurl4-gnutls-dev libgmp3-dev libncurses5-dev libsigsegv-dev libssl-dev libtool make ninja-build openssl pkg-config python python3 python3-pip ragel re2c zlib1g-dev
142+sudo apt-get install autoconf automake cmake exuberant-ctags g++ git libcurl4-gnutls-dev libgmp3-dev libncurses5-dev libsigsegv-dev libssl-dev libtool make openssl pkg-config python python3 python3-pip ragel re2c zlib1g-dev
125sudo -H pip3 install --upgrade pip
143sudo -H pip3 install --upgrade pip
126−sudo -H pip3 install meson
144+sudo -H pip3 install meson==0.29
146+# we need ninja 1.5.1
147+# 'apt-get install ninja-build' gives us 0.1.3
148+# 'apt-get install ninja-build' gives us 1.3.4
150+git clone git://github.com/ninja-build/ninja.git
152+ git checkout release
153+ ./configure.py --bootstrap
154+ sudo cp ./ninja /usr/local/bin
127git clone https://github.com/urbit/urbit
158git clone https://github.com/urbit/urbit
129./scripts/bootstrap
160./scripts/bootstrap
@@ -132,22 +163,14 @@ sudo ninja -C ./build/ install
135−N.B. if the step `./scripts/build` fails when attempting to
136−build libh2o, it could be caused by a bug in version 0.46 of meson (the bug
137−is not present in 0.45 and is fixed in 0.47).
139−If the command `meson -v` returns a version starting with 0.46, try these steps:
143−pip install meson=0.47.0
148−If that is successful, resume the above instructions after the `build` step.
168+(tested on Google Cloud Platform
169+ * Ubuntu Trusty Linux (14.04 LTS)
170+ * Ubuntu Xenial Linux (16.04 LTS)
172+ * Debian 9 (Stretch)
152##### Fedora / Redhat
175##### Fedora / Redhat
@@ -173,7 +196,7 @@ popd
173curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
196curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
174sudo /usr/local/bin/python3 get-pip.py
197sudo /usr/local/bin/python3 get-pip.py
175# downgrade meson to avoid dependencies that redhat can't meet
198# downgrade meson to avoid dependencies that redhat can't meet
176−sudo /usr/local/bin/pip3 install meson==0.29
199+sudo -H /usr/local/bin/pip3 install meson==0.29
179git clone git://github.com/ninja-build/ninja.git && cd ninja
202git clone git://github.com/ninja-build/ninja.git && cd ninja
@@ -185,12 +208,15 @@ git clone https://github.com/urbit/urbit
186./scripts/bootstrap
209./scripts/bootstrap
187./scripts/build
210./scripts/build
188−sudo /usr/local/bin/ninja -C ./build/ meson-install
211+sudo /usr/local/bin/ninja -C ./build/ install
193−(tested on Google Cloud Platform Red Hat Enterprise Linux 6.1 and 7.1 on 5 July 2018)
216+(tested on Google Cloud Platform
217+ * Red Hat Enterprise Linux 6.1
218+ * Red Hat Enterprise Linux 7.1
196##### FreeBSD
222##### FreeBSD
@@ -213,17 +239,20 @@ sudo ninja -C ./build/ meson-install
216−(tested on Google Cloud Platform FreeBSD 10.4 and 11.2 on 4 July 2018)
242+(tested on Google Cloud Platform
218##### Arch
247##### Arch
223−pacman -Syu
252+sudo pacman -Syu
224−pacman -S autoconf automake cmake curl gcc git gmp libsigsegv libtool ncurses ninja openssl python ragel re2c
253+sudo pacman -S autoconf automake cmake curl gcc git gmp libsigsegv libtool ncurses ninja openssl python ragel re2c
225−sudo -H pip3 install --upgrade pip
254+curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
226−sudo -H pip3 install meson
255+sudo python3 get-pip.py
227git clone https://github.com/urbit/urbit
256git clone https://github.com/urbit/urbit
229./scripts/bootstrap
258./scripts/bootstrap
@@ -232,21 +261,58 @@ sudo ninja -C ./build/ meson-install
264+(tested on Amazon EC2 using Amazon Machine Image
265+ * Release 2018.06.15 / ebs hvm x86_64 lts ( ami-a40a47db via https://www.uplinklabs.net/projects/arch-linux-on-ec2/ )
240sudo yum update
275sudo yum update
241−sudo yum install --enablerepo epel autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel libtool meson ncurses-devel openssl-devel pkgconfig python re2c
276+sudo yum install autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel libtool ncurses-devel openssl openssl-devel pkgconfig python2 python3 python3-pip ragel re2c wget git
277+sudo env "PATH=$PATH" pip3 install --upgrade pip
278+sudo env "PATH=$PATH" pip3 install meson
284+wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/l/libsigsegv-2.10-10.fc24.x86_64.rpm
285+wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/l/libsigsegv-devel-2.10-10.fc24.x86_64.rpm
286+sudo yum localinstall libsigsegv-2.10-10.fc24.x86_64.rpm
287+sudo yum localinstall libsigsegv-devel-2.10-10.fc24.x86_64.rpm
291+wget https://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/re2c-0.13.5-1.el6.rf.x86_64.rpm
292+sudo yum localinstall re2c-0.13.5-1.el6.rf.x86_64.rpm
294+git clone git://github.com/ninja-build/ninja.git
296+ git checkout release
297+ ./configure.py --bootstrap
298+ sudo cp ./ninja /usr/local/bin
242git clone https://github.com/urbit/urbit
302git clone https://github.com/urbit/urbit
244./scripts/bootstrap
304./scripts/bootstrap
245./scripts/build
305./scripts/build
246−sudo ninja -C ./build/ meson-install
306+sudo env "PATH=$PATH" ninja -C ./build/ install
311+(tested on Amazon EC2 using Amazon Machine Image
312+ * Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-b70554c8
250### Test for successful installation
316### Test for successful installation
252After running your installed `urbit` command, check to see if the following output was printed:
318After running your installed `urbit` command, check to see if the following output was printed: