[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUstep on 10.7
From: |
Adam Fedor |
Subject: |
Re: GNUstep on 10.7 |
Date: |
Sat, 27 Aug 2011 15:22:07 -0600 |
Well, if you removed it and it still worked, that probably means there was
another libffi somewhere.
And if you are using clang, you probably want libobjc2, not libobjc. You should
look at the instructions that David sent a link to.
To install. Make sure you source the GNUstep.sh script
. /System/Library/Makefiles/GNUstep.sh
(make sure the patch is correct for where you install GNUstep). If that still
doesn't work, it's because sudo does not pass on environment variables, and
you'd have to do something like
sudo make GNUSTEP_MAKEFILES=/System/Library/Makefiles install
On Aug 27, 2011, at 3:15 PM, artware wrote:
> No luck... I removed just the lib, and it gave me the same error.
> Bizarrely, when I removed the lib AND the headers, configure actually
> did run all the way through. However, when I went to make, there were
> plenty of errors, starting with:
> .././GNUstepBase/GSConfig.h:394:13: warning: '__weak' macro redefined
>
> and going on to lots of:
> /usr/include/objc/message.h:72:1: error: unknown type name 'OBJC_EXPORT'
>
> So it seems libobjc is broken / old?
>
> I'm trying to compile libobjc from SVN now, but it's being difficult.
> Trying to make gave me the error:
> In file included from ./objc/toydispatch.h:18:
> In file included from /usr/include/dispatch/dispatch.h:56:
> /usr/include/dispatch/io.h:259:31: error: unknown type name 'mode_t'
>
> So I added <sys/stat.h> to toydispatch.h... That seems to have allowed
> it to compile, but it doesn't want to install:
> GNUmakefile:8: /common.make: No such file or directory
> GNUmakefile:146: /aggregate.make: No such file or directory
> GNUmakefile:147: /library.make: No such file or directory
>
> It's frustrating. All I want to do is write server-side apps in
> Objective-C, with a few of the NSFoundation niceties. Why does it seem
> to be so insurmountable?
>
>
> On Sat, Aug 27, 2011 at 3:35 PM, Adam Fedor <fedor@gnu.org> wrote:
>> Well, it fails with a Bus Error, which isn't that helpful. You don't
>> suppose there are two installations of libffi on your system? Perhaps move
>> the one in usr/local/lib (just the lib, not the headers) and see what kind
>> of error you get.
>>
>>
>> On Aug 27, 2011, at 2:23 PM, artware wrote:
>>
>>> I wouldn't know where to start looking in that huge file, but I've
>>> attached it if it will help...
>>>
>>> On Sat, Aug 27, 2011 at 3:14 PM, Adam Fedor <fedor@gnu.org> wrote:
>>>> You need to look in the config.log file to figure out the exact error, or
>>>> send it to the list so we can look at it.
>>>>
>>> <config.log.zip>_______________________________________________
>>> Discuss-gnustep mailing list
>>> Discuss-gnustep@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>>
>>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
- Re: GNUstep on 10.7, (continued)
- Re: GNUstep on 10.7, Ondřej Hošek, 2011/08/27
- Re: GNUstep on 10.7, Truls Becken, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, Stefan Bidi, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, Adam Fedor, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, Adam Fedor, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7,
Adam Fedor <=
- Re: GNUstep on 10.7, Adam Fedor, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, Adam Fedor, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, Adam Fedor, 2011/08/27
- Re: GNUstep on 10.7, artware, 2011/08/27
- Re: GNUstep on 10.7, Adam Fedor, 2011/08/28
- Re: GNUstep on 10.7, David Chisnall, 2011/08/28
- Re: GNUstep on 10.7, artware, 2011/08/28