pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Compile error on FreeBSD, libintl.h not found


From: Hans Nieser
Subject: Re: [Pan-users] Compile error on FreeBSD, libintl.h not found
Date: Wed, 30 Aug 2006 06:56:44 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060805)

Hans Nieser wrote:
> Hello,
> 
> As the subject says, while trying to compile pan-0.110 on FreeBSD
> (6.1-RELEASE) I enountered a build error:
> 
> In file included from gnksa.cc:39:
> /usr/local/include/glib-2.0/glib/gi18n.h:23:21: libintl.h: No such file or
> directory
> gnksa.cc: In static member function `static std::string
> pan::GNKSA::generate_message_id_from_email_address(const pan::StringView&)':
> gnksa.cc:879: error: `gettext' undeclared (first use this function)
> gnksa.cc:879: error: (Each undeclared identifier is reported only once for
> each function it appears in.)
> 
> I have gettext installed, and its header files are located at
> /usr/local/share/gettext/ and /usr/local/share/gettext/intl/ although
> libintl.h specifially appears to be located at /usr/local/include/libintl.h
> 
> Looking at the error I suppose maybe this is a problem with glib, though
> on the other hand no other gnome application that uses gettext has failed
> to build, so I'm a bit puzzled by it.
> 

Ok it turns out that /usr/local/include isn't the usual location for
libintl.h. I managed to compile Pan by just exporting CFLAGS="
-I/usr/local/include" before invoking make and it seems to be working fine =]






reply via email to

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