On Nov 18, 2007 10:29 AM, Aaron Gyes <[EMAIL PROTECTED]> wrote:
> This is happening on OS X 10.5 with the latest darcs stuff: (the last
> tarball was fine)
>
>
>    gcc fish_pager.o output.o wutil.o input_common.o env_universal.o
> env_universal_common.o common.o print_help.o  -lncurses  -o fish_pager
>    Undefined symbols:
>      "_iconv_open", referenced from:
>          _utf2wcs in env_universal_common.o
>          _wcs2utf in env_universal_common.o
>      "_iconv", referenced from:
>          _utf2wcs in env_universal_common.o
>          _wcs2utf in env_universal_common.o
>      "_iconv_close", referenced from:
>          _utf2wcs in env_universal_common.o
>          _wcs2utf in env_universal_common.o
>    ld: symbol(s) not found
>
>
> This seemed to fix it: (no idea if this is sane or not.. autostuff is
> terrifying to me)
>

Hi Aaron!

Awesome. Your patch is pretty much an exact reverse of the patch I
applied a motnh or two ago two fix the same issue on Solaris (or was
it FreeBSD?). I'm not so much _scared_ of autobarf as I hate it.

I don't know what to do here.

Help?

Axel

>
> diff -rN -u old-fish/configure.ac new-fish/configure.ac
> --- old-fish/configure.ac       2007-11-18 00:51:23.000000000 -0800
> +++ new-fish/configure.ac       2007-11-18 00:51:23.000000000 -0800
> @@ -505,6 +505,7 @@
>   AC_SEARCH_LIBS( connect, socket, , [AC_MSG_ERROR([Cannot find the
> socket library, needed to build this package.] )] )
>   AC_SEARCH_LIBS( nanosleep, rt, , [AC_MSG_ERROR([Cannot find the rt
> library, needed to build this package.] )] )
>   AC_SEARCH_LIBS( setupterm, [ncurses curses], , [AC_MSG_ERROR([Could
> not find a curses implementation, needed to build fish])] )
> +AC_SEARCH_LIBS( iconv_open, iconv, , [AC_MSG_ERROR([Could not find an
> iconv implementation, needed to build fish])] )
>   LIBS_SHARED=$LIBS
>   LIBS=$LIBS_COMMON
>
> @@ -518,8 +519,6 @@
>         AC_SEARCH_LIBS( gettext, intl,,)
>   fi
>
> -
> -AC_SEARCH_LIBS( iconv_open, iconv, , [AC_MSG_ERROR([Could not find an
> iconv implementation, needed to build fish])] )
>   LIBS_FISH=$LIBS
>   LIBS=$LIBS_COMMON
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to