From 70ad932450c089e0b138d8124e07d290ad2bacf5 Mon Sep 17 00:00:00 2001 From: Matthew Rasmus Date: Wed, 19 Nov 2014 15:35:30 -0800 Subject: [PATCH 1/2] Added libbz2-dev to Debian based prerequisites Encountered this when building for the first time today: ``` note: /usr/bin/ld: cannot find -lbz2 collect2: error: ld returned 1 exit status error: aborting due to previous error Could not compile `servo`. ``` Installing the libbz2-dev packaged fixed it. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a5f4ae5fb78..e3dac7d77ec 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ On Debian-based Linuxes: sudo apt-get install curl freeglut3-dev \ libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev \ msttcorefonts gperf g++ cmake python-virtualenv \ - libssl-dev + libssl-dev libbz2-dev ``` On Fedora: From 3b40b51a818b2d05406eeb3732c42227fa1e0937 Mon Sep 17 00:00:00 2001 From: Matthew Rasmus Date: Thu, 20 Nov 2014 08:46:18 -0800 Subject: [PATCH 2/2] Added bzip to Fedora and Arch prereqs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3dac7d77ec..75195b48697 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ On Fedora: sudo yum install curl freeglut-devel libtool gcc-c++ libXi-devel \ freetype-devel mesa-libGL-devel glib2-devel libX11-devel libXrandr-devel gperf \ fontconfig-devel cabextract ttmkfdir python python-virtualenv expat-devel \ - rpm-build openssl-devel cmake + rpm-build openssl-devel cmake bzip2 pushd . cd /tmp wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec @@ -49,7 +49,7 @@ popd On Arch Linux: ``` sh -sudo pacman -S base-devel git python2 python2-virtualenv mesa ttf-font cmake +sudo pacman -S base-devel git python2 python2-virtualenv mesa ttf-font cmake bzip2 ``` Cross-compilation for Android: