Problem compiling Sage

21 views
Skip to first unread message

Loïc

unread,
Oct 6, 2011, 3:16:37 PM10/6/11
to sage-s...@googlegroups.com
Hello list

I try to compile sage-4.7.1 under debian Squeeze

It failes on python compiling;

here is my error message.

File "./setup.py", line 1934, in <module>
main()
File "./setup.py", line 1929, in main
'Lib/smtpd.py']
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/core.py",
line 152, in setup
dist.run_commands()
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/dist.py",
line 975, in run_commands
self.run_command(cmd)
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/command/build.py",
line 134, in run
self.run_command(cmd_name)
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/cmd.py",
line 333, in run_command
self.distribution.run_command(command)
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/dist.py",
line 995, in run_command
cmd_obj.run()
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/command/build_ext.py",
line 340, in run
self.build_extensions()
File "./setup.py", line 202, in build_extensions
build_ext.build_extensions(self)
File
"/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src/Lib/distutils/command/build_ext.py",
line 449, in build_extensions
self.build_extension(ext)
File "./setup.py", line 235, in build_extension
if not self.configure_ctypes(ext):
File "./setup.py", line 1738, in configure_ctypes
execfile(ffi_configfile, globals(), fficonfig)
File "build/temp.linux-i686-2.6/libffi/fficonfig.py", line 31
SyntaxError: Non-ASCII character '\xc3' in file
build/temp.linux-i686-2.6/libffi/fficonfig.py on line 31, but no
encoding declared; see http://www.python.org/peps/pep-0263.html for details
make[2]: *** [sharedmods] Erreur 1
make[2]: quittant le r�pertoire �
/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11/src �
Error building Python.

real 4m47.428s
user 4m6.615s
sys 0m40.175s
sage: An error occurred while installing python-2.6.4.p11
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/math/T�l�chargements/sage-4.7.1/install.log. Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/math/T�l�chargements/sage-4.7.1/spkg/build/python-2.6.4.p11 and
type 'make check' or whatever is appropriate.

If anyone can help, thanks in advance


Armelle Mathis

unread,
May 11, 2019, 6:40:08 AM5/11/19
to sage-support
I had the same problme. In fact you are in a folder "Téléchargements" with letters not recognized (é). The easiest solution is to move your sagemath.tar in another folder without any bloody french caracters that computers do not like (I am french...). This answer comes very very late, but my problem happened yesterday.
Reply all
Reply to author
Forward
0 new messages