Hi all,
I am trying to build Sage 6.1 from source on Cygwin(something I have seen lots of support pages about so I hope this isn't a repost).
I have all the required packages and everything runs smoothly until the Python install section of the build where I get the following error:
--Begin Message--
running install_scripts
copying build/scripts-2.7/2to3 -> /home/evan.oman/sage-6.1/local/bin
copying build/scripts-2.7/idle -> /home/evan.oman/sage-6.1/local/bin
copying build/scripts-2.7/pydoc -> /home/evan.oman/sage-6.1/local/bin
copying build/scripts-2.7/smtpd.py -> /home/evan.oman/sage-6.1/local/bin
changing mode of /home/evan.oman/sage-6.1/local/bin/2to3 to 775
changing mode of /home/evan.oman/sage-6.1/local/bin/idle to 775
changing mode of /home/evan.oman/sage-6.1/local/bin/pydoc to 775
changing mode of /home/evan.oman/sage-6.1/local/bin/smtpd.py to 775
running install_egg_info
Removing /home/evan.oman/sage-6.1/local/lib/python2.7/lib-dynload/Python-2.7.5-py2.7.egg-info
Writing /home/evan.oman/sage-6.1/local/lib/python2.7/lib-dynload/Python-2.7.5-py2.7.egg-info
rm /home/evan.oman/sage-6.1/local/lib/python2.7/lib-dynload/_sysconfigdata.py*
if test -f /home/evan.oman/sage-6.1/local/bin/python.exe -o -h /home/evan.oman/sage-6.1/local/bin/python.exe; \
then rm -f /home/evan.oman/sage-6.1/local/bin/python.exe; \
else true; \
fi
(cd /home/evan.oman/sage-6.1/local/bin; ln -s python2.exe python.exe)
rm -f /home/evan.oman/sage-6.1/local/bin/python2.exe
(cd /home/evan.oman/sage-6.1/local/bin; ln -s python2.7.exe python2.exe)
rm -f /home/evan.oman/sage-6.1/local/bin/python2-config
(cd /home/evan.oman/sage-6.1/local/bin; ln -s python2.7-config python2-config)
rm -f /home/evan.oman/sage-6.1/local/bin/python-config
(cd /home/evan.oman/sage-6.1/local/bin; ln -s python2-config python-config)
test -d /home/evan.oman/sage-6.1/local/lib/pkgconfig || /usr/bin/install -c -d -m 755 /home/evan.oman/sage-6.1/local/lib/pkgconfig
rm -f /home/evan.oman/sage-6.1/local/lib/pkgconfig/python2.pc
(cd /home/evan.oman/sage-6.1/local/lib/pkgconfig; ln -s python-2.7.pc python2.pc)
rm -f /home/evan.oman/sage-6.1/local/lib/pkgconfig/python.pc
(cd /home/evan.oman/sage-6.1/local/lib/pkgconfig; ln -s python2.pc python.pc)
rm -f /home/evan.oman/sage-6.1/local/share/man/man1/python2.1
(cd /home/evan.oman/sage-6.1/local/share/man/man1; ln -s python2.7.1 python2.1)
rm -f /home/evan.oman/sage-6.1/local/share/man/man1/python.1
(cd /home/evan.oman/sage-6.1/local/share/man/man1; ln -s python2.1 python.1)
make[3]: Leaving directory '/home/evan.oman/sage-6.1/local/var/tmp/sage/build/python-2.7.5.p1/src'
Testing importing of various modules...
ctypes module imported OK
math module imported OK
hashlib module imported OK
crypt module imported OK
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named readline
readline module failed to import
socket module imported OK
Error: One or more modules failed to import.
--End Message--
and then this:
--Begin Message--
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
package: python-2.6.4.p1
log file: /home/evan.oman/sage-6.1/logs/pkgs/python-2.6.4.p1.log
build directory: /home/evan.oman/sage-6.1/local/var/tmp/sage/build/python-2.6.4.p1
package: python-2.6.4.p11
log file: /home/evan.oman/sage-6.1/logs/pkgs/python-2.6.4.p11.log
build directory: /home/evan.oman/sage-6.1/local/var/tmp/sage/build/python-2.6.4.p11
package: python-2.7.5.p1
log file: /home/evan.oman/sage-6.1/logs/pkgs/python-2.7.5.p1.log
build directory: /home/evan.oman/sage-6.1/local/var/tmp/sage/build/python-2.7.5.p1
package: python-2.7.5.p11
log file: /home/evan.oman/sage-6.1/logs/pkgs/python-2.7.5.p11.log
build directory: /home/evan.oman/sage-6.1/local/var/tmp/sage/build/python-2.7.5.p11
The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
Makefile:19: recipe for target 'build' failed
make: *** [build] Error 1
--End Message--
What I was wondering is if this is an indication that I should undergo rebasing(is that still a thing that needs to be done on 6.1?) or something a little more straightforward(like forcing/rearranging things so this one module will import).
I am running cygwin 32 bit on Windows 8.1
Thanks in advance!
Also if this is a repost I apologize and will visit the correct support ticket/forum page.