vimb
vimb copied to clipboard
Debian build fail
I initially tried on macOS but having no joy thought I'd give it a go on Linux. I'm using a bare bones Debian image (latest version) with the requirements installed. I cannot do a simple build. I followed the steps as per the home page.
Step 1:
make V=1
Which results with:
make -C src
make[1]: Entering directory '/home/deployer/vimb/src'
cc autocmd.o
cc -DEXTENSIONDIR=\"/usr/local/lib/vimb\" -DPROJECT=\"vimb\" -DPROJECT_UCFIRST=\"Vimb\" -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -D_XOPEN_SOURCE=500 -D__BSD_VISIBLE -std=c99 -pipe -Wall -fPIC -pthread -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c -o autocmd.o autocmd.c
make[1]: cc: No such file or directory
make[1]: *** [Makefile:43: autocmd.o] Error 127
make[1]: Leaving directory '/home/deployer/vimb/src'
make: *** [Makefile:57: src.subdir-all] Error 2
Step 2:
make install
Which results with:
make[1]: Entering directory '/home/deployer/vimb/src'
cc autocmd.o
make[1]: cc: No such file or directory
make[1]: *** [Makefile:43: autocmd.o] Error 127
make[1]: Leaving directory '/home/deployer/vimb/src'
make: *** [Makefile:57: src.subdir-all] Error 2
I also tried the following:
make PREFIX="/usr"
make PREFIX="/usr" DESTDIR="/home/deployer" install
But I didn't have any joy with this either.
Any help appreciated :-)
You used google to find a solution to this error, right?
make[1]: cc: No such file or directory
compiler is missing, you need to install first build-essential
You used google to find a solution to this error, right?
make[1]: cc: No such file or directory
compiler is missing, you need to install first build-essential
I did use google first, I always try and solve a before creating an issue (I just didn't understand the message). Thanks :-)
@matthewblott The message means you have no compiler installed. Or you have one but /usr/bin/cc is not a symlink to the compiler. Mybe there exsist something like update-alternatives
for debian too to create the symlink from /usr/bin/cc to the installed compiler like gcc.