EtoileOS under Ubuntu Linux
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
EtoileOS under Ubuntu Linux
- First, install GNUstep under Ubuntu Linux
- Works under Ubuntu Desktop 12.04 (as long as you fix errors using the steps below)
- PopplerKit compilation fails under Ubuntu Desktop 13.10
sudo aptitude install libssl-dev libgmp3-dev libsqlite-dev libsqlite3-dev sudo aptitude install libgraphviz-dev libonig-dev libpoppler-dev libdbus-1-dev sudo aptitude install libxss-dev svn co svn://svn.gna.org/svn/etoile/trunk/Etoile Etoile cd Etoile make # fix errors by following steps below. sudo -E make install ./setup.sh
Then run using: etoile_system
And try an app: Typewriter
How to fix errors (SVN revision 9992 checked out on January 1, 2014)
Note: Although the above should just work, there are some errors. We can fix the errors by following the steps below.
1) Comment out unrecognized symbol in line 670 in ./Languages/LanguageKit/CodeGen/CodeGenModule.mm: // TO.JITExceptionHandling = 1; 2) Comment out unrecognized symbol in lines 210 and 211 in ./Languages/LanguageKit/CodeGen/CodeGenTypes.mm: // case llvm::Module::AnyPointerSize: // intPtrTy = llvm::Type::getIntNTy(context, sizeof(void*) * 8); 3) Copy a missing include file needed by ./Frameworks/CoreObject/Extras/Model/COAttributedString.m cp ./Frameworks/CoreObject/Debugging/COObjectGraphContext+Graphviz.h ./Frameworks/CoreObject/Extras/Model/ 4) Edit ./Services/User/StepChat/GNUmakefile to change the two instances of -werror to -Werror because stepChat fails with clang-3.5: error: unknown argument: '-werror'. 5) For the final link to succeed, add the full path to your llvm/build/lib/ directory to your ld.so.conf. For example append the path it to /etc/ld.so.conf.d/libc.conf: /usr/local/lib /home/patryk/llvm/build/lib and then run sudo ldconfig
Run make again after applying each of these fixes (or all of them).