Configure Error C Compiler Cannot Create Executables Solaris 10
Contents |
here for a quick overview of the site Help Center Detailed answers configure error c compiler cannot create executables ubuntu to any questions you might have Meta Discuss the workings and configure error c compiler cannot create executables gentoo policies of this site About Us Learn more about Stack Overflow the company Business Learn
Configure Error C Compiler Cannot Create Executables Macports
more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is
Configure Error C Compiler Cannot Create Executables See Config.log' For More Details
a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top configure: error: C compiler cannot create configure error c compiler cannot create executables python executables up vote 16 down vote favorite 1 I am trying to upgrade apache 2.2.15 to 2.2.27. While running config.nice taken from apache2.2.15/build I am getting following error: checking whether the C compiler works... no configure: error: in `/home/vkuser/httpd-2.2.27/srclib/apr': configure: error: C compiler cannot create executables I have tried to search online but no luck. I have also tested out c compiler by running a small test.c script and it runs fine. There were few solution given online like installing 'kernel-devel' package but it did not resolve issue. How can I get this to work? 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. It was created by configure, which was generated by GNU Autoconf 2.67. 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=x8
Community ForumsKomodo ExtensionsFAQRecent Activity Subscribe to the RSS feed Home » Forums » ActiveTcl »
Configure Error C Compiler Cannot Create Executables Mac
ActiveTcl discussion configure: error: C compiler cannot create executables Posted by configure error c compiler cannot create executables cross compile roly.moroz on 2011-01-10 11:43 Forums: ActiveTcl discussion|OS: Solaris I am installing expect on Solaris (as root) configure error c compiler cannot create executables apache and received the error... # ./configure --with-tclconfig=/usr/sfw/lib/ --with-tkconfig=/usr/sfw/lib/ checking for correct TEA configuration... ok (TEA 3.9) configure: configuring expect 5.45 checking for Tcl configuration... found /usr/sfw/lib/tclConfig.sh checking for http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables existence of /usr/sfw/lib/tclConfig.sh... loading configure: --prefix defaulting to TCL_PREFIX /usr/sfw configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/sfw checking for gcc... no checking for cc... cc checking for C compiler default output file name... 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 https://community.activestate.com/forum/configure-error-c-compiler-cannot-create-executables Staff Mon, 2011-01-10 15:48 Do you have GCC installed ? Do you have Sun's C compiler installed ? Sun's C compiler is not installed by default AFAIK, it has to be bought separately. 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 1 root other 15 Mar 28 2007 libg2c.so -> libg2c.so.0.0.0* lrwxrwxrwx 1 root other 15 Mar 28 2007 libg2c.so.0 -> libg2c.so.0.0.0* -rwxr-xr-x 1 root bin 550996 Oct 9 2006 libg2c.so.0.0.0 lrwxrwxrwx 1 root other 13 Mar 28 2007 libgcc_s.so -> libgcc_s.so.1 -rw-r--r-- 1 root bin 171544 Oct 9 2006 libgcc_s.so.1 -rw-r--r-- 1 root bin 222184 Dec 16 2006 libpcap.a I have tcl installed in /usr/sfw/lib/, do I need to create a logical link for gcc there? > 0 07:53:51 $ ls -lp /usr/sfw/lib/ drwxrwxr-x 6 10001 10000 1536 Jan 10 13:10 expect5.45/ -rw-r--r-- 1 root other 2498560 Jan 7 09:47 e
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business http://stackoverflow.com/questions/6889024/c-compiler-cannot-create-executables-opensolaris-erlang-otp-configure-error Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up C Compiler cannot create executables, OpenSolaris Erlang/OTP ./configure error up vote 2 down vote favorite 1 was running the ./configure script for OTP14B03 configure error on OpenSolaris and got the following output Ignoring the --cache-file argument since it can cause the system to be erroneously configured Disabling caching checking build system type... i386-pc-solaris2.11 checking host system type... i386-pc-solaris2.11 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. I have gcc4 installed, in the $PATH, installed libgcc installed, but still getting this error. searching the web configure error c got me to try adding /usr/ccs/bin in order to locate the ld.so file (probably got to do with C++ Compiler or linker). Could some one help me out EDIT: Config/log file contains this: This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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 -V &5 gcc: `-V' option must have argument configure:2051: $? = 1 configure:2074: checking for C compiler default output file name configure:2077: gcc conftest.c >&5 ld: fatal: file values-Xa.o: open failed: No such file or directory ld: fatal: file processing errors. No output written to a.out collect2: ld returned 1 exit status configure:2080: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2118: error: C compiler cannot create executables See `config.log' for more details. c++ c gcc erlang solaris share|improve this question edited Jul 31 '11 at 11:17 asked