nvim-telescope / telescope-fzf-native.nvim

FZF sorter for telescope written in c
1.4k stars 46 forks source link

Unable to build #108

Closed AlphabetsAlphabets closed 1 year ago

AlphabetsAlphabets commented 1 year ago
    ● telescope-fzf-native.nvim 0.06ms ✔  build
        mkdir -p build
        cc -O3 -Wall -Werror -fpic -std=gnu99 -shared src/fzf.c -o build/libfzf.so
        make: cc: No such file or directory
        make: *** [Makefile:24: build/libfzf.so] Error 127

My package manager is Lazy and this is the error I got.

delphinus commented 1 year ago
make: cc: No such file or directory

This mean your box has no binary: cc. You should install it before using this plugin. The way to install cc differs by OS you are using.

AlphabetsAlphabets commented 1 year ago

I see. I didn't know There's a binary called cc. I'll look for it, thanks.

Conni2461 commented 1 year ago

cc isn't a binary on most systems, its a symlink to gcc or clang depending on your system. which os do you use? and is that still an issue?

AlphabetsAlphabets commented 1 year ago

cc isn't a binary on most systems, its a symlink to gcc or clang depending on your system. which os do you use? and is that still an issue?

Apologies. I completely forgot about this, yes installing cc fixes it. I'm on Fedora and had to install it separately, unfortunately I do not remember the exact command.