-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gdmodule requires libiconv on cygwin #7319
Comments
comment:1
The spkg can be found a http://sage.math.washington.edu/home/mhansen/gdmodule-0.56.p7.spkg |
Author: Mike Hansen |
comment:3
The latest version of R will need iconv on Solaris - currently an option to configure, something like --no-iconv is added on R. But iconv is mandatory on the latest version with Solaris. Given iconv is not large, and does not take long to build, I believe that is should be added. I would also suggest it is installed on all platforms - not just Cygwin and Solaris. It would give one more item which is fixed, and so less need to worry if someone's problem might be their version of iconv is too old or broken in some way. Dave |
comment:4
Note, SPKG.txt has: gdmodule-0.56.p5 (Mike Hansen, October 27th, 2009)
gdmodule-0.56.p5 (Michael Abshoff)
with no entry for a p6 or p7. So this needs a bit of work, but even then, I'm unable to test on Cygwin, so you would need another reviewer too. |
Reviewer: David Kirkby |
comment:5
As I stated above, R also needs iconv on Solaris now - the R developers have now disabled the option to not use iconv. I've created #8191 to create an iconv package. This seems the most logical way. I can't see any possible workaround with R. Dave |
comment:6
#8191 now has an iconv package, awaiting review, so there should be no need for Mike to create an iconv package. |
comment:7
#8191 now has positive review, so iconv should soon be in Sage. |
comment:8
Can this ticket be closed, given there is now an iconv package as a standard .spkg file in Sage? dave |
comment:9
I'm not sure since the spkg here has other changes to it. I'll double check. |
comment:10
There is an spkg at http://sage.math.washington.edu/home/mhansen/cygwin_port/gdmodule-0.56.p7.spkg that should be used. This still needs a review. |
comment:11
Has this been tested on at least one Linux, Solaris and OS X system? There are quite a few non-trivial changes here, and I am aware iconv and gd have caused problems recently, so I think we need to be especially careful this is very well tested. Dave |
comment:12
I've tested it on Cygwin and Linux. The only change is Cygwin-specific and does not happen on any other platform. The rest of the last commit was just checking in files to the repo that should have been but were not. |
Merged: 4.4.1.alpha2 |
Changed reviewer from David Kirkby to David Kirkby, William Stein |
Changed merged from 4.4.1.alpha2 to sage-4.4.1.alpha2 |
comment:18
I'm having trouble with this on Cygwin now:
|
On Cywgin, the gdmodule spkg requires libiconv. I think we have two choices for handling this:
Making sure that libiconv is always installed in the system Cygwin environment. We can probably have control over this if we include the Cygwin install with Sage.
Add a libiconv spkg that is only installed if we are in Cygwin. Note that this would probably amount to including it in all source tarballs.
Once libiconv is present, we need to patch Setup.py in gdmodule to add libiconv to the list of required libraries.
I'll put up an spkg for libiconv and gdmodule here shortly.
CC: @williamstein
Component: porting: Cygwin
Author: Mike Hansen
Reviewer: David Kirkby, William Stein
Merged: sage-4.4.1.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/7319
The text was updated successfully, but these errors were encountered: