radar_bear 2014-10-12 04:01 采纳率: 0%
浏览 1797

在Xcode环境下无法配置gnu gsl库

在自动配置的时候遇到错误
有没有大神能告诉我如何自动配置或者手动配置的参数呢?
下面是config.log

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

It was created by gsl configure 1.9, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = admindeMac-Pro.local
uname -m = x86_64
uname -r = 13.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = Mach kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 142 tasks, 528 threads, 8 processors
Load average: 1.33, Mach factor: 6.66
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin

-----------

Core tests.

-----------

configure:1521: checking for a BSD-compatible install
configure:1576: result: /usr/bin/install -c
configure:1587: checking whether build environment is sane
configure:1630: result: yes
configure:1695: checking for gawk
configure:1724: result: no
configure:1695: checking for mawk
configure:1724: result: no
configure:1695: checking for nawk
configure:1724: result: no
configure:1695: checking for awk
configure:1711: found /usr/bin/awk
configure:1721: result: awk
configure:1731: checking whether make sets $(MAKE)
configure:1751: result: yes
configure:1921: checking whether to enable maintainer-specific portions of Makefiles
configure:1930: result: no
configure:1968: checking whether make sets $(MAKE)
configure:1988: result: yes
configure:2004: checking build system type
configure:2022: result: i386-apple-darwin13.0.0
configure:2030: checking host system type
configure:2044: result: i386-apple-darwin13.0.0
configure:2105: checking for gcc
configure:2121: found /usr/bin/gcc
configure:2131: result: gcc
configure:2375: checking for C compiler version
configure:2378: gcc --version &5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
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:2381: $? = 0
configure:2383: gcc -v &5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:2386: $? = 0
configure:2388: gcc -V &5
llvm-gcc-4.2: argument to -V' is missing
configure:2391: $? = 1
configure:2414: checking for C compiler default output file name
configure:2417: gcc conftest.c >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
configure:2420: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gsl"
| #define PACKAGE_TARNAME "gsl"
| #define PACKAGE_VERSION "1.9"
| #define PACKAGE_STRING "gsl 1.9"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gsl"
| #define VERSION "1.9"
| #define RELEASED 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2459: error: C compiler cannot create executables
See
config.log' for more details.

----------------

Cache variables.

----------------

ac_cv_build=i386-apple-darwin13.0.0
ac_cv_build_alias=i386-apple-darwin13.0.0
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_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_host=i386-apple-darwin13.0.0
ac_cv_host_alias=i386-apple-darwin13.0.0
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

-----------------

Output variables.

-----------------

ACLOCAL='${SHELL} /Users/admin/Downloads/gsl-1.9/missing --run aclocal-1.9'
AMTAR='${SHELL} /Users/admin/Downloads/gsl-1.9/missing --run tar'
AR=''
AUTOCONF='${SHELL} /Users/admin/Downloads/gsl-1.9/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/admin/Downloads/gsl-1.9/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/admin/Downloads/gsl-1.9/missing --run automake-1.9'
AWK='awk'
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
ECHO='/bin/echo'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
GSL_CFLAGS=''
GSL_LIBS=''
GSL_LT_CBLAS_VERSION='0:0:0'
GSL_LT_VERSION='10:0:10'
HAVE_AIX_IEEE_INTERFACE=''
HAVE_DARWIN86_IEEE_INTERFACE=''
HAVE_DARWIN_IEEE_INTERFACE=''
HAVE_EXTENDED_PRECISION_REGISTERS=''
HAVE_FREEBSD_IEEE_INTERFACE=''
HAVE_GNUM68K_IEEE_INTERFACE=''
HAVE_GNUPPC_IEEE_INTERFACE=''
HAVE_GNUSPARC_IEEE_INTERFACE=''
HAVE_GNUX86_IEEE_INTERFACE=''
HAVE_HPUX11_IEEE_INTERFACE=''
HAVE_HPUX_IEEE_INTERFACE=''
HAVE_IEEE_COMPARISONS=''
HAVE_IEEE_DENORMALS=''
HAVE_INLINE=''
HAVE_IRIX_IEEE_INTERFACE=''
HAVE_NETBSD_IEEE_INTERFACE=''
HAVE_OPENBSD_IEEE_INTERFACE=''
HAVE_OS2EMX_IEEE_INTERFACE=''
HAVE_PRINTF_LONGDOUBLE=''
HAVE_SOLARIS_IEEE_INTERFACE=''
HAVE_SUNOS4_IEEE_INTERFACE=''
HAVE_TRU64_IEEE_INTERFACE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/admin/Downloads/gsl-1.9/missing --run makeinfo'
OBJEXT=''
PACKAGE='gsl'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='gsl'
PACKAGE_STRING='gsl 1.9'
PACKAGE_TARNAME='gsl'
PACKAGE_VERSION='1.9'
PATH_SEPARATOR=':'
RANLIB=''
RELEASED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.9'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin13.0.0'
build_alias=''
build_cpu='i386'
build_os='darwin13.0.0'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-apple-darwin13.0.0'
host_alias=''
host_cpu='i386'
host_os='darwin13.0.0'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/Users/admin/Downloads/gsl-1.9/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

-----------

confdefs.h.

-----------

#define PACKAGE "gsl"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "gsl"
#define PACKAGE_STRING "gsl 1.9"
#define PACKAGE_TARNAME "gsl"
#define PACKAGE_VERSION "1.9"
#define RELEASED 1
#define VERSION "1.9"

configure: exit 77

  • 写回答

1条回答

  • blalaa 2021-01-17 19:46
    关注

    请问你有Xcode环境下配置gnu gsl库的教程吗,我想配置可是找不到教程

    评论

报告相同问题?

悬赏问题

  • ¥15 file converter 转换格式失败 报错 Error marking filters as finished,如何解决?
  • ¥15 ubuntu系统下挂载磁盘上执行./提示权限不够
  • ¥15 Arcgis相交分析无法绘制一个或多个图形
  • ¥15 关于#r语言#的问题:差异分析前数据准备,报错Error in data[, sampleName1] : subscript out of bounds请问怎么解决呀以下是全部代码:
  • ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
  • ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
  • ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误
  • ¥30 3天&7天&&15天&销量如何统计同一行
  • ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型