-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
Add iconv needed for Solaris, and possibly Cygwin too #8191
Comments
comment:1
I'm cc'in Mike on this ticket, as I believe it has implications for his ticket #7319 Dave |
comment:2
I've created iconv-1.13.1.spkg which is the latest release. I have not added the Mercurial repository, as I was not exactly sure how to do it. This will need to go as a standard package, and another part of Sage will need to ensure that inconv gets built. I've marked it as 'needs info' rather than for review, as at this stage there is no Mercurial repository. But perhaps people can test it out. http://boxen.math.washington.edu/home/kirkby/new-packages/iconv I've personally tested it on the following. If the self-tests are uncommented, (see spkg-install), then all tests do pass except on Solaris 10 (SPARC), where ./check-subst dumps core in both 32-bit and 64-bit mode on two separate machines.
There is still an issue with R 2.10.1 building on Solaris (SPARC), but it gets a lot further with this iconv package built. We can sort out the problems with R later. There are tons of options given to the R configure script, at least one of which is not valid. I suspect by changing the options and removing the invalid code in R's spkg-install file, then R can be made to build on Solaris. Dave |
Work Issues: Needs Mercurial repository added |
Author: David Kirkby |
Changed work issues from Needs Mercurial repository added to none |
comment:4
I believe the iconv package is now ready for review.
The message
is from R's spkg-install, so needs to be removed. That is ticket #8272 It should be noted that.
|
comment:5
Oops, I forget to attach the revised spkg/install and spkg/standard/deps. I'll do that in a minute. |
Attachment: install.gz New $SAGE_ROOT/spkg/install to add support for the new iconv package |
Attachment: install.diff.gz Diff for for $SAGE_ROOT/spkg/install |
New $SAGE_ROOT/spkg/standard/deps |
Attachment: deps.gz Diff file for $SAGE_ROOT/spkg/standard/deps |
comment:6
Attachment: deps.diff.gz I've attached the following two files, in addition to diffs to their originals. Neither file appear to be are under revision control, so I assume these two files will have to be manually integrated.
I've made gdmodule, Python and R all depend on iconv, as all of them check for iconv. This is now ready for review!!! Dave |
comment:7
I'm attaching a Mercurial patch too |
Mercurial patch |
comment:11
Yes, well spotted. You were right to add it to #8036. In practice however it will make no difference on Linux, Solaris or OS X as they all come with a version of iconv suitable for gd. It is only R on Solaris which needs this iconv package built, as the iconv shipped with Solaris is not suitable for building the latest versions of R. Since Minh has already tested this on multiple machines and given it positive review, I'm reluctant to change anything now, which might delay the package getting into Sage, as it would then need reviewing again. Delaying this getting into Sage will stop Sage working on Solaris. Whether iconv gets built before or after gd will make no difference on any supported platform. Since #8306 will have a dependancy on this, you have already taken care of the gd dependancy, so again I think that points to the fact there is no need to change this. Dave |
comment:12
Replying to @sagetrac-drkirkby:
Oops, you were right to add it to #8306 was what I meant to write. |
apply to script repository; depends on #8307 |
comment:14
Attachment: trac_8191-reviewer.patch.gz The iconv spkg installs a binary called "iconv" to
The file |
comment:16
Thanks Minh. Yes, that makes perfect sense. Positive review from me. |
Merged: sage-4.3.4.alpha0 |
comment:17
Merged in this order:
|
comment:18
Replying to @sagetrac-drkirkby:
Sage 4.3.4.alpha0 fails to build on a Fedora Linux system because iconv is not yet part of the dependency rule for building gd. This issue is now tracked at #8432. |
The latest version of R in Sage 2.10.1, needs a powerful version of iconv. The version of iconv in Solaris is not sufficiently powerful. This is documented in the 'R Installation and Administration' manual under the Solaris section.
http://cran.r-project.org/doc/manuals/R-admin.pdf
#3381 added a command line option to the configure script to disable the use of iconv.
For a long time R has been reporting messages that this option would be removed, and it would be necessary to install iconv. Well that time has come.
So we must have an inconv package. I will create one.
It looks as though this will be needed on Cygwin also - see #7319.
CC: @mwhansen @williamstein
Component: packages: standard
Keywords: iconv solaris cygwin
Author: David Kirkby
Reviewer: Minh Van Nguyen
Merged: sage-4.3.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8191
The text was updated successfully, but these errors were encountered: