Home > C Compiler > C Compiler Cannot Create Executables Mavericks

C Compiler Cannot Create Executables Mavericks

Contents

Let's go! You should look at the config.log output since it'll print the exact command and what failed. If that is the case this would be "tools unique to the programming profession" or what ever it is that the FAQ says. –dmckee Apr 28 '12 at 1:23 3 Stop. his comment is here

It's usually in /usr/bin. After accepting the EULA, rebuild the port again. It's easy to install. So far everything checks out.

Configure: Error: C Compiler Cannot Create Executables Linux

gcc checking for C compiler default output file name... Hot Network Questions Prepared for Yet Another Simple Rebus? share|improve this answer edited Nov 13 '15 at 12:57 answered Oct 23 '15 at 8:19 Florin Odagiu 767 add a comment| up vote 0 down vote In my case, I tried configure: checking for APR...

You should then be good too go! no configure: error: in `/Users/arungupta/workspaces/httpd-2.4.10': configure: error: C compiler cannot create executables See `config.log' for more details 12345678910111213141516171819202122232425262728 httpd-2.4.10> ./configure --prefix=/usr/local/apache2checking for chosen layout... You need to download the latest and great xcode, go into the xcode prefs and install the command line tools (I believe it's under General). Configure: Error: C Compiler Cannot Create Executables Centos I have also run it and accepted terms and conditions.

gcc checking whether the C compiler works... Now the memcached installation script can find the compiler version and continue on its way. Rather than reinstall Xcode, I noticed there were two relevant lines in my config.log: configure:5130: checking for C compiler version configure:5139: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc --version >&5 That path did not exist for me. https://github.com/rbenv/rbenv/issues/440 awk checking whether make sets $(MAKE)...

Reva says: October 19, 2014 at 2:17 am These are іn fact great ideas in regarding blogging. Install A 32 Bit Compiler Toolchain I really don't know where your problem is. falseconfigure: error: pcre-config for libpcre not found. remote: Counting objects: 3, done.

Mac Configure: Error: C Compiler Cannot Create Executables

From that point I just followed the agreement process from gcc -v, after I agreed it works fine for me. https://trac.macports.org/ticket/41217 Proudly powered by WordPress Configure: Error: C Compiler Cannot Create Executables Linux share|improve this answer edited Jul 25 at 1:26 answered Jul 29 '12 at 20:03 stereoscott 9,34042130 4 This worked for me, thanks! Checking Whether The C Compiler Works... No Mac i686-apple-darwin13.0.0 checking target system type...

x86_64-apple-darwin13.3.0 checking host system type... this content Already have an account? current community blog chat Super User Meta Super User your communities Sign up or log in to customize your list. i686-apple-darwin13.0.0 checking whether the C compiler works... Configure Error C Compiler Cannot Create Executables Ubuntu

i686-apple-darwin13.0.0 checking target system type... none needed checking for pcre-config... Installed rubygems-1.6.2 to /Users/takc923/.rbenv/versions/1.8.7-p370 ``` できた。 めっちゃ時間かかった(´・ω・`) この記事は以下の記事からリンクされていますMac(Mavericks)にgnu-prologをインストールするからリンク3年弱前まっさらな OS X Mavericks に rbenv で ruby を入れて、bundler を実行するまでからリンク2年以上前Mac OS X El CapitanにrbenvでRuby 1.8.7をインストールするからリンク9ヶ月前 編集リクエストを送る投稿者に記事をより良くするための提案ができます 💪ツイートPR 社内メールでの情報共有をなくそう - Qiita:TeamComments Loading...あなたもコメントしてみませんか :)ユーザー登録(無料)すでにアカウントを持っている方はログインツイートtakc9232098Contribution人気の投稿 sedのお勉強 zshでよく使うキーバインドまとめ http://cmptp.com/c-compiler/c-compiler-cannot-create-executables-on-mac.html APXS spits it out, but it has the wrong path so that's why you keep getting errors. –Adrian Rodriguez Nov 28 '12 at 0:10 1 This helped, but the final

