Steps to reproduce
- Install required packages using
sudo nala install libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev ruby-dev lua5.2 liblua5.2-dev libperl-dev git htop neofetch
- Go into the vim source code and run:
./configure --enable-luainterp=dynamic --enable-python3interp=dynamic --enable-perlinterp=dynamic --enable-rubyinterp=dynamic --enable-multibyte --with-features=huge --enable-cscope --enable-fail-if-missing
./configure says checking if compile and link flags for Python 3 are sane... no: PYTHON3 DISABLED and fail.
Expected behaviour
./configure finished successfully and generate a makefile for compiling vim with python3 support.
Version of Vim
9.1.285 (from src/version.h)
Environment
Operating System: Debian 12 bookworm
Terminal: GNOME Terminal 3.46.8
$TERM: xterm-256color
shell: dash 0.5.12-2
Logs and stack traces
configure: loading cache auto/config.cache
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for fgrep... (cached) /usr/bin/grep -F
checking for gawk... (cached) mawk
checking for strip... (cached) strip
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for unsigned long long int... (cached) yes
checking for long long int... (cached) yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... yes
checking for clang version... N/A
checking for buggy tools... checking uname... Linux (cached)
checking uname -r... 6.5.0-28-generic (cached)
checking uname -m... x86_64 (cached)
checking for Haiku... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for AvailabilityMacros.h... (cached) no
checking for dispatch/dispatch.h... (cached) no
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking for linux/xattr.h... (cached) yes
checking for sys/xattr.h... (cached) yes
checking for XATTR_NAME_SMACKEXEC in linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... (cached) yes
checking for selinux/selinux.h... (cached) yes
checking --enable-xattr argument... yes
checking for sys/xattr.h... (cached) yes
checking --with-features argument... huge
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking diff feature... enabled
checking --enable-luainterp argument... dynamic
checking --with-lua-prefix argument... no
checking LUA_PREFIX environment var... not set, default to /usr
checking --with-luajit... no
checking for lua... (cached) /usr/bin/lua
checking Lua version... (cached) 5.2
checking if lua.h can be found in /usr/include... no
checking if lua.h can be found in /usr/include/lua5.2... yes
checking if liblua*.so* can be found in /usr... yes
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... dynamic
checking for perl... (cached) /usr/bin/perl
checking Perl version... OK
checking --with-xsubpp path... /usr/share/perl/5.36/ExtUtils/xsubpp
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... dynamic
checking --with-python3-command argument... no
checking Python version... (cached) 3.10
checking Python is 3.0 or better... yep
checking --with-python3-stable-abi argument... no
checking Python's abiflags... (cached)
checking Python's install prefix... (cached) /usr
checking Python's execution prefix... (cached) /usr
checking Python's include path... (cached) /usr/include/python3.10
checking Python's include path... (cached) /usr/include/python3.10
(cached) checking Python's configuration directory... (cached) /usr/lib/python3.10/config-3.10-x86_64-linux-gnu
(cached) checking Python3's dll name... (cached) libpython3.10.so.1.0
checking if -pthread should be used... yes
checking if compile and link flags for Python 3 are sane... no: PYTHON3 DISABLED
configure: error: could not configure python3
Steps to reproduce
sudo nala install libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev ruby-dev lua5.2 liblua5.2-dev libperl-dev git htop neofetch./configure --enable-luainterp=dynamic --enable-python3interp=dynamic --enable-perlinterp=dynamic --enable-rubyinterp=dynamic --enable-multibyte --with-features=huge --enable-cscope --enable-fail-if-missing./configuresayschecking if compile and link flags for Python 3 are sane... no: PYTHON3 DISABLEDand fail.Expected behaviour
./configurefinished successfully and generate a makefile for compiling vim with python3 support.Version of Vim
9.1.285 (from src/version.h)
Environment
Operating System: Debian 12 bookworm
Terminal: GNOME Terminal 3.46.8
$TERM: xterm-256colorshell: dash 0.5.12-2
Logs and stack traces