help-octave
[Top][All Lists]
Advanced

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

Re: make returns error for leaving directory


From: ankit2313
Subject: Re: make returns error for leaving directory
Date: Wed, 29 May 2013 07:00:08 -0700 (PDT)

sorry marco I try reading it from next time and inquire you if facing a problem. Between I tried whlich gfortran which gave just no output then I tried sudo apt-get install gfortran and then tried which gfortran it returned exactly /usr/bin/fortran. I then tried configure again and found that it did recognize gfortran as the fortran compiler, but when I scanned through the configure log I found these lines that seem to be doing the problem:

configure:33371: checking for gfortran
configure:33387: found /usr/bin/gfortran
configure:33398: result: gfortran
configure:33424: checking for Fortran 77 compiler version
configure:33433: gfortran --version >&5
GNU Fortran (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

configure:33444: $? = 0
configure:33433: gfortran -v >&5
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) 
configure:33444: $? = 0
configure:33433: gfortran -V >&5
gfortran: error: unrecognized command line option '-V'
gfortran: fatal error: no input files
compilation terminated.
configure:33444: $? = 4
configure:33433: gfortran -qversion >&5
gfortran: error: unrecognized command line option '-qversion'
gfortran: fatal error: no input files
compilation terminated.
configure:33444: $? = 4

updated configure file:https://www.dropbox.com/s/jn6694tb8orfg13/config.log


On Wed, May 29, 2013 at 7:06 PM, marco atzeri-2 [via Octave] <[hidden email]> wrote:
Il 5/29/2013 3:13 PM, ankit2313 ha scritto:
> Yah I did run the configure again and the make process is currently
> running as it takes a long time to complete and show up the error. The
> new link for the configure.log is
> https://www.dropbox.com/s/jn6694tb8orfg13/config.log
> Also I checked for f2c and libf2c2-dev these packages are already
> installed and the latest version.
>
>


you should also read it, not only upload for us.

configure:33371: checking for gfortran
configure:33401: result: no
configure:33371: checking for xlf
configure:33401: result: no
configure:33371: checking for f77
configure:33387: found /usr/bin/f77
configure:33398: result: f77
configure:33424: checking for Fortran 77 compiler version
configure:33433: f77 --version >&5
/usr/bin/f77: Illegal option: --version
configure:33444: $? = 255
configure:33433: f77 -v >&5
/usr/bin/f77: fort77 Version 1.15


Please check, why the gfortran is not found ?
What is the output of "which gfortran" ?

It should be "/usr/bin/gfortran"

Moreover f2c is likely non compatible with gcc-4.7, IMHO.

Regards
Marco



_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



If you reply to this email, your message will be added to the discussion below:
http://octave.1599824.n4.nabble.com/make-returns-error-for-leaving-directory-tp4653387p4653403.html
To unsubscribe from make returns error for leaving directory, click here.
NAML



--
Ankit Shah


View this message in context: Re: make returns error for leaving directory
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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