checking for OGG... checking for Ogg... cross compiling; assumed OK... yes checking for oggpack_writealign... no configure: error: Ogg >= 1.0 required !
I'll try to see what's wrong with ogg anyway.
Just for explaining, when you install a library with brew, it will be
compiled for your system. Installating SDL-*, libogg is no-sense here,
because kivy-ios are downloading them, and compile for ARM architecture.
You are the early testers, and i did'nt get a chance to test the whole
build toolchain from a clean / empty environment. This was a mistake on
my part :/
Tell me if the fix works for you (git pull, git clean -dxf (save your
app project before!), and tool/build-all.sh)
Regards,
Mathieu
On 21/04/2012 23:12, CptRedbeard wrote:
Traceback (most recent call last):
File "/usr/local/bin/cython", line 8, in <module>
main(command_line = 1)
-> directly from the cython binary :)
# build lxmlOLD_CC="$CC"OLD_LDFLAGS="$LDFLAGS"OLD_LDSHARED="$LDSHARED"export CC="$ARM_CC -I$BUILDROOT/include -I$TMPROOT/libxslt-$XSLT_VERSION"export LDFLAGS="$ARM_LDFLAGS -L$TMPROOT/libxslt-$XSLT_VERSION/libxslt/.libs"export LDFLAGS="$LDFLAGS -L$TMPROOT/libxslt-$XSLT_VERSION/libexslt/.libs"export LDFLAGS="$LDFLAGS -L$TMPROOT/libxml2-$XML2_VERSION/.libs"export LDSHARED="$KIVYIOSROOT/tools/liblink"pushd $TMPROOT/lxml-$LXML_VERSIONHOSTPYTHON=$TMPROOT/Python-$PYTHON_VERSION/hostpythontry $HOSTPYTHON setup.py build_exttry $HOSTPYTHON setup.py install -O2 --root iosbuildpopdexport CC="$OLD_CC"export LDFLAGS="$OLD_LDFLAGS"export LDSHARED="$OLD_LDSHARED"
++ try mkdir -p /Users/TSdisplay/kivy-ios/build++ mkdir -p /Users/TSdisplay/kivy-ios/build++ try mkdir -p /Users/TSdisplay/kivy-ios/build/include++ mkdir -p /Users/TSdisplay/kivy-ios/build/include++ try mkdir -p /Users/TSdisplay/kivy-ios/build/lib++ mkdir -p /Users/TSdisplay/kivy-ios/build/lib++ try mkdir -p /Users/TSdisplay/kivy-ios/.cache++ mkdir -p /Users/TSdisplay/kivy-ios/.cache++ try mkdir -p /Users/TSdisplay/kivy-ios/tmp++ mkdir -p /Users/TSdisplay/kivy-ios/tmp+ pushd /Users/TSdisplay/kivy-ios/tmp~/kivy-ios/tmp ~/kivy-ios+ '[' '!' -f SDL ']'+ ln -s /Users/TSdisplay/kivy-ios/src/SDL SDLln: SDL/SDL: File exists+ '[' '!' -d SDL_mixer ']'+ '[' '!' -d libtremor ']'+ '[' '!' -d libogg ']'+ '[' '!' -f libogg/src/.libs/libogg.a ']'+ '[' '!' -f libtremor/tremor/.libs/libvorbisidec.a ']'+ try cd libtremor/tremor+ cd libtremor/tremor+ echo+ CC=' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2'+ AR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar+ LDFLAGS='-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.1'+ CFLAGS='-march=armv7 -mcpu=arm176jzf -mcpu=cortex-a8 -pipe -no-cpp-precomp -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -miphoneos-version-min=5.1 -O3'+ OGG_CFLAGS=-I../../libogg/include+ OGG_LDFLAGS=-L../../libogg/src/.libs+ PKG_CONFIG_LIBDIR=../../libogg+ ACLOCAL_FLAGS='-I /usr/local/share/aclocal'+ ./autogen.sh --disable-shared --host=arm-apple-darwin --enable-static=yes --enable-shared=nochecking for autoconf...-n checking for automake...yes-n checking for libtool...libtoolize
Generating configuration files for vorbisdec, please wait....aclocal -I /usr/local/share/aclocal
libtoolize --automakeautoheaderautomake --add-missingUseless use of /d modifier in transliteration operator at /usr/local/share/automake-1.11/Automake/Wrap.pm line 58.configure.in:9: installing `./config.guess'configure.in:9: installing `./config.sub'configure.in:14: installing `./install-sh'configure.in:14: installing `./missing'Makefile.am: installing `./depcomp'autoconfconfigure: WARNING: If you wanted to set the --build type, don't use --host.If a cross compiler is detected then cross compile mode will be used.checking build system type... i386-apple-darwin11.4.0checking host system type... arm-apple-darwinchecking target system type... arm-apple-darwinchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for arm-apple-darwin-strip... nochecking for strip... stripchecking for a thread-safe mkdir -p... ./install-sh -c -dchecking for gawk... nochecking for mawk... nochecking for nawk... nochecking for awk... awkchecking whether make sets $(MAKE)... yeschecking whether to enable maintainer-specific portions of Makefiles... yeschecking for arm-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2checking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... yeschecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 accepts -g... yeschecking for /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2... gcc3checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 -E -traditional-cppchecking for a sed that does not truncate output... /usr/bin/sedchecking for grep that handles long lines and -e... /usr/bin/grepchecking for egrep... /usr/bin/grep -Echecking for fgrep... /usr/bin/grep -Fchecking for ld used by /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/arm-apple-darwin10/4.2.1/ldchecking if the linker (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/arm-apple-darwin10/4.2.1/ld) is GNU ld... nochecking for BSD- or MS-compatible name lister (nm)... nochecking for arm-apple-darwin-dumpbin... nochecking for arm-apple-darwin-link... nochecking for dumpbin... nochecking for link... link -dump -symbolsconfigure: WARNING: using cross tools not prefixed with host tripletchecking the name lister (link -dump -symbols) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 196608checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking for /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/arm-apple-darwin10/4.2.1/ld option to reload object files... -rchecking for arm-apple-darwin-objdump... nochecking for objdump... nochecking how to recognize dependent libraries... pass_allchecking for arm-apple-darwin-ar... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/archecking for arm-apple-darwin-strip... stripchecking for arm-apple-darwin-ranlib... nochecking for ranlib... ranlibchecking command to parse link -dump -symbols output from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 object... failedchecking for arm-apple-darwin-dsymutil... nochecking for dsymutil... dsymutilchecking for arm-apple-darwin-nmedit... nochecking for nmedit... nmeditchecking for arm-apple-darwin-lipo... nochecking for lipo... lipochecking for arm-apple-darwin-otool... nochecking for otool... otoolchecking for arm-apple-darwin-otool64... nochecking for otool64... nochecking for -single_module linker flag... yeschecking for -exported_symbols_list linker flag... yeschecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 supports -fno-rtti -fno-exceptions... nochecking for /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 option to produce PIC... -fno-common -DPICchecking if /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 PIC flag -fno-common -DPIC works... yeschecking if /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 static flag -static works... nochecking if /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 supports -c -o file.o... yeschecking if /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 supports -c -o file.o... (cached) yeschecking whether the /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 linker (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/arm-apple-darwin10/4.2.1/ld) supports shared libraries... yeschecking dynamic linker characteristics... darwin dyldchecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... nochecking whether to build static libraries... yeschecking for ld used by /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm-gcc-4.2... (cached) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/arm-apple-darwin10/4.2.1/ldchecking if the linker (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/libexec/gcc/arm-apple-darwin10/4.2.1/ld) is GNU ld... (cached) nochecking for memory.h... (cached) yes./configure: line 10652: PKG_PROG_PKG_CONFIG: command not found./configure: line 10657: syntax error near unexpected token `OGG,'./configure: line 10657: ` PKG_CHECK_MODULES(OGG, ogg >= 1.0, HAVE_OGG=yes, HAVE_OGG=no)'+ try make+ makemake: *** No targets specified and no makefile found. Stop.+ exit -1+ exit -1Dev-Mini:kivy-ios TSdisplay$
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys002
target remote-mobile /tmp/.XcodeGDBRemote-56459-53
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x1c03]
[Switching to process 7171 thread 0x1c03]
sharedlibrary apply-load-rules all
2012-07-16 20:06:11.608 mypaint[12234:707] PythonHome is: /var/mobile/Applications/ECB4BFC4-066D-4BF4-8D36-EA91818F7D89/mypaint.app
2012-07-16 20:06:11.619 mypaint[12234:707] Initializing python
2012-07-16 20:06:11.924 mypaint[12234:707] Running main.pyo: (null)
2012-07-16 20:06:11.928 mypaint[12234:707] Unable to open main.pyo, abort.
2012-07-16 20:06:11.942 mypaint[12234:707] Leaving
Still frustrated as I have no cue about what went wrong. I think I might have made a mistake in the Xcode project configure but not sure where to look at.
Also there are warnings from building the app in Xcode but it said successfully built at the end:
32-bit absolute address out of range (0x1001EFC88 max is 4GB): from _usedpools + 0x00000004 (0x001EFC90) to 0x1001EFC88
32-bit absolute address out of range (0x1001EFC88 max is 4GB): from _usedpools + 0x00000000 (0x001EFC90) to 0x1001EFC88
Is it because the 1st gen iPad is not supported?
Also I use the option "Run" in Xcode to let it load the app onto the iPad - is it a right way to do it?
Thanks!
Pat