On 12/8/06, Jason Grossman <[EMAIL PROTECTED]> wrote:
> Thanks for your message, Axel.
>
>
> >> > checking for library containing iconv_open... no
> >> > configure: error: Could not find an iconv implementation, needed to
> >> > build fish
> ...
> > Could you check /usr/include/iconv.h and see if iconv_open is
> > implemented as a function or a macro?
>
> It's a macro.
>
>
> > If iconv_open is implemented as a macro, could you check what (if any)
> > iconv call is implemented as a function?
>
> functions:
>
> extern iconv_t iconv_open (const char* tocode, const char* fromcode);
> extern int iconvctl (iconv_t cd, int request, void* argument);
> extern int iconv_close (iconv_t cd);
> extern size_t iconv (iconv_t cd, const char* * inbuf, size_t
> *inbytesleft, char* * outbuf, size_t *outbytesleft);
> extern void iconvlist (int (*do_one) (unsigned int namescount,
> extern void libiconv_set_relocation_prefix (const char *orig_prefix, ...
>
> macros:
>
> #define iconv libiconv
> #define iconvctl libiconvctl
> #define iconvlist libiconvlist
> #define iconv_close libiconv_close
> #define iconv_open libiconv_open
>
> By the way, it's a GNU version of inocv.h, with a copyright date of
> 2003 but a file modification date of 2005.

But, but, but, that's so _evil_. They use macros to rename _all_
functions into something else and provide phone headers to mask their
evil shenanigans. As near as I can tell, that makes it completely
impossible to detect a working iconv implementation using standard
autoconf macros.

Why??? :-(

Anyway, thank you for the information, I think I have everything I
need to fix this, I simply have to figure out a way to implement it.
In the meantime, you can remove this line from configure.ac:

AC_SEARCH_LIBS( iconv_open, iconv, , [AC_MSG_ERROR([Could not find an
iconv implementation, needed to build fish])] )

and run the 'autoconf' command, and then fish should compile just fine.


>
> Jason
>


-- 
Axel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to