Gentoo Archives: gentoo-user

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache not compiling
Date: Wed, 01 Aug 2007 10:17:54
Message-Id: 8cd1ed20708010305x6288c9e5v5dc75c267432bb74@mail.gmail.com
In Reply to: Re: [gentoo-user] Apache not compiling by Kent Fredric
1 On 8/1/07, Kent Fredric <kentfredric@×××××.com> wrote:
2 > On 8/1/07, Alessandro del Gallo <delgallo@×××.es> wrote:
3 > > Hi, when I try to compile Apache, I get this error.
4 > >
5 > > ---- those are use flags, I try some configuratiosn but always get an error
6 > > zombie ~ # grep apache /etc/portage/package.use
7 > > www-servers/apache -doc -apache2 -ssl -mpm-itk -mpm-leader -mpm-peruser
8 > > -mpm-prefork -mpm-threadpool -mpm-worker -ssl -threads
9 > > zombie ~ # emerge apache -D -pvt
10 > >
11 > > These are the packages that would be merged, in reverse order:
12 > >
13 > > Calculating dependencies... done!
14 > > [ebuild N ] www-servers/apache-2.0.58-r2 USE="-apache2 -debug -doc
15 > > -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool
16 > > -mpm-worker (-selinux) -ssl -static-modules -threads" 0 kB
17 > > ----
18 >
19 > It looks like you have not selected an MPM. I believe you must select
20 > an MPM ( which i believe is the choice of which engine to use for
21 > dispatching pages )
22
23
24 http://httpd.apache.org/docs/2.0/mpm.html
25
26 MPMs must be chosen during configuration, and compiled into the
27 server. Compilers are capable of optimizing a lot of functions if
28 threads are used, but only if they know that threads are being used.
29
30
31 The following table lists the default MPMs for various operating
32 systems. This will be the MPM selected if you do not make another
33 choice at compile-time.
34
35 Unix prefork
36
37 so try enabling the mpm-prefork and see what happens.
38 > >
39 > > ww-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy
40 > > -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/include
41 > > -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators
42 > > -L/usr/lib -o libpcre.la maketables.lo get.lo study.lo pcre.lo
43 > > pcreposix.lo
44 > > make[3]: Leaving directory
45 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre'
46 > > make[2]: Leaving directory
47 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre'
48 > > make[1]: Leaving directory
49 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib'
50 > > Making all in os
51 > > make[1]: Entering directory
52 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os'
53 > > make[1]: Leaving directory
54 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os'
55 > > Making all in server
56 > > make[1]: Entering directory
57 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server'
58 > > Making all in mpm
59 > > make[2]: Entering directory
60 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm'
61 > > make[2]: *** No rule to make target `all'. Stop.
62 > > make[2]: Leaving directory
63 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm'
64 > > make[1]: *** [all-recursive] Error 1
65 > > make[1]: Leaving directory
66 > > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server'
67 > > make: *** [all-recursive] Error 1
68 > >
69 > > !!! ERROR: www-servers/apache-2.0.58-r2 failed.
70 > > Call stack:
71 > > ebuild.sh, line 1621: Called dyn_compile
72 > > ebuild.sh, line 973: Called qa_call 'src_compile'
73 > > ebuild.sh, line 44: Called src_compile
74 > > apache-2.0.58-r2.ebuild, line 181: Called die
75 > >
76 > > !!! problem compiling apache2
77 > > !!! If you need support, post the topmost build error, and the call
78 > > stack if relevant.
79 > > !!! A complete build log is located at
80 > > '/var/tmp/portage/www-servers/apache-2.0.58-r2/temp/build.log'.
81 > >
82 > >
83 > > : (
84 > >
85 > >
86 > > Tanks
87 > > --
88 > > gentoo-user@g.o mailing list
89 > >
90 > >
91 >
92 >
93 > --
94 > Kent
95 > ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
96 > print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
97 >
98
99
100 --
101 Kent
102 ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
103 print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
104 --
105 gentoo-user@g.o mailing list