help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: pkg install problem


From: Søren Hauberg
Subject: Re: Re: Re: pkg install problem
Date: Sun, 16 Nov 2008 18:53:40 +0100

Have you installed the 'octave3.0-headers' package?

søn, 16 11 2008 kl. 12:18 -0500, skrev William Christopher Carleton:
> I used the Ubuntu package manager
> 
> C
> 
> -----Original Message-----
> From: Søren Hauberg <address@hidden>
> To: William Christopher Carleton <address@hidden>
> Date: Sun, 16 Nov 2008 17:46:40 +0100
> Subject: Re: Re: pkg install problem
> 
> s°n, 16 11 2008 kl. 10:47 -0500, skrev William Christopher Carleton:
> > Thanks for the reply. I've got the config.log file here and I couldn't 
> > figure out whether or not I have octave-headers (my searches are coming up 
> > nill but synaptic isn't suggesting any download options when I enter 
> > 'octave-headers' into the terminal). Anyhow, maybe the failure will make 
> > more sense to you;
> 
> Please keep the help list CC'ed since that'll allow other people to help
> as well.
> 
> How did you install octave? From source or through the Ubuntu package
> manager?
> 
> S°ren
> 
> > 
> > ./configure log......
> > 
> > /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: /usr/local/sbin
> > PATH: /usr/local/bin
> > PATH: /usr/sbin
> > PATH: /usr/bin
> > PATH: /sbin
> > PATH: /bin
> > PATH: /usr/games
> > 
> > 
> > ## ----------- ##
> > ## Core tests. ##
> > ## ----------- ##
> > 
> > configure:1733: checking for gcc
> > configure:1749: found /usr/bin/gcc
> > configure:1760: result: gcc
> > configure:1998: checking for C compiler version
> > configure:2005: gcc --version >&5
> > gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
> > Copyright (C) 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:2008: $? = 0
> > configure:2015: gcc -v >&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.4 (Ubuntu 4.2.4-1ubuntu3)
> > configure:2018: $? = 0
> > configure:2025: gcc -V >&5
> > gcc: '-V' option must have argument
> > configure:2028: $? = 1
> > configure:2051: checking for C compiler default output file name
> > configure:2078: gcc    conftest.c  >&5
> > /usr/bin/ld: crt1.o: No such file: No such file or directory
> > collect2: ld returned 1 exit status
> > configure:2081: $? = 1
> > configure:2119: result: 
> > 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:2126: 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_LDFLAGS_set=
> > ac_cv_env_LDFLAGS_value=
> > ac_cv_env_LIBS_set=
> > ac_cv_env_LIBS_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_prog_ac_ct_CC=gcc
> > 
> > ## ----------------- ##
> > ## Output variables. ##
> > ## ----------------- ##
> > 
> > CC='gcc'
> > CFLAGS=''
> > COPY_FLAGS=''
> > CPICFLAG=''
> > CPPFLAGS=''
> > CXX=''
> > CXXFLAGS=''
> > CXXPICFLAG=''
> > DEFS=''
> > ECHO_C=''
> > ECHO_N='-n'
> > ECHO_T=''
> > EXEEXT=''
> > F77=''
> > FFLAGS=''
> > FPICFLAG=''
> > LDFLAGS=''
> > LIBOBJS=''
> > LIBS=''
> > LN_S=''
> > LTLIBOBJS=''
> > MKOCTFILE=''
> > OBJEXT=''
> > OCTAVE=''
> > OCTAVE_VERSION=''
> > PACKAGE='octave-forge'
> > PACKAGE_BUGREPORT=''
> > PACKAGE_NAME=''
> > PACKAGE_STRING=''
> > PACKAGE_TARNAME=''
> > PACKAGE_VERSION=''
> > PATH_SEPARATOR=':'
> > RANLIB=''
> > SHELL='/bin/bash'
> > SHLEXT=''
> > STRIP=''
> > TOPDIR='/home/ccarleton/odepkg-0.6.4/src'
> > VERSION='0.1.0'
> > ac_ct_CC='gcc'
> > altmpath=''
> > altopath=''
> > altpath=''
> > bindir='${exec_prefix}/bin'
> > build_alias=''
> > canonical_host_type=''
> > datadir='${datarootdir}'
> > datarootdir='${prefix}/share'
> > docdir='${datarootdir}/doc/${PACKAGE}'
> > dvidir='${docdir}'
> > exec_prefix='NONE'
> > host_alias=''
> > htmldir='${docdir}'
> > includedir='${prefix}/include'
> > infodir='${datarootdir}/info'
> > libdir='${exec_prefix}/lib'
> > libexecdir='${exec_prefix}/libexec'
> > localedir='${datarootdir}/locale'
> > localstatedir='${prefix}/var'
> > mandir='${datarootdir}/man'
> > mpath=''
> > oldincludedir='/usr/include'
> > opath=''
> > pdfdir='${docdir}'
> > prefix='NONE'
> > program_transform_name='s,x,x,'
> > psdir='${docdir}'
> > sbindir='${exec_prefix}/sbin'
> > sharedstatedir='${prefix}/com'
> > subver=''
> > sysconfdir='${prefix}/etc'
> > target_alias=''
> > ver=''
> > xpath=''
> > 
> > ## ----------- ##
> > ## confdefs.h. ##
> > ## ----------- ##
> > 
> > #define PACKAGE_NAME ""
> > #define PACKAGE_TARNAME ""
> > #define PACKAGE_VERSION ""
> > #define PACKAGE_STRING ""
> > #define PACKAGE_BUGREPORT ""
> > 
> > configure: exit 77
> > 
> > 
> > Thanks ahead of time if you have time to look at this.
> > 
> > Chris
> > 
> > -----Original Message-----
> > From: S°ren Hauberg <address@hidden>
> > To: William Christopher Carleton <address@hidden>
> > Date: Sun, 16 Nov 2008 10:57:36 +0100
> > Subject: Re: pkg install problem
> > 
> > l�r, 15 11 2008 kl. 15:18 -0500, skrev William Christopher Carleton:
> > > I'm using Ubuntu 8.1 on a Dell XPS m1210 and having trouble with Octave 
> > > pkg install. I'm trying to install the odepkg and get the following error:
> > > 
> > > octave:1> install pkg odepkg-0.6.4.tar.gz 
> > > 
> > > configure: error: C compiler cannot create executables
> > > 
> > > See `config.log' for more details.
> > > 
> > > error: the configure script returned the following error: checking for 
> > > gcc... gcc
> > > 
> > > checking for C compiler default output file name... 
> > > 
> > > error: called from `pkg:configure_make' in file 
> > > /usr/share/octave/3.0.0/m/pkg/pkg.m near line 1045, column 2
> > > 
> > > octave:1> exit
> > > 
> > > Any suggestions? I've tried invoking octave with sudo and also using sudo 
> > > in front of pkg install, but neither has worked. 
> > 
> > I haven't seen that one before. Do you have 'octave-headers' (I believe
> > that's the name in Debian/Ubuntu) installed?
> > 
> > S�ren
> > 
> > 
> > 
> > 
> 
> 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]