1 |
Well, with bare X up, I decided it was time to install a window manager. |
2 |
I picked xfce4 and icewm. |
3 |
|
4 |
I emerged xfce4, and after a lot of packages, it finally told me: |
5 |
|
6 |
reemerge x11-libs/cairo with the X USE flag set |
7 |
|
8 |
Well, I emerged icewm with no problems, then went back to xfce4 by |
9 |
changing my use flags and asking it to reemerge everything that involved a |
10 |
use-flag change. My new use flags were set in /etc/make.conf as |
11 |
|
12 |
USE="cjk unicode X xprint" |
13 |
|
14 |
This choked, on x11-apps/xclock-1.0.2. |
15 |
|
16 |
The key messages seem to be: |
17 |
|
18 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so, not found (try using -rpath or -rpath-link) |
19 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_SetElementHandler' |
20 |
|
21 |
Could it be that some package failed to set some key dependency, and that |
22 |
as a result libexpat.so.0 had not been created? I could of course try to |
23 |
find which package should have created libexpat.so.0, or go on emerging |
24 |
and try to skip xclock (if I knew how to do that), but I thought it might |
25 |
be good to report this problem, and ask advice, in case |
26 |
(a) one of you could advise me how best to get past this point, or |
27 |
(b) it really is a problem in gentoo, and someone might want to fix it. |
28 |
|
29 |
I'm starting to wonder, by the way, whether most beginners with gentoo |
30 |
have this much trouble, or whether I'm just knowledgeable enough to blunder |
31 |
into problems other miss in blissful ignorance, and not yet knowledgeable |
32 |
enough to avoid them :-) |
33 |
|
34 |
I paste in the complete |
35 |
/var/tmp/portage/x11-apps/xclock-1.0.2/temp/build.log file below. |
36 |
|
37 |
-- hendrik |
38 |
|
39 |
|
40 |
>>> Unpacking source... |
41 |
>>> Unpacking xclock-1.0.2.tar.bz2 to /var/tmp/portage/x11-apps/xclock-1.0.2/work |
42 |
>>> Source unpacked. |
43 |
>>> Compiling source in /var/tmp/portage/x11-apps/xclock-1.0.2/work/xclock-1.0.2 ... |
44 |
* econf: updating xclock-1.0.2/config.guess with /usr/share/gnuconfig/config.guess |
45 |
* econf: updating xclock-1.0.2/config.sub with /usr/share/gnuconfig/config.sub |
46 |
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --enable-xprint --build=i686-pc-linux-gnu |
47 |
checking for a BSD-compatible install... /usr/bin/install -c |
48 |
checking whether build environment is sane... yes |
49 |
checking for gawk... gawk |
50 |
checking whether make sets $(MAKE)... yes |
51 |
checking whether to enable maintainer-specific portions of Makefiles... no |
52 |
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc |
53 |
checking for C compiler default output file name... a.out |
54 |
checking whether the C compiler works... yes |
55 |
checking whether we are cross compiling... no |
56 |
checking for suffix of executables... |
57 |
checking for suffix of object files... o |
58 |
checking whether we are using the GNU C compiler... yes |
59 |
checking whether i686-pc-linux-gnu-gcc accepts -g... yes |
60 |
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed |
61 |
checking for style of include used by make... GNU |
62 |
checking dependency style of i686-pc-linux-gnu-gcc... gcc3 |
63 |
checking for a BSD-compatible install... /usr/bin/install -c |
64 |
checking for strlcpy... no |
65 |
checking for i686-pc-linux-gnu-pkg-config... no |
66 |
checking for pkg-config... /usr/bin/pkg-config |
67 |
checking pkg-config is at least version 0.9.0... yes |
68 |
checking for XCLOCK_X11... yes |
69 |
checking for TMP_XAW... yes |
70 |
checking for XFT... yes |
71 |
checking for library containing sqrt... -lm |
72 |
checking for XKB... yes |
73 |
checking for APPDEFS... yes |
74 |
checking build system type... i686-pc-linux-gnu |
75 |
checking host system type... i686-pc-linux-gnu |
76 |
configure: creating ./config.status |
77 |
config.status: creating Makefile |
78 |
config.status: creating config.h |
79 |
config.status: executing depfiles commands |
80 |
make all-am |
81 |
make[1]: Entering directory `/var/tmp/portage/x11-apps/xclock-1.0.2/work/xclock-1.0.2' |
82 |
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -O2 -march=i686 -pipe -MT xclock-Clock.o -MD -MP -MF ".deps/xclock-Clock.Tpo" -c -o xclock-Clock.o `test -f 'Clock.c' || echo './'`Clock.c; \ |
83 |
then mv -f ".deps/xclock-Clock.Tpo" ".deps/xclock-Clock.Po"; else rm -f ".deps/xclock-Clock.Tpo"; exit 1; fi |
84 |
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -O2 -march=i686 -pipe -MT xclock-xclock.o -MD -MP -MF ".deps/xclock-xclock.Tpo" -c -o xclock-xclock.o `test -f 'xclock.c' || echo './'`xclock.c; \ |
85 |
then mv -f ".deps/xclock-xclock.Tpo" ".deps/xclock-xclock.Po"; else rm -f ".deps/xclock-xclock.Tpo"; exit 1; fi |
86 |
cp XClock-color.ad XClock-color |
87 |
cp XClock.ad XClock |
88 |
sed -e 's|__vendorversion__|"xclock 1.0.2" "X Version 11"|' -e 's|__xorgversion__|"xclock 1.0.2" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__|/usr/share/X11/app-defaults|' -e 's|__appmansuffix__|1x|g' -e 's|__libmansuffix__|3x|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5x|g' < xclock.man > xclock.1x |
89 |
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -o xclock xclock-Clock.o xclock-xclock.o -lX11 -lXaw8 -lXmu -lXt -lX11 -lSM -lICE -lXau -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 -lxkbfile -lm |
90 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so, not found (try using -rpath or -rpath-link) |
91 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_SetElementHandler' |
92 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_SetDoctypeDeclHandler' |
93 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_ParserFree' |
94 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_SetCharacterDataHandler' |
95 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_ErrorString' |
96 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_ParseBuffer' |
97 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_ParserCreate' |
98 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_SetUserData' |
99 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_GetErrorCode' |
100 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_GetBuffer' |
101 |
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_GetCurrentLineNumber' |
102 |
collect2: ld returned 1 exit status |
103 |
make[1]: *** [xclock] Error 1 |
104 |
make[1]: Leaving directory `/var/tmp/portage/x11-apps/xclock-1.0.2/work/xclock-1.0.2' |
105 |
make: *** [all] Error 2 |
106 |
|
107 |
!!! ERROR: x11-apps/xclock-1.0.2 failed. |
108 |
Call stack: |
109 |
ebuild.sh, line 1638: Called dyn_compile |
110 |
ebuild.sh, line 985: Called qa_call 'src_compile' |
111 |
ebuild.sh, line 44: Called src_compile |
112 |
ebuild.sh, line 1328: Called x-modular_src_compile |
113 |
x-modular.eclass, line 337: Called x-modular_src_make |
114 |
x-modular.eclass, line 332: Called die |
115 |
|
116 |
!!! emake failed |
117 |
!!! If you need support, post the topmost build error, and the call stack if relevant. |
118 |
!!! A complete build log is located at '/var/tmp/portage/x11-apps/xclock-1.0.2/temp/build.log'. |
119 |
|
120 |
-- |
121 |
gentoo-user@g.o mailing list |