Help building GNUstep from scratch

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Help building GNUstep from scratch

Michael Lastname

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.

Reply | Threaded
Open this post in threaded view
|

Re: Help building GNUstep from scratch

Patryk Laurent
Hi Michael,

On Jul 14, 2020, at 19:13, Michael Lastname <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: Help building GNUstep from scratch

Johannes Brakensiek
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

Reply | Threaded
Open this post in threaded view
|

RE: Help building GNUstep from scratch

Michael Lastname

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: [hidden email]
Sent: Wednesday, July 15, 2020 03:31
To: [hidden email]
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
> at <https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fplaurent%2Fgnustep-build&amp;data=02%7C01%7C%7C33373f7e8bd4442d6d5408d828911238%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637303950820059425&amp;sdata=tlNt9Pm2m3ilJsi6pNyPqSbYHrHO38Sh7TUOqV1Lt9o%3D&amp;reserved=0> — perhaps one of
> those would help you? 

One might add that this is the more detailed tutorial from which the
Debian scripts above derive:
https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.gnustep.org%2Findex.php%2FBuilding_GNUstep_under_Debian_FreeBSD&amp;data=02%7C01%7C%7C33373f7e8bd4442d6d5408d828911238%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637303950820059425&amp;sdata=9veVKQk7hBm1KapP%2Bmpvwq6cYVNOGK84Ng%2FRYKHKmMc%3D&amp;reserved=0

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://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftrunkmaster%2Fnextspace%2Ftree%2Fmaster%2FPackaging%2FDebian&amp;data=02%7C01%7C%7C33373f7e8bd4442d6d5408d828911238%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637303950820059425&amp;sdata=yW5ZHlXW%2FPZfLPZ4wYAc8f2Pk4DqQV35x3KbquiZkXg%3D&amp;reserved=0

Johannes