pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with latest master


From: Ben Pfaff
Subject: Re: problem with latest master
Date: Sat, 09 Apr 2011 10:51:35 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> writes:

> On Sat, Apr 09, 2011 at 09:40:27AM -0700, Ben Pfaff wrote:
>      address@hidden 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]