You're exactly right, if I add the -liconv to Makefile.in then run:

    ./configure --prefix=$HOME
    gmake
    gmake install

it all works fine. But then when I run ~/bin/fish it does:

    Floating point exception (core dumped)

Drat!

On Mon, Jan 11, 2010 at 09:15:58PM -0800, Rob Farmer wrote:
> On Mon, Jan 11, 2010 at 5:50 PM, chombee <[email protected]> wrote:
> > Ok, a little progress on this. An sdf.lonestar.org user (that's the
> > NetBSD system I'm trying to build fish for) suggested adding -liconv to
> > the makefile. So I edit line 65 in Makefile.in:
> >
> > ? ?LDFLAGS = @LIBS@ @LDFLAGS@ -liconv
> >
> > I added the -liconv at the end. Then ./configure and make again, now it
> > seems to compile but:
> >
> > ? ?make: don't know how to make /etc/config.fish. Stop.
> 
> This is because you are using BSD make. Since this is a linux oriented
> program, use GNU make. The command is probably gmake.
> 
> Rob
> 
> >
> > so I removed /etc/config.fish from the line following the comment "Make
> > everything needed for installing fish", line 271. Then it doesn't know
> > how to make share/config.fish, so remove that from the same line as
> > well. Now `make` finishes with no errors, but `make install` crashes
> > saying "cannot stat etc/config.fish". But I have no idea how to get it
> > to succeed at making those config files.
> >
> > On Thu, Jan 07, 2010 at 05:41:31PM -0500, [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
> >>
> >> 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
> >
> 
> 
> 
> -- 
> Rob Farmer


------------------------------------------------------------------------------
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