Trying to install ngSPICE, please help
First, I'll say that I'm very new to Linux. I am running Ubuntu 5.10. I'm trying to install ngSPICE for school. I already installed automake and autoconf successfully. The last requirement for ngSPICE is libtool. I downloaded libtool 1.5.22. when i try to configure by typing "./configure", i get the following error..
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
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.
Here is my 'config.log' file...
It was created by libtool configure 1.5.22, which was
generated by GNU Autoconf 2.59c. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = stephan
uname -m = i686
uname -r = 2.6.12-9-386
uname -s = Linux
uname -v = #1 Mon Oct 10 13:14:36 BST 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/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/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1961: checking for a BSD-compatible install
configure:2016: result: /usr/bin/install -c
configure:2027: checking whether build environment is sane
configure:2070: result: yes
configure:2139: checking for gawk
configure:2168: result: no
configure:2139: checking for mawk
configure:2155: found /usr/bin/mawk
configure:2165: result: mawk
configure:2176: checking whether make sets $(MAKE)
configure:2197: result: yes
configure:2468: checking for gcc
configure:2484: found /usr/bin/gcc
configure:2494: result: gcc
configure:2724: checking for C compiler version
configure:2726: gcc --version >&5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 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
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:2734: $? = 0
configure:2736: gcc -V >&5
gcc: '-V' option must have argument
configure:2739: $? = 1
configure:2762: checking for C compiler default output file name
configure:2784: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
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@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='/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. ##
## ----------------- ##
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} /home/stephan/Desktop/libtool-1.5.22/missing --run aclocal-1.9a'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/stephan/Desktop/libtool-1.5.22/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /home/stephan/Desktop/libtool-1.5.22/missing --run autoconf'
AUTOHEADER='${SHELL} /home/stephan/Desktop/libtool-1.5.22/missing --run autoheader'
AUTOMAKE='${SHELL} /home/stephan/Desktop/libtool-1.5.22/missing --run automake-1.9a'
AWK='mawk'
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} /home/stephan/Desktop/libtool-1.5.22/missing --run makeinfo'
NM=''
OBJDUMP=''
OBJEXT=''
PACKAGE='libtool'
PACKAGE_BUGREPORT='bug-libtool@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) /home/stephan/Desktop/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='NONE'
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@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
...I have all GNU C installations installed (gcc, gcc-4.0,gcc-4.0-base,libgcc1,cpp,etc).
If anyone could help me out I would really appreciate it
|