Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Building CDRDAO fails on libintl.h

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Lyon Lemmens <redlemon AT knoware.nl>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Building CDRDAO fails on libintl.h
  • Date: Mon, 10 Nov 2003 16:27:21 +0100

When I try to build cdrdao, it fails on libintl.h:

<snip>
In file included from

/usr/include/c++/3.3.2/i686-pc-linux-gnu/bits/c++locale.h:44,

from /usr/include/c++/3.3.2/iosfwd:46,

from /usr/include/c++/3.3.2/bits/stl_algobase.h:70,

from /usr/include/c++/3.3.2/memory:54,

from /usr/include/c++/3.3.2/string:48,

from /usr/include/gtk--/base.h:28,

from /usr/include/gtk--.h:70,

from xcdrdao.cc:27:

/usr/include/libintl.h:40: error: parse error before `__const'

/usr/include/libintl.h:44: error: parse error before `__const'

/usr/include/libintl.h:51: error: parse error before `__const'

/usr/include/libintl.h:81: error: parse error before `__const'

/usr/include/libintl.h:85: error: parse error before `__const'

</snip>

'gaze from /usr/include/libintl.h' gives glibc as source for libintl.h. I've
searched the net and it seems that some programs only build with the
gettext version of libintl.h

Looking at gettext's BUILD file, it looks as if libtinl.h is filtered from
it. So we made the choice to go with glibc's version of it.

Anybody else with this problem? Thoughts on workaround? (apart from the
obvious one -> manually unpack gettext and put its libintl.h over the
current one for the duration of this compile)


--
Lyon Lemmens, grimoire guru perl-cpan
llemmens AT sourcemage.org

SourceMage GNU/Linux
"Linux so advanced, it may as well be magic"

http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page