Re: Newbie back again...

2017-04-22 Thread Bertrand Gmail
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




my_install_gnustep_first_stage.sh
Description: application/shellscript
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: Newbie back again...

2017-04-22 Thread Bertrand Gmail

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


my_install_gnustep_first_stage.sh
Description: application/shellscript


my_install_gnustep_second_stage.sh
Description: application/shellscript
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev