
Don't install header files for iconv, gettext...
Reported by Support | August 21st, 2013 @ 10:52 PM | in 2.0.26b2 (closed)
Assigned to Everything #10807. As reported in Tender:
I would like to inform you that the current MacGPG installer breaks other installations. As an example:
This file (which is created during installation of some ruby gems)
compiles fine with `gcc-4.2 -o conftest conftest.c -liconv`, but not
with `gcc-4.2 -o conftest conftest.c -I/usr/local/MacGPG2/include -liconv`--- snip ------------------------------------------------------------
#include <iconv.h>/*top*/
int t() { void ((*volatile p)()); p = (void ((*)()))iconv_open; return 0; }
/* int t() { iconv_open(); return 0; } */
int main(int argc, char **argv)
{
if (argc > 1000000) {
printf("%p", &t);
}return 0;
}
--- snap ------------------------------------------------------------What I make of it is that the copy of iconv.h, that comes bundled with MacGPG2
in /usr/local/MacGPG2/include somehow sets up the compiler to link with the libiconv
library in /usr/local/MacGPG2/lib, which is somehow not compatible with the one in
/usr/lib (probably compiled for 32bit?) I think it would be nice to eithera) not install any headers at all, or
b) not install the iconv headers, and instead use the ones provided by OSX, or
c) install headers in non-default locations.This is on OSX 10.7 with the recent MacGPG2 release.
Comments and changes to this ticket
-
steve October 22nd, 2013 @ 01:31 PM
- Milestone changed from 2.0.22 to 2.0.27
- Importance changed from to Low
-
Luke Le January 25th, 2014 @ 08:31 PM
- State changed from new to fixed
No headers are installed now.
-
steve December 30th, 2014 @ 07:40 PM
- State changed from fixed to released
- Assigned user set to Luke Le
- Milestone changed from 2.0.27 to 2.0.26b2
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป