freetype
[Top][All Lists]
Advanced

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

Re: [ft] [ft-devel] ttfautohint now has a GUI


From: Adam Twardoch (List)
Subject: Re: [ft] [ft-devel] ttfautohint now has a GUI
Date: Mon, 23 Jan 2012 15:56:51 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

On 12-01-23 13:32, Werner LEMBERG wrote:
> Tomorrow I'm back in Austria, and I will start testing the compilation
> on a Windows box (*shudder*).

Oh oh. Looks like the times of "easy building" of ttfautohint are gone :(

It now requires a huge Qt library. I don't mind the ability to have a
GUI tool but to require Qt in order to build a simple commandline app is
somewhat of an overkill, especially if one wants to deploy the tool on a
GUI-less server. I'd greatly appreciate an ability to build without the
Qt dependancy.

Also the build process seems to have added complication. I used to be
able to build ttfautohint on Mac OS X as either a 32-bit Intel or a
64-bit Intel commandline app. Now calling:

$ ./configure --with-freetype-config=`pwd`/../out/bin/freetype-config
--prefix=`pwd`/../out \
            CFLAGS="-Os -arch i386"

no longer is sufficient because the Qt flags seem to insist on x86_64,
and I don't yet know how to work around it.

But even if I decide to build x86_64, the new "bootstrap" stuff adds
even more complication to the mix. I downloaded the most recent libtool
and installed it (bootstrap insisted on it), and now bootstrap pulls
some "gnulib" stuff, which then seems to conflict with the headers that
come pre-installed on my Mac OS X. See below.

With this, I'm currently helpless.

Many thanks!

Best,
Adam

$ make

make  all-recursive
Making all in gnulib/src
  GEN    getopt.h
  GEN    string.h
  GEN    unistd.h
make  all-recursive
  CC     getopt.lo
  CC     getopt1.lo
  CC     strerror_r.lo
  CCLD   libgnu.la
/usr/bin/ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols
ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols
Making all in lib
make[2]: Nothing to be done for `all'.
Making all in frontend
make  all-am
  CXX    main.o
  CXX    maingui.o
In file included from ../gnulib/src/unistd.h:121,
                 from
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/os_defines.h:61,
                 from
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h:41,
                 from /usr/include/c++/4.2.1/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.2.1/algorithm:65,
                 from
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:68,
                 from
/Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
                 from
/Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,
                 from
/Library/Frameworks/QtCore.framework/Headers/qobject.h:47,
                 from
/Library/Frameworks/QtCore.framework/Headers/qiodevice.h:46,
                 from
/Library/Frameworks/QtCore.framework/Headers/qxmlstream.h:45,
                 from /Library/Frameworks/QtCore.framework/Headers/QtCore:3,
                 from
/Library/Frameworks/QtGui.framework/Versions/4/Headers/QtGui:3,
                 from maingui.cpp:18:
../gnulib/src/getopt.h:196: error: redefinition of 'struct option'
/usr/include/getopt.h:54: error: previous definition of 'struct option'
make[3]: *** [maingui.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


-- 

May success attend your efforts,
-- Adam Twardoch
(Remove "list." from e-mail address to contact me directly.)



reply via email to

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