Results 1 to 5 of 5
I've installed slackware64-current and try to install some slackbuilds. What I do is change i486 to x86_64. I'm trying to install libopenraw, but I've got the following error:
Code:
checking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-22-2009 #1Linux Newbie
- Join Date
- Feb 2009
- Posts
- 100
slackbuild error
I've installed slackware64-current and try to install some slackbuilds. What I do is change i486 to x86_64. I'm trying to install libopenraw, but I've got the following error:
config.log:Code:checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/tmp/SBo/libopenraw-0.0.7': configure: error: C compiler cannot create executables See `config.log' for more details.
thanks for any helpCode: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.63. Invocation command line was $ ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/libopenraw-0.0.7 --build=x86_64-slackware-linux ## --------- ## ## Platform. ## ## --------- ## hostname = slap64 uname -m = x86_64 uname -r = 2.6.29.2 uname -s = Linux uname -v = #2 SMP Tue Apr 28 16:28:09 CEST 2009 /usr/bin/uname -p = AMD Turion(tm) X2 Dual-Core Mobile RM-72 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2138: checking for a BSD-compatible install configure:2206: result: /bin/ginstall -c configure:2217: checking whether build environment is sane configure:2260: result: yes configure:2285: checking for a thread-safe mkdir -p configure:2324: result: /bin/mkdir -p configure:2337: checking for gawk configure:2353: found /bin/gawk configure:2364: result: gawk configure:2375: checking whether make sets $(MAKE) configure:2397: result: yes configure:2581: checking whether to enable maintainer-specific portions of Makefiles configure:2590: result: no configure:2674: checking for gcc configure:2701: result: gcc configure:2933: checking for C compiler version configure:2941: gcc --version >&5 gcc (GCC) 4.3.3 Copyright (C) 2008 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:2945: $? = 0 configure:2952: gcc -v >&5 Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/specs Target: x86_64-slackware-linux Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib64 --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux Thread model: posix gcc version 4.3.3 (GCC) configure:2956: $? = 0 configure:2963: gcc -V >&5 gcc: '-V' option must have argument configure:2967: $? = 1 configure:2990: checking for C compiler default output file name configure:3012: gcc -O2 -march=x86_64 -mtune=i686 conftest.c >&5 conftest.c:1: error: bad value (x86_64) for -march= switch configure:3016: $? = 1 configure:3054: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libopenraw" | #define VERSION "0.0.7" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3060: error: in `/tmp/SBo/libopenraw-0.0.7': configure:3063: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -march=x86_64 -mtune=i686' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CURL_CFLAGS_set= ac_cv_env_CURL_CFLAGS_value= ac_cv_env_CURL_LIBS_set= ac_cv_env_CURL_LIBS_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -march=x86_64 -mtune=i686' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBGDKPIXBUF_CFLAGS_set= ac_cv_env_LIBGDKPIXBUF_CFLAGS_value= ac_cv_env_LIBGDKPIXBUF_LIBS_set= ac_cv_env_LIBGDKPIXBUF_LIBS_value= ac_cv_env_LIBGLIB_CFLAGS_set= ac_cv_env_LIBGLIB_CFLAGS_value= ac_cv_env_LIBGLIB_LIBS_set= ac_cv_env_LIBGLIB_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LIBXML_CFLAGS_set= ac_cv_env_LIBXML_CFLAGS_value= ac_cv_env_LIBXML_LIBS_set= ac_cv_env_LIBXML_LIBS_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-slackware-linux 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='/bin/ginstall -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /tmp/SBo/libopenraw-0.0.7/missing --run aclocal-1.10' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /tmp/SBo/libopenraw-0.0.7/missing --run tar' AM_MAKEFLAGS='' AR='' AUTOCONF='${SHELL} /tmp/SBo/libopenraw-0.0.7/missing --run autoconf' AUTOHEADER='${SHELL} /tmp/SBo/libopenraw-0.0.7/missing --run autoheader' AUTOMAKE='${SHELL} /tmp/SBo/libopenraw-0.0.7/missing --run automake-1.10' AWK='gawk' BOOST_CPPFLAGS='' BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS='' BOOST_UNIT_TEST_FRAMEWORK_LIBS='' BUILD_GNOME_SUPPORT_FALSE='' BUILD_GNOME_SUPPORT_TRUE='' CC='gcc' CCDEPMODE='' CFLAGS='-O2 -march=x86_64 -mtune=i686' CPP='' CPPFLAGS='' CURL_CFLAGS='' CURL_LIBS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-O2 -march=x86_64 -mtune=i686' CYGPATH_W='echo' DEFS='' DEPDIR='' DISTCHECK_CONFIGURE_FLAGS='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GDK_PIXBUF_DIR='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='' LIBGDKPIXBUF_CFLAGS='' LIBGDKPIXBUF_LIBS='' LIBGDKPIXBUF_REQUIRED='' LIBGLIB_CFLAGS='' LIBGLIB_LIBS='' LIBGLIB_REQUIRED='' LIBOBJS='' LIBOPENRAW_AGE='5' LIBOPENRAW_CURRENT='6' LIBOPENRAW_CURRENT_MIN='1' LIBOPENRAW_INCLUDE_BASE='libopenraw-1.0' LIBOPENRAW_MAJOR_VERSION='1.0' LIBOPENRAW_REVISION='1' LIBOPENRAW_VERSION_INFO='6:1:5' LIBS='' LIBTOOL='' LIBXML_CFLAGS='' LIBXML_LIBS='' LIPO='' LN_S='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEFLAGS='' MAKEINFO='${SHELL} /tmp/SBo/libopenraw-0.0.7/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='libopenraw' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='' RANLIB='' SED='' SET_MAKE='' SHAVE_SAVED_CC='' SHAVE_SAVED_CXX='' SHAVE_SAVED_LIBTOOL='' SHELL='/bin/sh' STRIP='' VERSION='0.0.7' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_DUMPBIN='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-slackware-linux' build_alias='x86_64-slackware-linux' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='/usr/doc/libopenraw-0.0.7' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /tmp/SBo/libopenraw-0.0.7/install-sh' libdir='/usr/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' lt_ECHO='echo' mandir='/usr/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' pkgconfigdir='${libdir}/pkgconfig' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' shavedir='' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "libopenraw" #define VERSION "0.0.7" configure: exit 77
- 05-22-2009 #2Linux Newbie
- Join Date
- Feb 2009
- Posts
- 100
I successfully compiled it from source. Why is it that some slackbuilds install ok while with some other I get exactly the same error:
thanks.Code:checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU 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.
- 05-22-2009 #3Great GNU/Linux references and resources:
The Linux Documentation Project
Rute User's Tutorial and Exposition
GNU/Linux Man Pages
- 05-22-2009 #4Linux Newbie
- Join Date
- Feb 2009
- Posts
- 100
Actually, it turned out to be somthing else. Sometimes I used sed to replace i486 with x86_64 without analysing the file, which caused the problems.
- 05-22-2009 #5Great GNU/Linux references and resources:
The Linux Documentation Project
Rute User's Tutorial and Exposition
GNU/Linux Man Pages


Reply With Quote

