Home > C Compiler > C Compiler Cannot Create Executables On Solaris

C Compiler Cannot Create Executables On Solaris

Contents

It can only compiles 32bit apps. i386-pc-solaris2.10 checking host system type... Try this: sudo apt-get install clang share|improve this answer edited Feb 8 at 21:19 sam 4,30221122 answered Feb 8 at 20:49 LDViper 1 add a comment| Your Answer draft saved The answer can't be 'don't do that, use the binary'. weblink

configure:3311: $? = 0 configure:3300: gcc -v >&5 Using built-in specs. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. yes checking build system type... Unix & Linux Stack Exchange works best with JavaScript enabled Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle Blogs Recent Entries Best Entries Best Blogs Blog List

Configure Error C Compiler Cannot Create Executables Linux

Generally you will need root privilege with sudo only at the final step you install it in the system. ./configure make sudo make install According to config.log, you failed to build no checking for gcc... configure: error: C compiler cannot create executables See `config.log' for more details. Read developer's documents carefully here and there.

Reload to refresh your session. If you'd like to contribute content, let us know. Login to post comments Re: GCC roly.moroz | Tue, 2011-01-11 05:56 I think we have gcc, I just found it here... > 0 07:49:54 $ ls -lp /usr/local/lib/ total 17772 lrwxrwxrwx Checking For C Compiler Default Output File Name This site is not affiliated with Linus Torvalds or The Open Group in any way.

Following is the config.log generated: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. Configure: Error: C Compiler Cannot Create Executables Mac This is from the intput to configure here: --host=x86_32-unknown-linux-gnu host_alias=x86_32-unknown-linux-gnu CFLAGS=-m32 LDFLAGS=-m32 Also see the output lines confirming this: configure:3629: checking build system type configure:3643: result: x86_64-unknown-linux-gnu configure:3663: checking host system ok (TEA 3.9) configure: configuring expect 5.45 checking for Tcl configuration... i386-pc-solaris2.10 checking host system type...

Roly Login to post comments I believe that a gcc in andreas.kupries ActiveState Staff Wed, 2011-01-12 09:33 I believe that a gcc in /usr/local/lib should be found by configure on its Checking Whether The C Compiler Works... No Mac Sadly re-installation is not possible as this is a production database server on a very large website. i386-pc-solaris2.10 checking for a BSD-compatible install... /export/home/test/gcc-4.3.1-build/src/install-sh -c checking whether build environment is sane... Find More Posts by bluethundr Tags solaris 10 x86 Thread Tools Show Printable Version Email this Page Search this Thread Advanced Search Posting Rules You may not post new threads

Configure: Error: C Compiler Cannot Create Executables Mac

What is the total sum of the cardinalities of all subsets of a set? see this Comment 8 littlestar 2008-05-29 04:50:39 UTC Created attachment 15697 [details] config.log config.log Comment 9 littlestar 2008-05-29 04:51:16 UTC configure:2540: checking for C compiler default output file name configure:2543: /export/home/test/gcc-4.3.1-build/build/./gcc/xgcc -B/export/home/test/gcc-4.3.1-build/build/./gcc/ -B/opt/gcc-4.3.1/i386-pc-solaris2.10/bin/ Configure Error C Compiler Cannot Create Executables Linux It can compiles 32bit and 64bit apps. -------------------------------------------------------------- gcc 4.2.3 can build well on i386-pc-solaris2.10, sparc-sun-solaris2.10. Configure Error C Compiler Cannot Create Executables Ubuntu The config.log is attached (as config.txt).

Was there no tax before 1913 in the United States? have a peek at these guys How can I trust that this is google? Further down we see: ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-m32 This flag tells gcc to produce 32 bit objects. configure:2041: $? = 0 configure:2043: gcc -v &5 Reading specs from /usr/local/lib/gcc/i386-pc-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 configure:2046: $? = 0 configure:2048: gcc Configure: Error: C Compiler Cannot Create Executables Centos

I have gcc4 installed, in the $PATH, installed libgcc installed, but still getting this error. asked 2 years ago viewed 78144 times active 2 years ago Related 4error while compiling ffmpeg: gcc is unable to create an executable file3Linux cannot compile without GCC optimizations; implications?0C compiler All other marks are property of their respective owners. check over here Thanks for your input!

Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn linux and unix commands - unix shell scripting C Checking Whether The C Compiler Works... No Centos White ring of pus forming around branches iptables not dropping by IP and port? Try installing it (or reinstalling it if it is already installed — perhaps it is broken).

This is means that mingw build already broken, if root mingw directory differs from "mingw32" folder.

yes checking for a thread-safe mkdir -p... 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. Player claims their wizard character knows everything (from books). Configure: Exit 77 What is exactly meant by a "data set"?

Search this Thread 03-06-2012, 05:39 PM #1 bluethundr Member Registered: Jun 2003 Location: Summit, NJ Distribution: CentOS 5.4 Posts: 124 Rep: C compiler cannot create executables Solaris 10 Hello, Login to post comments I am wondering if it might andreas.kupries ActiveState Staff Fri, 2011-01-14 09:45 I am wondering if it might be easier (more convenient) for you to get an current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. this content I dont want to mess to much with this solaris system, so before i install those packages i thought ill send it to the mailing-list :) Regards /Crille _________________________________________________________________ Upptäck kärleken

RSS Feeds FAQs Forums Comments Komodo Resources Screencasts Extensions Recommended Komodo Extensions Remote Debugging Forums ActivePerl ActivePython ActiveTcl Komodo Perl Dev Kit Tcl Dev Kit Support Privacy Policy | Contact Us Have you tried to compile a minimal C program like "int main(void) { return 0; }"? sparc-sun-solaris2.10 > checking for a BSD-compatible install... no checking for mawk...

slater1 commented May 18, 2016 I was trying to build vim and came to this page on the search term "C compiler cannot create executables" The suggestion to use xcode-select was Could some one help me out EDIT: Config/log file contains this: This is free software; see the source for copying conditions. Do you have Sun's C compiler installed ? Sun's C compiler is not installed by default AFAIK, it has to be bought separately.

I was removed it and additionally add "/mingw" mount path and error disappeared. What error messages do you get? Remove advertisements Sponsored Links Doug_M View Public Profile Find all posts by Doug_M « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Subscribe to this Tank-Fighting Alien Are “Referendum” and “Plebiscite” the same in the meaning, or different in the meaning and nuance?

Description littlestar 2008-05-26 00:24:49 UTC i386-pc-solaris2.10 configure: error: C compiler cannot create executables. Removing that solved the problem. ---------- Post updated at 11:58 AM ---------- Previous update was at 11:57 AM ---------- solved it by removing apr which was previously installed with the packaged grantgeorge commented Aug 24, 2015 @yagudaev @hiteshsharma helped me, thanks ;) t0d0r commented Oct 27, 2015 Hi, I managed to compile ruby 1.8.7-p375 on El Capitan (10.11.1), here's how: brew install build-aux/install-sh -c -d checking for gawk...

Click Here to receive this Complete Guide absolutely free. configure: error: C compiler cannot create executables See `config.log' for more details. # Login to post comments Do you have GCC installed andreas.kupries ActiveState Staff Mon, 2011-01-10 15:48 Do you have share|improve this answer answered Jul 17 '15 at 23:42 Celada 20.9k13755 build-essential is the right way to go –abligh Jul 18 '15 at 8:16 3 @eyoung100 the question Advisor professor asks for my dissertation research source-code Looking for a nice example for normal subgroups Is adding the ‘tbl’ prefix to table names really a problem?

Invocation command line was $ ./configure --prefix=/opt/myapp/apache2.2 --with-mpm=worker --enable-static-support --enable-ssl=static --enable-modules=most --disable-authndbd --disable-authn-dbm --disable-dbd --enable-static-logresolve --enable-static-rotatelogs --enable-proxy=static --enable-proxyconnect=static --enable-proxy-ftp=static --enable-proxy-http=static --enable-rewrite=static --enable-so=static --with-ssl=/opt/myapp/apache2.2/openssl --host=x86_32-unknown-linux-gnu host_alias=x86_32-unknown-linux-gnu CFLAGS=-m32 LDFLAGS=-m32 --with-included-apr ## --------- ## What exactly are sleeping stalls versus waiting-rooms, for airport layovers?