-
Notifications
You must be signed in to change notification settings - Fork 97
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
configure fails on checking libiconv #491
Comments
@masahito-yamaga Thank you for reporting! May I ask which OS that you are using? I tested on Debian 12, FreeBSD and OpenIndiana, but I couldn't observe a difference in behavior after applying your patch.
I'm sure there's something obvious I'm missing here |
Very old Linux Box. Kernel 2.6.22.7 + uClibc + gcc 8.5.0 |
configure with "--with-libiconv=/opt/local" fails and terminates like:
In config.log,
|
That explains it. This must mean your version of Linux doesn't have native iconv in glibc but relies on libiconv |
No. |
The original configure creates the following temporary program that cannot be compiled.
But after applying my patch (and then executing autoreconf), configure creates the following one.
The above can be compiled and configure does not fail.
|
I get it now, thanks. I can see how the syntax is wrong in the current program. Would you be able to create a Pull Request here in github, so that a project member can approve and merge the change? |
Thank you for your understanding. |
We are happy to help. Please bear in mind that it takes a little longer time, since one project member has to create the PR, and another one approve the merge, as per the project policy. If you ever feel like getting to know the code contribution workflow in GitHub, we have a manual written here: https://github.com/Netatalk/netatalk/wiki/Developer-Notes#user-content-Code_Contribution_Process |
Out of curiosity I checked what iconv test program is generated with the netatalk 2.2 branch:
A little messy syntax, but the program does compile, with a warning. |
I think the following patch is needed. After patching, execute autoreconf.
The text was updated successfully, but these errors were encountered: