[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37444: devel/gettext-0.14.6 fails building gettext-tools, whist devel/gettext-tools suceeds!
>Synopsis: devel/gettext-0.14.6 fails building gettext-tools, whist
>Arrival-Date: Wed Nov 28 09:40:00 +0000 2007
>Originator: Stuart Shelton
>Release: n/a - pkgsrc latest from CVS
IRIX64 octane 6.5 07202013 IP30; MIPSpro 7.4.4m
devel/gettext-0.14.6 fails to build in two ways, one of which is fixable.
gettext's gettext-tools/src/po-lex.h also requires a patch (as has been added
to po-lex.c and indeed partially implemented in po-lex.h) to exclude the C99
codepath if '__sgi' is defined, following the check for DECC:
-#if __STDC__ && (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L &&
+#if __STDC__ && (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L &&
!defined __DECC && !defined __sgi)
This has been solved in gettext-tools by simply "#ifdef 0"'ing out the entire
However, even with that change gettext's gettext-tools compiles but fails to
link, stating that "po_gram_error_at_line" isn't defined - which is correct,
because as-stands, the header defines it as extern, and it isn't defined
In gettext-tools' po-lex.c, the varargs functions are built as the condition
has been changed to '#if 1' - but making the similar change to gettext itself
again results in errors and a build failure.
(Also, as of now, gettext-tools is at 0.14.6nb1 and gettext is at 0.14.6.
Building gettext-tools causes a fatal error stating that there is a circular
dependency between gettext and gettext-tools, whereas building gettext goes and
builds gettext-tools-0.14.6nb1, then returns to build gettext at which point it
says that a package named gettext-tools should be installed but isn't.
I fixed this by changing the DEPENDS line in gettext's Makefile to
However, having said all of this, if I copy po-lex.* from gettext-tools to
gettext, then it compiles cleanly and passes its test-suite, except for:
../../gettext-runtime/libasprintf/libasprintf.la: not found
libtool: link: cannot find the library
`../../gettext-runtime/libasprintf/libasprintf.la' or unhandled argument
(which may an issue with the build-environment rather than the code itself)
I can't see any difference in the (corrected) source between the two trees, so
I imagine that I also copied over the pre-compiled object file, and that was
Main Index |
Thread Index |