外籍编制适用于iOS - 命令/ bin / sh的失败,退出code 77 [英] Compiling expat for iOS - Command /bin/sh failed with exit code 77

查看:187
本文介绍了外籍编制适用于iOS - 命令/ bin / sh的失败,退出code 77的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图导入 libkml库到我的iOS项目。我意识到,外籍库不能链接(?),因此必须重新建立外籍人士吧。

我发现了一个SO链接,一个绅士提到,他能成功链接外籍人士与他的iOS SDK 5.1:的如何编译外籍与iOS SDK 5.1?

我尝试同样使用github上提供的 的脚本,如上面提到的链接

不过,我得到一个错误的脚本的运行阶段。我不能让最出的,但我需要帮助解决这一问题。

中使用的脚本是一样从github上连结。 C ++项目标准库设置为默认的编译,我presume是LLVM C ++。下面是它的config.log我不能做出来我的理解水平的输出。请帮我解决这个问题,并构建库,以它跨越与我的项目链接:

 此文件包含由编译器产生的任何信息,同时
运行configure,如果要配置差池帮助调试。它是由外籍配置2.0.1,这是创建
运行由GNU autoconf 2.59生成。调用命令行是  $的./configure - preFIX = /用户/拉吉/项目/测试/斌/ iPhoneSimulator5.0-i386.sdk --host = i386的,苹果达尔文--enable-静## --------- ##
##平台。 ##
## --------- ##主机名= Rajs-的MacBook,Pro.local
uname -m输出= x86_64的
使用uname -r = 12.3.0
uname -S命令=达尔文
-v的uname = Darwin内核版本12.3.0:阳光1月6日22时37分十秒PST 2013;根:XNU-2050.22.13〜1 / RELEASE_X86_64在/ usr /斌/的uname -p = 386
/斌/ -X的uname =未知/斌/ ARCH =未知
在/ usr /斌/拱-k =未知
在/ usr /凸/ getsysinfo =未知
Hostinfo中=马赫内核版本:
     Darwin内核版本12.3.0:阳光1月6日22点37分一十秒PST 2013;根:XNU-2050.22.13〜1 / RELEASE_X86_64
