1 |
Alle 19:37, mercoledì 23 novembre 2005, Harry Putnam el ga butta: |
2 |
> |"Francesco R." <vivo@g.o> writes: |
3 |
> | |
4 |
> | |
5 |
> |[...] Snipped good info here ... Thanks |
6 |
> | |
7 |
> |> also the "configure" option you see at compile time may _not_ be |
8 |
> |> the same the ebuild used, _but_ what the ebuild set always |
9 |
> |> override the MySQL default. |
10 |
> | |
11 |
> |So we cannot really tell what is passed to the compiler? The output |
12 |
> |of emerge is just nonsense compared to what really happens? |
13 |
|
14 |
The output of emerge _is_ what really happens, as it's the output from |
15 |
the build system (auto* tools and gcc) |
16 |
Consider the first "configure" you find: |
17 |
|
18 |
------------ |
19 |
/var/tmp/portage/mysql-5.0.16-r2/work/mysql |
20 |
>>> Source unpacked. |
21 |
* before to use federated engine be sure to read |
22 |
* http://dev.mysql.com/doc/mysql/en/federated-limitations.html |
23 |
* econf: updating mysql/bdb/dist/config.guess |
24 |
with /usr/share/gnuconfig/config.guess |
25 |
* econf: updating mysql/bdb/dist/config.sub |
26 |
with /usr/share/gnuconfig/config.sub |
27 |
* econf: updating mysql/config.guess |
28 |
with /usr/share/gnuconfig/config.guess |
29 |
* econf: updating mysql/config.sub with /usr/share/gnuconfig/config.sub |
30 |
./configure --prefix=/usr --host=i686-pc-linux-gnu |
31 |
--mandir=/usr/share/man [......] --without-big-tables |
32 |
--build=i686-pc-linux-gnu |
33 |
checking build system type... i686-pc-linux-gnu |
34 |
------------ |
35 |
|
36 |
for example "--build=i686-pc-linux-gnu" it's not directly setted by the |
37 |
ebuild (speaking of ebuild code, not the portage one) |
38 |
|
39 |
and this other (sub)configure, it also contain option not setted by the |
40 |
ebuild. |
41 |
|
42 |
--------------- |
43 |
config.status: executing default commands |
44 |
configure: configuring in innobase |
45 |
configure: running /bin/sh './configure' --prefix=/usr |
46 |
'--prefix=/usr' [......] --cache-file=/dev/null --srcdir=. |
47 |
checking build system type... i686-pc-linux-gnu |
48 |
--------------- |
49 |
|
50 |
As a final ans side note, it's gentoo policy that the ebuild set all the |
51 |
configure options avaiable to it (but it's not _mandated_ to leave the |
52 |
user the possibility to select them via use-flags). |
53 |
|
54 |
|
55 |
-- |
56 |
gentoo-user@g.o mailing list |