On Nov 21, 8:01 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 21, 2008 at 5:05 AM, abe <[EMAIL PROTECTED]> wrote:
>
> > hi ,
>
> > installling sage simply with 'make' doesn't work for me anymore
> > I think since 3.1.3 (3.1.2 went fine)
>
> > I'm wondering if whether this is a bug or I'nm doing something wrong.
>
> > I get the following error message.
>
> > =========================================================================== 
> > =
> > BUILDING MATPLOTLIB
> >            matplotlib: 0.98.3
> >                python: 2.5.2 (r252:60911, Nov 21 2008, 12:28:04)
> > [GCC
> >                        3.4.6 20060404 (Red Hat 3.4.6-10)]
> >              platform: linux2
>
> > REQUIRED DEPENDENCIES
> >                 numpy: 1.2.0
> >             freetype2: 9.7.3
>
> > OPTIONAL BACKEND DEPENDENCIES
> >                libpng: 1.2.7
> > Traceback (most recent call last):
> >  File "setup.py", line 125, in <module>
> >    if check_for_tk() or (options['build_tkagg'] is True):
> >  File "/data1/software/src/SAGE/sage-3.2/spkg/build/
> > matplotlib-0.98.3.p2/src/setupext.py", line 846, in check_for_tk
> >    explanation = add_tk_flags(module)
> >  File "/data1/software/src/SAGE/sage-3.2/spkg/build/
> > matplotlib-0.98.3.p2/src/setupext.py", line 1106, in add_tk_flags
> >    module.libraries.extend(['tk' + tk_ver, 'tcl' + tk_ver])
> > UnboundLocalError: local variable 'tk_ver' referenced before
> > assignment
> > Error building matplotlib package.
>
> > earlier in the install.log file I find these messages: not sure if
> > this is a problem
> > because the files mentioned at 'cannot stat' are present after make. ./
> > sage-python
> > works, but ./ipython is a directory.
>
> > Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
> > infodir=/usr/share/info --enable-shared --enable-threads=posix --
> > disable-checking --with-sy
> > stem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --
> > enable-java-awt=gtk --host=i386-redhat-linux
> > Thread model: posix
> > gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)
> > ****************************************************
> > cp: cannot stat `/home/e.ab/software/src/SAGE/sage-3.2/sage-python':
> > No such file or directory
>
> Was your download corrupted? Are you out of disk space?  ??
>
> Could you just try again with a fresh download?

I have seen this before and we are tracking the issue at
http://trac.sagemath.org/sage_trac/ticket/4176

Since I have only been hitting that on Cygwin I monkey patches the
detection code to ignore TCL/TK, but this should be fixed properly.
Let me look into this and see what is happening. It would help to know
what distribution you used (well, the exact version of RedHat) so I
can attempt top reproduce this.

> William

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to