Ivan Vučica avatar Ivan Vučica committed 6e4f9cd

For Ubuntu 10.04 and current GNUstep.

Comments (0)

Files changed (1)

GNUstep libobjc2 on Ubuntu.sh

+# GNUstep with libobjc2
+# installation on cleanly installed desktop Ubuntu 10.04
+# Based on Etoile's INSTALL file
+# Differences:
+# $PWD/Debug/bin turns out to be $PWD/Release+Asserts/bin
+sudo apt-get install subversion g++ libffi-dev libxml2-dev libicu-dev libgmp3-dev libjpeg-dev libtiff-dev libpng-dev libcairo-dev libxt-dev
+svn co svn://svn.gna.org/svn/gnustep/modules/ gnustep
+svn co svn://svn.gna.org/svn/etoile/trunk/ etoile
+svn co http://llvm.org/svn/llvm-project/llvm/trunk/ llvm
+cd llvm/tools
+svn co http://llvm.org/svn/llvm-project/cfe/trunk/ clang
+cd ..
+./configure --enable-optimized && make -j3
+export PATH=$PATH:$PWD/Release+Asserts/bin: # llvm/Debug/bin contains the clang binary
+export CC=clang # Make Clang the C/ObjC compiler rather than GCC
+clang -v
+cd ..
+cd gnustep
+# - Install GNUstep Make a first time:
+cd core/make
+./configure --enable-debug-by-default --with-layout=gnustep # --prefix=/
+make && sudo -E make install
+. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh 
+# Or . /System/Library/Makefiles/GNUstep.sh if --prefix=/ was passed
+# - Build libobjc2
+cd ../../dev-libs/libobjc2
+make debug=no && sudo -E make strip=yes install
+# - Install GNUstep Make a second time so it can detect the new ObjC runtime just installed:
+cd ../../core/make
+./configure --enable-debug-by-default --with-layout=gnustep #--prefix=/
+make && sudo -E make install
+# - Build and Install GNUstep Base, Gui and Back:
+cd ../base
+# For Linux e.g. Ubuntu, --with-ffi-include is usually required
+./configure --with-ffi-include=/usr/include/`gcc -dumpmachine`
+make -j 3 && sudo -E make install
+cd ../gui
+./configure && make -j 3 && sudo -E make install
+cd ../back
+./configure --enable-graphics=cairo && make -j 3 && sudo -E make install
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.