1 |
I've been having some trouble lately. |
2 |
Until now, things have been pretty stable. |
3 |
However, I can't build galeon 0.12.5-r1, and I've been having some odd |
4 |
problems |
5 |
with emerge/ebuild. |
6 |
First, galeon: It dies during the configure stage: |
7 |
|
8 |
.... |
9 |
checking for GNOME - version >= 1.2.8... ./configure: test: 1.2: integer |
10 |
expression expected |
11 |
yes |
12 |
checking for additional GNOME modules... gdk_pixbuf vfs libglade gnome |
13 |
gnomeui oaf xml glib gtk*** bonobox library is not installed |
14 |
configure: error: |
15 |
*** GNOME 1.2.8 or better is required. |
16 |
*** gdk-pixbuf 0.10.1 or better is required. |
17 |
*** gnome-vfs 1.0.1 or better is required. |
18 |
*** libglade 0.13 or better is required. |
19 |
*** libxml 1.8.14 or better is required. |
20 |
*** oaf 0.6.5 or better is required. |
21 |
*** libpanel-applet is required (unless --disable-applet is used) |
22 |
|
23 |
!!! ERROR: The ebuild did not complete successfully. |
24 |
!!! Function src_compile, Line 17, Exitcode 1 |
25 |
!!! (no error message) |
26 |
|
27 |
goblin galeon # |
28 |
|
29 |
NOTE: I do *not* have gnome in my USE flags. |
30 |
After applying the following diff, it will compile but still not build. |
31 |
|
32 |
goblin galeon # diff -u galeon-0.12.5-r1.ebuild galeon-0.12.5-r2.ebuild |
33 |
--- galeon-0.12.5-r1.ebuild Tue Oct 23 15:16:10 2001 |
34 |
+++ galeon-0.12.5-r2.ebuild Wed Oct 24 20:28:58 2001 |
35 |
@@ -25,6 +25,9 @@ |
36 |
if [ -z "`use nls`" ] ; then |
37 |
myconf="--disable-nls" |
38 |
fi |
39 |
+ if [ ! -z "`use gnome`" ] ; then |
40 |
+ myconf="$myconf --with-gnome --enable-gnome-file-selector" |
41 |
+ fi |
42 |
|
43 |
./configure --host=${CHOST} \ |
44 |
--prefix=/usr \ |
45 |
@@ -32,9 +35,7 @@ |
46 |
--localstatedir=/var/lib \ |
47 |
--with-mozilla-libs=${MOZILLA_FIVE_HOME} \ |
48 |
--with-mozilla-includes=${MOZILLA_FIVE_HOME}/include \ |
49 |
- --with-gnome \ |
50 |
--without-debug \ |
51 |
- --enable-gnome-file-selector \ |
52 |
$myconf || die |
53 |
|
54 |
emake || die |
55 |
goblin galeon # |
56 |
|
57 |
The build fails with the following errors: |
58 |
|
59 |
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src |
60 |
-I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/nspr |
61 |
-I/usr/lib/mozilla/include/appcomps -I/usr/lib/mozilla/include/content |
62 |
-I/usr/lib/mozilla/include/cookie |
63 |
-I/usr/lib/mozilla/include/docshell -I/usr/lib/mozilla/include/dom |
64 |
-I/usr/lib/mozilla/include/exthandler -I/usr/lib/mozilla/include/find |
65 |
-I/usr/lib/mozilla/include/gfx |
66 |
-I/usr/lib/mozilla/include/gtkembedmoz |
67 |
-I/usr/lib/mozilla/include/helperAppDlg |
68 |
-I/usr/lib/mozilla/include/java |
69 |
-I/usr/lib/mozilla/include/jsconsole -I/usr/lib/mozilla/include/layout |
70 |
-I/usr/lib/mozilla/include/mimetype |
71 |
-I/usr/lib/mozilla/include/mozxfer -I/usr/lib/mozilla/include/necko |
72 |
-I/usr/lib/mozilla/include/necko2 |
73 |
-I/usr/lib/mozilla/include/nkcache -I/usr/lib/mozilla/include/oji |
74 |
-I/usr/lib/mozilla/include/pref -I/usr/lib/mozilla/include/string |
75 |
-I/usr/lib/mozilla/include/shistory |
76 |
-I/usr/lib/mozilla/include/uconv |
77 |
-I/usr/lib/mozilla/include/uriloader -I/usr/lib/mozilla/include/wallet |
78 |
-I/usr/lib/mozilla/include/webbrwsr |
79 |
-I/usr/lib/mozilla/include/webshell -I/usr/lib/mozilla/include/widget |
80 |
-I/usr/lib/mozilla/include/windowwatcher |
81 |
-I/usr/lib/mozilla/include/xpcom -I/usr/include/gconf/1 |
82 |
-I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include |
83 |
-I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include |
84 |
-I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 |
85 |
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-vfs-1.0 |
86 |
-I/usr/lib/gnome-vfs-1.0/include -I/usr/include/libglade-1.0 |
87 |
-I/usr/include/gnome-xml -DNEED_GNOMESUPPORT_H |
88 |
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 |
89 |
-DSHARE_DIR=\"/usr/share/galeon\" -fno-rtti -mcpu=k6 -march=k6 -O3 |
90 |
-pipe -Wall -Wmissing-declarations -c mozilla.cpp |
91 |
TOCProtocolHandler.cpp: In method `nsresult |
92 |
GTOCProtocolHandler::CreateManPage()': |
93 |
TOCProtocolHandler.cpp:284: template argument 1 is invalid |
94 |
TOCProtocolHandler.cpp:284: template argument 1 is invalid |
95 |
TOCProtocolHandler.cpp:284: template argument 2 is invalid |
96 |
TOCProtocolHandler.cpp:284: ANSI C++ forbids declaration `dirs' with no |
97 |
type |
98 |
TOCProtocolHandler.cpp:287: request for member `size' in `dirs', which is |
99 |
of non-aggregate type `int' |
100 |
TOCProtocolHandler.cpp:289: request for member `push_front' in `dirs', |
101 |
which is of non-aggregate type `int' |
102 |
TOCProtocolHandler.cpp:290: request for member `push_front' in `dirs', |
103 |
which is of non-aggregate type `int' |
104 |
TOCProtocolHandler.cpp:291: request for member `sort' in `dirs', which is |
105 |
of non-aggregate type `int' |
106 |
TOCProtocolHandler.cpp:292: request for member `unique' in `dirs', which |
107 |
is of non-aggregate type `int' |
108 |
TOCProtocolHandler.cpp:293: request for member `begin' in `dirs', which is |
109 |
of non-aggregate type `int' |
110 |
TOCProtocolHandler.cpp:293: request for member `end' in `dirs', which is |
111 |
of non-aggregate type `int' |
112 |
TOCProtocolHandler.cpp:294: request for member `begin' in `dirs', which is |
113 |
of non-aggregate type `int' |
114 |
TOCProtocolHandler.cpp:294: request for member `end' in `dirs', which is |
115 |
of non-aggregate type `int' |
116 |
TOCProtocolHandler.cpp:296: request for member `push_front' in `dirs', |
117 |
which is of non-aggregate type `int' |
118 |
TOCProtocolHandler.cpp:297: request for member `push_front' in `dirs', |
119 |
which is of non-aggregate type `int' |
120 |
TOCProtocolHandler.cpp:347: template argument 1 is invalid |
121 |
TOCProtocolHandler.cpp:347: template argument 1 is invalid |
122 |
TOCProtocolHandler.cpp:347: template argument 2 is invalid |
123 |
TOCProtocolHandler.cpp:347: parse error before `=' |
124 |
TOCProtocolHandler.cpp:348: request for member `end' in `dirs', which is |
125 |
of non-aggregate type `int' |
126 |
TOCProtocolHandler.cpp:350: `string' undeclared (first use this function) |
127 |
TOCProtocolHandler.cpp:350: parse error before `=' |
128 |
TOCProtocolHandler.cpp:351: `dir' undeclared (first use this function) |
129 |
TOCProtocolHandler.cpp: At top level: |
130 |
TOCProtocolHandler.cpp:453: template argument 1 is invalid |
131 |
TOCProtocolHandler.cpp:453: template argument 1 is invalid |
132 |
TOCProtocolHandler.cpp:453: template argument 2 is invalid |
133 |
TOCProtocolHandler.cpp:454: ANSI C++ forbids declaration `dirs' with no |
134 |
type |
135 |
TOCProtocolHandler.cpp: In function `void ParseEnvPath(const nsCString &, |
136 |
int &)': |
137 |
TOCProtocolHandler.cpp:462: request for member `push_back' in `dirs', |
138 |
which is of non-aggregate type `int' |
139 |
TOCProtocolHandler.cpp:468: request for member `push_back' in `dirs', |
140 |
which is of non-aggregate type `int' |
141 |
TOCProtocolHandler.cpp:474: request for member `push_back' in `dirs', |
142 |
which is of non-aggregate type `int' |
143 |
TOCProtocolHandler.cpp:478: request for member `push_back' in `dirs', |
144 |
which is of non-aggregate type `int' |
145 |
make[3]: *** [TOCProtocolHandler.o] Error 1 |
146 |
make[3]: *** Waiting for unfinished jobs.... |
147 |
|
148 |
make[3]: Leaving directory |
149 |
`/var/tmp/portage/galeon-0.12.5-r2/work/galeon-0.12.5/src/mozilla' |
150 |
make[2]: *** [all-recursive] Error 1 |
151 |
make[2]: Leaving directory |
152 |
`/var/tmp/portage/galeon-0.12.5-r2/work/galeon-0.12.5/src' |
153 |
make[1]: *** [all-recursive] Error 1 |
154 |
make[1]: Leaving directory |
155 |
`/var/tmp/portage/galeon-0.12.5-r2/work/galeon-0.12.5' |
156 |
make: *** [all-recursive-am] Error 2 |
157 |
|
158 |
!!! ERROR: The ebuild did not complete successfully. |
159 |
!!! Function src_compile, Line 20, Exitcode 2 |
160 |
!!! (no error message) |
161 |
|
162 |
goblin galeon # |
163 |
|
164 |
|
165 |
Additionally, I don't know why this doesn't work: |
166 |
|
167 |
goblin gcc # pwd |
168 |
/usr/portage/sys-devel/gcc |
169 |
goblin gcc # ebuild gcc-3.0.ebuild package |
170 |
Traceback (most recent call last): |
171 |
File "/usr/sbin/ebuild", line 32, in ? |
172 |
a=portage.doebuild(pargs[0],x,getroot(),debug=debug) |
173 |
File "/usr/lib/python2.0/site-packages/portage.py", line 605, in |
174 |
doebuild |
175 |
a=open(settings["T"]+"/deps","r") |
176 |
IOError: [Errno 2] No such file or directory: |
177 |
'/var/tmp/portage/gcc-3.0/temp/deps' |
178 |
goblin gcc # |
179 |
|
180 |
-- |
181 |
Pound for pound, the amoeba is the most vicious animal on earth. |
182 |
|
183 |
Jon Nelson |
184 |
jnelson@×××××××.net |