Gentoo Archives: gentoo-user-br

From: Fernando Boaglio <boaglio@×××××.com>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] erro ao compilar amarok 2.0.1.1
Date: Wed, 04 Feb 2009 18:57:25
Message-Id: ab2953b00902041055h54c50b73mdd9f4df7d20d4f78@mail.gmail.com
In Reply to: [gentoo-user-br] erro ao compilar amarok 2.0.1.1 by Raphael Bastos
1 Eu passei por isso, se vc notar, no começo do emerge do Amarok, ele dá
2 esse aviso:
3
4
5 *
6 * Compilation will fail if dev-db/mysql[-community] is built without
7 -fPIC in your CFLAGS!
8 * Related bug: http://bugs.gentoo.org/show_bug.cgi?id=238487
9 *
10 * To fix this, and to avoid using -fPIC globally in your make.conf
11 (which is not recommended),
12 * put the following into /etc/portage/env/dev-db/mysql (or
13 mysql-community, depending on which you use;
14 * create dirs and the file if they don't exist):
15 *
16 * CFLAGS="-march=k8 -O2 -pipe -DPIC -fPIC"
17 * CXXFLAGS="-march=k8 -O2 -pipe -DPIC -fPIC"
18 *
19
20 Eu recompilei o mysql com essa flag, depois compilei o Amarok e passou...
21
22 []'s
23 Fernando Boaglio