[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to build GNUstep from git repo and clang-9 on Raspbian Buster
From: |
Patrick Cardona |
Subject: |
Re: Trying to build GNUstep from git repo and clang-9 on Raspbian Buster (10.4) |
Date: |
Tue, 16 Jun 2020 19:20:12 +0200 |
User-agent: |
GNUMail (Version 1.3.0) |
Hi Johannes,
Hi All,
I first made a backup of ~/GNUstep so I started with a fresh new one to avoid
conflicts with the previous install...
Behalf the script by Patryck Laurent (great job !), pointed out by Johannes, I
was able to build gnustep from github repo
with clang-7 on my raspbian 10 (Buster). Every thing was well made. So the
GNustep runtime is now 1.9.
I build also some apps from gap, GNUMail and so on... I am writing this message
within GNUMail. ;-)
I installed every new build app with the 'sudo -E' parameter. All worked fine.
But I am facing something curious. I cannot start GWorkspace or Terminal from
then Run panel within wmaker,
neither from the autostart.
I must first run Xterm, where .bashrc is read, and then I can finally launch
GWorkspace from there.
I guess something is missing when the X session is loading, but I could not
find what.
Last precision : The wmaker session is started from SLIM X login.
Regards,
--
Bien cordialement,
Patrick CARDONA
On 2020-06-15 09:13:28 +0200 Johannes Brakensiek <johannes@brakensiek.info>
wrote:
> Hi Patrick,
>
> On 14 Jun 2020, at 23:15, Patrick Cardona via Discussion list for the GNUstep
> programming environment wrote:
>
>> I tried to make GNUstep from git according to the wiki :
>> http://wiki.gnustep.org/index.php/Building_GNUstep_under_Debian_FreeBSD
>
>> I am stuck at this step : building libobjc2.
>
>> These are the steps and things done :
>
>> Building GNUstep under Raspbian (Buster 10.4) :
>
>> Target: armv6k-unknown-linux-gnueabihf
>
> I don’t know the exact cause of your failure, so David might want to add
> valuable information here.
>
> But afaik some parts of libobjc2 2.0 are built from assembler code. The
> needed code for the armhf architecture does not exist yet. That architecture
> is 32bit. If you try the 64bit variant (aarch64) it should work afaik.
>
> If you want to build libobjc2 on armhf you will have to use the older version
> 1.9 of libobjc (which does not require clang >= 8, but works with older
> versions of clang as well).
>
> We have a script prepared for this which should install GNUstep by just
> running it:
> https://github.com/plaurent/gnustep-build/blob/master/raspbian-10-clang-7.0-runtime-1.9-ARM/GNUstep-buildon-raspbian10.sh
>
> If you are going to use aarch64 this one should work as well:
> https://github.com/plaurent/gnustep-build/blob/master/debian-10-clang-8.0/GNUstep-20-buildon-debian10.sh
>
> I’d be glad if David could approve this is correct.
>
> Also, it would be very nice if anybody would like to do the missing libobjc2
> assembler implementation for armhf. I think this is a common use case as long
> as the default arch for Raspbian is 32 bit. Even though this arch will be
> running out of support at some time in the future, of course.
>
> For anybody building libobjc2 on a Debian based platform: Please note there
> are also some very recent Debian source packages. I have not yet tried to
> build them, but I think that approach sounds very promising:
> https://github.com/trunkmaster/nextspace/tree/master/Packaging/Debian (this
> will only work if you try it on the supported platforms of course).
>
> Cheers
> Johannes
>