Building ST ERRORS

Issues related to applications and software problems and general support
Post Reply
DrunkenPanda2000
Posts: 10
Joined: 2017/05/01 19:21:13

Building ST ERRORS

Post by DrunkenPanda2000 » 2021/01/09 13:51:12

Hello i get an errer when i try to install st builds.
Building both luke`s and instantos goves me these error`s and i`m a bit confuzed

```[Tanghe@localhost st-instantos]$ sudo make install
c99 -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` `pkg-config --cflags harfbuzz` -DVERSION=\"0.8.4\" -D_XOPEN_SOURCE=600 -O -c x.c
Package harfbuzz was not found in the pkg-config search path.
Perhaps you should add the directory containing `harfbuzz.pc'
to the PKG_CONFIG_PATH environment variable
Package 'harfbuzz', required by 'virtual:world', not found
In file included from x.c:23:
hb.h:2:10: fatal error: hb.h: No such file or directory
#include <hb.h>
^~~~~~
compilation terminated.
make: *** [Makefile:22: x.o] Error 1
[Tanghe@localhost st-instantos]$ sudo dnf install harfbuzz
Last metadata expiration check: 1:01:13 ago on Sat 09 Jan 2021 01:47:25 PM CET.
Package harfbuzz-1.7.5-3.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
```

User avatar
TrevorH
Forum Moderator
Posts: 30160
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Building ST ERRORS

Post by TrevorH » 2021/01/09 14:12:52

Code: Select all

[root@centos8 ~]# dnf provides '*/harfbuzz.pc'
Last metadata expiration check: 2:56:52 ago on Sat Jan  9 11:15:28 2021.
harfbuzz-devel-1.7.5-3.el8.i686 : Development files for harfbuzz
Repo        : appstream
Matched from:
Filename    : /usr/lib/pkgconfig/harfbuzz.pc

harfbuzz-devel-1.7.5-3.el8.x86_64 : Development files for harfbuzz
Repo        : appstream
Matched from:
Filename    : /usr/lib64/pkgconfig/harfbuzz.pc

mingw32-harfbuzz-1.4.8-3.el8.noarch : MinGW Windows Harfbuzz library
Repo        : powertools
Matched from:
Filename    : /usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/harfbuzz.pc

mingw64-harfbuzz-1.4.8-3.el8.noarch : MinGW Windows Harfbuzz library
Repo        : powertools
Matched from:
Filename    : /usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/harfbuzz.pc
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

DrunkenPanda2000
Posts: 10
Joined: 2017/05/01 19:21:13

Re: Building ST ERRORS

Post by DrunkenPanda2000 » 2021/01/13 10:15:22

Thx for the help but i`m afraid im to much of a noob to know how to proceed with the help you have given me.

I seem to run into the same problem with Xcomposite.h
and using the command u used returns me

a similar answer.

Anny further help is deeply apreciated.

:Edit i figured it out after 2 secs

User avatar
TrevorH
Forum Moderator
Posts: 30160
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Building ST ERRORS

Post by TrevorH » 2021/01/13 10:18:32

Running `dnf provides ...` tells you what packages contain the files you're looking for. Then you have to install one of the packages that supply the file in question and try again.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 8 - General Support”