Gentoo Archives: gentoo-user-hu

From: George Hron <hrgyster@×××××.com>
To: gentoo-user-hu@l.g.o
Subject: Re: [gentoo-user-hu] Apache 2.2.6 hibával leáll fordításkor
Date: Fri, 21 Sep 2007 09:58:05
Message-Id: 9b7341bb0709210249w5a083966w4e3df4f29cc0a3ad@mail.gmail.com
In Reply to: Re: [gentoo-user-hu] Apache 2.2.6 hibával leáll fordításkor by "Tóth Csaba"
1 Ahogy elnézem, ez a sor a bajság:
2 [code]
3 use mpm-peruser && use debug && append-flags -DMPM_PERUSER_DEBUG
4 [/code]
5
6 Ezt kellene úgy, hogy
7 if use mpm-peruser && use debug; then append-flags -DMPM_PERUSER_DEBUG; fi
8
9 A gond az, hogy valamiért akkor is az append-flags parancsra ugik, ha
10 a debug kapcsoló off.
11
12 2007/9/21, Tóth Csaba <tsabi@×××××.hu>:
13 > Ez pont az a hiba ami miatt én is módosítottam az apache ebuildet... Ha
14 > rákeresel az "ap_mpm_set_exception_hook" kifejezésre, akkor eléggé
15 > gyorsan rájöhetsz a hibára, hogy az apache ezen funkciója nem
16 > kompatibilis az mpm_peruser -el.
17 > Csináld azt, amit én is, szedd ki a debug use flaget, és töröld ki mind
18 > a maradék 4 sort, amiben szerepelt a "debug" szócska.
19 >
20 > Az eredeti ebuild valahogyan aktiválja a debug kapcsolót, még akkor is,
21 > ha nincsen megadva. Szar az ebuild...
22 >
23 > tsabi
24 >
25 >
26 > George Hron írta:
27 > > Hmm... érdekes, főleg hogy peruser-rel is forgott nekem nem. Mi a
28 > > kulcs USE flag?
29 > >
30 > > Hibaüzi (hátha valaki felismeri):
31 > > ------------------------------------------------------------------------------------------------
32 > > /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc
33 > > -pthread -O2 -march=pentium3 -pipe -DLINUX=2 -D_REENTRANT
34 > > -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -I.
35 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/os/unix
36 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/server/mpm/experimental/peruser
37 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/http
38 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/filters
39 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy
40 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/include
41 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/generators
42 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/mappers
43 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/database
44 > > -I/usr/include/apr-1 -I/usr/include/db4.5
45 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy/../generators
46 > > -I/usr/include -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/ssl
47 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/dav/main
48 > > -prefer-non-pic -static -c modules.c && touch modules.lo
49 > > i686-pc-linux-gnu-gcc -pthread -O2 -march=pentium3 -pipe -DLINUX=2
50 > > -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -I.
51 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/os/unix
52 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/server/mpm/experimental/peruser
53 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/http
54 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/filters
55 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy
56 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/include
57 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/generators
58 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/mappers
59 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/database
60 > > -I/usr/include/apr-1 -I/usr/include/db4.5
61 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/proxy/../generators
62 > > -I/usr/include -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/ssl
63 > > -I/var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/modules/dav/main
64 > > -c /var/tmp/portage/www-servers/apache-2.2.6/work/httpd-2.2.6/server/buildmark.c
65 > > /usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread
66 > > -O2 -march=pentium3 -pipe -Wl,--no-as-needed -L/usr/lib
67 > > -Wl,--no-as-needed -o apache2 modules.lo buildmark.o -export-dynamic
68 > > server/libmain.la modules/http/libmod_http.la
69 > > modules/mappers/libmod_so.la
70 > > server/mpm/experimental/peruser/libperuser.la os/unix/libos.la -lm
71 > > -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -lgdbm -ldb -lexpat
72 > > /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
73 > > server/.libs/libmain.a(core.o):(.rodata+0x64c): undefined reference to
74 > > `ap_mpm_set_exception_hook'
75 > > -------------------------------------------------------------------------------------------------------------------
76 > >
77 > > Üdv:
78 > > H. G.
79 > > Aleph <alephlg@×××××.com> írta, 2007.09.21.:
80 > >> Szia!
81 > >>
82 > >> Kocc nélkül ITK-val.
83 > >>
84 > >> Aleph
85 > >>
86 > >> George Hron <hrgyster@×××××.com> írta, 2007.09.21.:
87 > >>> Sziasztok!
88 > >>>
89 > >>> Egy felhívást szeretnék közzétenni. Mindenki, aki webszervert
90 > >>> üzemeltet, vigyázzon, mert az Apache 2.2.6-os verziója a fordítás
91 > >>> elején meghal undefined reference hibával. Valószínű hogy nem
92 > >>> MPM-függő a dolog, mert azokat a core nélkül - logikusan gondolkodva -
93 > >>> nem kezdi fordítani. A bug bejelentésre került a BGO-n a #193282 számú
94 > >>> bug-ban.
95 > >>> Kérnék azonban embereket, hogy tapasztalataikat osszák meg akár velem
96 > >>> akár a bugvadászokkal, hogy a bug mihamarabb kijavításra kerülhessen.
97 > >>>
98 > >>> Ugyan már nincs a portage-fában, de viszonlyag könnyen megszerezhető a
99 > >>> 2.2.4-r12 Apache ebuild, mely tökéletesen fordul, és így workaround a
100 > >>> problémára.
101 > >>>
102 > >>
103 > > �éí˘�Źz¸n�éí˘�+�f˘�)ŕ�+-
104 >
105 > --
106 > gentoo-user-hu@g.o mailing list
107 >
108 >

Replies

Subject Author
Re: [gentoo-user-hu] Apache 2.2.6 hibával leáll fordításkor George Hron <hrgyster@×××××.com>