ecdye / zram-config

A complete zram-config utility for swap, directories, and logs to reduce SD, NAND and eMMC block wear.
MIT License
412 stars 53 forks source link

missing dependencies #60

Closed claudenobs closed 3 years ago

claudenobs commented 3 years ago

on proxmox ve 6.3 (debian buster) following the install instructions didn't work:

~/zram-config# ./install.bash
Installing needed packages (make, libattr1-dev)
gcc -Wall -std=c99 -c main.c
make: gcc: Command not found
make: *** [makefile:11: main.o] Error 127
Installing zram-config files
install: cannot stat 'overlayfs-tools/overlay': No such file or directory
Starting zram-config.service
Created symlink /etc/systemd/system/basic.target.wants/zram-config.service → /etc/systemd/system/zram-config.service.
#####   zram-config is now installed and running   #####
#####     edit /etc/ztab to configure options      #####

had to manually apt install make gcc, to make it work.

ecdye commented 3 years ago

It is assumed that on a regular Debian installation, the build-essential package is installed. I will add it to the list of required packages for the edge case scenario that it is not.