mnurzia / even-better-ls

LS + Icons + Formatting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling issue

umop3plsdn opened this issue · comments

Trying to compile this leaves me with the following:
lib/freadseek.c: In function 'freadptrinc':
lib/freadseek.c:68:3: error: #error "Please port gnulib freadseek.c to your platform! Look at the definition of getc, getc_unlocked on your system, then report this to bug-gnulib."
#error "Please port gnulib freadseek.c to your platform! Look at the definition of getc, getc_unlocked on your system, then report this to bug-gnulib."
^~~~~

Anyone have any ideas or get this compiled on Arch?

commented

I get the same error message on Arch.

Same here

I'm getting the same error, and I've looking for a fix, but I can't find an answer to that error. Anyone have any idea on how to fix it?

the same

also got this error

Exactly same issue for me. Note that ls-icons seems to have had the same issue, and fixed it. Might be interesting to get in touch with them to see if it's similar.

Edit: updating to coreutils 8.31 fixed the issue for me, I'll make a pull request. For anyone interested to try it from my repository, remember to edit install.sh accordingly.

I'm having an issue with it on Debian (Kubuntu), too.

I found this, looks useful: coreutils/gnulib@4af4a4a#diff-5bcce8ce55246264586c4aed2a45ff89

Is not useful, it doesn't solve the problem.

Anyone was able to solve it? I'm having the same problem on Void Linux.