iosdevzone / IDZPrecompiledOgg

libogg compiled for iOS armv7, armv7s, arm64, i386, x86_64
Other
31 stars 6 forks source link

Build Ogg.Framework failed with Xcode 7.1 on Mac OS X El Capitan #4

Closed zwang closed 8 years ago

zwang commented 8 years ago

Hi IDZ,

Thanks for the the great lib. I am trying to compile this by following the instruction in Readme. It failed at the end saying some command can not be found. Do mind taking a look when you have time? I am using ZSH, not BASH. Might be related to that? Thanks.

➜ github . IDZPrecompiledOgg/libogg_build.bash Available SDKs OS X SDKs: OS X 10.11 -sdk macosx10.11

iOS SDKs: iOS 9.1 -sdk iphoneos9.1

iOS Simulator SDKs: Simulator - iOS 9.1 -sdk iphonesimulator9.1

tvOS SDKs: tvOS 9.0 -sdk appletvos9.0

tvOS Simulator SDKs: Simulator - tvOS 9.0 -sdk appletvsimulator9.0

watchOS SDKs: watchOS 2.0 -sdk watchos2.0

watchOS Simulator SDKs: Simulator - watchOS 2.0 -sdk watchsimulator2.0

~/github/IDZPrecompiledVorbis ~/github ~/github/IDZPrecompiledOgg ~/github/IDZBuild ~ ~/github/IDZPrecompiledVorbis/libogg/1.3.2 ~/github/IDZPrecompiledVorbis ~/github ~/github/IDZPrecompiledOgg ~/github/IDZBuild ~ A libogg-1.3.2/libogg.spec.in A libogg-1.3.2/ogg-uninstalled.pc.in A libogg-1.3.2/symbian A libogg-1.3.2/symbian/ogg.mmp A libogg-1.3.2/symbian/bld.inf A libogg-1.3.2/win32 A libogg-1.3.2/win32/VS2008 A libogg-1.3.2/win32/VS2008/libogg_static.sln A libogg-1.3.2/win32/VS2008/libogg_dynamic.vcproj A libogg-1.3.2/win32/VS2008/libogg_static.vcproj A libogg-1.3.2/win32/VS2008/libogg_dynamic.sln A libogg-1.3.2/win32/ogg.def A libogg-1.3.2/win32/VS2010 A libogg-1.3.2/win32/VS2010/libogg_static.vcxproj A libogg-1.3.2/win32/VS2010/libogg_static.sln A libogg-1.3.2/win32/VS2010/libogg_dynamic.vcxproj A libogg-1.3.2/win32/VS2010/libogg_dynamic.sln A libogg-1.3.2/win32/VS2003 A libogg-1.3.2/win32/VS2003/libogg A libogg-1.3.2/win32/VS2003/libogg/libogg.vcproj A libogg-1.3.2/win32/VS2003/ogg.sln A libogg-1.3.2/win32/VS6 A libogg-1.3.2/win32/VS6/build_ogg_dynamic.bat A libogg-1.3.2/win32/VS6/ogg_dynamic.dsp A libogg-1.3.2/win32/VS6/build_ogg_static.bat A libogg-1.3.2/win32/VS6/ogg.dsw A libogg-1.3.2/win32/VS6/ogg_static.dsp A libogg-1.3.2/win32/VS6/build_ogg_dynamic_debug.bat A libogg-1.3.2/win32/VS6/build_ogg_static_debug.bat A libogg-1.3.2/win32/VS2005 A libogg-1.3.2/win32/VS2005/libogg_dynamic.sln A libogg-1.3.2/win32/VS2005/libogg_static.sln A libogg-1.3.2/win32/VS2005/libogg_dynamic.vcproj A libogg-1.3.2/win32/VS2005/libogg_static.vcproj A libogg-1.3.2/doc A libogg-1.3.2/doc/index.html A libogg-1.3.2/doc/fish_xiph_org.png A libogg-1.3.2/doc/white-ogg.png A libogg-1.3.2/doc/packets.png A libogg-1.3.2/doc/stream.png A libogg-1.3.2/doc/pages.png A libogg-1.3.2/doc/framing.html A libogg-1.3.2/doc/multiplex1.png A libogg-1.3.2/doc/skeleton.html A libogg-1.3.2/doc/packets.svg A libogg-1.3.2/doc/white-xifish.png A libogg-1.3.2/doc/oggstream.html A libogg-1.3.2/doc/pages.svg A libogg-1.3.2/doc/ogg-multiplex.html A libogg-1.3.2/doc/multiplex1.svg A libogg-1.3.2/doc/libogg A libogg-1.3.2/doc/libogg/ogg_stream_reset.html A libogg-1.3.2/doc/libogg/oggpack_readinit.html A libogg-1.3.2/doc/libogg/oggpack_bits.html A libogg-1.3.2/doc/libogg/oggpack_writeclear.html A libogg-1.3.2/doc/libogg/ogg_stream_clear.html A libogg-1.3.2/doc/libogg/oggpack_look.html A libogg-1.3.2/doc/libogg/ogg_sync_buffer.html A libogg-1.3.2/doc/libogg/ogg_packet.html A libogg-1.3.2/doc/libogg/ogg_page_checksum_set.html A libogg-1.3.2/doc/libogg/ogg_page_eos.html A libogg-1.3.2/doc/libogg/oggpack_look1.html A libogg-1.3.2/doc/libogg/ogg_page_packets.html A libogg-1.3.2/doc/libogg/oggpack_writecheck.html A libogg-1.3.2/doc/libogg/ogg_stream_check.html A libogg-1.3.2/doc/libogg/encoding.html A libogg-1.3.2/doc/libogg/oggpack_adv1.html A libogg-1.3.2/doc/libogg/oggpack_writetrunc.html A libogg-1.3.2/doc/libogg/oggpack_buffer.html A libogg-1.3.2/doc/libogg/Makefile.am A libogg-1.3.2/doc/libogg/ogg_sync_reset.html A libogg-1.3.2/doc/libogg/ogg_sync_pageseek.html A libogg-1.3.2/doc/libogg/decoding.html A libogg-1.3.2/doc/libogg/ogg_sync_clear.html A libogg-1.3.2/doc/libogg/oggpack_writecopy.html A libogg-1.3.2/doc/libogg/oggpack_bytes.html A libogg-1.3.2/doc/libogg/ogg_sync_destroy.html A libogg-1.3.2/doc/libogg/oggpack_write.html A libogg-1.3.2/doc/libogg/oggpack_read1.html A libogg-1.3.2/doc/libogg/ogg_stream_state.html A libogg-1.3.2/doc/libogg/ogg_sync_wrote.html A libogg-1.3.2/doc/libogg/ogg_stream_flush.html A libogg-1.3.2/doc/libogg/ogg_stream_eos.html A libogg-1.3.2/doc/libogg/reference.html A libogg-1.3.2/doc/libogg/oggpack_writealign.html A libogg-1.3.2/doc/libogg/ogg_stream_destroy.html A libogg-1.3.2/doc/libogg/oggpack_get_buffer.html A libogg-1.3.2/doc/libogg/ogg_page_serialno.html A libogg-1.3.2/doc/libogg/ogg_sync_check.html A libogg-1.3.2/doc/libogg/oggpack_adv.html A libogg-1.3.2/doc/libogg/oggpack_read.html A libogg-1.3.2/doc/libogg/ogg_stream_init.html A libogg-1.3.2/doc/libogg/ogg_stream_pagein.html A libogg-1.3.2/doc/libogg/bitpacking.html A libogg-1.3.2/doc/libogg/ogg_sync_init.html A libogg-1.3.2/doc/libogg/ogg_sync_pageout.html A libogg-1.3.2/doc/libogg/ogg_stream_flush_fill.html A libogg-1.3.2/doc/libogg/ogg_page_pageno.html A libogg-1.3.2/doc/libogg/ogg_stream_iovecin.html A libogg-1.3.2/doc/libogg/ogg_stream_packetin.html A libogg-1.3.2/doc/libogg/overview.html A libogg-1.3.2/doc/libogg/ogg_stream_packetout.html A libogg-1.3.2/doc/libogg/index.html A libogg-1.3.2/doc/libogg/ogg_page_granulepos.html A libogg-1.3.2/doc/libogg/ogg_page.html A libogg-1.3.2/doc/libogg/ogg_sync_state.html A libogg-1.3.2/doc/libogg/ogg_packet_clear.html A libogg-1.3.2/doc/libogg/oggpack_writeinit.html A libogg-1.3.2/doc/libogg/ogg_page_bos.html A libogg-1.3.2/doc/libogg/ogg_stream_pageout.html A libogg-1.3.2/doc/libogg/ogg_page_version.html A libogg-1.3.2/doc/libogg/datastructures.html A libogg-1.3.2/doc/libogg/oggpack_reset.html A libogg-1.3.2/doc/libogg/general.html A libogg-1.3.2/doc/libogg/ogg_page_continued.html A libogg-1.3.2/doc/libogg/ogg_stream_pageout_fill.html A libogg-1.3.2/doc/libogg/ogg_stream_packetpeek.html A libogg-1.3.2/doc/libogg/style.css A libogg-1.3.2/doc/libogg/ogg_iovec_t.html A libogg-1.3.2/doc/libogg/ogg_stream_reset_serialno.html A libogg-1.3.2/doc/vorbisword2.png A libogg-1.3.2/doc/rfc3533.txt A libogg-1.3.2/doc/rfc3534.txt A libogg-1.3.2/doc/rfc5334.txt A libogg-1.3.2/doc/Makefile.am A libogg-1.3.2/CHANGES A libogg-1.3.2/COPYING A libogg-1.3.2/Makefile.am A libogg-1.3.2/autogen.sh A libogg-1.3.2/ogg.pc.in A libogg-1.3.2/include A libogg-1.3.2/include/Makefile.am A libogg-1.3.2/include/ogg A libogg-1.3.2/include/ogg/Makefile.am A libogg-1.3.2/include/ogg/os_types.h A libogg-1.3.2/include/ogg/ogg.h A libogg-1.3.2/include/ogg/config_types.h.in A libogg-1.3.2/AUTHORS A libogg-1.3.2/configure.in A libogg-1.3.2/src A libogg-1.3.2/src/Makefile.am A libogg-1.3.2/src/framing.c A libogg-1.3.2/src/bitwise.c A libogg-1.3.2/macosx A libogg-1.3.2/macosx/Info.plist A libogg-1.3.2/macosx/Ogg.xcodeproj A libogg-1.3.2/macosx/Ogg.xcodeproj/project.pbxproj A libogg-1.3.2/macosx/English.lproj A libogg-1.3.2/macosx/English.lproj/InfoPlist.strings A libogg-1.3.2/macosx/Ogg_Prefix.pch A libogg-1.3.2/ogg.m4 A libogg-1.3.2/README U libogg-1.3.2 Checked out revision 19518. ~/github/IDZPrecompiledVorbis/libogg/1.3.2/libogg-1.3.2 ~/github/IDZPrecompiledVorbis/libogg/1.3.2 ~/github/IDZPrecompiledVorbis ~/github ~/github/IDZPrecompiledOgg ~/github/IDZBuild ~ checking for autoconf... -n checking for automake 1.11 or later... automake -n checking for aclocal 1.11 or later... aclocal -n checking for libtool... glibtoolize I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. Generating configuration files for libogg, please wait.... aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' glibtoolize --automake autoheader automake --add-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:19: installing './compile' configure.in:20: installing './config.guess' configure.in:20: installing './config.sub' configure.in:7: installing './install-sh' configure.in:7: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' autoconf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-apple-darwin15.0.0 checking host system type... x86_64-apple-darwin15.0.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin15.0.0 file names to x86_64-apple-darwin15.0.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin15.0.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin15.0.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for an ANSI C-conforming const... yes checking size of int16_t... 2 checking size of uint16_t... 2 checking size of u_int16_t... 2 checking size of int32_t... 4 checking size of uint32_t... 4 checking size of u_int32_t... 4 checking size of int64_t... 8 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for working memcmp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating doc/libogg/Makefile config.status: creating include/Makefile config.status: creating include/ogg/Makefile config.status: creating include/ogg/config_types.h config.status: creating libogg.spec config.status: creating ogg.pc config.status: creating ogg-uninstalled.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