Try: export CC=clang share|improve this answer answered Nov 23 '15 at 21:30 bbaassssiiee 1584 add a comment| up vote 0 down vote In general, having Xcode installed isn't enough to get Checking For C Compiler Default Output File Name share|improve this answer answered May 7 '14 at 3:35 Benjamin Connelly 5114 add a comment| up vote 1 down vote i'd suggest using homebrew (http://brew.sh/) to install wget: brew install wget In my .bash_profile file I had: export ARM_ARCH="arm64” export CFLAGS="-arch ${ARM_ARCH}" As you can observe --- export ARM_ARCH="arm64” --- the last quote sign is not the same with the first quote

yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking build system type...

With some ports and some versions of Xcode (e.g. configure: error: in `/tmp/libevent-1.4.12-stable': configure: error: C compiler cannot create executables See `config.log' for more details. gcc checking whether the C compiler works... See `config.log' For More Details brew tap homebrew/versionsしてからbrew install gcc47しないといけないらしい。言われたとおりにやってみる $ brew tap homebrew/versions Cloning into '/usr/local/Library/Taps/homebrew-versions'...

Were the Smurfs the first to smurf their smurfs? Stop. ※ version変わったらいけんじゃね?とか試行錯誤してたのでp374からp370になってる もうちょっと調べるとgccを$CC環境変数で指定しないといけないらしいので、さっきインストールしたgccを指定して再挑戦 $ CC=/usr/local/Cellar/gcc47/4.7.3/bin/gcc-4.7 rbenv install 1.8.7-p370 Downloading ruby-1.8.7-p370.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/98b00bbd1cdde3116155edb6e555b781 Installing ruby-1.8.7-p370... Does The Amazing Lightspeed Horse work, RAW? check over here What should I do when the boss "pulls rank" to get their problems solved over our customers' problems?

Installed ruby-1.8.7-p370 to /Users/takc923/.rbenv/versions/1.8.7-p370 Downloading rubygems-1.6.2.tar.gz... -> http://dqw8nmjcqpjn7.cloudfront.net/0c95a9869914ba1a45bf71d3b8048420 Installing rubygems-1.6.2... asked 2 years ago viewed 5676 times active 2 years ago Visit Chat Linked 106 configure: error: C compiler cannot create executables Related 106configure: error: C compiler cannot create executables20Can't phpize gcc is reporting its version as 4.0.1. i686-apple-darwin13.0.0 checking target system type...

yessetting CC to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc"setting CPP to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc -E"setting CFLAGS to " "setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK"setting LDFLAGS to " "configure: configure: Configuring Apache Portable Runtime Utility library...configure: checking for APR-util... Singular cohomology and birational equivalence How to deal with a coworker that writes software to give him job security instead of solving problems? Join them; it only takes a minute: Sign up configure: error: C compiler cannot create executables up vote 106 down vote favorite 23 I've checked a number of similar questions on Browse other questions tagged macos xcode open-source gcc or ask your own question.

I'm trying to install wget on Mavericks as shown here. yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking build system type... Apple Footer This site contains user submitted content, comments and opinions and is for informational purposes only. remote: Total 1581 (delta 0), reused 2 (delta 0) Receiving objects: 100% (1581/1581), 515.07 KiB | 310.00 KiB/s, done.

i686-apple-darwin13.0.0 checking host system type... How incredibly insulting. build-aux/install-sh -c -d checking for gawk... share|improve this answer answered Apr 27 '12 at 21:59 Ken Thomases 50.9k44877 3 Thanks so much!

x86_64-apple-darwin13.3.0 checking host system type... Can I switch from past tense to present tense in an epilogue? i686-apple-darwin13.0.0 checking whether the C compiler works... It shouldn't be necessary for building Ruby 2.0, but just checking the state of your system.

checking whether we are cross compiling... share|improve this answer answered Sep 27 '14 at 17:29 C-Rock 1 add a comment| up vote 0 down vote Make sure there are no spaces in your Xcode application name (can yeschecking whether /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc accepts -g... x86_64-apple-darwin13.3.0 checking target system type...