build on osx 10.6

View: New views
4 Messages — Rating Filter:   Alert me  

build on osx 10.6

by Robert DuToit-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I've been off list for  a while and just got around to building rsync  
3.0.6 on Mac OSX 10.6 intel core 2 duo machine. It runs great on  
similar machines but someone just said it won't for their OSX 10.6  
intel core  duo and returns an error:

rsync  Bad CPU type in executable.

I check the file and it says:

rsync: Mach-O 64-bit executable x86_64

my older builds all automatically came up i386.

I just ran the usual

  patch -p1 <patches/fileflags.diff
     patch -p1 <patches/crtimes.diff
     ./configure
     make

Is this right or should it be i386? and how to I get that back or  
build so it runs on the other maqchine?

Thanks,  Rob


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: build on osx 10.6

by macuserfr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For me this is a problem of gcc config on X.6.
It's targetting x64 by default instead of x86.

Cheers,

Vitorio

Le 25 oct. 09 à 18:19, Robert DuToit a écrit :

> Hi All,
>
> I've been off list for  a while and just got around to building  
> rsync 3.0.6 on Mac OSX 10.6 intel core 2 duo machine. It runs great  
> on similar machines but someone just said it won't for their OSX  
> 10.6 intel core  duo and returns an error:
>
> rsync  Bad CPU type in executable.
>
> I check the file and it says:
>
> rsync: Mach-O 64-bit executable x86_64
>
> my older builds all automatically came up i386.
>
> I just ran the usual
>
> patch -p1 <patches/fileflags.diff
>    patch -p1 <patches/crtimes.diff
>    ./configure
>    make
>
> Is this right or should it be i386? and how to I get that back or  
> build so it runs on the other maqchine?
>
> Thanks,  Rob
>
>
> --
> Please use reply-all for most replies to avoid omitting the mailing  
> list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: build on osx 10.6

by Robert DuToit-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Vitorio,

Yes -I kind of figured default was that now. What would be the way to  
get i386 back:

would

./configure  -arch i386  -arch x86_64

work?

Rob


On Oct 25, 2009, at 1:30 PM, Mac User FR wrote:

> For me this is a problem of gcc config on X.6.
> It's targetting x64 by default instead of x86.
>
> Cheers,
>
> Vitorio
>
> Le 25 oct. 09 à 18:19, Robert DuToit a écrit :
>
>> Hi All,
>>
>> I've been off list for  a while and just got around to building  
>> rsync 3.0.6 on Mac OSX 10.6 intel core 2 duo machine. It runs great  
>> on similar machines but someone just said it won't for their OSX  
>> 10.6 intel core  duo and returns an error:
>>
>> rsync  Bad CPU type in executable.
>>
>> I check the file and it says:
>>
>> rsync: Mach-O 64-bit executable x86_64
>>
>> my older builds all automatically came up i386.
>>
>> I just ran the usual
>>
>> patch -p1 <patches/fileflags.diff
>>   patch -p1 <patches/crtimes.diff
>>   ./configure
>>   make
>>
>> Is this right or should it be i386? and how to I get that back or  
>> build so it runs on the other maqchine?
>>
>> Thanks,  Rob
>>
>>
>> --
>> Please use reply-all for most replies to avoid omitting the mailing  
>> list.
>> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: build on osx 10.6

by macuserfr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know, I was just theoretically guessing.
I don't have a computer on 10.6 so I'm just fine with rsync :)

Le 25 oct. 09 à 18:36, Robert DuToit a écrit :

> Hi Vitorio,
>
> Yes -I kind of figured default was that now. What would be the way  
> to get i386 back:
>
> would
>
> ./configure  -arch i386  -arch x86_64
>
> work?
>
> Rob

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html