I don't remember if I compile clang separately before using ivan's
script. I've just tried now the script on Jessie and get the same error.
You can try this :
inside ~/ivucica-gnustep-ubuntu-install:
create a clang-build dir;
cd to this dir.
And compile llvm using :
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../llvm/
The "Release" is mandatory if you don't want to have a debug build which
is the default for llvm.
It seems to work for me as I can launch the compilation process here.
Once it's done, do a make install and relaunch ivan's script without
WITH_TRUNK_LLVM=1.
I forgot to say : you can disable opal compilation in ivan's script
because it won't find the dedication libraries at compile time : some
names are different in Ubuntu and in Debian. You can compile it by hand
after.
Hope it will help.
Bertrand
On 16/01/2016 12:32, Tristan Bellogi wrote:
Hi,
Thanks for you answers... yet even if ain't succeed already ;-)
As previously told, I've install GNUstep-VM-0.9.6 within my
Virtulabox: easy to do and it works like a charm!
But I would have a working GNUstep install on my latest debian 8.2...
So I've done a fresh Debian install on a brand new HD then reboot,
download Ivan Vučica' GNUstep installation script, cd to
~/ivucica-gnustep-ubuntu-install
for finally isssuing:
sudo WITH_TRUNK_LLVM=1 ./GNUstep\ with\ libobjc2\ on\ Ubuntu.sh
00-ubuntu-deps.sh, 05-vcs-checkout.sh.sh ran well... but
10-build-llvm.sh abort with th following message:
configure: error: In-source builds are not allowed. Please configure from a
separate build directory!
Failed building trunk LLVM and Clang...
I've added some TRACING to ivan script... and relaunch the scrip with:
sudo WITHOUT_CHECKOUT=1 WITH_TRUNK_LLVM=1 ./GNUstep\ with\ libobjc2\ on\
Ubuntu.sh
Now I got:
Skipping checkout from VCS
Tristan:TRACING (10-build-llvm.sh - 1rst line)>> actual working directory =
/usr/local/src/GNUstep/ivucica-gnustep-ubuntu-install
Building trunk LLVM and Clang
=============================
Tristan:TRACING (10-build-llvm.sh - within if [ "$WITH_TRUNK_LLVM" == "1" ] test loop
) >> actual working directory = /usr/local/src/GNUstep/ivucica-gnustep-ubuntu-install/llvm
configure: error: In-source builds are not allowed. Please configure from a
separate build directory!
Failed building trunk LLVM and Clang
The goal is:
Porting a naval architecture system from Mac OS X to Linux. The system
itself has been developed following the GTKCad project specs...
My customer will from Mac to Linux if and only if Development and
Maintenance of the system could be as easy as onto the Mac... What is
not actually the case... And Customers are'nt developers, they don't
care to know why it doesn't work, they only want the thing are working
actually...
OK, being here, I'va also installed a fresh Ubuntu onto a separate
partition of our new HD... Ivan' script does the job! I've a GNUstep
dir in ~/, another in /usr and after compiling some code of my own I
can successfuly run opentool myTool and/or openapp meApp.app
The question st'ill remain the same: Howto install GNUstep/Objc2 onto
debian 8.2 (just because for obscure my customer doesn't want Ubuntu
but Debian... and a customer is to treated as a KIng...)
Debian installer seems to install llvm-3.5 by default (not clang, just
llvm) ?
Thanks in advance for any help
Tristan
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep