You are not logged in.
Trying to build freetype2-infinality and keep getting this:
cd builds/unix; ./configure '--prefix=/usr'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/yaourt-tmp-bobby/aur-freetype2-infinality/src/freetype-2.4.3/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [setup] Error 77
Aborting...
==> ERROR: Makepkg was unable to build freetype2-infinality.
I reinstalled base-devel although all were already installed, same thing.
Last edited by colbert (2010-11-19 00:44:56)
Offline
do you have the permission to execute binaries on the filesystem you wanna compile? Some time ago I had the same discussion and the conclusion was that my mount flags had changed or had different influences after changing the filesystem from ext3 to ext4. So maybe you could have a look there. Further, if you have a fixed size for your /tmp folder, it could be messed up with not enough space left for successful compiling.
Offline
How do I check that permissions? I am doing what I have always done, logged in as my user and entering root pass when asked with yaourt/pacman. If something changed I can check but not sure what/how you referring to specifically.
Hmmm as for tmp dir, all I have is in /etc/yaourtrc "TMPDIR="/tmp" and no probs so far with that otherwise (as well have 9gb free on root).
Offline
configure: error: C compiler cannot create executables See `config.log' for more details.
Ever thought of looking there...
Offline
Offline
/usr/bin/as: /usr/bin/as: cannot execute binary file
Umm... is that there?
Offline
too slow please delete
Last edited by skunktrader (2010-11-18 23:42:42)
Offline
/usr/bin/as: /usr/bin/as: cannot execute binary file
Umm... is that there?
Yup
└─> ll /usr/bin/as
-rwxr-xr-x 1 root root 267K Oct 6 23:11 /usr/bin/as
Offline
And what does "as --help" give?
Offline
Offline
Ok... so it appears to work... Is it just that package that you have issues with?
Offline
Nope, get that from other packages too
Offline
Ugh... something strange has happened here...
Can you give the output of
ls -l /usr/bin/as
file /usr/bin/as
md5sum /usr/bin/as
Just to double check everything is sane with that... Also, double check what your $PATH is set to.
Did this happen after a recent upgrade? Can you build with makepkg directly?
Offline
└─> ls -l /usr/bin/as
-rwxr-xr-x 1 root root 267K Oct 6 23:11 /usr/bin/as
└─> file /usr/bin/as
/usr/bin/as: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
└─> md5sum /usr/bin/as
ea134978f642f8e1b5522da70ad05806 /usr/bin/as
From /etc/profile:
# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/lib/perl5/core_perl/bin"
export PATH
Nope, just tried build w/makepkg myself and can't, same error Yes this happened at some point recently, and I'm guessing it was when I enabled the multilib repo, but I disabled that and revert back to regular gcc, etc. and still the same thing.
Offline
checking you actual "echo $PATH" output would be the way to go but....
You enabled the [multilib] repo on an i686 system? That probably is the start of the issue... Make sure it is completely removed from your pacman.conf. Then run
rm gcc* binutils* glibc* /var/cache/pacman/pkg
pacman -Syu
pacman -S gcc-libc gcc binutils glibc
And hopefully that cleans up whatever you did...
Offline
You rock! That worked Thanks so much!!
Offline