I am trying to configure master with Python3. On Ubuntu 20.04 > ./configure --with-python=/usr/bin/python3.8
I get checking for /usr/include/python3.8/Python.h... no > ls /usr/include/python3.8/Python.h outputs /usr/include/python3.8/Python.h If I edit configure and change as_ac_Header=`$as_echo "ac_cv_header_$INCLUDEPY/Python.h" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$INCLUDEPY/Python.h" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : else as_fn_error $? "Required header Python.h missing. Install it, or specify --disable-python to skip the parts of LinuxCNC that depend on Python" "$LINENO" 5 fi to as_ac_Header=`$as_echo "ac_cv_header_$INCLUDEPY/Python.h" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$INCLUDEPY/Python.h" "$as_ac_Header" "$ac_includes_default" #if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : #else # as_fn_error $? "Required header Python.h missing. Install it, or specify --disable-python to skip the parts of LinuxCNC that depend on Python" "$LINENO" 5 #fi configure completes, everything builds and runtests passes. I'm not sure why it doesn't see Python.h _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers