You are not logged in.
Pages: 1
Hi. I'm in x86_64 and I want install gcc34 by aur. But it returns this message:
2011-10-16 17:16:48 (390 KB/s) - `gcc-g++-3.4.6.tar.bz2.part' saved [2511332]
-> Found gcc-localeversion.patch
-> Found gcc-3.3-pure64.patch
==> Validating source files with md5sums...
gcc-core-3.4.6.tar.bz2 ... Passed
gcc-g++-3.4.6.tar.bz2 ... Passed
gcc-localeversion.patch ... Passed
gcc-3.3-pure64.patch ... Passed
==> Extracting Sources...
-> Extracting gcc-core-3.4.6.tar.bz2 with bsdtar
-> Extracting gcc-g++-3.4.6.tar.bz2 with bsdtar
==> Starting build()...
You need the de_DE locale to build gcc.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gcc34.
==> Restart building gcc34 ? [y/N]
==> ------------------------------
==> How to fix??
Offline
Have you tried setting your locale accordingly
You need the de_DE locale to build gcc.? Maybe you con comment out this 'if' clause
build() {
if ! locale -a | grep ^de_DE; then
echo "You need the de_DE locale to build gcc."
return 1
fiin the PKGBUILD and see if it works.
Last edited by karol (2011-10-16 15:29:00)
Offline
Add --enable-clocale=gnu to the configure line. Then, as karol says, remove that 'if' block. Edit: Oh, I see now clocale is already set. Well then, all you need is to remove that 'if' block.
Last edited by Gusar (2011-10-16 15:32:19)
Offline
I removed "if block", but now it say this:
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-gcc34/src/gcc-build'
make: *** [bootstrap] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gcc34.
==> Restart building gcc34 ? [y/N]Offline
Builds fine her, but I am german and so I have de_DE locale set.
Did you try
LOCALE=de_DE makepkgin one line?
Offline
I tryed, but it dosen't work.
In PKGBUILD:
...
LOCALE=de_DE makepkg
build() {
if ! locale -a | grep ^de_DE; then
echo "You need the de_DE locale to build gcc."
return 1
fi
...Last edited by dades (2011-10-16 18:43:29)
Offline
Pages: 1