ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附log文档)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lizzielee
帖子: 6
注册时间: 2014-06-04 16:29
系统: ubuntukylin14.04 X86

ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附log文档)

#1

帖子 lizzielee » 2014-06-04 16:39

算是第一次使用ubuntukylin系统,国外大牛发给了我一个计算程序,但是不会使用,运行./configure时提示以下错误,请各位多多指点。
将整个程序包也附上来,是linux系统中的压缩文件,解压就可以使用立。
mograso-1.0.2.tar.gz
(247.28 KiB) 已下载 50 次
请各位能帮忙。
非常感谢。

代码: 全选

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by MoGraSo configure 1.0.2, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = zhihong-UbuntuKylin
uname -m = i686
uname -r = 3.13.0-27-generic
uname -s = Linux
uname -v = #50-Ubuntu SMP Thu May 15 18:08:16 UTC 2014

/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
PATH: /usr/local/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2310: checking for a BSD-compatible install
configure:2378: result: /usr/bin/install -c
configure:2389: checking whether build environment is sane
configure:2439: result: yes
configure:2580: checking for a thread-safe mkdir -p
configure:2619: result: /bin/mkdir -p
configure:2632: checking for gawk
configure:2648: found /usr/bin/gawk
configure:2659: result: gawk
configure:2670: checking whether make sets $(MAKE)
configure:2692: result: yes
configure:2827: checking for gcc
configure:2843: found /usr/bin/gcc
configure:2854: result: gcc
configure:3083: checking for C compiler version
configure:3092: gcc --version >&5
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 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:3103: $? = 0
configure:3092: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
configure:3103: $? = 0
configure:3092: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3103: $? = 4
configure:3092: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3103: $? = 4
configure:3123: checking whether the C compiler works
configure:3145: gcc    conftest.c  >&5
configure:3149: $? = 0
configure:3198: result: yes
configure:3201: checking for C compiler default output file name
configure:3203: result: a.out
configure:3209: checking for suffix of executables
configure:3216: gcc -o conftest    conftest.c  >&5
configure:3220: $? = 0
configure:3242: result: 
configure:3264: checking whether we are cross compiling
configure:3272: gcc -o conftest    conftest.c  >&5
configure:3276: $? = 0
configure:3283: ./conftest
configure:3287: $? = 0
configure:3302: result: no
configure:3307: checking for suffix of object files
configure:3329: gcc -c   conftest.c >&5
configure:3333: $? = 0
configure:3354: result: o
configure:3358: checking whether we are using the GNU C compiler
configure:3377: gcc -c   conftest.c >&5
configure:3377: $? = 0
configure:3386: result: yes
configure:3395: checking whether gcc accepts -g
configure:3415: gcc -c -g  conftest.c >&5
configure:3415: $? = 0
configure:3456: result: yes
configure:3473: checking for gcc option to accept ISO C89
configure:3537: gcc  -c -g -O2  conftest.c >&5
configure:3537: $? = 0
configure:3550: result: none needed
configure:3581: checking for style of include used by make
configure:3609: result: GNU
configure:3634: checking dependency style of gcc
configure:3744: result: gcc3
configure:3817: checking for g++
configure:3833: found /usr/bin/g++
configure:3844: result: g++
configure:3871: checking for C++ compiler version
configure:3880: g++ --version >&5
g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 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:3891: $? = 0
configure:3880: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
configure:3891: $? = 0
configure:3880: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3891: $? = 4
configure:3880: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:3891: $? = 4
configure:3895: checking whether we are using the GNU C++ compiler
configure:3914: g++ -c   conftest.cpp >&5
configure:3914: $? = 0
configure:3923: result: yes
configure:3932: checking whether g++ accepts -g
configure:3952: g++ -c -g  conftest.cpp >&5
configure:3952: $? = 0
configure:3993: result: yes
configure:4018: checking dependency style of g++
configure:4128: result: gcc3
configure:4196: checking for g77
configure:4226: result: no
configure:4196: checking for xlf
configure:4226: result: no
configure:4196: checking for f77
configure:4226: result: no
configure:4196: checking for frt
configure:4226: result: no
configure:4196: checking for pgf77
configure:4226: result: no
configure:4196: checking for cf77
configure:4226: result: no
configure:4196: checking for fort77
configure:4226: result: no
configure:4196: checking for fl32
configure:4226: result: no
configure:4196: checking for af77
configure:4226: result: no
configure:4196: checking for xlf90
configure:4226: result: no
configure:4196: checking for f90
configure:4226: result: no
configure:4196: checking for pgf90
configure:4226: result: no
configure:4196: checking for pghpf
configure:4226: result: no
configure:4196: checking for epcf90
configure:4226: result: no
configure:4196: checking for gfortran
configure:4226: result: no
configure:4196: checking for g95
configure:4226: result: no
configure:4196: checking for xlf95
configure:4226: result: no
configure:4196: checking for f95
configure:4226: result: no
configure:4196: checking for fort
configure:4226: result: no
configure:4196: checking for ifort
configure:4226: result: no
configure:4196: checking for ifc
configure:4226: result: no
configure:4196: checking for efc
configure:4226: result: no
configure:4196: checking for pgf95
configure:4226: result: no
configure:4196: checking for lf95
configure:4226: result: no
configure:4196: checking for ftn
configure:4226: result: no
configure:4249: checking for Fortran 77 compiler version
configure:4258:  --version >&5
./configure: line 4260: --version: command not found
configure:4269: $? = 127
configure:4258:  -v >&5
./configure: line 4260: -v: command not found
configure:4269: $? = 127
configure:4258:  -V >&5
./configure: line 4260: -V: command not found
configure:4269: $? = 127
configure:4258:  -qversion >&5
./configure: line 4260: -qversion: command not found
configure:4269: $? = 127
configure:4278: checking whether we are using the GNU Fortran 77 compiler
configure:4291:  -c  conftest.F >&5
./configure: line 1527: -c: command not found
configure:4291: $? = 127
configure: failed program was:
|       program main
| #ifndef __GNUC__
|        choke me
| #endif
| 
|       end
configure:4300: result: no
configure:4306: checking whether  accepts -g
configure:4317:  -c -g conftest.f >&5
./configure: line 1527: -c: command not found
configure:4317: $? = 127
configure: failed program was:
|       program main
| 
|       end
configure:4325: result: no
configure:4397: checking for ranlib
configure:4413: found /usr/bin/ranlib
configure:4424: result: ranlib
configure:4478: checking for pthread_create in -lpthread
configure:4503: gcc -o conftest -g -O2 -O1  -O1  conftest.c -lpthread   >&5
configure:4503: $? = 0
configure:4512: result: yes
configure:4574: checking for xml2-config
configure:4605: result: no
configure:4614: checking for libxml - version >= 2.6.16
configure:4735: result: no
configure:4803: checking how to run the C preprocessor
configure:4834: gcc -E  -O1  conftest.c
configure:4834: $? = 0
configure:4848: gcc -E  -O1  conftest.c
conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4848: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MoGraSo"
| #define PACKAGE_TARNAME "mograso"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "MoGraSo 1.0.2"
| #define PACKAGE_BUGREPORT "hannes@hochreiner.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mograso"
| #define VERSION "1.0.2"
| #define HAVE_LIBPTHREAD 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4873: result: gcc -E
configure:4893: gcc -E  -O1  conftest.c
configure:4893: $? = 0
configure:4907: gcc -E  -O1  conftest.c
conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.
configure:4907: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MoGraSo"
| #define PACKAGE_TARNAME "mograso"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "MoGraSo 1.0.2"
| #define PACKAGE_BUGREPORT "hannes@hochreiner.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mograso"
| #define VERSION "1.0.2"
| #define HAVE_LIBPTHREAD 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4936: checking for grep that handles long lines and -e
configure:4994: result: /bin/grep
configure:4999: checking for egrep
configure:5061: result: /bin/grep -E
configure:5066: checking for ANSI C header files
configure:5086: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5086: $? = 0
configure:5159: gcc -o conftest -g -O2 -O1  -O1   conftest.c -lpthread   >&5
configure:5159: $? = 0
configure:5159: ./conftest
configure:5159: $? = 0
configure:5170: result: yes
configure:5183: checking for sys/types.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for sys/stat.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for stdlib.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for string.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for memory.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for strings.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for inttypes.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for stdint.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5183: checking for unistd.h
configure:5183: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5183: $? = 0
configure:5183: result: yes
configure:5199: checking float.h usability
configure:5199: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5199: $? = 0
configure:5199: result: yes
configure:5199: checking float.h presence
configure:5199: gcc -E  -O1  conftest.c
configure:5199: $? = 0
configure:5199: result: yes
configure:5199: checking for float.h
configure:5199: result: yes
configure:5199: checking limits.h usability
configure:5199: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5199: $? = 0
configure:5199: result: yes
configure:5199: checking limits.h presence
configure:5199: gcc -E  -O1  conftest.c
configure:5199: $? = 0
configure:5199: result: yes
configure:5199: checking for limits.h
configure:5199: result: yes
configure:5212: checking for stdbool.h that conforms to C99
configure:5297: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5297: $? = 0
configure:5304: result: yes
configure:5306: checking for _Bool
configure:5306: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5306: $? = 0
configure:5306: gcc -c -g -O2 -O1  -O1  conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:20: error: expected expression before ')' token
 if (sizeof ((_Bool)))
                    ^
