← Back to team overview

dulwich-users team mailing list archive

Re: patch: fix compilation for people with XCode 4

 

On Tue, 2011-04-12 at 22:07 +0200, Daniele Sluijters wrote:
> Good to hear, thanks for the quick response :-).
I just received the following pull request:
https://github.com/jelmer/dulwich/pull/24

Is there any chance you can verify that dulwich still builds for you
with that change?

Cheers,

Jelmer

> On Apr 12, 2011 9:59 PM, "Jelmer Vernooij" <jelmer@xxxxxxxxx> wrote:
> >
> > Hi Daniele,
> >
> > On Mon, 2011-04-11 at 12:11 +0200, Daniele Sluijters wrote:
> >
> > > I ran into the problem that with XCode 4 installed, dulwich could
> not
> > > build the C modules:
> > >
> > >
> > > /usr/include/AvailabilityMacros.h:108:14: warning: #warning
> Building
> > > for Intel with Mac OS X Deployment Target < 10.4 is invalid.
> > > /usr/libexec/gcc/powerpc-apple-darwin10/4.0.1/as: assembler
> > > (/usr/bin/../libexec/gcc/darwin/ppc/as
> > > or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture
> ppc
> > > not installed
> > > Installed assemblers are:
> > > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
> > > /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
> > > lipo: can't open input file: /var/tmp//ccWjFnmz.out (No such file
> or
> > > directory)
> > > error: command 'gcc-4.0' failed with exit status 1
> >
> > > I remembered a patch in Mercurial that came along a few weeks ago
> that
> > > mentioned "fix compilation of plugins for XCode 4" so I applied
> their
> > > changes to dulwich's setup.py and now dulwich builds as usual on
> OS X
> > > 10.6+ with XCode 4.
> > Merged, thanks.
> >
> > Cheers,
> >
> > Jelmer
> >
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part


References