swarm-hackers
[Top][All Lists]
Advanced

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

Re: [swarm-hackers] "Swarm Wiki Guide - Installing Swarm on Mac OS X fr


From: Nima Talebi
Subject: Re: [swarm-hackers] "Swarm Wiki Guide - Installing Swarm on Mac OS X from Source" problems
Date: Sat, 21 Nov 2009 20:27:18 +1100

Hi Bill,

Yes - definitely a reinvention of the wheel here - if you have written a macro - can we make use of it then?  It would be much nicer to have autoconf bail out, rather than the build process  - which is much more difficult to troubleshoot that back to "sed".

Nima


On Sat, Nov 21, 2009 at 8:15 PM, Bill Northcott <address@hidden> wrote:
There is a lot of reinventing the wheel going on here.

I did a GNUsed installer 4 years ago!  As I remember it is part of my distribution.

You are quite right that AC_PROG_SED finds a sed that will do for autoconf, the Darwin one passes this test.  Part of the Swarm build process (not the configure) uses sed to generate some .xm files.  It seems to need an effective line length of 100k plus and only GNU sed will do.

I think I did write a autoconf macro to find a good enough sed.

Cheers
Bill


On 21/11/2009, at 7:16 PM, Nima Talebi wrote:

> Okay, for now I put in a check in the OS X makefiles, and documented the requirement for GNU sed here.
>
> I've also added an entry about all this to ChangeLog under the OSX section of the code.
>
> On Sat, Nov 21, 2009 at 6:43 PM, Scott Christley <address@hidden> wrote:
> Yeah it's tough, install GNU sed, and while you are at install autoconf, automake and libtool ;-)
>
> The more difficult part is to figure how to get HDF5 support as that's needed at runtime, and the HDF5 library is not provided on Mac.
>
> Scott
>
> On Nov 20, 2009, at 11:00 PM, Nima Talebi wrote:
>
>> I think that there's more money on Swarm sed in a way that dishonours this, than there is that the version of sed is unsuitable - otherwise, AC_PROG_SED should have failed.
>>
>> This'll be a tough one.
>>
>> Nima
>>
>> On Sat, Nov 21, 2009 at 5:42 PM, Scott Christley <address@hidden> wrote:
>> I guess it could, not sure.  Configure needs to use sed to test whether sed is good...
>>
>> configure.in uses AC_PROG_SED to check, but I don't think that checks for all features in sed, so something in Swarm is using a newer feature of sed.
>>
>> Scott
>>
>> On Nov 20, 2009, at 10:25 PM, Nima Talebi wrote:
>>
>>> Shouldn't autoconf pick that up and bork then?
>>>
>>> On Sat, Nov 21, 2009 at 4:36 PM, Scott Christley <address@hidden> wrote:
>>>
>>> Yes, you need to use GNU sed.  The system sed on Mac is not capable of handling some of the commands required by the autoconf stuff.
>>>
>>> Scott
>>>
>>> On Nov 20, 2009, at 9:27 PM, Nima Talebi wrote:
>>>
>>>> Trying again - the list mail seems to have issues (permanent failure)....
>>>>
>>>> On Sat, Nov 21, 2009 at 3:16 PM, Nima Talebi <address@hidden> wrote:
>>>> Hi Alex, after some of pain, I've discovered what causes this - it may still be a red herring - but seems to make all the difference for me...
>>>>
>>>> Here it goes.
>>>>
>>>> Find attached 2 compilations - 1 is the successful build, one is the broken build that you had Alex, and that I was able to replicate.
>>>>
>>>> Doing a diff on the two, the first thing you'll notice, is that the one that fails is using the system /usr/bin/sed, whereas the one that succeeds is using the one I have form macports, /opt/macports/bin/gsed.
>>>>
>>>> This is a little strange to me to accept as face value, so I'm going to confirm by asking the list...
>>>>
>>>> Has anyone here compiled Swarm, who also does not have another version of sed (fink, macports, etc) available in their path?
>>>>
>>>> Nima
>>>>
>>>>
>>>> On Sat, Nov 21, 2009 at 9:49 AM, Nima Talebi <address@hidden> wrote:
>>>> Hi Alex,
>>>>
>>>> Thanks for trying this out - I'll investigate and get back to you today.
>>>>
>>>> Nima
>>>>
>>>>
>>>> On Sat, Nov 21, 2009 at 9:25 AM, Alessandro Perrone <address@hidden> wrote:
>>>> Hi, I am trying to install Swarm Libraries using the commands on the wiki web page. ( I have tried to follow the command on Nima web page, but the heatbugs does not run).
>>>> I have erased all Swarm Frameworks on my system.
>>>> And the I started to follow the instruction.
>>>> Actually I have problems compiling the frameworks.
>>>> When I type
>>>> "make build install"
>>>> after a couple of minutes of compilation I have
>>>> --** BUILD FAILED **
>>>>
>>>>
>>>> The following build commands failed:
>>>> Swarm:
>>>>        CompileC build/Swarm.build/Release/Swarm.build/Objects-normal/i386/defobj.o /Users/alex/devel/Swarm/swarm/macosx/SwarmOSX/../../src/defobj/defobj.m normal i386 objective-c com.apple.compilers.gcc.4_2
>>>>        CompileC build/Swarm.build/Release/Swarm.build/Objects-normal/i386/collections.o /Users/alex/devel/Swarm/swarm/macosx/SwarmOSX/../../src/collections/collections.m normal i386 objective-c com.apple.compilers.gcc.4_2
>>>>        CompileC build/Swarm.build/Release/Swarm.build/Objects-normal/i386/activity.o /Users/alex/devel/Swarm/swarm/macosx/SwarmOSX/../../src/activity/activity.m normal i386 objective-c com.apple.compilers.gcc.4_2
>>>> (3 failures)
>>>>
>>>> make: *** [.Darwin_build] Error 1
>>>> --
>>>> Any hints?
>>>> regards.
>>>>                                ALEX
>>>> --
>>>> ----
>>>> Questa e-mail ed i suoi eventuali allegati contengono informazioni
>>>> riservate o confidenziali. Se avete ricevuto questa comunicazione per
>>>> errore, siete pregati di non utilizzarne il contenuto e di non
>>>> portarlo a conoscenza di alcuno. Grazie per la collaborazione.
>>>> This message is intended only for the use of the individual or entity
>>>> to which it is addressed, and may contain confidential information.
>>>> If you received this in error, please contact the sender and delete
>>>> the material from all computers.
>>>>
>>>>
>>>> _______________________________________________
>>>> swarm-hackers mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/swarm-hackers
>>>>
>>>>
>>>>
>>>> --
>>>> Nima Talebi
>>>> web: http://ai.autonomy.net.au/People/Nima
>>>> gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
>>>>
>>>>
>>>>
>>>> --
>>>> Nima Talebi
>>>> web: http://ai.autonomy.net.au/People/Nima
>>>> gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
>>>>
>>>>
>>>>
>>>> --
>>>> Nima Talebi
>>>> web: http://ai.autonomy.net.au/People/Nima
>>>> gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
>>>
>>>
>>>
>>>
>>> --
>>> Nima Talebi
>>> web: http://ai.autonomy.net.au/People/Nima
>>> gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
>>> _______________________________________________
>>> swarm-hackers mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/swarm-hackers
>>
>>
>> _______________________________________________
>> swarm-hackers mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/swarm-hackers
>>
>>
>>
>>
>> --
>> Nima Talebi
>> web: http://ai.autonomy.net.au/People/Nima
>> gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
>> _______________________________________________
>> swarm-hackers mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/swarm-hackers
>
>
> _______________________________________________
> swarm-hackers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swarm-hackers
>
>
>
>
> --
> Nima Talebi
> web: http://ai.autonomy.net.au/People/Nima
> gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0
> _______________________________________________
> swarm-hackers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swarm-hackers


_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers




--
Nima Talebi
web: http://ai.autonomy.net.au/People/Nima
gpg: B51D 1F18 D8E2 B702 B027 23A4 E06B DAC1 BE70 ADC0

reply via email to

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