Saryth Posted May 27, 2008 Share Posted May 27, 2008 Ok, I had windows, it would not not boot up so i joined the wonderful world of ubuntu, It is day 2 of my exp. I download cabextract, do /.configure , and it says, C compiler can not create exes, this is the log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by cabextract configure 1.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = saryth-desktop uname -m = i686 uname -r = 2.6.24-16-generic uname -s = Linux uname -v = #1 SMP Thu Apr 10 13:23:42 UTC 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/X11R6/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1353: checking for a BSD-compatible install configure:1408: result: /usr/bin/install -c configure:1419: checking whether build environment is sane configure:1462: result: yes configure:1527: checking for gawk configure:1556: result: no configure:1527: checking for mawk configure:1543: found /usr/bin/mawk configure:1553: result: mawk configure:1563: checking whether make sets $(MAKE) configure:1583: result: yes configure:1802: checking for gcc configure:1818: found /usr/bin/gcc configure:1828: result: gcc configure:2072: checking for C compiler version configure:2075: gcc --version </dev/null >&5 gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) Copyright © 2007 Free Software Foundation, Inc. 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:2078: $? = 0 configure:2080: gcc -v </dev/null >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) configure:2083: $? = 0 configure:2085: gcc -V </dev/null >&5 gcc: '-V' option must have argument configure:2088: $? = 1 configure:2111: checking for C compiler default output file name configure:2114: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:2117: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "cabextract" | #define PACKAGE_TARNAME "cabextract" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "cabextract 1.2" | #define PACKAGE_BUGREPORT "kyzer@4u.net" | #define PACKAGE "cabextract" | #define VERSION "1.2" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2156: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=mawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/saryth/Desktop/cabextract-1.2/missing --run aclocal-1.9' ALLOCA='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /home/saryth/Desktop/cabextract-1.2/missing --run tar' AUTOCONF='${SHELL} /home/saryth/Desktop/cabextract-1.2/missing --run autoconf' AUTOHEADER='${SHELL} /home/saryth/Desktop/cabextract-1.2/missing --run autoheader' AUTOMAKE='${SHELL} /home/saryth/Desktop/cabextract-1.2/missing --run automake-1.9' AWK='mawk' CC='gcc' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/saryth/Desktop/cabextract-1.2/missing --run makeinfo' OBJEXT='' PACKAGE='cabextract' PACKAGE_BUGREPORT='kyzer@4u.net' PACKAGE_NAME='cabextract' PACKAGE_STRING='cabextract 1.2' PACKAGE_TARNAME='cabextract' PACKAGE_VERSION='1.2' PATH_SEPARATOR=':' RANLIB='' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION='1.2' ac_ct_CC='gcc' ac_ct_RANLIB='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build_alias='' datadir='${prefix}/share' exec_prefix='NONE' host_alias='' includedir='${prefix}/include' infodir='${prefix}/info' install_sh='/home/saryth/Desktop/cabextract-1.2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' prefix='NONE' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "cabextract" #define PACKAGE_BUGREPORT "kyzer@4u.net" #define PACKAGE_NAME "cabextract" #define PACKAGE_STRING "cabextract 1.2" #define PACKAGE_TARNAME "cabextract" #define PACKAGE_VERSION "1.2" #define VERSION "1.2" configure: exit 77 Thanks Link to comment Share on other sites More sharing options...
+Frank B. Subscriber² Posted May 27, 2008 Subscriber² Share Posted May 27, 2008 Why don't you install the binary package? user@host$ sudo apt-get install cabextract Much easier than compiling it from source, don't you think. Link to comment Share on other sites More sharing options...
sk3 Posted May 27, 2008 Share Posted May 27, 2008 You can always try to do sudo apt-get install cabextract from the console. if you're still having problems you might not have install the linux headers from your distro. I don't remember the correct command but you might want to try the one above. I ubuntu at work and at home just for "play" and i never found a need to compile any package, since ubuntu and it's repositories have lot's of stuff :) Also, you may want to try sudo aptitude search <package> before compiling something. Why don't you install the binary package? user@host$ sudo apt-get install cabextract Much easier than compiling it from source, don't you think. Haha you were faster than me :D Link to comment Share on other sites More sharing options...
Saryth Posted May 27, 2008 Author Share Posted May 27, 2008 wow, see, this is why i love neowin, everyones helpful, anyways, the binary files worked, thanks!!!! Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted May 27, 2008 Veteran Share Posted May 27, 2008 Using the package manager is the best solution. Installation is easy, and any fixes and updates are automatically pushed to you whenever you update your system. (Y) Link to comment Share on other sites More sharing options...
Recommended Posts