[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update libobjc2 build instructions for Ubuntu/Android/Darling?
From: |
Patryk Laurent |
Subject: |
Re: Update libobjc2 build instructions for Ubuntu/Android/Darling? |
Date: |
Sat, 03 Oct 2015 04:55:06 +0000 (GMT) |
Hi Josh,
Thanks for your message. I have updated the instructions to point to Github (where the newer libobjc2 is).
I can confirm the instructions work on a fresh install of Ubuntu 14.04.
Regards,
Patryk
On Sep 24, 2015, at 09:56 PM, Josh Freeman <gnustep_lists@twilightedge.com> wrote:
Hi,
The correct source repository for libobjc2 seems to be the one on
github, not svn.gna.org.
For example, comparing the last "ANNOUNCE" files in each
repository, github's is "ANNOUNCE.1.8.1" from August, and
svn.gna.org's is "ANNOUNCE.1.7" from 2 years ago:
https://github.com/gnustep/libobjc2
http://svn.gna.org/viewcvs/gnustep/libs/libobjc2/trunk/
If github is the correct repository, then the following build
scripts/instructions for Ubuntu, Android, & Darling need updating,
because they refer to svn.gna.org for getting libobjc2's sources:
- GNUstep under Ubuntu Linux: http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux
- GNUstep/Android Build Script: https://bitbucket.org/ivucica/gnustep-android
(/phases/20-fetch-gnustep-and-libobjc2.sh)
- Darling Project / UBUNTU BUILD INSTRUCTIONS: http://www.darlinghq.org/ubuntu-build-instructions
Also, regarding Ubuntu: The wiki's Ubuntu script builds libobjc2
before GNUstep make, but I've had issues building libobjc2 unless
GNUstep make is built beforehand & also afterwards, as in this script
by Stephen Schaub (though it also uses svn.gna.org for libobjc2): http://lists.gnu.org/archive/html/discuss-gnustep/2014-05/msg00049.html
The script below worked fine today to build GS on a new install of
Ubuntu 14.04.3 (32-bit). It's a mashup of the wiki's and Stephen's
scripts above, and also gets libobc2 from github.
Cheers,
Josh
-----------
#!/bin/bash
sudo apt-get update
sudo apt-get -y install clang git subversion ninja cmake libffi-dev
libxml2-dev \
libgnutls-dev libicu-dev libblocksruntime-dev libkqueue-dev libpthread-
workqueue-dev autoconf libtool \
libjpeg-dev libtiff-dev libffi-dev libcairo-dev libx11-dev:i386 libxt-
dev libXft-dev
cd ~
git clone git://github.com/nickhutchinson/libdispatch.git
svn co http://svn.gna.org/svn/gnustep/modules/core
git clone git://github.com/gnustep/libobjc2.git
export CC=clang
export CXX=clang++
cd ~/core/make
./configure --enable-debug-by-default --with-layout=gnustep --enable-
objc-nonfragile-abi
make && sudo -E make install
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
cd ~/libobjc2
rm -rf build
mkdir build
cd build
cmake ..
make -j8
sudo -E make install
cd ~/core/make
./configure --enable-debug-by-default --with-layout=gnustep --enable-
objc-nonfragile-abi
make && sudo -E make install
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
echo ". /usr/GNUstep/System/Library/Makefiles/GNUstep.sh" >> ~/.bashrc
cd ~/core/base/
./configure
make -j8
sudo -E make install
cd ~/libdispatch
rm -rf libdispatch-build
mkdir libdispatch-build && cd libdispatch-build
../configure
make
sudo make install
sudo ldconfig
cd ~/core/gui
./configure
make -j8
sudo -E make install
cd ~/core/back
./configure
make -j8
sudo -E make install
echo "Install is done. Open a new terminal or type source ~/.bashrc"
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Update libobjc2 build instructions for Ubuntu/Android/Darling?,
Patryk Laurent <=