discuss-gnustep
[Top][All Lists]
Advanced

[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:30:43 -0600

I meant path not patch.

Also

sudo -E make install

would work as well if your sudo supports that flag.

On Aug 27, 2011, at 3:22 PM, Adam Fedor wrote:

> 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
> 
> 
> _______________________________________________
> 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]