From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EezJw-0005Mh-2b for garchives@archives.gentoo.org; Wed, 23 Nov 2005 18:26:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jANIMCDB008969; Wed, 23 Nov 2005 18:22:12 GMT Received: from mail.pnpitalia.it (85-18-21-122.ip.fastwebnet.it [85.18.21.122]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jANIAnGK027546 for ; Wed, 23 Nov 2005 18:10:49 GMT Received: from localhost (localhost [127.0.0.1]) by mail.pnpitalia.it (Postfix) with ESMTP id 3DC677AD6F8 for ; Wed, 23 Nov 2005 19:10:49 +0100 (CET) Received: from mail.pnpitalia.it ([127.0.0.1]) by localhost (db [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31268-09 for ; Wed, 23 Nov 2005 19:10:48 +0100 (CET) Received: from host-4-153.pnpitalia.it (host-4-153.pnpitalia.it [192.168.4.153]) by mail.pnpitalia.it (Postfix) with ESMTP id A47B87AD6F6 for ; Wed, 23 Nov 2005 19:10:48 +0100 (CET) From: "Francesco R." Organization: PNP Italia To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: How to alter ./configure flags from emerge Date: Wed, 23 Nov 2005 19:10:48 +0100 User-Agent: KMail/1.9 References: <877jaza2fn.fsf@newsguy.com> <200511231753.13490.vivo@gentoo.org> <87d5krcirp.fsf@newsguy.com> In-Reply-To: <87d5krcirp.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200511231910.48203.vivo@gentoo.org> X-Virus-Scanned: amavisd-new at db X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jANIAnGK027546 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jANIMCDT008969 X-Archives-Salt: e6ca2e0e-76a1-4230-807b-3f5149efefff X-Archives-Hash: cb52d8d6e773edb001fcbb021b1d1553 Alle 19:37, mercoled=EC 23 novembre 2005, Harry Putnam el ga butta: > |"Francesco R." writes: > | > | > |[...] Snipped good info here ... Thanks > | > |> also the "configure" option you see at compile time may _not_ be > |> the same the ebuild used, _but_ what the ebuild set always > |> override the MySQL default. > | > |So we cannot really tell what is passed to the compiler? The output > |of emerge is just nonsense compared to what really happens? The output of emerge _is_ what really happens, as it's the output from=20 the build system (auto* tools and gcc) Consider the first "configure" you find: ------------ /var/tmp/portage/mysql-5.0.16-r2/work/mysql >>> Source unpacked. * before to use federated engine be sure to read * http://dev.mysql.com/doc/mysql/en/federated-limitations.html * econf: updating mysql/bdb/dist/config.guess=20 with /usr/share/gnuconfig/config.guess * econf: updating mysql/bdb/dist/config.sub=20 with /usr/share/gnuconfig/config.sub * econf: updating mysql/config.guess=20 with /usr/share/gnuconfig/config.guess * econf: updating mysql/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=3D/usr --host=3Di686-pc-linux-gnu=20 --mandir=3D/usr/share/man [......] --without-big-tables=20 --build=3Di686-pc-linux-gnu checking build system type... i686-pc-linux-gnu ------------ for example "--build=3Di686-pc-linux-gnu" it's not directly setted by the= =20 ebuild (speaking of ebuild code, not the portage one) and this other (sub)configure, it also contain option not setted by the=20 ebuild. --------------- config.status: executing default commands configure: configuring in innobase configure: running /bin/sh './configure' --prefix=3D/usr =20 '--prefix=3D/usr' [......] --cache-file=3D/dev/null --srcdir=3D. checking build system type... i686-pc-linux-gnu --------------- As a final ans side note, it's gentoo policy that the ebuild set all the=20 configure options avaiable to it (but it's not _mandated_ to leave the=20 user the possibility to select them via use-flags). --=20 gentoo-user@gentoo.org mailing list