fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]fetchmail 5.8.14 build glitch on gcc/Solaris 8

2001-07-26 04:19:27
David Levine <levinedl(_at_)acm(_dot_)org>:
Hi,

0. fetchmail 5.8.14
1. Solaris 8
2. gcc 2.95.2 (but will happen with 2.7 <= gcc < 3)

I ran into a minor glitch building with ./configure && make.
The link of fetchmail failed because _nl_msg_cat_cntr
was unresolved.  It was caused by this, in intl/libgettext.h:

  #  if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ >= 7
  /* This global variable is defined in loadmsgcat.c.  We need a sign,
     whether a new catalog was loaded, which can be associated with all
     translations.  */
  extern int _nl_msg_cat_cntr;

The problem is that Solaris 8 (and 7) provides a libintl
that does not define that symbol.  To work around the
problem, I built and linked in fetchmail's own libintl.
I don't know if that's the best way to handle it permanently,
but it does seem to work wll.

Thanks, I think the right answer is just to make sure that .h file
doesn't get shipped in the tarball.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

"...The Bill of Rights is a literal and absolute document. The First
Amendment doesn't say you have a right to speak out unless the
government has a 'compelling interest' in censoring the Internet. The
Second Amendment doesn't say you have the right to keep and bear arms
until some madman plants a bomb. The Fourth Amendment doesn't say you
have the right to be secure from search and seizure unless some FBI
agent thinks you fit the profile of a terrorist. The government has no
right to interfere with any of these freedoms under any circumstances."
        -- Harry Browne, 1996 USA presidential candidate, Libertarian Party


<Prev in Thread] Current Thread [Next in Thread>