Hello, I found out the cause of my problem. I needed to upgrade my version of setuptools (I upgrade to version 18.1 which is the latest thanks to the clue here https://github.com/gotcha/ipdb/issues/60). I think hit another problem with Cython missing some pxd files. I think this was due to my installing the ubuntu version of Cython. I removed this and then the build went through to completion. Just thought I should post this in case someone else hits a similar problem (and of course to avoid people spending time on debugging it). hth adil
On Tuesday, 4 August 2015 10:43:04 UTC+1, Adil Hasan wrote: > > Hello Volker, > sorry for some reason I didn't see the responses in my email client. Yes, > it's Linux mint 17 (ubuntu based system) and I have python 2.7.6 installed > system-wide. If you'd like me to test 6.9 I can try that. > Apologies for the delayed response. > adil > > On Monday, 3 August 2015 14:28:43 UTC+1, Dima Pasechnik wrote: >> >> >> >> On Monday, 3 August 2015 13:03:45 UTC+1, Volker Braun wrote: >>> >>> Which OS is that on? >>> >>> the subject line says "Linux Mint 17" >> >>> >>> >>> On Monday, August 3, 2015 at 12:47:48 PM UTC+2, Adil Hasan wrote: >>>> >>>> Hello, >>>> I downloaded the Sage source and tried to build it running the make >>>> command. The build failed when trying to install Cython with the error >>>> below. >>>> Has anyone seen this before? >>>> hope all is well, >>>> adil >>>> >>>> Compiling module Cython.Tempita._tempita ... >>>> running install >>>> Traceback (most recent call last): >>>> File "setup.py", line 359, in <module> >>>> **setup_args >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/core.py", line >>>> 151, in setup >>>> dist.run_commands() >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/dist.py", line >>>> 953, in run_commands >>>> self.run_command(cmd) >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/dist.py", line >>>> 972, in run_command >>>> cmd_obj.run() >>>> File >>>> "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 73, >>>> in run >>>> self.do_egg_install() >>>> File >>>> "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 82, >>>> in do_egg_install >>>> cmd.ensure_finalized() # finalize before bdist_egg munges install >>>> cmd >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/cmd.py", line >>>> 109, in ensure_finalized >>>> self.finalize_options() >>>> File >>>> "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", >>>> line >>>> 274, in finalize_options >>>> ('install_dir','install_dir') >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/cmd.py", line >>>> 298, in set_undefined_options >>>> src_cmd_obj.ensure_finalized() >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/cmd.py", line >>>> 109, in ensure_finalized >>>> self.finalize_options() >>>> File >>>> "/usr/lib/python2.7/dist-packages/setuptools/command/install_lib.py", line >>>> 13, in finalize_options >>>> >>>> self.set_undefined_options('install',('install_layout','install_layout')) >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/cmd.py", line >>>> 302, in set_undefined_options >>>> getattr(src_cmd_obj, src_option)) >>>> File "/home/hasan/sage-6.8/local/lib/python/distutils/cmd.py", line >>>> 105, in __getattr__ >>>> raise AttributeError, attr >>>> AttributeError: install_layout >>>> Error installing Cython >>>> >>>> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.