Gentoo Archives: gentoo-user

From: BRM <bm_witness@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache build error...
Date: Sun, 27 Jan 2008 00:56:11
Message-Id: 928563.93890.qm@web60025.mail.yahoo.com
In Reply to: Re: [gentoo-user] Apache build error... by deface
1 Ok so my line below of:
2
3 cat /etc/portage/package.use | grep apache2
4
5 was wrong; if you noticed from the text at the end, I really ran:
6
7 cat /etc/portage/package.use | grep apache
8
9 However, I did follow the directions at the URL, but changing
10 APACHE2_MODULES to APACHE_MODULES make it work...hopefully everything
11 else (namely Subversion) will continue to work...
12
13 If this was not the right then, and I have to remerge...well, what
14 would be the right thing? If is is the right then shouldn't the page be
15 updated? I just pulled the command set off of it from Code Listin 1.1
16 and ran it.
17
18 TIA,
19
20 Ben
21
22 --- deface <deface@×××××××××××.net> wrote:
23
24 > There nos no apache2 use flag, it was replaced w/ just apache
25 >
26 >
27 > On Jan 26, 2008, at 4:57 PM, Benjamen R. Meyer wrote:
28 >
29 > > I'm trying to update the software on my system, among which is
30 > Apache,
31 > > going from 2.2.6-r5 to 2.2.6-r7. However, I am running into a
32 > problem
33 > > with it.
34 > >
35 > > Apparently the old install was using the apache2-builtin-mods file;
36 >
37 > > so I
38 > > followed the documentation at
39 > > http://www.gentoo.org/doc/en/apache-upgrading.xml to convert it
40 > over
41 > > to
42 > > the APACHE2_MODULES and APACHE2_MPMS - but it is still giving me
43 > the
44 > > same error - that mime, dir, and host_authz are disabled.
45 > >
46 > > After searching on-line, I found the post below which the user
47 > solved
48 > > the issue by adding mime, dir, and host_authz to their package.use
49 >
50 > > flag
51 > > for apache2. However, that did not solve it for me.
52 > >
53 > > Below is the output of "emerge -vuDN" captured via script, where I
54 > > stopped via CTRL+C after it posted its message claiming that the
55 > build
56 > > would be "unsupported". After that I cat'd my /etc/make.conf file
57 > in
58 > > its
59 > > entirely (not long yet), and also ran:
60 > >
61 > > cat /etc/portage/package.use | grep apache2
62 > >
63 > > To try to add the relevant lines from /etc/portage/package.use.
64 > >
65 > > I'm at a loss of what to do. Any help or direction would be greatly
66 > > appreciated.
67 > >
68 > >
69 > > TIA,
70 > >
71 > > Ben
72 > >
73 > > Script started on Sat Jan 26 17:43:06 2008
74 > > ]0;root@witness:~/emerge-to-run[?1034hwitness
75 > > emerge-to-run # emerge - world -VUDN    vud DNp 
76 > > ]0;Started emerge on: Jan 26, 2008 17:43:23]0; *** emerge
77 > --newuse
78 > > --deep --update --verbose world
79 > > These are the packages that would be merged, in
80 > order:
81 > >
82 > > Calculating world
83 > > dependencies  - | - | - \ \ \ \ / | -
84 > |
85 > > - |
86 > > | - | - / - / / - \ \ - | \ - /
87 > > \ / \
88 > > / / - \ | - \ | / - \ | / - | - /
89 >
90 > > \ -
91 > > / \ / | - | - | - \ / - | - \ | -
92 >
93 > > | -
94 > > / | - | \ - | / - \ | / \ | - | /
95 >
96 > > - \
97 > > | - / | \ / | \ - / \ - / | / \ /
98 >
99 > > - \
100 > > / - \ | / - \ | \ - / \ - / | \ -
101 >
102 > > \ /
103 > > | / \ | - \ | / \ / \ | - / \ / |
104 >
105 > > - |
106 > > - | / \ / \ | / \ | / - | \ / \
107 > > - / |
108 > > - | \ - / | - \ \ \ | - - / \ | \
109 > > \... done!
110 > > [ebuild U ]
111 > > www-servers/apache-2.2.6-r7
112 > > [2.2.6-r5] USE="ssl
113 > > threads* -debug
114 > > -doc -ldap
115 > > (-selinux) -sni%
116 > > -static% -suexec%
117 > > (-mpm-event%) (-mpm-itk%)
118 > > (-mpm-peruser%)
119 > > (-mpm-prefork%)
120 > (-mpm-worker%)
121 > > (-no-suexec%)
122 > > (-static-modules%)"
123 > > APACHE2_MODULES="-actions%
124 > > -alias% -asis%
125 > > -auth_basic% -auth_digest%
126 > > -authn_alias% -authn_anon%
127 > > -authn_dbd% -authn_dbm%
128 > > -authn_default% -authn_file%
129 > > -authz_dbm% -authz_default%
130 > > -authz_groupfile%
131 > -authz_host%
132 > > -authz_owner% -authz_user%
133 > > -autoindex% -cache%
134 > > -cern_meta% -charset_lite%
135 > > -dav% -dav_fs%
136 > > -dav_lock% -dbd%
137 > > -deflate% -dir%
138 > > -disk_cache% -dumpio%
139 > > -env% -expires%
140 > > -ext_filter% -file_cache%
141 > > -filter% -headers%
142 > > -ident% -imagemap%
143 > > -include% -info%
144 > > -log_config% -log_forensic%
145 > > -logio% -mem_cache%
146 > > -mime% -mime_magic%
147 > > -negotiation% -proxy%
148 > > -proxy_ajp% -proxy_balancer%
149 > > -proxy_connect% -proxy_ftp%
150 > > -proxy_http% -rewrite%
151 > > -setenvif% -speling%
152 > > -status% -unique_id%
153 > > -userdir% -usertrack%
154 > > -version% -vhost_alias%"
155 > > APACHE2_MPMS="-event% -itk%
156 > > -peruser% -prefork%
157 > > -worker%" 0 kB
158 > > [ebuild N ]
159 > > app-admin/eselect-fontconfig-1.0 0 kB
160 > > [ebuild U ]
161 > > media-libs/fontconfig-2.5.0-r1
162 > > [2.4.2] USE="-doc
163 > > -xml" 0 kB
164 > > [ebuild U ]
165 > > app-text/ghostscript-gpl-8.61-r1
166 > > [8.60-r1] USE="cups
167 > > -X -bindist
168 > > -cjk -djvu
169 > > -gtk -jpeg2k" 0 kB
170 > >
171 > > Total: 4 packages (3 upgrades, 1 new), Size of downloads: 0 kB
172 > >
173 > >>>> Verifying ebuild Manifests...
174 > >>>> starting parallel fetching
175 > >
176 > >>>> Emerging (1 of 4)
177 > > www-servers/apache-2.2.6-r7 to /
178 > > ]0; >>> emerge (1 of 4) www-servers/apache-2.2.6-r7
179 > > to /]0;emerge: (1
180 > > of 4) www-servers/apache-2.2.6-r7 Clean]0;emerge: (1 of 4)
181 > > www-servers/apache-2.2.6-r7 Compile *
182 > > httpd-2.2.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
183 > >
184 > > [ ok ]
185 > > [39;49;00m
186 > >  * gentoo-apache-2.2.6-r7-20080107.tar.bz2
187 > RMD160
188 > > SHA1 SHA256 size ;-) ...
189 > > [
190 > > ok ]
191 > >  * checking ebuild checksums ;-) ...
192 > >
193 > > [
194 > > ok ]
195 > >  * checking auxfile checksums ;-) ...
196 > >
197 > > [
198 > > ok ]
199 > >  * checking miscfile checksums ;-) ...
200 > >
201 > > [
202 > > ok ]
203 > >  * checking httpd-2.2.6.tar.bz2 ;-) ...
204 > >
205 > > [
206 > > ok ]
207 > >  * checking
208 > gentoo-apache-2.2.6-r7-20080107.tar.bz2
209 > > ;-) ...
210 > > [
211 > > ok ]
212 > > *
213 > > * Selected default threaded MPM: worker
214 > > *
215 > > * Module 'authz_host' is required in the default apache
216 > > configuration.
217 > > * Module 'dir' is required in the default apache
218 > > configuration.
219 > > * Module 'mime' is required in the default apache
220 > > configuration.
221 > > *
222 > > * You have disabled one or more required modules
223 > > * for the default apache configuration.
224 > > * Although this is not an error, please be
225 > > * aware that this setup is UNSUPPORTED.
226 > > *
227 > > 
228 > >
229 > > Exiting on signal 2
230 > > ]0; ***
231 > >
232 > terminating.]0;root@:~/emerge-to-run]0;root@witness:~/emerge-to-
233 > > runwitness
234 > > emerge-to-run # cat /etc/make/.c  conf     .conf
235 > > # These settings were set by the catalyst build script that
236 > > automatically
237 > > # built this stage.
238 > > # Please consult /etc/make.conf.example for a more detailed
239 > example.
240 > > CFLAGS="-O2 -march=i686 -pipe"
241 > > CXXFLAGS="${CFLAGS}"
242 > > # This should not be changed unless you know exactly what you are
243 > > doing.
244 > > You
245 > > # should probably be using a different stage, instead.
246 > > CHOST="i686-pc-linux-gnu"
247 > >
248 > > GENTOO_MIRRORS="http://gentoo.osuosl.org/
249 > > ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
250 > > http://distro.ibiblio.org/pub/linux/distributions/gentoo/
251 > > ftp://ftp.gtlib.gatech.edu/pub/gentoo
252 > > http://www.gtlib.gatech.edu/pub/gentoo
253 > > ftp://mirror.iawnet.sandia.gov/pub/gentoo/
254 > > ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
255 > >
256 > > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
257 > >
258 > > MAKEOPTS="-j2"
259 > > FEATURES="parallel-fetch ccache"
260 > >
261 > > # Possible USE flags to add: ipv6 -selinux
262 > > USE="zlib nptl crypt ssl berkdb pam python perl mysql"
263 > >
264 > > APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon
265 > > authn_dbd authn_dbm authn_default authn_file authz_dbm
266 > authz_default
267 > > authz_groupfile authz_host authz_owner authz_user autoindex cache
268 > dav
269 > > dav_fs dav_lock dbd deflate dir disk_cache doc env expires
270 > ext_filter
271 > > file_cache filter headers ident imagemap include info log_config
272 > logio
273 > > mem_cache mime mime_magic negotiation proxy proxy_ajp
274 > proxy_balancer
275 > > proxy_connect proxy_http rewrite setenvif so speling ssl status
276 > > unique_id userdir usertrack vhost_alias"
277 > > APACHE2_MODULES="mpm-worker"
278 > > ]0;root@witness:~/emerge-to-runwitness
279 > emerge-to-run
280 > > # cat /etc/portage/mak   package.use | grep apache2
281 > > www-servers/apache apache2 ssl threads mime dir
282 > > authz_host dav dav_fs dav_lock auth_basic
283 > > dev-util/subversion apache2 python zlib nls berkdb
284 > > ]0;root@witness:~/emerge-to-runwitness
285 > emerge-to-run
286 > > # exit
287 > > exit
288 > >
289 > > Script done on Sat Jan 26 17:44:49 2008
290 > > --
291 > > gentoo-user@l.g.o mailing list
292 > >
293 >
294 > --
295 > gentoo-user@l.g.o mailing list
296 >
297 >
298
299 --
300 gentoo-user@l.g.o mailing list