Making distclean in src test -z "libogg.la" || rm -f libogg.la rm -f ./so_locations rm -rf .libs _libs rm -f test_bitwise test_framing rm -f .o rm -f .lo rm -f .tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile Making distclean in include Making distclean in ogg rm -rf .libs _libs rm -f .lo test -z "config_types.h" || rm -f config_types.h test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile rm -rf .libs _libs rm -f .lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile Making distclean in doc Making distclean in libogg rm -rf .libs _libs rm -f .lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile rm -rf .libs _libs rm -f .lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile rm -rf .libs _libs rm -f .lo test -z "libogg.spec ogg.pc ogg-uninstalled.pc" || rm -f libogg.spec ogg.pc ogg-uninstalled.pc test . = "." || test -z "" || rm -f rm -f config.h stamp-h1 rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile ~/github/IDZPrecompiledVorbis/libogg/1.3.2 ~/github/IDZPrecompiledVorbis ~/github ~/github/IDZPrecompiledOgg ~/github/IDZBuild ~ IDZPrecompiledOgg/libogg_build.bash:20: command not found: idz_configure IDZPrecompiledOgg/libogg_build.bash:21: command not found: idz_configure IDZPrecompiledOgg/libogg_build.bash:22: command not found: idz_configure IDZPrecompiledOgg/libogg_build.bash:23: command not found: idz_configure IDZPrecompiledOgg/libogg_build.bash:24: command not found: idz_configure IDZPrecompiledOgg/libogg_build.bash:25: command not found: idz_fw ~/github/IDZPrecompiledVorbis ~/github ~/github/IDZPrecompiledOgg ~/github/IDZBuild ~ ~/github ~/github/IDZPrecompiledOgg ~/github/IDZBuild ~

iosdevzone commented 8 years ago

Looks like you forgot to modify your PATH variable so that the scripts in ~/github/IDZBuild can be found. In bash you would do

export PATH=~/github/IDZBuild:$PATH

I believe the zsh syntax is the same. Make sure after you do this the command idz_configure and idz_fw can be found. You can check this using:

which idz_configure
which `idz_fw`
zwang commented 8 years ago

Yeah, You are right. I realized it too. I need to do the export before I run the commands. Thank you for the help. :+1:

zwang commented 8 years ago

Now I get these error information after fixing the path. Sorry, I am very new to the build thing.

bash-3.2$ . IDZPrecompiledOgg/libogg_build.bash Available SDKs OS X SDKs: OS X 10.11 -sdk macosx10.11

iOS SDKs: iOS 9.1 -sdk iphoneos9.1

iOS Simulator SDKs: Simulator - iOS 9.1 -sdk iphonesimulator9.1

tvOS SDKs: tvOS 9.0 -sdk appletvos9.0

tvOS Simulator SDKs: Simulator - tvOS 9.0 -sdk appletvsimulator9.0

watchOS SDKs: watchOS 2.0 -sdk watchos2.0

watchOS Simulator SDKs: Simulator - watchOS 2.0 -sdk watchsimulator2.0

~/github/IDZBuildRoot ~/github ~/github/IDZBuildRoot/libogg/1.3.2 ~/github/IDZBuildRoot ~/github Checked out revision 19518. ~/github/IDZBuildRoot/libogg/1.3.2/libogg-1.3.2 ~/github/IDZBuildRoot/libogg/1.3.2 ~/github/IDZBuildRoot ~/github checking for autoconf... -n checking for automake 1.11 or later... automake -n checking for aclocal 1.11 or later... aclocal -n checking for libtool... glibtoolize I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. Generating configuration files for libogg, please wait.... aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' glibtoolize --automake autoheader automake --add-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoconf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-apple-darwin15.0.0 checking host system type... x86_64-apple-darwin15.0.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin15.0.0 file names to x86_64-apple-darwin15.0.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin15.0.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin15.0.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for an ANSI C-conforming const... yes checking size of int16_t... 2 checking size of uint16_t... 2 checking size of u_int16_t... 2 checking size of int32_t... 4 checking size of uint32_t... 4 checking size of u_int32_t... 4 checking size of int64_t... 8 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for working memcmp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating doc/libogg/Makefile config.status: creating include/Makefile config.status: creating include/ogg/Makefile config.status: creating include/ogg/config_types.h config.status: creating libogg.spec config.status: creating ogg.pc config.status: creating ogg-uninstalled.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

