problem of compiling wine

I am compiling wine on FreeBSD-15-amd64. The wine64 was ok, but when I was building the wine 32. The configure said
"configure: error: FreeType development files not found.
Fonts will not be built. Dialog text may be invisible or unaligned.
Use the --without-freetype option if you really want this."
But there's no packages like freetype-dev or freetype2-devel.
 
On Linux the -dev or -devel packages typically contain the C header files you need to compile code that uses those libraries. On FreeBSD those are included with print/freetype2. Ports/packages on FreeBSD typically include everything and aren't split into separate packages for the library/header files.

It's often installed in a different directory than the compiler expects them though, so you have to tell ./configure the exact directories.
 
On Linux the -dev or -devel packages typically contain the C header files you need to compile code that uses those libraries. On FreeBSD those are included with print/freetype2. Ports/packages on FreeBSD typically include everything and aren't split into separate packages for the library/header files.

It's often installed in a different directory than the compiler expects them though, so you have to tell ./configure the exact directories.
thanks, but I don't know how to do it exactly
 
You (might?) find it easier to just pkg install missing libraries. try this:

Code:
# pkg search freetype2
freetype2-2.13.3               Free and portable TrueType font rendering engine
# pkg install freetype2
(Bunch of stuff printed while freetype2 is downloaded and installed)
#

Then run your wine compile again

In the wine build directory you might want to clean the existing source and object files in the tree first before recompiling:

# make clean
 
You (might?) find it easier to just pkg install missing libraries. try this:

Code:
# pkg search freetype2
freetype2-2.13.3               Free and portable TrueType font rendering engine
# pkg install freetype2
(Bunch of stuff printed while freetype2 is downloaded and installed)
#

Then run your wine compile again

In the wine build directory you might want to clean the existing source and object files in the tree first before recompiling:
I had already installed it
 
./configure --help is often useful to find to find those options.
I used find to locate ft2build.h, and it's at /usr/local/include/freetype2/ft2build.h.
But running ./configure --help doesn't specify which path it searches for ft2build.h. It just says that FREETYPE_CLAGS FREETYPE_LIBS
 
You (might?) find it easier to just pkg install missing libraries. try this:

Code:
# pkg search freetype2
freetype2-2.13.3               Free and portable TrueType font rendering engine
# pkg install freetype2
(Bunch of stuff printed while freetype2 is downloaded and installed)
#

Then run your wine compile again

In the wine build directory you might want to clean the existing source and object files in the tree first before recompiling:
But the 64bit freetype is ok, the 32bit is wrong, both on system and chroot
 
I tried to build wine-11.0 on ubuntu 24.04 amd64 and freebsd 14 i386, both failed. Maybe It's the problem of wine-11.0's source
 
Back
Top