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 14:14:34 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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
> 



reply via email to

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