Making distclean in src test -z "libogg.la" || rm -f libogg.la rm -f ./so_locations rm -rf .libs _libs rm -f test_bitwise testframing rm -f .o rm -f .lo rm -f .tab.c test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile Making distclean in include Making distclean in ogg rm -rf .libs _libs rm -f .lo test -z "config_types.h" || rm -f config_types.h test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile rm -rf .libs _libs rm -f .lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile Making distclean in doc Making distclean in libogg rm -rf .libs _libs rm -f .lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f Makefile rm -rf .libs _libs rm -f .lo test -z "" || rm -f test . = "." || test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f Makefile rm -rf .libs _libs rm -f .lo test -z "libogg.spec ogg.pc ogg-uninstalled.pc" || rm -f libogg.spec ogg.pc ogg-uninstalled.pc test . = "." || test -z "" || rm -f rm -f config.h stamp-h1 rm -f libtool config.lt rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -f cscope.out cscope.in.out cscope.po.out cscope.files rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile ~/github/IDZBuildRoot/libogg/1.3.2 ~/github/IDZBuildRoot ~/github xcodebuild: error: SDK "iphoneos8.1" cannot be located. xcrun: error: unable to find utility "clang", not a developer tool or in PATH xcodebuild: error: SDK "iphoneos8.1" cannot be located. xcrun: error: unable to find utility "clang++", not a developer tool or in PATH IDZ_CONFIGURE_FLAGS=--host=arm-apple-darwin10 --prefix=/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/install-iPhoneOS-armv7 --disable-shared
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-apple-darwin10-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/libogg-1.3.2/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for arm-apple-darwin10-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/build-iPhoneOS-armv7': configure: error: C compiler cannot create executables Seeconfig.log' for more details make:
_* No rule to make target clean'. Stop. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make targetinstall'. Stop. xcodebuild: error: SDK "iphoneos8.1" cannot be located. xcrun: error: unable to find utility "clang", not a developer tool or in PATH xcodebuild: error: SDK "iphoneos8.1" cannot be located. xcrun: error: unable to find utility "clang++", not a developer tool or in PATH IDZ_CONFIGURE_FLAGS=--host=arm-apple-darwin10 --prefix=/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/install-iPhoneOS-armv7s --disable-shared
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-apple-darwin10-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/libogg-1.3.2/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for arm-apple-darwin10-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/build-iPhoneOS-armv7s': configure: error: C compiler cannot create executables Seeconfig.log' for more details make: * No rule to make target `clean'. Stop. make: ** No targets specified and no makefile found. Stop. make: No rule to make targetinstall'. Stop. xcodebuild: error: SDK "iphoneos8.1" cannot be located. xcrun: error: unable to find utility "clang", not a developer tool or in PATH xcodebuild: error: SDK "iphoneos8.1" cannot be located. xcrun: error: unable to find utility "clang++", not a developer tool or in PATH IDZ_CONFIGURE_FLAGS=--host=arm-apple-darwin10 --prefix=/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/install-iPhoneOS-arm64 --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-apple-darwin10-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/libogg-1.3.2/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for arm-apple-darwin10-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/build-iPhoneOS-arm64': configure: error: C compiler cannot create executables Seeconfig.log' for more details make: **\* No rule to make targetclean'. Stop. make: No targets specified and no makefile found. Stop. make: No rule to make targetinstall'. Stop. xcodebuild: error: SDK "iphonesimulator8.1" cannot be located. xcrun: error: unable to find utility "clang", not a developer tool or in PATH xcodebuild: error: SDK "iphonesimulator8.1" cannot be located. xcrun: error: unable to find utility "clang++", not a developer tool or in PATH IDZ_CONFIGURE_FLAGS=--host=i386-apple-darwin10 --prefix=/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/install-iPhoneSimulator-i386 --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i386-apple-darwin10-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/libogg-1.3.2/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for i386-apple-darwin10-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/build-iPhoneSimulator-i386': configure: error: C compiler cannot create executables Seeconfig.log' for more details make: **\* No rule to make targetclean'. Stop. make: No targets specified and no makefile found. Stop. make: No rule to make targetinstall'. Stop. xcodebuild: error: SDK "iphonesimulator8.1" cannot be located. xcrun: error: unable to find utility "clang", not a developer tool or in PATH xcodebuild: error: SDK "iphonesimulator8.1" cannot be located. xcrun: error: unable to find utility "clang++", not a developer tool or in PATH IDZ_CONFIGURE_FLAGS=--host=x86_64-apple-darwin10 --prefix=/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/install-iPhoneSimulator-x86_64 --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-apple-darwin10-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /Users/zhao/github/IDZBuildRoot/libogg/1.3.2/libogg-1.3.2/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for x86_64-apple-darwin10-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in/Users/zhao/github/IDZBuildRoot/libogg/1.3.2/build-iPhoneSimulator-x86_64': configure: error: C compiler cannot create executables Seeconfig.log' for more details make: **\* No rule to make targetclean'. Stop. make: No targets specified and no makefile found. Stop. make: No rule to make target`install'. Stop. Backing up existing framework to Ogg.framework.bak cp: install-iPhoneSimulator-i386/include/ogg: No such file or directory error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: no input files specified fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo [input_file] ... [-arch input_file] ... [-info] [-detailed_info] [-output output_file] [-create] [-arch_blank ] [-thin ] [-remove ] ... [-extract ] ... [-extract_family ] ... [-verify_arch ...] [-replace ] ... ~/github/IDZBuildRoot ~/github ~/github

iosdevzone commented 8 years ago

Looks like you need to edit libogg_build.bash to reflect the version of iOS on your system. In your case this looks like it should be 9.1.

zwang commented 8 years ago

Yeah, you are right. I updated the .bash file to increase the version to 9.1 and it works now. And I saw your comments about updating the version. I am really sorry I missed the instructions there you put in the .bash file.

Thanks a lot for the help! :)

iosdevzone commented 8 years ago

No worries, glad it is working for you now. Let me know if you need more help.