[sage-devel] Re: Error building in mandriva.

2012-11-21 Thread Eric Gourgoulhon
Hi,

I had the same problem with Sage 5.4 on Mandriva 2010.1. As explained in 
the post 
https://groups.google.com/d/topic/sage-devel/7BpVcXiN9Cg/discussion, the 
problem arises from the function "time". 
A workaround is to edit the file 
$SAGE_ROOT/spkg/bin/sage
and to suppress the "time" command in the definition of the function 
build_sage() (line 650 of the file for Sage 5.4), so that it becomes
build_sage() {
sage-build "$@" || exit $?
}
Then, the installation proceeds successfully. 

Eric. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.




[sage-devel] Re: Error building in mandriva.

2012-05-07 Thread Keshav Kini
P Purkayastha  writes:
> time: cannot run build_sage: No such file or directory

> What version of sage are you using? It could not find sage_build. That is

build_sage, not sage_build. And it's a shell function in
$SAGE_ROOT/spkg/bin/sage . Weird.

-Keshav


Join us in #sagemath on irc.freenode.net !

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Error building in mandriva.

2012-05-07 Thread mmarco

There is a sage-build file. Is it possible that the error comes from
this name changed?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Error building in mandriva.

2012-05-07 Thread mmarco
And yes, sage_build is not in $SAGE_ROOT/local/bin

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Error building in mandriva.

2012-05-07 Thread mmarco
i got the same message with sage-4.8 and sage-4.7.1

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Error building in mandriva.

2012-05-07 Thread P Purkayastha
On Monday, May 7, 2012 5:02:55 PM UTC+8, mmarco wrote:
>
> Trying to build a test branch in mandriva 2010.2, i get the following 
> error message: 
>
> [root@abel ~]# sage -clone test 
> Now cloning the current Sage library branch... 
> hg clone  sage sage-test 
> updating to branch default 
> 2547 files updated, 0 files merged, 0 files removed, 0 files 
> unresolved 
> Copying over all Cython auto-generated .c, .cpp and .h files... 
> Copying over build directory... 
> Copying over all auto-generated reference manual .rst files... 
> Copying over documentation output... 
> Building sage-test... 
> sage -b test 
> time: cannot run build_sage: No such file or directory 
> Command exited with non-zero status 127 
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 
> 1360maxresident)k 
> 0inputs+0outputs (0major+71minor)pagefaults 0swaps 
> Error building Sage 
> Command exited with non-zero status 1 
> 4.57user 0.45system 0:05.08elapsed 98%CPU (0avgtext+0avgdata 
> 107296maxresident)k 
> 0inputs+95264outputs (0major+20662minor)pagefaults 0swaps 
>
> which is the file that is not found?


What version of sage are you using? It could not find sage_build. That is 
usually present in SAGE_ROOT/local/bin. 

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org