freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Question: linker errors when building freetype for iOS in Xcode


From: Jeffrey Sheen
Subject: Re: [ft] Question: linker errors when building freetype for iOS in Xcode
Date: Tue, 17 Jun 2014 17:10:04 +0100

Thanks again for helping Werner.

Now that I have migrated to the git repository from the archive of freetype2, I am having issues with the `configure` tool.

As per `INSTALL.UNIX`, I have validated the dependencies of `autorun.sh` listed in `README.git`. However, execution of `autorun.sh` appears to fail:

generating `configure.ac'
running `aclocal -I . --force'
running `glibtoolize --force --copy --install'
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./config.guess'
glibtoolize: copying file `./config.sub'
glibtoolize: copying file `./install-sh'
glibtoolize: copying file `./ltmain.sh'
glibtoolize: You should add the contents of the following files to `aclocal.m4':
glibtoolize:   `/opt/local/share/aclocal/libtool.m4'
glibtoolize:   `/opt/local/share/aclocal/ltoptions.m4'
glibtoolize:   `/opt/local/share/aclocal/ltversion.m4'
glibtoolize:   `/opt/local/share/aclocal/ltsugar.m4'
glibtoolize:   `/opt/local/share/aclocal/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
running `autoconf --force' 

Subsequent execution of the `configure` tool results in errors:

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    cc
  configuration directory     /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix
  configuration rules         /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `/Applications/Xcode.app/Contents/Developer/usr/bin/make' again to build the library,
or `/Applications/Xcode.app/Contents/Developer/usr/bin/make refdoc' to build the API reference (the latter needs python).

/bin/sh /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/configure  '--prefix=/Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/ios/armv7' '--host=arm-apple-darwin' '--enable-static=yes' '--enable-shared=no' 'CPPFLAGS=-arch armv7 -fpascal-strings -Os -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=6.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/include/libxml2/ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-arch armv7 -fpascal-strings -Os -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=6.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/' 'LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld' 'LDFLAGS=-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -miphoneos-version-min=6.1' 'AR=`xcrun -sdk iphoneos -find ar`'
/Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/configure: line 1: syntax error near unexpected token `('
/Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/configure: line 1: `m4trace:configure.ac:14: -1- AC_INIT([FreeType], [2.5.3], [address@hidden], [freetype])'
make: *** [setup] Error 2
config.mk:25: /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-def.mk: No such file or directory
config.mk:26: /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-cc.mk: No such file or directory
make: *** No rule to make target `/Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-cc.mk'.  Stop.
config.mk:25: /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-def.mk: No such file or directory
config.mk:26: /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-cc.mk: No such file or directory
make: *** No rule to make target `/Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-cc.mk'.  Stop.
config.mk:25: /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-def.mk: No such file or directory
config.mk:26: /Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-cc.mk: No such file or directory
make: *** No rule to make target `/Volumes/DATA/filestore/development/c/libs/freetype2/git/freetype2/builds/unix/unix-cc.mk'.  Stop.

I believe I am following the installation procedure correctly. Any help you could offer would be greatly appreciated.

Cheers,

Jeff.


On 14 June 2014 11:13, Werner LEMBERG <address@hidden> wrote:

> As it appears optional, I have disabled gzip support in the files
> used by 'configure'.
>
> In 'ftoption.h' the precompiler directive is undefined:
>
>> #undef FT_CONFIG_OPTION_USE_ZLIB
>
> In 'modules.cfg' the gzip module addition is commented out:
>
>> #AUX_MODULES += gzip

This is a bug.  Please retry with current git; I've fixed this issue
in April with commit f8555b5d.


    Werner


reply via email to

[Prev in Thread] Current Thread [Next in Thread]