Configure Error Cannot Run C Compiled Programs. Gentoo
Contents |
1 #1 2015-05-10 21:26:59 tsester Member From: Athens/ GR Registered: 2013-05-04 Posts: 12 [SOLVED] configure: error: cannot run C compiled programs I'm trying to build lib32-libxkbcommon 0.5.0-1 configure error cannot run c compiled programs mac from AUR with makepkg. I already tried installing pacman (setting the default cannot run c compiled programs brew makepkg.conf) and multilib-devel with no luck.makepkg messages:==> Making package: lib32-libxkbcommon 0.5.0-1 (Mon May 11 00:17:05 EEST 2015) if you meant to cross compile, use `--host'. ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found libxkbcommon-0.5.0.tar.xz ==> Validating source files with sha256sums... libxkbcommon-0.5.0.tar.xz ... Passed ==> Extracting sources... -> Extracting
Configure: Error: Cannot Run C Compiled Programs. Brew
libxkbcommon-0.5.0.tar.xz with bsdtar bsdtar: Failed to set default locale ==> Starting prepare()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... configure error cannot run c compiled programs ubuntu yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for gcc... gcc -m32 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details ==> ERROR: A failure occurred in build(). Aborting...makepkg.conf:# # /etc/makepkg.conf # ######################################################################### # SOURCE ACQUISITION ######################################################################### # #-- The download utilities that makepkg should use to acquire sources # Format: 'protocol::agent' DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o') # Other common tools: # /usr/bin/snarf # /usr/bin/lftpget -c # /usr/bin/wget #-- The package required by makepkg to download VCS sources # Format: 'protocol
Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie error: cannot run C compiled programs. User Name Remember Me? Password Linux checking whether we are cross compiling configure error - Newbie This Linux forum is for members that are new to Linux. Just
Configure Error Cannot Run C Compiled Programs Linux
starting out and have a question? If it is not in the man pages or the how-to's this is the place! Notices
Cannot Run C Compiled Programs Centos
Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, https://bbs.archlinux.org/viewtopic.php?id=197228 subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If http://www.linuxquestions.org/questions/linux-newbie-8/error-cannot-run-c-compiled-programs-214038/ you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-05-2004, 08:22 PM #1 terry.trent Member Registered: Oct 2003 Location: Virginia Distribution: SUSE, Feather, Red Hat 9 Posts: 53 Rep: error: cannot run C compiled programs. ok, i am a little new to troubleshooting linux, and i need a little help. i'm trying to install several different programs onto linux, but whenever i goto hit the ./configure file, i get the followi
cannot run C compiled programs.) gcc, gentoo, sandbox 0 1 hecking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking environment state... ok checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 checking whether the C compiler works... checking whether the C compiler works... yes http://www.linux.org.ru/forum/general/8078231 checking for C compiler default output file name... a.out checking for suffix of executables... yes checking for C compiler default output file name... a.out checking for suffix of executables... http://unixresources.net/linux/lf/48/archive/00/00/03/94/39403.html checking whether we are cross compiling... checking whether we are cross compiling... no checking for suffix of object files... configure: error: in `/var/tmp/portage/sys-apps/sandbox-2.5/work/build-x86': configure: error: cannot run C cannot run compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-apps/sandbox-2.5/work/build-x86/config.log * ERROR: sys-apps/sandbox-2.5 failed (compile phase): * econf failed * * Call stack: yes checking for cannot run c x86_64-pc-linux-gnu-gcc option to accept ISO C89... * ebuild.sh, line 85: Called src_compile * environment, line 2562: Called multijob_child_init 'sb_configure' * environment, line 2090: Called sb_configure * environment, line 2509: Called econf * phase-helpers.sh, line 467: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of `emerge --info '=sys-apps/sandbox-2.5'`, * the complete build log and the output of `emerge -pqv '=sys-apps/sandbox-2.5'`. * If configure failed with a 'cannot run C compiled programs' error, try this: none needed * FEATURES=-sandbox emerge sandbox checking for style of include used by make... /usr/lib64/portage/bin/isolated-functions.sh: line 214: wait: `econf failed': не идентификатор процесса или правильное имя задачи * The complete build log is located at '/var/tmp/portage/sys-apps/sandbox-2.5/temp/build.log'. GNU * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sandbox-2.5/temp/environment'. checking dependency style of x86_64-pc-linux-gnu-gcc... * Working directory: '/var/tmp/portage/sys-apps/sandbox-2.5/work/build-x86' * S: '/var/tmp/portage/sys-apps/sandbox-2.5/work/sandbox-2.5' gcc3 checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
- error: "configure: error: cannot run C compiled p The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles. Resources China Linux Forum(finished) Linux Forum(finished) FreeBSD China(finished) linuxforum.com LinuxForum General Chat Linux Advocacy LinuxForum Polls Introductions Linux Kernel Support Patch Management Development Release Linux Programming Linux Security Linux Software Linux Hardware Problems Linux Video Problems Linux Sound Problems Linux Networking Support Linux Printing Support Linux Human Interface Devices Support Linux Data Storage Support Linux Applications Support Linux Installation Support Linux Laptops Support Linux Motherboard, Chipsets, CPU, Memory Miscellaneous Debian Linux Support Ubuntu Linux Support LiveCD Discussions Gentoo Linux Support Mandrake Linux Support Redhat / Fedora Linux Support Slackware Linux Support SuSE Linux Support CentOS Linux Support Linux Web Servers Linux DNS Servers Linux Database Servers Linux Email Servers Linux FTP Servers Linux Squid Proxy Server Linux Samba Help Linux cPanel Help Linux Ensim Help Linux Plesk Help Linux Webmin / Usermin Help Qmail Toaster Help Linux Games Windows Game Emulation Linux Discussions General Linux Discussions Red Hat Linux Discussions More Red Hat Linux Discussions Mandrake Linux Discussions Slackware Linux Discussions SuSE Linux Discussions Debian Discussions Samba Help Linux Security Linux Networking Gentoo Help Operating System Rant Forum Hardware Rants Configure problems - error: "configure: error: cannot run C compiled p Subject: Configure problems - error: "configure: error: cannot run C compiled p Author: David Precious Posted: 2004-03-15 09:45:46 Length: 1,339 byte(s) [Original] [Print] [Top] Hi all,I've got a Slackware 9.0 box which is giving me errors when trying to buildanything from source - the ./configure script dies with the message:checking for gcc... gccchecking for C compiler default output... a.outchecking whether the C compiler works... configure: error: cannot run Ccompiled programs.If you meant to cross compile, use `--host'.config.log doesn't reveal much of interest. Its final line is "configure:exit 1". If anyone wants to see the whole thing I've put it at:http://www.preshweb.co.uk/config.logI'm thinking that either gcc, glibc or autoconf needsre-installing/upgrading? Just wondered if anyone has any suggestionsbefore I do this.I've had a good Google f