Problems (and fix) when compiling CVS on 64-bit Kubuntu (erroneous freetype-config message)

Evil Jay wine at eternaldusk.com
Sat Aug 5 20:54:04 CDT 2006


When compiling Wine on 64-bit Kubuntu 6.06LTS (using the instructions
found at
http://wiki.winehq.org/WineOn64bit#head-56206e8bc74083807ffe06ccb471d3f964cb670a)
I received a spurious error regarding freetype-config:

   configure: WARNING: Your system appears to have the FreeType 2
runtime libraries
   configure: WARNING: installed, but 'freetype-config' is not in your
PATH. Install
   configure: WARNING: the freetype-devel package (or its equivalent on
your distribution)
   configure: WARNING: to enable Wine to use TrueType fonts.

   configure: WARNING: FreeType is missing.
   configure: WARNING: Fonts will not be built. Dialog text may be
invisible or unaligned.

Everything seems to work fine after I compile it though.  The fonts
display perfectly.

I also had to modify the .configure script.   The unicode-related
section directs it to use the libraries in /usr/lib (whereas I needed it
to be using /usr/lib32).  If you don't modify this section, make will
fail when it tries to link the 64-bit versions.

Other than these two minor annoyances, it compiles quite well on 64-bit.

------------------------------------------
evil at pluto:~/install/wine$ LDFLAGS="-L/lib32 -L/usr/lib32
-Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32"  ./configure | grep "type\|font"
...
checking for fontforge... fontforge
...
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
...
checking for freetype-config... freetype-config
checking for FT_Init_FreeType in -lfreetype... no
...
checking for -lfreetype soname... libfreetype.so.6
checking for -lfontconfig soname... libfontconfig.so
...
config.status: creating fonts/Makefile

configure: WARNING: Your system appears to have the FreeType 2 runtime
libraries
configure: WARNING: installed, but 'freetype-config' is not in your
PATH. Install
configure: WARNING: the freetype-devel package (or its equivalent on
your distribution)
configure: WARNING: to enable Wine to use TrueType fonts.

configure: WARNING: FreeType is missing.
configure: WARNING: Fonts will not be built. Dialog text may be
invisible or unaligned.

evil at pluto:~/install/wine$ locate freetype-config
/usr/share/man/man1/freetype-config.1.gz
/usr/bin/freetype-config





More information about the wine-devel mailing list