On Thu, Jan 7, 2010 at 2:41 PM,  <[email protected]> wrote:
> Trying to compile fish in my homedir. I get the following error from 'make':
>
>    env_universal_common.o: In function `utf2wcs':
>    : undefined reference to `libiconv_open'
>    env_universal_common.o: In function `utf2wcs':
>    : undefined reference to `libiconv'
>    env_universal_common.o: In function `utf2wcs':
>    : undefined reference to `libiconv_close'
>    env_universal_common.o: In function `wcs2utf':
>    : undefined reference to `libiconv_open'
>    env_universal_common.o: In function `wcs2utf':
>    : undefined reference to `libiconv'
>    env_universal_common.o: In function `wcs2utf':
>    : undefined reference to `libiconv_close'
>    *** Error code 1

On FreeBSD if I try to build in a jail without gettext installed, I
get similar errors:

cc function.o builtin.o complete.o env.o exec.o expand.o highlight.o
history.o kill.o parser.o proc.o reader.o sanity.o tokenizer.o
wildcard.o wgetopt.o wutil.o input.o output.o intern.o env_universal.o
env_universal_common.o input_common.o event.o signal.o io.o
parse_util.o common.o screen.o path.o parser_keywords.o fish.o -lm
-lncurses  -L/usr/local/lib  -L/usr/local/lib    -rdynamic -o fish
env.o(.text+0xd4f): In function `handle_locale':
: undefined reference to `libintl_dcgettext'
wutil.o(.text+0x228): In function `wgettext':
: undefined reference to `libintl_bindtextdomain'
wutil.o(.text+0x234): In function `wgettext':
: undefined reference to `libintl_textdomain'
wutil.o(.text+0x264): In function `wgettext':
: undefined reference to `libintl_gettext'
env_universal_common.o(.text+0x23f): In function `wcs2utf':
: undefined reference to `libiconv_open'
env_universal_common.o(.text+0x26a): In function `wcs2utf':
: undefined reference to `libiconv'
env_universal_common.o(.text+0x281): In function `wcs2utf':
: undefined reference to `libiconv_close'
env_universal_common.o(.text+0xc5f): In function `read_message':
: undefined reference to `libiconv_open'
env_universal_common.o(.text+0xc8a): In function `read_message':
: undefined reference to `libiconv'
env_universal_common.o(.text+0xcca): In function `read_message':
: undefined reference to `libiconv_close'
gmake: *** [fish] Error 1
*** Error code 1

Stop in /a/ports/shells/fish.


So I suspect you don't have gettext installed, are trying to use the
--without-gettext confgure option (which is broken), or it can't find
the library.

----
Rob Farmer

>
> I tried every release of fish from 1.21.12 to 1.23.1 and the version from
> darcs, and got the same error (except 1.21.12 which gave a different
> error). Unfortunately my account doesn't have root and the package for
> fish is still in wip on pkgsrc, so it won't be installed for me.
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to