On Sat, Feb 04, 2006 at 6:12:21PM +0100, Ralf Stephan wrote:
So I replaced the inttypes.h includes with ones for stdint.h in the remaining cases in svn. A patch is sent to you.
...
Before patching again, I would like to know if it works on Jim's system and, if so, ask him to give us an #ifdef line to recognize his system.
Ralf's patch seems to fix the compile problems from the invalid conversions related to the inttypes.h vs stdint.h issue. I have both inttypes.h and stdint.h on my system, which must be common since inttypes.h includes stdint.h. I thought those files came with libc, which in my case is glibc 2.2.4. I don't know offhand what the best "#ifdef line to recognize my system" would be, but I'll be happy to research the subject if someone can steer me in the right direction. :)
Unfortunately, the compile now fails at sp-item-group.cpp with the log below. My ancient glibc doesn't have a good gettext capability, so I have a separate libintl installed from gnu gettext-0.13. This all seems to be detected by autoconf: checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/local/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext
So, I'll stand by for further suggestions, patches, whatever.
Cheers,
Jim
---------make log:--------------------- ... sp-item-group.cpp; \ then mv -f ".deps/sp-item-group.Tpo" ".deps/sp-item-group.Po"; \ else rm -f ".deps/sp-item-group.Tpo"; exit 1; \ fi sp-item-group.cpp: In function `gchar* sp_group_description(SPItem*)': sp-item-group.cpp:390: error: `ngettext' undeclared (first use this function) sp-item-group.cpp:390: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [sp-item-group.o] Error 1