John Darrington <j...@darrington.wattle.id.au> writes:

> On Sat, Apr 09, 2011 at 09:40:27AM -0700, Ben Pfaff wrote:
>      harry.thijs...@gmail.com writes:
>      
>      > That solved the issue but now I get an other error:
>      
>      This linking error says that the iconv functions cannot be
>      found.  I don't see anything in the linker command line that
>      would cause the iconv library to be linked.
>      
>      Can you try editing your Makefile, looking for a line that starts
>      with "LIBS =" and adding -liconv to it?  If that makes a
>      difference then we can try to figure out why it isn't be linked
>      automatically.
>
> I notice that src_ui_terminal_pspp_LDADD includes $(LIBICONV), but
> src_ui_gui_psppire_LDADD does not.  This is probably pertinent.

Thanks for pointing that out.

Harry, instead of my previous suggestion, can you try this patch?

diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
index eb37c16..5672b15 100644
--- a/src/ui/gui/automake.mk
+++ b/src/ui/gui/automake.mk
@@ -66,6 +66,7 @@ src_ui_gui_psppire_LDADD = \
        src/libpspp-core.la \
        $(GTK_LIBS) \
        $(CAIRO_LIBS) \
+       $(LIBICONV) \
        $(LIBINTL)
 
 src_ui_gui_psppiredir = $(pkgdatadir)

-- 
Ben Pfaff 
http://benpfaff.org

_______________________________________________
pspp-dev mailing list
pspp-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to