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
 
./configure --help is often useful to find to find those options.
 
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
 
There are no 32 bit packages for 15.0 because the i386 platform got deprecated.
 
There are no 32 bit packages for 15.0 because the i386 platform got deprecated.
so I downloaded the base.txz of 14i386 and chroot, and I env ABI to download the 32bit freetype2 of 14i386 on my 15amd64, but both not working. Maybe I need try bhyve?
 
Back
Top