|
8 | 8 | # with Apple's modern Objective-C runtime. This new runtime |
9 | 9 | # allows Nu to be ported to Linux+GNUstep without difficulty. |
10 | 10 | # |
11 | | -# Tested with ubuntu-14.04 |
| 11 | +# Tested with ubuntu-18.04 |
12 | 12 | # Other Ubuntu and Debian installations may also work well. |
13 | 13 | # |
14 | 14 | # Thanks to Tobias Lensing for pointing the way. |
@@ -37,45 +37,45 @@ sudo apt-get install libfreetype6-dev -y |
37 | 37 | sudo apt-get install libcairo2-dev -y |
38 | 38 | sudo apt-get install libxt-dev -y |
39 | 39 | sudo apt-get install libgl1-mesa-dev -y |
40 | | -sudo apt-get remove libdispatch-dev -y |
41 | 40 | sudo apt-get install gdb -y |
| 41 | +sudo apt-get install cmake -y |
| 42 | +sudo apt-get install llvm -y |
| 43 | +sudo apt-get install libc++-dev -y |
| 44 | +sudo apt-get install libxslt1-dev -y |
| 45 | +sudo apt-get install libgnutls28-dev -y |
| 46 | +sudo apt-get install libdispatch-dev -y |
42 | 47 |
|
43 | 48 | mkdir -p /tmp/SETUP |
44 | 49 | cd /tmp/SETUP |
45 | 50 |
|
46 | | -# |
47 | | -# A few modifications were needed to fix problems with |
48 | | -# libobjc2 and gnustep-base. To maintain stability, we |
49 | | -# work with a fork on github. |
50 | | -# |
51 | | -git clone https://github.com/nulang/gnustep-libobjc2.git |
52 | | -git clone https://github.com/nulang/gnustep-make.git |
53 | | -git clone https://github.com/nulang/gnustep-base.git |
| 51 | +git clone https://github.com/programming-nu/gnustep-libobjc2.git |
| 52 | +git clone https://github.com/programming-nu/tools-make.git |
| 53 | +git clone https://github.com/programming-nu/libs-base.git |
54 | 54 |
|
55 | 55 | echo Installing libobjc2 |
56 | 56 | export CC=clang |
| 57 | +export CXX=clang++ |
57 | 58 | cd gnustep-libobjc2 |
58 | | -make clean |
59 | | -make |
| 59 | +mkdir Build |
| 60 | +cd Build |
| 61 | +cmake .. |
60 | 62 | sudo make install |
61 | 63 | cd /tmp/SETUP |
62 | 64 |
|
63 | | -echo Installing gnustep-make |
64 | | -cd gnustep-make |
65 | | -./configure |
| 65 | +echo Installing gnustep make |
| 66 | +cd tools-make |
| 67 | +./configure --with-library-combo=ng-gnu-gnu CC=clang CXX=clang++ |
66 | 68 | make clean |
67 | 69 | make |
68 | 70 | sudo make install |
69 | 71 | cd /tmp/SETUP |
70 | 72 |
|
71 | | -echo Installing gnustep-base |
72 | | -cd gnustep-base |
73 | | -./configure |
| 73 | +echo Installing gnustep base |
| 74 | +cd libs-base |
| 75 | +./configure CC=clang CXX=clang++ |
74 | 76 | make clean |
75 | 77 | make |
76 | 78 | sudo make install |
77 | 79 | cd /tmp/SETUP |
78 | 80 |
|
79 | | -sudo apt-get install libdispatch-dev -y |
80 | | - |
81 | 81 | echo Pre-install script finished successfully. You may now build Nu. |
0 commit comments