Error Installing GNUCash Build Enviroment Under Vista

Nathan Buchanan nbinont at gmail.com
Mon Sep 10 20:03:25 EDT 2007


Sounds like gcc wasn't installed properly (or you are running into
permission problems/different path problems). gcc is trying to execute
cc1.exe but can't find it in your path. For me, it is in
C:\MinGW\libexec\gcc\mingw32\3.4.2 ..try finding it and adding it to your
path.

Nathan

On 9/10/07, Stephen Grant Brown <s_g_brown at bemail.com.au> wrote:
>
> Hi All,
>
> I am beginning to wonder if thsi is beyond me.
>
> Here is the output of install.sh
>
> ...
> ############################################################
> ###  Autotools
> ############################################################
> autoconf/automake already installed.  skipping.
> Extracting libtool-1.5.22.tar.gz ... done
> building libtool...
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> 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.
>
> CGC at SHAMMAH ~/Packaging
> $
>
> Please find inserted a copy of the log file.
>
>
> -----------------------------------------------------------------------------------------------------
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by libtool configure 1.5.22, which was
> generated by GNU Autoconf 2.59c.  Invocation command line was
>
>   $ ./configure --prefix=/C/CGC/autotools --disable-static
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = Shammah
> uname -m = i686
> uname -r = 1.0.10(0.46/3/2)
> uname -s = MINGW32_NT-6.0
> uname -v = 2004-03-15 07:17
>
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /C/CGC/autotools/bin
> PATH: /C/CGC/readline/bin
> PATH: /C/CGC/regex/bin
> PATH: /C/CGC/tools/bin
> PATH: .
> PATH: /usr/local/bin
> PATH: /mingw/bin
> PATH: /bin
> PATH: /c/Windows/system32
> PATH: /c/Windows
> PATH: /c/Windows/System32/Wbem
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1961: checking for a BSD-compatible install
> configure:2016: result: /bin/install -c
> configure:2027: checking whether build environment is sane
> configure:2070: result: yes
> configure:2139: checking for gawk
> configure:2155: found /bin/gawk
> configure:2165: result: gawk
> configure:2176: checking whether make sets $(MAKE)
> configure:2197: result: yes
> configure:2468: checking for gcc
> configure:2484: found /mingw/bin/gcc
> configure:2494: result: gcc
> configure:2724: checking for C compiler version
> configure:2726: gcc --version >&5
> gcc.exe (GCC) 3.4.2 (mingw-special)
> Copyright (C) 2004 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:2729: $? = 0
> configure:2731: gcc -v >&5
> Reading specs from C:/CGC/mingw/lib/gcc/mingw32/3.4.2/specs
> Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
> --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads
> --disable-nls --enable-languages=c,c++,f77,ada,objc,java
> --disable-win32-registry --disable-shared --enable-sjlj-exceptions
> --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm
> --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization
> --enable-libstdcxx-debug
> Thread model: win32
> gcc version 3.4.2 (mingw-special)
> configure:2734: $? = 0
> configure:2736: gcc -V >&5
> gcc.exe: `-V' option must have argument
> configure:2739: $? = 1
> configure:2762: checking for C compiler default output file name
> configure:2784: gcc    conftest.c  >&5
> gcc.exe: installation problem, cannot exec `cc1': No such file or
> directory
> configure:2787: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "libtool"
> | #define PACKAGE_TARNAME "libtool"
> | #define PACKAGE_VERSION "1.5.22"
> | #define PACKAGE_STRING "libtool 1.5.22"
> | #define PACKAGE_BUGREPORT "bug-libtool at gnu.org"
> | #define PACKAGE "libtool"
> | #define VERSION "1.5.22"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2818: 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=
> 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_CXXCPP_set=
> ac_cv_env_CXXCPP_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_F77_set=
> ac_cv_env_F77_value=
> ac_cv_env_FFLAGS_set=
> ac_cv_env_FFLAGS_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='/bin/install -c'
> ac_cv_prog_AWK=gawk
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_make_make_set=yes
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACINCLUDE_M4_LIST='./acinclude.m4 ./cdemo/acinclude.m4
> ./pdemo/acinclude.m4 ./demo/acinclude.m4 ./depdemo/acinclude.m4
> ./mdemo/acinclude.m4 ./mdemo2/acinclude.m4 ./tagdemo/acinclude.m4
> ./f77demo/acinclude.m4'
> ACLOCAL='${SHELL} /C/CGC/tmp/libtool-1.5.22/missing --run aclocal-1.9a'
> AMDEPBACKSLASH=''
> AMDEP_FALSE=''
> AMDEP_TRUE=''
> AMTAR='${SHELL} /C/CGC/tmp/libtool-1.5.22/missing --run tar'
> AR=''
> AS=''
> AUTOCONF='${SHELL} /C/CGC/tmp/libtool-1.5.22/missing --run autoconf'
> AUTOHEADER='${SHELL} /C/CGC/tmp/libtool-1.5.22/missing --run autoheader'
> AUTOMAKE='${SHELL} /C/CGC/tmp/libtool-1.5.22/missing --run automake-1.9a'
> AWK='gawk'
> CC='gcc'
> CCDEPMODE=''
> CFLAGS=''
> CONF_SUBDIRS='cdemo pdemo demo depdemo mdemo mdemo2 tagdemo f77demo'
> CPP=''
> CPPFLAGS=''
> CXX=''
> CXXCPP=''
> CXXDEPMODE=''
> CXXFLAGS=''
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR=''
> DIST_MAKEFILE_LIST='cdemo/Makefile pdemo/Makefile demo/Makefile
> depdemo/Makefile mdemo/Makefile mdemo2/Makefile tagdemo/Makefile
> f77demo/Makefile '
> DLLTOOL=''
> ECHO='echo'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> F77=''
> FFLAGS=''
> GCJ=''
> GCJFLAGS=''
> GREP=''
> HAVE_CXX_FALSE=''
> HAVE_CXX_TRUE=''
> HAVE_F77_FALSE=''
> HAVE_F77_TRUE=''
> HAVE_GCJ_FALSE=''
> HAVE_GCJ_TRUE=''
> HAVE_RC_FALSE=''
> HAVE_RC_TRUE=''
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
> LD=''
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LIBTOOL=''
> LN_S=''
> LTLIBOBJS=''
> MAKEINFO='${SHELL} /C/CGC/tmp/libtool-1.5.22/missing --run makeinfo'
> NM=''
> OBJDUMP=''
> OBJEXT=''
> PACKAGE='libtool'
> PACKAGE_BUGREPORT='bug-libtool at gnu.org'
> PACKAGE_NAME='libtool'
> PACKAGE_STRING='libtool 1.5.22'
> PACKAGE_TARNAME='libtool'
> PACKAGE_VERSION='1.5.22'
> PATH_SEPARATOR=':'
> RANLIB=''
> RC=''
> SET_MAKE=''
> SHELL='/bin/sh'
> STRIP=''
> TIMESTAMP=''
> VERSION='1.5.22'
> ac_ct_CC='gcc'
> ac_ct_CXX=''
> ac_ct_F77=''
> aclocaldir='${datadir}/aclocal'
> am__fastdepCC_FALSE=''
> am__fastdepCC_TRUE=''
> am__fastdepCXX_FALSE=''
> am__fastdepCXX_TRUE=''
> am__include=''
> am__leading_dot='.'
> am__quote=''
> am__tar='${AMTAR} chof - "$$tardir"'
> am__untar='${AMTAR} xf -'
> bindir='${exec_prefix}/bin'
> build=''
> build_alias=''
> build_cpu=''
> build_os=''
> build_vendor=''
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> 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) /C/CGC/tmp/libtool-1.5.22/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> mkdir_p='mkdir -p --'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> pkgdatadir='${datadir}/libtool'
> prefix='/C/CGC/autotools'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> subdirs=' libltdl'
> sysconfdir='${prefix}/etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE "libtool"
> #define PACKAGE_BUGREPORT "bug-libtool at gnu.org"
> #define PACKAGE_NAME "libtool"
> #define PACKAGE_STRING "libtool 1.5.22"
> #define PACKAGE_TARNAME "libtool"
> #define PACKAGE_VERSION "1.5.22"
> #define VERSION "1.5.22"
>
> configure: exit 77
>
>
> ---------------------------------------------------------------------------------------------------------
>
> Has anybody any suggestions as what I can do now?
>
> Yours Sincerely Stephen Grant Brown
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
>
>


-- 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Got Mole problems? Call Avogadro at 6.02 x 10^23.


More information about the gnucash-devel mailing list