[Fink-devel] Problems getting a configure script to recognise libiconv
Hi everyone! I'm trying to package graphviz and doxygen (requested a long time ago, and I wasn't able to get them to work properly, but I'm trying again now), and I noticed this in the output of the configure script for graphviz: checking for iconv... No This is the relevant part from config.log: configure:7849: checking for iconv configure:7877: cc -o conftest -g -O2 -Wall -Wno-unknown-pragmas -I/sw/include - L/sw/lib conftest.c -lm 15 /usr/bin/ld: Undefined symbols: _iconv configure: failed program was: #line 7854 configure #include confdefs.h /* System header to define __stub macros and hopefully few prototypes, which can conflict with char iconv(); below. */ #include assert.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iconv(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_iconv) || defined (__stub___iconv) choke me #else iconv(); #endif ; return 0; } Anyone know how to fix this? I remember having to fix this with the stuphead package (Max provided the solution), but I don't know if it's applicable here. Thanks! ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Problems getting a configure script to recognise libiconv
now there has to be a reason why, but it's missing -liconv [EMAIL PROTECTED] writes: configure:7877: cc -o conftest -g -O2 -Wall -Wno-unknown-pragmas -I/sw/include - L/sw/lib conftest.c -lm 15 /usr/bin/ld: Undefined symbols: _iconv ¸.·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·., Justin F. Hallett - Systems Analyst Phone: (780)-408-3094 Fax: (780)-454-3200 E-Mail: [EMAIL PROTECTED] .·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·., ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Problems getting a configure script to recognise libiconv
I think the configure script should be fixed, since it might not need to link libiconv to every link. [EMAIL PROTECTED] writes: You're right... Hrmmm... Weird indeed! I'll see if adding '-liconv' to the LDFLAGS helps... Thanks! ¸.·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·., Justin F. Hallett - Systems Analyst Phone: (780)-408-3094 Fax: (780)-454-3200 E-Mail: [EMAIL PROTECTED] .·´^`·.,][JFH][`·.,¸¸.·´][JFH][¸.·´^`·., ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Problems getting a configure script to recognise libiconv
On Monday, April 29, 2002, at 09:11 PM, Jeremy Higgs wrote: Hi everyone! I'm trying to package graphviz and doxygen (requested a long time ago, and I wasn't able to get them to work properly, but I'm trying again now), and I noticed this in the output of the configure script for graphviz: checking for iconv... No Try putting this in the .info file: SetLIBS: -liconv -- Alexander Strange | Resident Geek [EMAIL PROTECTED] There was only six Democrats in all of Hinsdale County and you, you son of a bitch, you ate five of them. -- Colorado judge, sentencing Alfred E. Packer for cannibalism in 1874. ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel