Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian build fail #718

Open
matthewblott opened this issue Aug 3, 2022 · 3 comments
Open

Debian build fail #718

matthewblott opened this issue Aug 3, 2022 · 3 comments

Comments

@matthewblott
Copy link

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 :-)

@mati75
Copy link

mati75 commented Aug 4, 2022

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

@matthewblott
Copy link
Author

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 :-)

@fanglingsu
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants