Re: Problem during compiling using HEAD of RAT from CVS...

From: Stan Seibert (volsung@physics.utexas.edu)
Date: Thu Sep 08 2005 - 05:18:00 CDT


On Sep 8, 2005, at 2:05 AM, Stephen Jacob Sekula wrote:

> Here is the correct logic in the "if-then" statement:
>
> # gcc 2.96 cannot compile GLG4sim and RAT without _XOPEN_SOURCE
> defined
> gcc_ver=`gcc --version`
> if [ "x$gcc_ver" == "x2.96" ]; then
> ~ echo "Enabling gcc 2.96 math.h workaround"
> ~ RAT_CFLAGS="$RAT_CFLAGS -D_XOPEN_SOURCE=600"
> fi
>
> Bash was rather fickle about this...
>
> I can fix this, if people want. I'm hesitant to commit since
> somebody else might
> be working on this...

Please do commit. I'm glad the solution is some quotation marks, and
not having to write a portable gamma function from scratch....

Thanks for tracking this down.

---
Stan Seibert


This archive was generated by hypermail 2.1.6 : Fri Sep 09 2005 - 00:01:02 CDT