• 1 Post
  • 4 Comments
Joined 10M ago
cake
Cake day: Jul 04, 2023

help-circle
rss

Downvoted? Why? I’m curious to know.


Installing st: Fatal Error
I'm very new to Linux. Currently tinkering with Nobara and wanted to install st. I was able to successfully install it last night but when I started attempting to patch it for customization purposes I think I messed something up. I had needed to remove st multiple times and re-install so I could start fresh and fix my errors. Now when I attempt to run `make clean install` I get a host of errors related to packages that are installed but can't seem to be found? ``` [astralpath@nobara-pc st]$ sudo make clean install [sudo] password for astralpath: rm -f st st.o x.o st-0.9.tar.gz c99 -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -O1 -c st.c Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `fontconfig.pc' to the PKG_CONFIG_PATH environment variable Package 'fontconfig', required by 'virtual:world', not found Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable Package 'freetype2', required by 'virtual:world', not found c99 -I/usr/X11R6/include `pkg-config --cflags fontconfig` `pkg-config --cflags freetype2` -DVERSION=\"0.9\" -D_XOPEN_SOURCE=600 -O1 -c x.c Package fontconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `fontconfig.pc' to the PKG_CONFIG_PATH environment variable Package 'fontconfig', required by 'virtual:world', not found Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable Package 'freetype2', required by 'virtual:world', not found x.c:15:10: fatal error: X11/Xft/Xft.h: No such file or directory 15 | #include <X11/Xft/Xft.h> | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:16: x.o] Error 1 ``` I'm not sure why these issues are occurring now. Could someone help point me in the right direction to troubleshoot? I'm really lost on how to proceed even though the error output seems to be giving me some pretty explicit instructions. Thanks in advance :)--
fedilink


Maybe click on the link next time and avoid this altogether? I’m using Connect and had no issues “figuring out” the content of the post. Clickbait would also imply that the content behind the title is dubious but I’ve never once experienced that with Pluralistic. I recommend giving them a read whenever you see a link to their site with a title that draws your attention. They’re a high-quality source in my opinion.


You didn’t scroll at all, did you? Pluralistic is a well known blog. The content is just past the links at the top.