Ask Your Question
0

Installing sage from source on cygwin64 using preexisting packages

asked 2013-11-17 13:27:41 +0200

updated 2015-01-13 20:56:54 +0200

FrédéricC gravatar image

Hello, everybody!

I am new to Sage and I am trying to install Sage 5.12 on Cygwin64, fully installed and running well. When I tried to install as indicated (setting env variables and hitting "make"), I received an error when compiling MPIR. I downloaded this package separately and managed to build and install it. Then I realized that 21 out of the 93 software packages that come with Sage in the spkg/ directory have already come with Cygwin:

bzip2 freetype gcc gd glpk gsl iconv libpng mercurial mpc mpfr mpir ncurses patch ppl python readline scons setuptools sqlite zlib

Can I use these preexisting packages instead of building the spkgs that come with Sage? I understand that this would keep my whole environment tidier and would save me some disk, let alone avoiding potential compilation problems, such as with ncurses, sqlite, etc.

Before I go to installation and configuration files like Makefile, spkg/install, spkg/standard/deps, etc. and try to modify them so I can take advantage of the preexisting software (once my Cygwin installation is pretty up-to-date), three questions:

  • Is this possible?
  • Has anyone already tried to do this? I could not find it in the notes.
  • Is there a standard procedure for doing this?
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-11-17 22:15:34 +0200

kcrisman gravatar image

See the Cygwin64 port page for some info. See Trac 15015 for what is most likely your specific problem. The current maintainer, JP, will likely respond to emails about the Cygwin port quite rapidly.

I think that trying to use the system versions is (for now) a sure path for a descent into frustration. That is starting to change with things like lmonade but probably not doable on Cygwin yet (ever?).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-11-17 13:27:41 +0200

Seen: 418 times

Last updated: Nov 17 '13