configure:5306: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MoGraSo"
| #define PACKAGE_TARNAME "mograso"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "MoGraSo 1.0.2"
| #define PACKAGE_BUGREPORT "hannes@hochreiner.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mograso"
| #define VERSION "1.0.2"
| #define HAVE_LIBPTHREAD 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((_Bool)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:5306: result: yes
configure:5322: checking for an ANSI C-conforming const
configure:5387: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5387: $? = 0
configure:5394: result: yes
configure:5402: checking for inline
configure:5418: gcc -c -g -O2 -O1  -O1  conftest.c >&5
configure:5418: $? = 0
configure:5426: result: inline
configure:5446: checking for working strtod
configure:5487: gcc -o conftest -g -O2 -O1  -O1   conftest.c -lpthread   >&5
configure:5487: $? = 0
configure:5487: ./conftest
configure:5487: $? = 0
configure:5497: result: yes
configure:5562: checking for floor
configure:5562: gcc -o conftest -g -O2 -O1  -O1   conftest.c -lpthread   >&5
conftest.c:49:6: warning: conflicting types for built-in function 'floor' [enabled by default]
 char floor ();
      ^
/tmp/cc2IhVss.o: In function `main':
/home/zhihong/桌面/mograso-1.0.2/conftest.c:60: undefined reference to `floor'
collect2: error: ld returned 1 exit status
configure:5562: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MoGraSo"
| #define PACKAGE_TARNAME "mograso"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "MoGraSo 1.0.2"
| #define PACKAGE_BUGREPORT "hannes@hochreiner.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mograso"
| #define VERSION "1.0.2"
| #define HAVE_LIBPTHREAD 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h.  */
| /* Define floor to an innocuous variant, in case <limits.h> declares floor.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define floor innocuous_floor
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char floor (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef floor
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char floor ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_floor || defined __stub___floor
| choke me
| #endif
| 
| int
| main ()
| {
| return floor ();
|   ;
|   return 0;
| }
configure:5562: result: no
configure:5562: checking for sqrt
configure:5562: gcc -o conftest -g -O2 -O1  -O1   conftest.c -lpthread   >&5
conftest.c:49:6: warning: conflicting types for built-in function 'sqrt' [enabled by default]
 char sqrt ();
      ^
/tmp/ccHwmSCw.o: In function `main':
/home/zhihong/桌面/mograso-1.0.2/conftest.c:60: undefined reference to `sqrt'
collect2: error: ld returned 1 exit status
configure:5562: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MoGraSo"
| #define PACKAGE_TARNAME "mograso"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "MoGraSo 1.0.2"
| #define PACKAGE_BUGREPORT "hannes@hochreiner.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mograso"
| #define VERSION "1.0.2"
| #define HAVE_LIBPTHREAD 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE__BOOL 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h.  */
| /* Define sqrt to an innocuous variant, in case <limits.h> declares sqrt.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sqrt innocuous_sqrt
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sqrt (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sqrt
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sqrt ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sqrt || defined __stub___sqrt
| choke me
| #endif
| 
| int
| main ()
| {
| return sqrt ();
|   ;
|   return 0;
| }
configure:5562: result: no
configure:5694: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by MoGraSo config.status 1.0.2, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on zhihong-UbuntuKylin

config.status:875: creating Makefile
config.status:875: creating src/Makefile
config.status:875: creating src/besselAmosOctave/Makefile
config.status:875: creating src/common/Makefile
config.status:875: creating src/MoGraSoTK/Makefile
config.status:875: creating src/MoGraSoUITK/Makefile
config.status:875: creating src/MoGraSo/Makefile
config.status:875: creating config.h
config.status:1095: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
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_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_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_f77_compiler_gnu=no
ac_cv_func_floor=no
ac_cv_func_sqrt=no
ac_cv_func_strtod=yes
ac_cv_header_float_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_pthread_pthread_create=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_XML2_CONFIG=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_f77_g=no
ac_cv_prog_make_make_set=yes
ac_cv_type__Bool=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/zhihong/桌面/mograso-1.0.2/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/zhihong/桌面/mograso-1.0.2/missing --run tar'
AUTOCONF='${SHELL} /home/zhihong/桌面/mograso-1.0.2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/zhihong/桌面/mograso-1.0.2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/zhihong/桌面/mograso-1.0.2/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -O1'
CPP='gcc -E'
CPPFLAGS=' -O1 '
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2 -O1'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
F77=''
FFLAGS=' -O1'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lpthread  '
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/zhihong/桌面/mograso-1.0.2/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJEXT='o'
PACKAGE='mograso'
PACKAGE_BUGREPORT='hannes@hochreiner.net'
PACKAGE_NAME='MoGraSo'
PACKAGE_STRING='MoGraSo 1.0.2'
PACKAGE_TARNAME='mograso'
PACKAGE_URL=''
PACKAGE_VERSION='1.0.2'
PATH_SEPARATOR=':'
POW_LIB=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.0.2'
XML2_CONFIG='no'
XML_CPPFLAGS=''
XML_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/zhihong/桌面/mograso-1.0.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "MoGraSo"
#define PACKAGE_TARNAME "mograso"
#define PACKAGE_VERSION "1.0.2"
#define PACKAGE_STRING "MoGraSo 1.0.2"
#define PACKAGE_BUGREPORT "hannes@hochreiner.net"
#define PACKAGE_URL ""
#define PACKAGE "mograso"
#define VERSION "1.0.2"
#define HAVE_LIBPTHREAD 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_FLOAT_H 1
#define HAVE_LIMITS_H 1
#define HAVE__BOOL 1
#define HAVE_STDBOOL_H 1

configure: exit 0

lizzielee
帖子: 6
注册时间: 2014-06-04 16:29
系统: ubuntukylin14.04 X86

Re: ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附lo

#2

帖子 lizzielee » 2014-06-04 22:03

安装了一堆东西后,现在configure提示下面是no了,其他都通过
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
这些表示什么意思?是缺少什么吗
lizzielee
帖子: 6
注册时间: 2014-06-04 16:29
系统: ubuntukylin14.04 X86

Re: ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附lo

#4

帖子 lizzielee » 2014-06-05 10:15

按照你给的链接,还是没发现是什么问题,
其中提到了一点:“Another trick to use if you are compiling a package already in the repositories is to install the build dependencies of the package using the command below:

sudo apt-get build-dep <package>
This will ensure that you have all the dependencies of the package are installed, and hopefully the configure script will not complain about your system having old version of the dependencies installed, in which case you will have to compile the dependencies also. ”

但是不知道怎么使用这句命令。

网上搜索了一下,说是没有安装fortran编译器,可是我已经安装了intel的fortran编译器,./configure时还是提示出错。
lizzielee
帖子: 6
注册时间: 2014-06-04 16:29
系统: ubuntukylin14.04 X86

Re: ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附lo

#5

帖子 lizzielee » 2014-06-05 10:17

另外,软件是在LaunchPad上面下载的。https://launchpad.net/mograso
lizzielee
帖子: 6
注册时间: 2014-06-04 16:29
系统: ubuntukylin14.04 X86

Re: ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附lo

#6

帖子 lizzielee » 2014-06-09 10:43

安装了ifort编译器后,现在出现了下面的情况,实在查不到是什么原因了,请会的朋友帮忙

代码: 全选

zhihong@zhihong-UbuntuKylin:~/Desktop/mograso-1.0.2$ sudo ./configure
[sudo] password for zhihong: 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking for ranlib... ranlib
checking for pthread_create in -lpthread... yes
checking for xml2-config... no
checking for libxml - version >= 2.6.16... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working strtod... yes
checking for floor... no
checking for sqrt... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/besselAmosOctave/Makefile
config.status: creating src/common/Makefile
config.status: creating src/MoGraSoTK/Makefile
config.status: creating src/MoGraSoUITK/Makefile
config.status: creating src/MoGraSo/Makefile
config.status: creating config.h
config.status: executing depfiles commands
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附lo

#7

帖子 YeLee » 2014-06-09 11:12

现在直接make就可以了。 :em01
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
lizzielee
帖子: 6
注册时间: 2014-06-04 16:29
系统: ubuntukylin14.04 X86

Re: ubuntukylin14.04 X86版本 configure时提示错误,不能make install(附lo

#8

帖子 lizzielee » 2014-06-14 12:16

YeLee 写了:现在直接make就可以了。 :em01
还是不行的,make后还是会提示错误error 1 ,error 2 ,error 3
回复