On 2012-10-05 19:56, Dan Drake wrote:
> On Fri, 05 Oct 2012 at 10:32AM -0700, Aleksandar Markovic wrote:
>> SyntaxError: Non-ASCII character '\xc3' in file
>> /home/aleksandar/T�l�chargements/sage-5.3/local/bin/hg on line 1, but
Hi,
I am trying to install sage from source (since from binary it does not work), and I have a problem with mercurial-2.2.2.p0. I am working on fedora 17, on an Asus Ul-something.
Here is the last part of the installation:
SyntaxError: Non-ASCII character '\xc3' in file /home/aleksandar/Téléchargements/sage-5.3/local/bin/hg on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Mercurial installed correctly, but doesn't seem to work properly.
Running 'hg log' in the directory /home/aleksandar/Téléchargements/sage-5.3/spkg/build/mercurial-2.2.2.p0 failed.
real 0m9.022s
user 0m7.545s
sys 0m0.896s
************************************************************************
Error installing package mercurial-2.2.2.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/home/aleksandar/Téléchargements/sage-5.3/spkg/logs/mercurial-2.2.2.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/aleksandar/Téléchargements/sage-5.3/spkg/build/mercurial-2.2.2.p0 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/home/aleksandar/Téléchargements/sage-5.3/spkg/build/mercurial-2.2.2.p0' && '/home/aleksandar/Téléchargements/sage-5.3/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[1]: *** [installed/mercurial-2.2.2.p0] Erreur 1
I also tried to install mercurial apart, but it is not the same version.
Thanks.
Aleksandar