内核配置为最多8个处理器。
4处理器物理可用。
8处理器在逻辑上是可用的。
处理器类型:i486的(80486英特尔)
处理器激活:0 1 2 3 4 5 6 7
可用主内存:4.00千兆字节
缺省处理器集:100任务,561线程,8个处理器
平均负载:2.90,马赫系数:5.09
/斌/机=未知
在/ usr /斌/ oslevel =未知
/斌/宇宙=未知PATH:/Applications/X$c$c.app/Contents/Developer/Toolchains/X$c$cDefault.xctoolchain/usr/bin
PATH:/Applications/X$c$c.app/Contents/Developer/Toolchains/X$c$cDefault.xctoolchain/usr/libexec
PATH:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
路径: /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin
PATH:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin
PATH:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin
PATH:/Applications/X$c$c.app/Contents/Developer/usr/bin
PATH:/Applications/X$c$c.app/Contents/Developer/usr/local/bin
PATH:/Applications/X$c$c.app/Contents/Developer/Tools
PATH:在/ usr / bin中
PATH:/ bin中
PATH:/ usr / sbin目录
PATH:/ sbin目录
## ----------- ##
##核心测试。 ##
## ----------- ##配置:2092:检查创建系统类型
配置:2110:结果:I386-苹果darwin12.3.0
配置:2118:检查主机系统类型
配置:2132:结果:I386-苹果达尔文
配置:2148:检查I386-苹果达尔文,海湾合作委员会
配置:2174:结果:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
配置:2456:检查C编译器版本
配置:2459:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc --version<的/ dev / null的>及5条
i686的 - 苹果darwin11-LLVM-GCC-4.2(GCC)4.2.1(基于苹果公司建立5658)(LLVM构建2336.11.00)
版权所有(C)2007自由软件基金会
这是自由软件;参见复印条件的来源。有否
保证;甚至不是针对特定目的的适销。配置:2462:$? = 0
配置:2464:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -v<的/ dev / null的>及5条
使用内置的规格。
目标:为i686-苹果darwin11
配置:/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable检查--enable-werror - preFIX = /应用/ X code.app /目录/Developer/usr/llvm-gcc-4.2 --mandir = /共享/人--enable-语言= C,objc,C ++,OBJ-C ++ --program- preFIX = llvm- --program,互感器名称= / ^ [CG] [^ .-] * $ / S / $ / - 4.2 / --with-slibdir = / usr / lib目录--build = i686的 - 苹果darwin11 --enable-LLVM = /私营/ var / tmp目录/ llvmgcc42 / llvmgcc42-2336.11〜182 / DST-llvmCore /开发人员的/ usr /本地--program- preFIX = i686的 - 苹果darwin11-主机= x86_64的 - 苹果darwin11 --target = i686的 - 苹果 - darwin11 --with-GXX-包括-DIR = / usr / include目录/ C ++ / 4.2.1
线程模型:POSIX
GCC 4.2.1版(基于苹果公司建立5658)(LLVM构建2336.11.00)
配置:2467:$? = 0
配置:2469:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -V<的/ dev / null的>及5条
LLVM-GCC-4.2:参数`-V'缺失
配置:2472:$? = 1
配置:2495:检查C编译器默认的输出文件名
配置:2498:/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I /用户/拉吉/项目/测试/包括-arch i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L /用户/拉吉/项目/测试/ lib目录conftest.c>及5条
没有发现-lcrt1.10.6.o库:LD
collect2:劳工处返回1退出状态
配置:2501:$? = 1
配置:失败的程序为:
| / * confdefs.h。 * /
|
| #定义PACKAGE_NAME老外
| #定义PACKAGE_TARNAME老外
| #定义PACKAGE_VERSION2.0.1
| #定义PACKAGE_STRING外籍2.0.1
| #定义PACKAGE_BUGREPORTexpat-bugs@libexpat.org
| / *结束confdefs.h。 * /
|
| INT
| main()的
| {
|
| ;
|返回0;
| }
配置:2540:错误:C编译器不能创建可执行文件
见'的config.log'了解更多详情。## ---------------- ##
##缓存变量。 ##
## ---------------- ##ac_cv_build = I386-苹果darwin12.3.0
ac_cv_build_alias = I386-苹果darwin12.3.0
ac_cv_env_CC_set =集
ac_cv_env_CC_value=/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
ac_cv_env_CF​​LAGS_set =集
ac_cv_env_CF​​LAGS_value =' - 拱i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I /用户/拉吉/项目/测试/包括
ac_cv_env_CPPFLAGS_set =
ac_cv_env_CPPFLAGS_value =
ac_cv_env_CPP_set =集
ac_cv_env_CPP_value=/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2
ac_cv_env_CXXCPP_set =集
ac_cv_env_CXXCPP_value=/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2
ac_cv_env_CXXFLAGS_set =集
ac_cv_env_CXXFLAGS_value =' - 拱i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I /用户/拉吉/项目/测试/包括
ac_cv_env_CXX_set =集
ac_cv_env_CXX_value=/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++
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 =' - 拱i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L /用户/拉吉/项目/测试/ lib目录
ac_cv_env_build_alias_set =
ac_cv_env_build_alias_value =
ac_cv_env_host_alias_set =集
ac_cv_env_host_alias_value = I386-苹果达尔文
ac_cv_env_target_alias_set =
ac_cv_env_target_alias_value =
ac_cv_host = I386-苹果达尔文
ac_cv_host_alias = I386-苹果达尔文
ac_cv_prog_CC=/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc## ----------------- ##
##输出变量。 ##
## ----------------- ##AR =''
AS =''
CC='/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc'
CFLAGS =' - 拱i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I /用户/拉吉/项目/测试/包括
CPP='/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2'
CPPFLAGS =''
CXX='/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++'
CXXCPP='/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2'
CXXFLAGS =' - 拱i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I /用户/拉吉/项目/测试/包括
DEFS =''
DLLTOOL =''
ECHO =回响
ECHO_C =''
ECHO_N =' - N'
ECHO_T =''
EGREP =''
EXEEXT =''
F77 =''
FFLAGS =''
FILEMAP =''
INSTALL_DATA =''
INSTALL_PROGRAM =''
INSTALL_SCRIPT =''
LDFLAGS = - 拱i386的哌-no-cpp- preCOMP -isysroot /Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L /用户/拉吉/项目/测试/ lib目录
LIBAGE ='5'
LIBCURRENT =6
LIBOBJS =''
LIBREVISION ='2'
LIBS =''
libtool的=''
LN_S =''
LTLIBOBJS =''
objdump的=''
OBJEXT =''
PACKAGE_BUGREPORT='expat-bugs@libexpat.org
PACKAGE_NAME ='老外'
PACKAGE_STRING ='外籍2.0.1
PACKAGE_TARNAME ='老外'
PACKAGE_VERSION =2.0.1
PATH_SEPARATOR =':'
RANLIB='/Applications/X$c$c.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ranlib'
SHELL =/ bin / sh的'
STRIP =''
ac_ct_AR =''
ac_ct_AS =''
ac_ct_CC =''
ac_ct_CXX =''
ac_ct_DLLTOOL =''
ac_ct_F77 =''
ac_ct_OBJDUMP =''
ac_ct_RANLIB =''
ac_ct_STRIP =''
BINDIR ='$ {exec_ preFIX} / bin中
建立='I386-苹果darwin12.3.0
build_alias =''
build_cpu ='386'
build_os ='darwin12.3.0
build_vendor =苹果
DATADIR =$ {preFIX} /股
exec_ preFIX =NONE
主机='I386-苹果达尔文
host_alias ='I386-苹果达尔文
host_cpu ='386'
host_os ='达尔文'
host_vendor =苹果
了includedir ='$ {preFIX} /包括
INFODIR ='$ {preFIX} /信息
LIBDIR ='$ {exec_ preFIX} / lib目录
libexecdir ='$ {exec_ preFIX} / libexec目录'
的localstatedir ='$ {preFIX} / VAR
迪尔=$ {preFIX} /人
oldincludedir =/ usr / include目录
preFIX ='/用户/拉吉/项目/测试/斌/ iPhoneSimulator5.0-i386.sdk
program_transform_name =年代,X,X'
SBINDIR ='$ {exec_ preFIX} / sbin目录
sharedstatedir ='$ {preFIX} / COM
SYSCONFDIR ='$ {preFIX}的/ etc
target_alias =''## ----------- ##
## confdefs.h。 ##
## ----------- ###定义PACKAGE_BUGREPORTexpat-bugs@libexpat.org
#定义PACKAGE_NAME老外
#定义PACKAGE_STRING外籍2.0.1
#定义PACKAGE_TARNAME老外
#定义PACKAGE_VERSION2.0.1配置:出口77


解决方案

由于在错误指示,我错过了C编译器。然后我下载了X code命令行工具,那么这些错误可能是固定的。

I am trying to import the libkml library into my iOS project. I realised that expat libraries cannot be linked (?) and so have to build the expat sources for it again.

I found a SO link where a gentleman mentions that he could successfully link expat with his iOS SDK 5.1: How to compile expat with iOS SDK 5.1?

I tried the same using the script available in github as mentioned in the above link.

But, I am getting an error in the Run phase of the script. I could not make the most out of it but I need help to fix this.

The script used is the same as from github link. C++ standard library in the project is set to "Compiler default" which I presume is LLVM C++. Below is the output from config.log which I am not able to make out with my level of understanding. Please help me out in resolving this problem and build the library to link it across with my project:

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

It was created by expat configure 2.0.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/Users/raj/Projects/test/bin/iPhoneSimulator5.0-i386.sdk --host=i386-apple-darwin --enable-static

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

hostname = Rajs-MacBook-Pro.local
uname -m = x86_64
uname -r = 12.3.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/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 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/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: 4.00 gigabytes
Default processor set: 100 tasks, 561 threads, 8 processors
Load average: 2.90, Mach factor: 5.09
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
PATH: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec
PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin
PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin
PATH: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin
PATH: /Applications/Xcode.app/Contents/Developer/usr/bin
PATH: /Applications/Xcode.app/Contents/Developer/usr/local/bin
PATH: /Applications/Xcode.app/Contents/Developer/Tools
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin


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

configure:2092: checking build system type
configure:2110: result: i386-apple-darwin12.3.0
configure:2118: checking host system type
configure:2132: result: i386-apple-darwin
configure:2148: checking for i386-apple-darwin-gcc
configure:2174: result: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
configure:2456: checking for C compiler version
configure:2459: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc --version </dev/null >&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:2462: $? = 0
configure:2464: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/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~182/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:2467: $? = 0
configure:2469: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -V </dev/null >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:2472: $? = 1
configure:2495: checking for C compiler default output file name
configure:2498: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I/Users/raj/Projects/test/include  -arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/raj/Projects/test/lib conftest.c  >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
configure:2501: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "expat"
| #define PACKAGE_TARNAME "expat"
| #define PACKAGE_VERSION "2.0.1"
| #define PACKAGE_STRING "expat 2.0.1"
| #define PACKAGE_BUGREPORT "expat-bugs@libexpat.org"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2540: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i386-apple-darwin12.3.0
ac_cv_build_alias=i386-apple-darwin12.3.0
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I/Users/raj/Projects/test/include'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2
ac_cv_env_CXXCPP_set=set
ac_cv_env_CXXCPP_value=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I/Users/raj/Projects/test/include'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++
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=set
ac_cv_env_LDFLAGS_value='-arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/raj/Projects/test/lib'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-apple-darwin
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-apple-darwin
ac_cv_host_alias=i386-apple-darwin
ac_cv_prog_CC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc

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

AR=''
AS=''
CC='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc'
CFLAGS='-arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I/Users/raj/Projects/test/include'
CPP='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2'
CPPFLAGS=''
CXX='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++'
CXXCPP='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-cpp-4.2'
CXXFLAGS='-arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -I/Users/raj/Projects/test/include'
DEFS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FILEMAP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-arch i386 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/raj/Projects/test/lib'
LIBAGE='5'
LIBCURRENT='6'
LIBOBJS=''
LIBREVISION='2'
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
OBJDUMP=''
OBJEXT=''
PACKAGE_BUGREPORT='expat-bugs@libexpat.org'
PACKAGE_NAME='expat'
PACKAGE_STRING='expat 2.0.1'
PACKAGE_TARNAME='expat'
PACKAGE_VERSION='2.0.1'
PATH_SEPARATOR=':'
RANLIB='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ranlib'
SHELL='/bin/sh'
STRIP=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.3.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.3.0'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-apple-darwin'
host_alias='i386-apple-darwin'
host_cpu='i386'
host_os='darwin'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/Users/raj/Projects/test/bin/iPhoneSimulator5.0-i386.sdk'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_BUGREPORT "expat-bugs@libexpat.org"
#define PACKAGE_NAME "expat"
#define PACKAGE_STRING "expat 2.0.1"
#define PACKAGE_TARNAME "expat"
#define PACKAGE_VERSION "2.0.1"

configure: exit 77

解决方案

As indicated in the errors, I was missing the C compiler. I then downloaded the Xcode command line tools then these errors could be fixed.

这篇关于外籍编制适用于iOS - 命令/ bin / sh的失败,退出code 77的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