WineHQ
Bug Tracking Database – Bug 35010

 Bugzilla

 

Last modified: 2017-03-05 14:18:27 UTC  

[Freetype]Impossible to compile Wine

Bug 35010 - [Freetype]Impossible to compile Wine
[Freetype]Impossible to compile Wine
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: build-env
1.7.7
x86-64 Linux
: P2 blocker
: ---
Assigned To: Mr. Bugs
:
: 35018 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-11-28 10:28 UTC by Maxime
Modified: 2017-03-05 14:18 UTC (History)
4 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: 67f9b6e3c5d2397446d39ab454f691c1ee46d2c0
Distribution: ---
Staged patchset:


Attachments
Update configure checks (11.80 KB, patch)
2013-11-30 05:18 UTC, Alexandre Julliard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime 2013-11-28 10:28:45 UTC
Hi,

Actually, it's impossible to compile Wine in Debian Sid when i use a 32-bits chroot. Compile wine 64-bits does not work too.

I have this message in my 32-bits/64-bits chroot : 
checking for freetype/freetype.h... no
checking for freetype/ftglyph.h... no
checking for freetype/fttypes.h... no
checking for freetype/tttables.h... no
checking for freetype/ftsnames.h... no
checking for freetype/ttnameid.h... no
checking for freetype/ftoutln.h... no
checking for freetype/ftwinfnt.h... no
checking for freetype/ftmodapi.h... no
checking for freetype/ftlcdfil.h... no
checking for FT_TrueTypeEngineType... no
configure: error: FreeType 32-bit/FreeType development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

I search where come from the problem and i found that the latest update (28 Nov 2013) of libfreetype6-dev in Debian Sid is the .

In Debian Stable/Testing, it's libfreetype6-dev version 2.4.9-1.1.
With this version, all .h files are located here :
/usr/include/freetype2/freetype/{freetype/ftglyph/...}.h

In Debian Sid, since the update (version 2.5.1-1), there files are now located in this place :
/usr/include/freetype2/{freetype/ftglyph/...}.h

If i reinstall the old version from Jessie (Debian Testing), it works without problem.

Thanks,
Max
Comment 1 Maxime 2013-11-29 14:10:46 UTC
(In reply to comment #0)
> Hi,
> 
> Actually, it's impossible to compile Wine in Debian Sid when i use a 32-bits
> chroot. Compile wine 64-bits does not work too.
> 
> I have this message in my 32-bits/64-bits chroot : 
> checking for freetype/freetype.h... no
> checking for freetype/ftglyph.h... no
> checking for freetype/fttypes.h... no
> checking for freetype/tttables.h... no
> checking for freetype/ftsnames.h... no
> checking for freetype/ttnameid.h... no
> checking for freetype/ftoutln.h... no
> checking for freetype/ftwinfnt.h... no
> checking for freetype/ftmodapi.h... no
> checking for freetype/ftlcdfil.h... no
> checking for FT_TrueTypeEngineType... no
> configure: error: FreeType 32-bit/FreeType development files not found. Fonts
> will not be built.
> Use the --without-freetype option if you really want this.
> 
> I search where come from the problem and i found that the latest update (28 Nov
> 2013) of libfreetype6-dev in Debian Sid is the .
> 
> In Debian Stable/Testing, it's libfreetype6-dev version 2.4.9-1.1.
> With this version, all .h files are located here :
> /usr/include/freetype2/freetype/{freetype/ftglyph/...}.h
> 
> In Debian Sid, since the update (version 2.5.1-1), there files are now located
> in this place :
> /usr/include/freetype2/{freetype/ftglyph/...}.h
> 
> If i reinstall the old version from Jessie (Debian Testing), it works without
> problem.
> 
> Thanks,
> Max

Nobody for this build's problem ?
Comment 2 Rosanne DiMesio 2013-11-29 22:28:59 UTC
*** Bug 35018 has been marked as a duplicate of this bug. ***
Comment 3 Bruno Jesus 2013-11-30 05:08:04 UTC
What is the output of the following commands:

pkg-config --libs freetype2 --cflags

freetype-config --libs --cflags || freetype2-config --libs --cflags

Here with 2.4.9-1.1 I have:

-I/usr/include/freetype2  -lfreetype  

-I/usr/include/freetype2
-L/usr/lib/x86_64-linux-gnu -lfreetype -lz
Comment 4 Ryan Schmidt 2013-11-30 05:13:33 UTC
As I mentioned in my duplicate bug, in freetype 2.5.1, the header locations have changed, and the long-deprecated (since 2.1.6) practice of hardcoding the header paths no longer works. Use the #defines the ft2build.h file sets up instead. Read the freetype documentation: http://www.freetype.org/freetype2/docs/tutorial/step1.html
Comment 5 Alexandre Julliard 2013-11-30 05:18:40 UTC
Created attachment 46682 [details]
Update configure checks

It needs something like this.
Comment 6 Maxime 2013-11-30 11:52:15 UTC
(In reply to comment #5)
> Created attachment 46682 [details]
> Update configure checks
> 
> It needs something like this.

Thanks AJ, the patch works.
Comment 7 Karl Meyer 2013-11-30 17:33:30 UTC
(In reply to comment #5)
> Created attachment 46682 [details]
> Update configure checks
> 
> It needs something like this.

Hi,

i have the same problem. Unfortunately i have no idea how to apply
this patch. Could use some help, thx!
Comment 8 Ryan Schmidt 2013-12-02 04:37:45 UTC
Here's the same patch backported to wine 1.6.1: https://trac.macports.org/browser/trunk/dports/x11/wine/files/patch-freetype-2.5.1.diff?rev=114198
Comment 9 Austin English 2013-12-02 14:45:50 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > Created attachment 46682 [details]
> > Update configure checks
> > 
> > It needs something like this.
> 
> Hi,
> 
> i have the same problem. Unfortunately i have no idea how to apply
> this patch. Could use some help, thx!

http://wiki.winehq.org/Patching

please use the forums for help with compiling wine.
Comment 11 Alexandre Julliard 2013-12-06 13:44:22 UTC
Closing bugs fixed in 1.7.8.
Comment 12 Hin-Tak Leung 2013-12-07 13:06:17 UTC
Thanks - somebody beats me to filing this. I am on freetype-devel and knew about the header relocation with freetype 2.5.1; saw it first hand in 1.7.7 but just "quick-fixed" it by sym-linking from the 2.5.0 location. Was thinking of filing it when 1.7.8 came out but saw in the release announcement that it is already dealt with.

Well-done everybody!
Comment 13 Scott Ritchie 2013-12-31 23:32:05 UTC
Nominating for 1.6.2 so the packages can be built on Ubuntu 14.04 LTS.  In the meantime I'll use Ryan's patch.  Thank you!
Comment 14 Scott Ritchie 2014-01-01 02:03:26 UTC
Note that you also have to run autoreconf after applying Ryan's patch.
Comment 15 Alexandre Julliard 2014-01-10 14:46:06 UTC
Removing 1.6.x milestone from bugs included in 1.6.2.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers