On Tue, 31 Oct 2006 08:05:37 -0800, Kate Minola <[EMAIL PROTECTED]>  
wrote:
> When trying to build SAGE on an ia64-Linux machine,  I ran into
> a problem because I did not have g++ correctly installed.  To my
> surprise, prereq-0.1 did NOT catch that g++ was not working correctly.
>
> What I saw was
>
> checking for C++ compiler default output file name... a.out
> checking whether the C++ compiler works... configure: error: cannot
> run C++ compiled p
> rograms.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> grep: Makefile: No such file or directory
>  Prerequisites are present.
> base/bzip2-1.0.3-install 2>&1
>
> and the build process kept on running until it later failed.  Note the  
> statement
> "Prerequisites are present" even though there is a configure error
> saying the C++
> is not working correctly and a grep statement that Makefile is missing.
>
> In looking at sage-1.4.1.2/spkg/base/prereq-0.1-install I see the
> lines
>
> grep "missing" Makefile
> if [ $? -eq 0 ];  then
>
> I am not sure what this is checking.  If checking whether Makefile is
> missing, it is not doing its job.  I suggest that these lines be
> changed to
>
> test -f Makefile
> if [ $? -eq 1 ];  then
>
> and an appropriate change be made to the echo statements in the
> if-then body.  (In particular, take out the "grep missing Makefile"  
> line.)

Thanks!  Does the following work on your system (see attached)?

Also -- slightly off topic -- do you know how to check in autoconf
that GCC >= 3.x is available?

William


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Attachment: prereq-0.2-install
Description: Binary data

Reply via email to