txr-users
[Top][All Lists]
Advanced

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

Re: [Txr-users] installing


From: Tristan Williams
Subject: Re: [Txr-users] installing
Date: Sat, 7 Apr 2012 15:49:07 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Arh, yes - I forgot to mention that.

The ar command under OS X does not support -f flag. I edited the make
file in mpi-1.8.6, searched for ar and removed the f flag. The rest of
the instructions should(!) now work,

Kind regards,

Tristan Williams  

On 07Apr12 09:59, Christopher A. Simon wrote:
> Hi Tristan,
> 
> Thanks for responding so quickly.  Still a no go.  While making in the
> mpi directory I get
> 
> ar crf libmpi.a mpi.o mpprime.o
> ar: illegal option -- f
> usage:  ar -d [-TLsv] archive file ...
>       ar -m [-TLsv] archive file ...
>       ar -m [-abiTLsv] position archive file ...
>       ar -p [-TLsv] archive [file ...]
>       ar -q [-cTLsv] archive file ...
>       ar -r [-cuTLsv] archive file ...
>       ar -r [-abciuTLsv] position archive file ...
>       ar -t [-TLsv] archive [file ...]
>       ar -x [-ouTLsv] archive [file ...]
> make: *** [lib] Error 1
> 
> 
> Even though it didn't go, I still tried changing the ccname=g++, and
> making from the txr-64 directory still didn't pass the tests, but the
> error is different!  I believe it's  the same/similar compliant you
> where recieving about long long's.
> 
> Will keep at it and post if I figure it out.
> 
> Best,
> 
> -Chris
> 
> On Sat, Apr 7, 2012 at 9:14 AM, Tristan Williams
> <address@hidden> wrote:
> > Hi,
> >
> > A too am new to TXR and a more authoritative/correct answer may
> > supersede mine.
> >
> > I also have had a few issues trying to get TXR to build under OS X Lion,
> > However, I have managed to (manually) get TXR-64 to build and pass the
> > tests by doing this.
> >
> > This is what I did.
> >
> > 0. Run ./configure as is from the txr-64 directory.
> > 1. make clean
> > 2. cd mpi-1.8.6 and then make
> > 3. cd ..
> > 4. edit config.make so that ccname = g++
> > 5. save config.make
> > 6. make
> > 7. make tests
> >
> > Mine then passed the tests.
> >
> > Sadly, ./configure --cname=g++ didn't work for me as the mpi lib then
> > started to complain about not supporting long long.
> >
> > Kind regards,
> >
> > Tristan Williams
> >
> > On 07Apr12 08:55, Christopher A. Simon wrote:
> >> Hi,
> >>
> >> I'm very new to txr, but hope to become more familiar over time.   My
> >> question concerns installing.  I installed txr very easily in ubuntu,
> >> but when trying to install in Mac OSX lion the configure ran but the
> >> make did not. I ended up with the error message,
> >>
> >>
> >>
> >> TacoEngine~/Downloads/txr-63 $ make
> >> gcc -I. -I/Users/christophersimon/Downloads/txr-63 -ansi
> >> -D_POSIX_C_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
> >> -g -I/Users/christophersimon/Downloads/txr-63/mpi-1.8.6   -c -o txr.o
> >> txr.c
> >> gcc -I. -I/Users/christophersimon/Downloads/txr-63 -ansi
> >> -D_POSIX_C_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
> >> -g -I/Users/christophersimon/Downloads/txr-63/mpi-1.8.6   -c -o
> >> lex.yy.o lex.yy.c
> >> gcc -I. -I/Users/christophersimon/Downloads/txr-63 -ansi
> >> -D_POSIX_C_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
> >> -g -I/Users/christophersimon/Downloads/txr-63/mpi-1.8.6 -Dlint   -c -o
> >> y.tab.o y.tab.c
> >> gcc -I. -I/Users/christophersimon/Downloads/txr-63 -ansi
> >> -D_POSIX_C_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
> >> -g -I/Users/christophersimon/Downloads/txr-63/mpi-1.8.6   -c -o
> >> match.o match.c
> >> gcc -I. -I/Users/christophersimon/Downloads/txr-63 -ansi
> >> -D_POSIX_C_SOURCE=2 -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
> >> -g -I/Users/christophersimon/Downloads/txr-63/mpi-1.8.6   -c -o lib.o
> >> lib.c
> >> In file included from lib.c:44:
> >> lib.h:406: error: conflicting types for ‘trunc’
> >> /usr/include/architecture/i386/math.h:395: error: previous declaration
> >> of ‘trunc’ was here
> >> lib.h:432: error: conflicting types for ‘floorf’
> >> /usr/include/architecture/i386/math.h:370: error: previous declaration
> >> of ‘floorf’ was here
> >> In file included from lib.c:47:
> >> rand.h:32: error: conflicting types for ‘random’
> >> /usr/include/stdlib.h:224: error: previous declaration of ‘random’ was here
> >> make: *** [lib.o] Error 1
> >>
> >>
> >>
> >> Any clue as to the source of the error?
> >>
> >> Thanks,
> >>
> >> -Chris
> >>
> >> --
> >> __________________________________________
> >>
> >> Christopher Alex Simon
> >> __________________________________________
> >>
> >> (831) 239 0636
> >>
> >> 113 Cedar Apt 5A
> >>
> >> New York, New York 10006, USA
> >>
> >
> 
> 
> 
> -- 
> __________________________________________
> 
> Christopher Alex Simon
> __________________________________________
> 
> (831) 239 0636
> 
> 113 Cedar Apt 5A
> 
> New York, New York 10006, USA



reply via email to

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