Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help building GNUstep from scratch

10 views
Skip to first unread message

Michael Lastname

unread,
Jul 14, 2020, 10:12:55 PM7/14/20
to discuss...@gnu.org

Firstly I’d like to apologize for inadvertently sending this message to the wrong mailing list, I’m very sorry about that.


Below is the same message, but this time in the correct list:

 

I’m following the guide listed here http://wiki.gnustep.org/index.php/Building_GNUstep_with_Clang but on step 3 when I run

make install

I get the following error:

 

cc: error: unrecognized command line option ‘-Xclang’

cc: error: unrecognized command line option ‘-Xclang’

 

Is there any extra prepwork I need to be doing that isn’t documented on the wiki? If it effects anything, I did install GNUstep and GNUstep-devel from aptitude.

Patryk Laurent

unread,
Jul 14, 2020, 11:29:33 PM7/14/20
to Michael Lastname, discuss...@gnu.org
Hi Michael,

On Jul 14, 2020, at 19:13, Michael Lastname <sparkly...@hotmail.com> wrote:



Firstly I’d like to apologize for inadvertently sending this message to the wrong mailing list, I’m very sorry about that.


Welcome — I hope you still have all your limbs intact! :-)

Below is the same message, but this time in the correct list:

 

I’m following the guide listed here http://wiki.gnustep.org/index.php/Building_GNUstep_with_Clang but on step 3 when I run

make install

I get the following error:

 

cc: error: unrecognized command line option ‘-Xclang’

cc: error: unrecognized command line option ‘-Xclang’

 

Is there any extra prepwork I need to be doing that isn’t documented on the wiki? If it effects anything, I did install GNUstep and GNUstep-devel from aptitude.


What OS/distribution are you building under, and what version of clang?  A few of us have put together build scripts that use the latest GNUstep source using all the modern Objective-C features at https://github.com/plaurent/gnustep-build — perhaps one of those would help you? 

Best,
Patryk


Johannes Brakensiek

unread,
Jul 15, 2020, 3:31:17 AM7/15/20
to discuss...@gnu.org
On 15 Jul 2020, at 5:29, Patryk Laurent wrote:

> What OS/distribution are you building under, and what version of
> clang?  A few of us have put together build scripts that use the
> latest GNUstep source using all the modern Objective-C features
> at <https://github.com/plaurent/gnustep-build> — perhaps one of
> those would help you? 

One might add that this is the more detailed tutorial from which the
Debian scripts above derive:
http://wiki.gnustep.org/index.php/Building_GNUstep_under_Debian_FreeBSD

Please also note that you usually have to remove all GNUstep
dependencies from apt/aptitude to make the manual installation work.

In case you want to build apt based packages on your own you might try
these sources for Debian source packages which will build the
GNUstep/clang runtime as well:

https://github.com/trunkmaster/nextspace/tree/master/Packaging/Debian

Johannes

Michael Sullivan

unread,
Jul 15, 2020, 6:00:15 PM7/15/20
to Johannes Brakensiek, discuss...@gnu.org

Patryk and Johannes,

 

I tried the scripts and I was able to build most of GNUstep with them!  Thanks!
I still haven’t been able to build libobjc2 but at least I made some headway. 

 

To answer your question Patryk, I am building under Ubuntu 20.04.  I’ve uninstalled gnustep from my system and am now installing from source.

 

From: Johannes Brakensiek
Sent: Wednesday, July 15, 2020 03:31
To: discuss...@gnu.org
Subject: Re: Help building GNUstep from scratch

 

On 15 Jul 2020, at 5:29, Patryk Laurent wrote:

> What OS/distribution are you building under, and what version of
> clang?  A few of us have put together build scripts that use the
> latest GNUstep source using all the modern Objective-C features

> those would help you? 

One might add that this is the more detailed tutorial from which the
Debian scripts above derive:



Please also note that you usually have to remove all GNUstep
dependencies from apt/aptitude to make the manual installation work.

In case you want to build apt based packages on your own you might try
these sources for Debian source packages which will build the
GNUstep/clang runtime as well:

0 new messages