Two problems when building wine from scratch.

Questions about Wine on Linux
Locked
kromak
Level 2
Level 2
Posts: 20
Joined: Mon Dec 23, 2019 2:56 pm

Two problems when building wine from scratch.

Post by kromak »

While building wine I end facing:

Code: Select all

../tools/sfnt2fon/sfnt2fon: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
make[1]: *** [coue1255.fon] Error 127
which is odd, as I passed it successfully to configure with

Code: Select all

PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux-32bit/Freetype-2.3.0/lib/pkgconfig/
. Plus there is also a libfreetype inside the usual system file tree hierarchy.
I gave a look at the Makefile inside

Code: Select all

/tools/sfnt2fon$
and both

Code: Select all

FREETYPE_CFLAGS
and

Code: Select all

FREETYPE_LIBS
seems ok there.

Then I tried to build wine again, but this time I called 'make' instead 'make -j2'.
And I end receiving

Code: Select all

winebuild: cannot find the 'as' tool
, which is also odd, as "as" it is in /usr/bin

So there is three problems here: 1)Why it isn't finding libfreetype, despite I passing it to configure, which detected it fine. 2)Why it isn't finding as, that is in the normal system tree hierarchy of files. 3)Why the hell is calling make -j2 producing a different issue compared to a simple make?
Locked