Here is the config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by pynac configure 0.7.8, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --disable-static --prefix=/home/chapoton/sage3/local --with-giac=no --libdir=/home/chapoton/sage3/local/lib ## --------- ## ## Platform. ## ## --------- ## hostname = icj-laptop uname -m = x86_64 uname -r = 4.10.0-30-generic uname -s = Linux uname -v = #34-Ubuntu SMP Mon Jul 31 19:38:17 UTC 2017 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/chapoton/sage3/build/bin PATH: /home/chapoton/sage3/src/bin PATH: /home/chapoton/sage3/local/bin PATH: /home/chapoton/sage3/build/bin PATH: /home/chapoton/sage3/src/bin PATH: /home/chapoton/sage3/local/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2719: checking for a BSD-compatible install configure:2787: result: /usr/bin/install -c configure:2798: checking whether build environment is sane configure:2853: result: yes configure:3004: checking for a thread-safe mkdir -p configure:3043: result: /bin/mkdir -p configure:3050: checking for gawk configure:3066: found /usr/bin/gawk configure:3077: result: gawk configure:3088: checking whether make sets $(MAKE) configure:3110: result: yes configure:3139: checking whether make supports nested variables configure:3156: result: yes configure:3249: checking whether /home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1 version is >= 2.7 configure:3260: /home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) ./configure: line 3261: /home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1: Permission denied configure:3263: $? = 126 configure:3268: result: no configure:3270: error: Python interpreter is too old ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -g ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=g++ ac_cv_env_FACTORY_CFLAGS_set= ac_cv_env_FACTORY_CFLAGS_value= ac_cv_env_FACTORY_LIBS_set= ac_cv_env_FACTORY_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/chapoton/sage3/local/lib -Wl,-rpath,/home/chapoton/sage3/local/lib ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=/home/chapoton/sage3/local/lib/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_value= ac_cv_env_PYTHON_set=set ac_cv_env_PYTHON_value=/home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1 ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/missing aclocal-1.13' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar' ARCHIVE_AGE='' ARCHIVE_VERSION='' AS='as' AUTOCONF='${SHELL} /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/missing autoconf' AUTOHEADER='${SHELL} /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/missing autoheader' AUTOMAKE='${SHELL} /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/missing automake-1.13' AWK='gawk' CC='gcc' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CXX='g++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-O2 -g ' CYGPATH_W='echo' CYGWIN_FALSE='' CYGWIN_TRUE='' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FACTORY_CFLAGS='' FACTORY_LIBS='' FGREP='' GINACLIB_MAJOR_VERSION='' GINACLIB_MICRO_VERSION='' GINACLIB_MINOR_VERSION='' GINACLIB_VERSION='' GREP='' HAVE_CXX11='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='ld' LDFLAGS='-L/home/chapoton/sage3/local/lib -Wl,-rpath,/home/chapoton/sage3/local/lib ' LIBGIAC='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' LT_VERSION_INFO='' MAKEINFO='${SHELL} /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='pynac' PACKAGE_BUGREPORT='<pynac-de...@googlegroups.com>' PACKAGE_NAME='pynac' PACKAGE_STRING='pynac 0.7.8' PACKAGE_TARNAME='pynac' PACKAGE_URL='' PACKAGE_VERSION='0.7.8' PATH_SEPARATOR=':' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/home/chapoton/sage3/local/lib/pkgconfig' PYTHON='/home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1' PYTHON_CPPFLAGS='' PYTHON_EXEC_PREFIX='' PYTHON_EXTRA_LDFLAGS='' PYTHON_EXTRA_LIBS='' PYTHON_LDFLAGS='' PYTHON_PLATFORM='' PYTHON_PREFIX='' PYTHON_SITE_PKG='' PYTHON_VERSION='' RANLIB='ranlib' RM='' SED='' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION='0.7.8' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/install-sh' libdir='/home/chapoton/sage3/local/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgpyexecdir='' pkgpythondir='' prefix='/home/chapoton/sage3/local' program_transform_name='s,x,x,' psdir='${docdir}' pyexecdir='' pythondir='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "pynac" #define PACKAGE_TARNAME "pynac" #define PACKAGE_VERSION "0.7.8" #define PACKAGE_STRING "pynac 0.7.8" #define PACKAGE_BUGREPORT "<pynac-devel (removed by F.C.) #define PACKAGE_URL "" #define PACKAGE "pynac" #define VERSION "0.7.8" configure: exit 1 Le dimanche 6 août 2017 09:02:45 UTC+2, François Bissey a écrit : > > Considering I routinely build pynac with python2.7, 3.4 and 3.6 > in gentoo that’s quite odd. Could you please post pynac’s config.log > > > On 6/08/2017, at 19:00, Frédéric Chapoton <fchap...@gmail.com > <javascript:>> wrote: > > > > I tried "PYTHON=python3 ./sage -f pynac" in a sage3 shell, with a > strange failure as result: > > > > [pynac-0.7.8.p0] checking whether > /home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1 version is > >= 2.7... no > > [pynac-0.7.8.p0] configure: error: Python interpreter is too old > > > > > > Le dimanche 6 août 2017 08:51:10 UTC+2, François Bissey a écrit : > > It is probably a correct assertion. What is needed is to set > > PYTHON > > to the desired python in spkg-install before calling configure. > > PYTHON=python3.6 ./sage -f pynac > > will also probably work in the interim. > > > > François > > > > > On 6/08/2017, at 18:07, Ralf Stephan <gtr...@gmail.com> wrote: > > > > > > The AX_PYTHON_DEVEL apparently finds the wrong Python version > > > and sets Pynac up for it. > > > > > > On Sunday, August 6, 2017 at 7:20:48 AM UTC+2, Ralf Stephan wrote: > > > > > > > > > On Saturday, August 5, 2017 at 1:22:44 PM UTC+2, Frédéric Chapoton > wrote: > > > > /home/chapoton/sage3/local/lib/libpython2.7.so.1.0(PyInt_FromLong+0x53)[0x7f950a139ef3] > > > > > > /home/chapoton/sage3/local/lib/libpynac.so.13(+0x88196)[0x7f950a559196] > > > > > > Pynac calling PyInt_FromLong from Python2.7 ? > > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com. > > > To post to this group, send email to sage-...@googlegroups.com. > > > Visit this group at https://groups.google.com/group/sage-devel. > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com <javascript:>. > > To post to this group, send email to sage-...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.