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 13:29:42
Message-Id: 8cd1ed20708010617y5759c594v1d7e3cf389e44890@mail.gmail.com
In Reply to: Re: [gentoo-user] Apache not compiling by Alessandro del Gallo
1 On 8/2/07, Alessandro del Gallo <delgallo@×××.es> wrote:
2 > Hi,
3 >
4 > I did built it with mpm-prefork
5 > http://httpd.apache.org/docs/2.0/mpm.html
6 >
7 > but it failed:
8 > http://pastebin.com/m7096a3ad
9
10
11 >
12 > I have some trouble with other configures (gstreamer and gtk+ )
13 >
14 > for that I posted this:
15 > http://pastebin.com/m2e0e9e58
16
17 #
18 ./configure: line 30750: syntax error near unexpected token `('
19 #
20 ./configure: line 30750: ` for ac_var in `(set) 2>&1 | sed -n
21 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'
22
23
24 broken sed ?
25
26 isengard linux # echo | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'
27 isengard linux #
28
29 try running that in your shell like i did and see if it errors, if it
30 errors, then you might need to upgrade/recompile your sed.
31
32 ( sed being broken can make a great many things go wrong )
33
34
35
36 >
37 > Thanks
38 >
39 > Abraham Marín Pérez ha scritto:
40 > > Alessandro del Gallo escribió:
41 > >> Hi, when I try to compile Apache, I get this error.
42 > >>
43 > >> ---- those are use flags, I try some configuratiosn but always get an
44 > >> error
45 > >> zombie ~ # grep apache /etc/portage/package.use
46 > >> www-servers/apache -doc -apache2 -ssl -mpm-itk -mpm-leader
47 > >> -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker -ssl -threads
48 > >> zombie ~ # emerge apache -D -pvt
49 > >>
50 > >> These are the packages that would be merged, in reverse order:
51 > >>
52 > >> Calculating dependencies... done!
53 > >> [ebuild N ] www-servers/apache-2.0.58-r2 USE="-apache2 -debug
54 > >> -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork
55 > >> -mpm-threadpool -mpm-worker (-selinux) -ssl -static-modules -threads"
56 > >> 0 kB
57 > >> ----
58 > >>
59 > >> ww-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy
60 > >> -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/include
61 > >> -I/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators
62 > >> -L/usr/lib -o libpcre.la maketables.lo get.lo study.lo pcre.lo
63 > >> pcreposix.lo
64 > >> make[3]: Leaving directory
65 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre'
66 > >>
67 > >> make[2]: Leaving directory
68 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre'
69 > >>
70 > >> make[1]: Leaving directory
71 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/srclib'
72 > >> Making all in os
73 > >> make[1]: Entering directory
74 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os'
75 > >> make[1]: Leaving directory
76 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/os'
77 > >> Making all in server
78 > >> make[1]: Entering directory
79 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server'
80 > >> Making all in mpm
81 > >> make[2]: Entering directory
82 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm'
83 > >>
84 > >> make[2]: *** No rule to make target `all'. Stop.
85 > >> make[2]: Leaving directory
86 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm'
87 > >>
88 > >> make[1]: *** [all-recursive] Error 1
89 > >> make[1]: Leaving directory
90 > >> `/var/tmp/portage/www-servers/apache-2.0.58-r2/work/httpd-2.0.58/server'
91 > >> make: *** [all-recursive] Error 1
92 > >
93 > > Apparently the error comes when compiling the mpm section of Apache;
94 > > since you seem to have disabled every multi-processing module it may be
95 > > possible that configure generates a makefile with no option at all,
96 > > making it fails when tries to build.
97 > >
98 > > I think this could be a bug; please post both the output of configure
99 > > --help to see the options related to mpm's and the content of
100 > > server/mpm/makefile*
101 > >
102 > >
103 > > Abraham
104 >
105 > --
106 > gentoo-user@g.o mailing list
107 >
108 >
109
110
111 --
112 Kent
113 ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
114 print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
115 --
116 gentoo-user@g.o mailing list