You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to install Arch Linux on a VirtualBox to tinker around. After archinstall, getting make install errors while installing dmenu.
By following not the Lukesmith's Savage install but bugwriters ricing tutorial. There, He clone his repo, worked for him but not mine. error thrown. After research, found out about Luke's and cloned this st. (also errors on dmenu and dwm).
Download Arch iso, virtualbox
load all the configs and run
archinstall and setup
mkdir .local/src
cd .local/src
git clone https://github.com/LukeSmithxyz/dmenu.git
cd dmenu
make clean install #or
make install
and
met dependency/library errors and installed:
pacman -S pkg-config
Expected vs. Actual Behavior:
Expected: make just runs
Actual Error:
pacman: pkg-config command not found
/bin/sh: line 1: c99: command not found
make: *** [Makefile:19: st.o] Error 12?
after installing pkg-config
/bin/sh: line 1: c99: command not found
make: *** [Makefile:19: st.o] Error 12?
Troubleshooting Done: that i tried.
Opened Makefile. there are variables and there are CC and a lot more.
could able to resolve those. Issue for this
Environment Details:
virtual box
arch iso
archinstall
dwm, dmenu, st
Logs & Errors: Paste any useful logs or command
/bin/sh: line 1: c99: command not found
make: *** [Makefile:19: st.o] Error 12?
How do i navigate this?
The text was updated successfully, but these errors were encountered:
TLDR: try running make CC=gcc CFLAGS=-std=c99 (or clang whatever)
That's weird after running pacman -Qo c99 on my arch system I get
/usr/bin/c99 is owned by gcc 14.2.1+r753+g1cd744a6828f-1
so you don't have gcc? try running it.
Anyway c99 seems to be just a compiler that compiles ISO C as per it's man page
It's defined by posix and seems like something luke will use.
Funny part is I opened it in vim on a whim and found this.
#!/bin/sh
fl="-std=c99"
for opt; do
case "$opt" in
-std=c99|-std=iso9899:1999) fl="";;
-std=*) echo "$(basename "$0") called with non ISO C99 option $opt" >&2
exit 1;;
esac
done
exec gcc $fl ${1+"$@"
It's just a shellscript and John Suckless ended up running a entire script in trying to avoid writing std=c99 in all his projects.
Description:
(sameAlongWith
st
)Trying to install Arch Linux on a VirtualBox to tinker around. After
archinstall
, gettingmake
install errors while installing dmenu.By following not the Lukesmith's Savage install but bugwriters ricing tutorial. There, He clone his repo, worked for him but not mine. error thrown. After research, found out about Luke's and cloned this st. (also errors on
dmenu
anddwm
).Download Arch iso, virtualbox
load all the configs and run
archinstall and setup
and
met dependency/library errors and installed:
Expected vs. Actual Behavior:
Expected: make just runs
Actual Error:
after installing
pkg-config
Opened
Make
file. there are variables and there areCC
and a lot more.could able to resolve those. Issue for this
Environment Details:
virtual box
arch iso
archinstall
dwm, dmenu, st
Logs & Errors: Paste any useful logs or command
How do i navigate this?
The text was updated successfully, but these errors were encountered: