From: "Kent Fredric" <kentfredric@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Apache not compiling
Date: Wed, 1 Aug 2007 22:05:04 +1200 [thread overview]
Message-ID: <8cd1ed20708010305x6288c9e5v5dc75c267432bb74@mail.gmail.com> (raw)
In-Reply-To: <8cd1ed20708010302h394d9c35j6f64c7e265ecb9a1@mail.gmail.com>
On 8/1/07, Kent Fredric <kentfredric@gmail.com> wrote:
> On 8/1/07, Alessandro del Gallo <delgallo@pic.es> wrote:
> > Hi, when I try to compile Apache, I get this error.
> >
> > ---- those are use flags, I try some configuratiosn but always get an error
> > zombie ~ # grep apache /etc/portage/package.use
> > www-servers/apache -doc -apache2 -ssl -mpm-itk -mpm-leader -mpm-peruser
> > -mpm-prefork -mpm-threadpool -mpm-worker -ssl -threads
> > zombie ~ # emerge apache -D -pvt
> >
> > These are the packages that would be merged, in reverse order:
> >
> > Calculating dependencies... done!
> > [ebuild N ] www-servers/apache-2.0.58-r2 USE="-apache2 -debug -doc
> > -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool
> > -mpm-worker (-selinux) -ssl -static-modules -threads" 0 kB
> > ----
>
> It looks like you have not selected an MPM. I believe you must select
> an MPM ( which i believe is the choice of which engine to use for
> dispatching pages )
http://httpd.apache.org/docs/2.0/mpm.html
MPMs must be chosen during configuration, and compiled into the
server. Compilers are capable of optimizing a lot of functions if
threads are used, but only if they know that threads are being used.
The following table lists the default MPMs for various operating
systems. This will be the MPM selected if you do not make another
choice at compile-time.
Unix prefork
so try enabling the mpm-prefork and see what happens.
> >
> > ww-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy
> > -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/include
> > -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators
> > -L/usr/lib -o libpcre.la maketables.lo get.lo study.lo pcre.lo
> > pcreposix.lo
> > make[3]: Leaving directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre'
> > make[2]: Leaving directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre'
> > make[1]: Leaving directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib'
> > Making all in os
> > make[1]: Entering directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os'
> > make[1]: Leaving directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os'
> > Making all in server
> > make[1]: Entering directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server'
> > Making all in mpm
> > make[2]: Entering directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm'
> > make[2]: *** No rule to make target `all'. Stop.
> > make[2]: Leaving directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server'
> > make: *** [all-recursive] Error 1
> >
> > !!! ERROR: www-servers/apache-2.0.58-r2 failed.
> > Call stack:
> > ebuild.sh, line 1621: Called dyn_compile
> > ebuild.sh, line 973: Called qa_call 'src_compile'
> > ebuild.sh, line 44: Called src_compile
> > apache-2.0.58-r2.ebuild, line 181: Called die
> >
> > !!! problem compiling apache2
> > !!! If you need support, post the topmost build error, and the call
> > stack if relevant.
> > !!! A complete build log is located at
> > '/var/tmp/portage/www-servers/apache-2.0.58-r2/temp/build.log'.
> >
> >
> > : (
> >
> >
> > Tanks
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> Kent
> ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
> print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}'
>
--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}'
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-08-01 10:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 13:25 [gentoo-user] Apache not compiling Alessandro del Gallo
2007-08-01 10:02 ` Kent Fredric
2007-08-01 10:05 ` Kent Fredric [this message]
2007-08-01 10:11 ` Abraham Marín Pérez
2007-08-01 12:29 ` Alessandro del Gallo
2007-08-01 13:16 ` Abraham Marín Pérez
2007-08-01 13:36 ` Alessandro del Gallo
2007-08-01 14:36 ` Abraham Marín Pérez
2007-08-01 15:14 ` Alessandro del Gallo
2007-08-01 13:17 ` Kent Fredric
-- strict thread matches above, loose matches on Subject: below --
2007-08-01 9:51 Zimmerling, Alexander
2007-08-01 12:19 ` Alessandro del Gallo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8cd1ed20708010305x6288c9e5v5dc75c267432bb74@mail.gmail.com \
--to=kentfredric@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox