discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Having build issues on Mac OS X


From: Kevin Ingwersen
Subject: Re: Having build issues on Mac OS X
Date: Thu, 28 Nov 2013 02:02:31 +0100

Ohey.

So I got somewhat further. Actually, all dependencies are now existing within 
/opt/GNUstep. So I got it thru the configuration! But now, I have an issue that 
is rather on the code’s side:

drag0n|Ingwie@Ingwies-Air 
~/Downloads/gnustep-startup-0.30.0/sources/gnustep-base-1.24.5 $ make -s
This is gnustep-make 2.6.5. Type 'make print-gnustep-make-help' for help.
Making all in Source ...
Making all in Additions ...
Making all for subproject Additions...
 Compiling file GSObjCRuntime.m ...
In file included from GSObjCRuntime.m:32:
In file included from .././common.h:31:
.././GNUstepBase/GSConfig.h:403:13: warning: '__weak' macro redefined
#    define __weak
            ^
<built-in>:161:9: note: previous definition is here
#define __weak __attribute__((objc_gc(weak)))
        ^
In file included from GSObjCRuntime.m:32:
In file included from .././common.h:32:
./GNUstepBase/GSVersionMacros.h:343:16: fatal error: 'objc/blocks_runtime.h' 
file not found
#      include <objc/blocks_runtime.h>
               ^
1 warning and 1 error generated.
make[4]: *** [obj/Additions.obj/GSObjCRuntime.m.o] Error 1
make[3]: *** [internal-subproject-all_] Error 2
make[2]: *** [Additions.all.subproject.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2


Do I have to install the libobjc first? Because, obviously, blocks.runtime.h is 
not within my default paths - BUT it is within my cwd:

drag0n|Ingwie@Ingwies-Air 
~/Downloads/gnustep-startup-0.30.0/sources/gnustep-base-1.24.5 $ find . -name 
"blocks_runtime.h"
./Headers/ObjectiveC2/objc/blocks_runtime.h

I tried to export CFLAGS=„-I…“ but that didnt work. Any suggestion?
Am 27.11.2013 um 23:43 schrieb Ivan Vučica <ivan@vucica.net>:

> I highly recommend that under OS X people use Xcode from Mac App Store 
> (seriously, that's a one-click install).
> 
> For GNUstep work, I used VirtualBox with Ubuntu.
> 
> But if you do succeed in your quest to have a reproducibly buildable and 
> functional GNUstep under OS X, you'd help a lot of people iterate faster 
> (including, based on sights seen at devmeeting in Cambridge, a lot of core 
> developers).
> 
> On 27 Nov 2013 22:26, "Kevin Ingwersen" <ingwie2000@googlemail.com> wrote:
> The issue for some people is just that they need just a ObjC compiler. For 
> most it is not easy to find the devtools that apple seeds - because you need 
> to install gigabytes of junk, just to get to the 300MB of build tools. So i 
> want to build GNUstep and offer it as an alternative. I also want to use it 
> as a toolchain for automatic building for my own projects (drag0n, pcc, etc).
> Thanks!
> Am 27.11.2013 um 23:14 schrieb Adam Fedor <fedor@gnu.org>:
> 
> > gnustep-make
> > gnustep-base
> > gnustep-gui
> > gnustep-back
> >
> > Note that building GNUstep on MacOSX is difficult as the symbols used by 
> > GNUstep conflict with ones in the standard OSX libraries.  It's also not 
> > very useful as there is a perfectly acceptable implementation of Cocoa 
> > already on OSX. Probably a better approach is to load a virtual machine 
> > onto OSX running Linux or Windows and compile GNUstep on that, using that 
> > to test any code you have built on OSX.
> >
> >
> > On Nov 27, 2013, at 2:57 PM, Kevin Ingwersen <ingwie2000@googlemail.com> 
> > wrote:
> >
> >>
> >> Any specific order?
> >>
> >> Well, I can edit shell scripts. Is InstallGNUstep always the same - not 
> >> like, generated? If so, i could optimize it for Mac. :)
> >> Am 27.11.2013 um 22:08 schrieb Adam Fedor <fedor@gnu.org>:
> >>
> >>>
> >>> On Nov 27, 2013, at 12:05 PM, Kevin Ingwersen <ingwie2000@googlemail.com> 
> >>> wrote:
> >>>
> >>>> Hey there!
> >>>>
> >>>> I am trying to prepair an installable GNUstep package for Mac OS X. But 
> >>>> I have been having slight issues with building.
> >>>>
> >>>> When I supply flags to ./configure then it works. But InstallGNUstep 
> >>>> perfectly ignores them - completely.
> >>>>
> >>>> So I am calling it with this
> >>>> sudo ./InstallGNUstep --prefix=/opt/GNUstep/ 
> >>>> --config-options='--prefix=/opt/GNUstep/ --with-thread-lib=pth 
> >>>> --with-x=/opt/X11/ --with-include-flags="-I/opt/GNUstep/include" 
> >>>> --enable-libffi --with-library-flags="-L/opt/GNUstep/lib" 
> >>>> --x-includes=/opt/X11/include/ --x-libraries=/opt/X11/lib/‚
> >>>>
> >>>
> >>> GNUstep startup doesn't really work on MacOSX.  You should try to compile 
> >>> the packages separately.
> >>>
> >>
> >>
> >
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

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