Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Apache build error... deface <deface@×××××××××××.net>