Subject: gettext-tools not building on Debian GNU/Linux powerpc
To: None <pkgsrc-users@netbsd.org>
From: Richard M Kreuter <kreuter@progn.net>
List: pkgsrc-users
Date: 04/13/2006 19:10:14
Hello,
Trying to build gettext-tools on Debian GNU/Linux on a PowerBook is
failing, which stops up many other packages. I think the toolchain
wrappers are discarding too much of their invocation commands. Any
advice on what to do here?
Here are the relevant portions of the config.log, and then of
.work.log:
-- config.log --
configure:2292: checking for C compiler default output file name
configure:2295: gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lintl >&5
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
configure:2298: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "autoconf-lib-link"
| #define VERSION "0.14.5"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2337: error: C compiler cannot create executables
-- .work.log --
[*] /usr/pkgsrc/devel/gettext-tools/work/.wrapper/bin/gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lintl
(wrapper.sh) append args: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
(arg-source) push: -O2
(arg-source) push: -I/usr/pkg/include
(arg-source) push: -I/usr/include
(arg-source) push: -I/usr/pkg/include
(arg-source) push: -I/usr/include
(arg-source) push: -L/usr/pkg/lib
(arg-source) push: -Wl,-R/usr/pkg/lib
(arg-source) push: -L/usr/lib
(arg-source) push: -Wl,-R/usr/lib
(arg-source) push: conftest.c
(arg-source) push: -lintl
(arg-source) push: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(arg-source) push: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
(logic) pop: -O2
(logic) to: -O2 [cached]
(logic) push: -O2
(logic) pop: -I/usr/pkg/include
(logic) to: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(logic) pop: -I/usr/include
(logic) to: [cached]
(logic) push:
(logic) pop: -I/usr/pkg/include
(logic) to: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(logic) pop: -I/usr/include
(logic) to: [cached]
(logic) push:
(logic) pop: -L/usr/pkg/lib
(logic) to: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib [cached]
(logic) push: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
(logic) pop: -Wl,-R/usr/pkg/lib
(logic) to: -Wl,-R/usr/pkg/lib [cached]
(logic) push: -Wl,-R/usr/pkg/lib
(logic) pop: -L/usr/lib
(logic) to: [cached]
(logic) push:
(logic) pop: -Wl,-R/usr/lib
(logic) to: [cached]
(logic) push:
(logic) pop: conftest.c
(logic) to: conftest.c [untransformed]
(logic) push: conftest.c
(logic) pop: -lintl
(logic) to: -lintl [cached]
(logic) push: -lintl [split]
(logic) pop: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(logic) to: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include [cached]
(logic) push: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(logic) pop: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
(logic) to: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib [cached]
(logic) push: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
(cmd-sink) pop: -O2
(cmd-sink) pop: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(cmd-sink) pop:
(cmd-sink) pop: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(cmd-sink) pop:
(cmd-sink) pop: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
(cmd-sink) pop: -Wl,-R/usr/pkg/lib
(cmd-sink) pop:
(cmd-sink) pop:
(cmd-sink) pop: conftest.c
(cmd-sink) pop: -lintl
(cmd-sink) pop: -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include
(cmd-sink) pop: -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib
<.> /usr/pkgsrc/devel/gettext-tools/work/.gcc/bin/gcc -O2 -I/usr/pkgsrc/devel/gettext-tools/work/.buildlink/include -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib -Wl,-R/usr/pkg/lib conftest.c -lintl
Thanks in advance,
Marty Kreuter