discuss-gnustep
[Top][All Lists]
Advanced

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

Re: preview: new macports ports


From: Eric Wasylishen
Subject: Re: preview: new macports ports
Date: Fri, 18 Nov 2011 13:38:07 -0700

Hmm.. it appears there is an old install of GNUstep in your /opt/local/GNUstep, and the build process is picking up headers from there causing the problem.

(sarray.h is part of the apple runtime, I think, and the only place sarray.h is mentioned in base is at:
macosx/GNUstepBase/preface.h:74: "#include <objc/sarray.h>"
which I think is an old/unused file provided only for documentation purposes.) 

Try uninstalling gnustep-make, then just delete /opt/local/GNUstep. 

-Eric

On 2011-11-18, at 1:20 PM, Ivan Vučica wrote:

Hello,

I'm having issues with gnustep-base-devel. This is on OS X 10.6 with Xcode 3.2.6.

The-Evil-MacBook:macports ivucica$ clang --version
clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-apple-darwin10
Thread model: posix
The-Evil-MacBook:macports ivucica$ which clang
/opt/local/bin/clang

Looks like clang warns about redefinition of __weak. Also, it appears clang cannot locate <objc/sarray.h>.

:info:build In file included from GSObjCRuntime.m:32:
:info:build In file included from .././common.h:30:
:info:build In file included from /opt/local/GNUstep/Local/Library/Headers/Foundation/NSZone.h:57:
:info:build In file included from /opt/local/GNUstep/Local/Library/Headers/Foundation/NSObjCRuntime.h:32:
:info:build /opt/local/GNUstep/Local/Library/Headers/GNUstepBase/preface.h:78:11: fatal error: 'objc/sarray.h' file not found
:info:build  #include <objc/sarray.h>
:info:build           ^
 
I have also attached the log file. 

On Fri, Nov 18, 2011 at 20:18, Ivan Vučica <address@hidden> wrote:
Zcode? Wow! *flattered*

I really need to get back to working on it.

I'm trying out the updated packages right now.

On Thu, Nov 17, 2011 at 21:54, Eric Wasylishen <address@hidden> wrote:
Hi, 
Some updates on my macports (https://github.com/ericwa/gnustep-macports-fixes): I've switched them to use clang and libobjc2, and have done some tidying. They are now working on both of my systems:
Mac OS 10.6.8 / Xcode 3.2.5 (x86_64)
Mac OS 10.7.2 / Xcode 4.2 
(x86_64)

On 10.7, the system-provided clang is used; on 10.6 I install the clang port from macports (currently version 2.9. I couldn't get the system-provided clang, Apple version 1.6, to work.)

Apps I've tested include GSTest, Gorm, and Zcode. Blocks and native ObjC exceptions seem to be working on both systems.

-Eric

On 2011-11-09, at 11:39 AM, Eric Wasylishen wrote:

This is great! Thanks for your effort. Btw. are those ports going to be at the macports repository?

I hope they will be accepted!

There are several things I would like to do before submitting them to macports:

- more testing
- hopefully get them working on OS 10.7 (they probably would work if the gcc46 port wasn't broken :-)
- the old ports contained some hacks for installing man pages/documentation... need to check if these are still needed
- maybe investigate getting them to compile with clang
- submit some of my patches to gnustep trunk
- once the next release of GNUstep comes out, get ports working with that release (currently my ports require trunk)

Cheers,

Eric


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev




--
Ivan Vučica - address@hidden





--
Ivan Vučica - address@hidden


<main.log>


reply via email to

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