Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Apache build error... BRM <bm_witness@×××××.com>