-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
spkg-configure.m4 for iconv #27823
Comments
comment:1
there is a cryptic
I presume the latter line should be "NLS package", no ? Does this mean that the Cygwin's "native" libiconv does not work? |
comment:2
According to #13912, that |
Branch: public/configure/iconv-config |
comment:3
using AM_ICONV (a bit of a hack). Does this work on Cygwin? New commits:
|
Author: Dima Pasechnik |
Commit: |
comment:5
on OSX this also needs lib-link.m4... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:9
OK, this much is needed for OSX... |
comment:10
For the I wonder if there's a reasonably reliable way to just get the path to this file... |
comment:11
the problem is that AM_ICONV pulls in a lot of macros from gettext, so config.rpath is just one of many things needed, as I found out on a gettext-less OSX box... |
comment:12
It turns out |
comment:13
Are you saying you're trying to get it so you can run configure without the macros from gettext? The thing about |
comment:14
Replying to @embray:
that's correct, all of this is just to use AM_ICONV. |
comment:15
Apparently it's actually a macro called |
comment:16
Ha! Where is my medal?! |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:41
ok, so this works without gettext installed (some funny thing with the return code, I return 779 and receive 11) on a broken gettext install, with absent AM_ICONV, bootstrap -d would still fail. Do we care about the latter? |
comment:42
Correction: it does work in the latter scenario. |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:44
renumbered the return code to be between 0 and 255. |
Changed branch from public/configure/iconv-config to |
comment:46
It seems that, at least on Cygwin, For now I'll just update the Cygwin build instructions to require libiconv-devel as a prerequisite which is preferable anyways. But maybe this still needs to be checked for somehow... |
Changed commit from |
comment:47
ping slelievre for first discovering this. |
comment:48
maybe add AC_CHECK_HEADER for iconv.h ? |
comment:49
That's what I'm thinking, though now I need to double-check what |
comment:50
to get this working on OSX's home-brew, do
|
comment:51
Follow up: #29532 |
comment:52
Bruno Haible says on bug-autoconf that one should use gnulib's iconv module to install
will install |
comment:53
I have added this remark to #29549. |
In general the iconv SPKG is not even required. It's not installed (or rather, a dummy empty package is installed) for any platforms except Cygwin, HP-UX, and Solaris.
The requirement for it on Cygwin is probably outdated--iconv is a standard library on almost all Cygwin installations, and is surely more up-to-date than when this SPKG was first added in #8567. Support for the other two platforms has not been maintained much.
We can add a configure-time check for it, and treat it as a dummy package in most cases.
CC: @orlitzky @slel
Component: build: configure
Author: Dima Pasechnik, Erik Bray
Branch:
2b5ceb1
Reviewer: Erik Bray, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/27823
The text was updated successfully, but these errors were encountered: