gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie back again...


From: Bertrand Gmail
Subject: Re: Newbie back again...
Date: Sun, 23 Apr 2017 03:50:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Sorry for the mistake, I didn't send the correct script (missing the i386 architecture option). Here it is again.

Bertrand


Le 23/04/2017 à 03:23, Bertrand Gmail a écrit :
Hi, Yan
I've spent several hours trying to reinstall again and again with clang, objc2, blocks and so on.

And yes, it's a real pain. But I've got now something that seems to be finally running.

First of all, regarding your initial question on adding the 386 architecture on debian Jessie ; yes it's mandatory.

Without it, gui apps will segfault in Debian Jessie, due to something in libobjc. I've seen on http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux that this option was set in the "ubuntu 1404 " section but not in the "ubuntu 1604" one.

I've reworked my script and I've splitted it in two parts (one for installing the dependancies, the other for compilation).
They work as is.

Maybe your problem for now is that libobjc isn't in a place where gnustep can find it. I remembered that sometimes ago, it wasn't installed in /usr/GNUstep/Local/Library/Libraries and my compiler didn't find it. I just picked the files in /usr/local and put them at that place and everything worked.

But I didn't have this problem today : everything is at his place and run.


You can try them in a clean jessie install to avoid some common problems with libraries mismatched or still installed.

Final note : in the script, I didn't add "export CC=clang" and "export CXX=clang++" to bashrc so you will need to pass this option each time you compile some other program with gnustep.

Cheers,
Bertrand

Attachment: my_install_gnustep_first_stage.sh
Description: application/shellscript


reply via email to

[Prev in Thread] Current Thread [Next in Thread]