Problem installing suckless terminal (ST)

I am trying to install ST

Following readme instructions I cloned file from git repository

I think I properly installed the requirements including: make, fontconfig, libX11 and libXft

When I go to make to compile the program I get a 127 error as follows:

st build options:
CFLAGS  = -I/usr/X11R6/include  -I/usr/include/freetype2  -I/usr/include/freetype2 -DVERSION="0.8.1" -D_XOPEN_SOURCE=600 -O
LDFLAGS = -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXft -lXrender  -lfontconfig -lfreetype  -lfreetype 
CC      = c99
c99 -I/usr/X11R6/include  `pkg-config --cflags fontconfig`  `pkg-config --cflags freetype2` -DVERSION=\"0.8.1\" -D_XOPEN_SOURCE=600 -O -c st.c
/bin/sh: c99: command not found
make: *** [Makefile:22: st.o] Error 127

Any help would be greatly appreciated…I am a NOOB

It is complaining about “c99” (from “CC = c99”)

I usually expect something like “CC = gcc”. I am not familiar with “c99”.

Okay, a google search turned up a Wikipedia page for c99. If that is relevant, then it is a standard for C-compilers. But the “CC =” line is supposed to give the name of the compiler rather than the standard that it follows.

Hi
It’s already built in the X11:terminals repository, install from there?
https://build.opensuse.org/package/show/X11:terminals/st

On Fri 21 Dec 2018 01:06:03 PM CST, malcolmlewis wrote:

Hi
It’s already built in the X11:terminals repository, install from there?
Show X11:terminals / st - openSUSE Build Service

Hi
Also took the liberty to update to version 0.8.1 which should now be in
that repository.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!