So the PyNormaliz configure script is actually working... you strangely
obtained an error when it was run via the setup.py script with the
mysterious

configure: error: source directory already configured; run "make distclean" there first

Vincent

Le 23/05/2019 à 23:04, Sébastien Labbé a écrit :
$ cd /home/slabbe/GitBox/sage/local/var/tmp/sage/build/pynormaliz-2.5/src
$ sage -sh

Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
  * Do not do anything with other copies of Sage on your system.
  * Do not use this for installing Sage packages using "sage -i" or for
    running "make" at Sage's root directory.  These should be done
    outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=/home/slabbe/GitBox/sage



$ ./configure
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... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -std=gnu++11 accepts -g... yes
checking whether g++ -std=gnu++11 supports C++11 features with
-std=gnu++11... yes
configure: creating ./config.status
config.status: creating config.py
(sage-sh) slabbe@miami:src$
(sage-sh) slabbe@miami:src$ ls
config.log     configure  GPLv2              PyNormaliz.py  tests
config.py      COPYING      m4              Readme.md
config.py.in   doc      NormalizModule.cpp  setup.cfg
config.status  examples   PKG-INFO          setup.py




Now, if you want to see the config.log, here it is:




$ cat 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 PyNormaliz configure VERSION, which was
generated by GNU Autoconf 2.69.  Invocation command line was

   $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = miami
uname -m = x86_64
uname -r = 4.4.0-143-generic
uname -s = Linux
uname -v = #169-Ubuntu SMP Thu Feb 7 07:56:38 UTC 2019

/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/slabbe/GitBox/sage/local/libexec/ccache
PATH: /home/slabbe/GitBox/sage/build/bin
PATH: /home/slabbe/GitBox/sage/src/bin
PATH: /home/slabbe/GitBox/sage/local/bin
PATH: /home/slabbe/GitBox/sage
PATH: /home/slabbe/GitBox/scripts
PATH: /home/slabbe/bin
PATH: /home/slabbe/Applications/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: /opt/gurobi811/linux64/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1939: checking for C++ compiler version
configure:1948: g++ -std=gnu++11 --version >&5
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1959: $? = 0
configure:1948: g++ -std=gnu++11 -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
5.4.0-6ubuntu1~16.04.11'
--with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-5 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib
--with-tune=generic --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)
configure:1959: $? = 0
configure:1948: g++ -std=gnu++11 -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:1959: $? = 1
configure:1948: g++ -std=gnu++11 -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:1959: $? = 1
configure:1979: checking whether the C++ compiler works
configure:2001: g++ -std=gnu++11   -L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib  conftest.cpp  >&5
configure:2005: $? = 0
configure:2053: result: yes
configure:2056: checking for C++ compiler default output file name
configure:2058: result: a.out
configure:2064: checking for suffix of executables
configure:2071: g++ -std=gnu++11 -o conftest
-L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib  conftest.cpp  >&5
configure:2075: $? = 0
configure:2097: result:
configure:2119: checking whether we are cross compiling
configure:2127: g++ -std=gnu++11 -o conftest
-L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib  conftest.cpp  >&5
configure:2131: $? = 0
configure:2138: ./conftest
configure:2142: $? = 0
configure:2157: result: no
configure:2162: checking for suffix of object files
configure:2184: g++ -std=gnu++11 -c   conftest.cpp >&5
configure:2188: $? = 0
configure:2209: result: o
configure:2213: checking whether we are using the GNU C++ compiler
configure:2232: g++ -std=gnu++11 -c   conftest.cpp >&5
configure:2232: $? = 0
configure:2241: result: yes
configure:2250: checking whether g++ -std=gnu++11 accepts -g
configure:2270: g++ -std=gnu++11 -c -g  conftest.cpp >&5
configure:2270: $? = 0
configure:2311: result: yes
configure:2423: checking whether g++ -std=gnu++11 supports C++11 features
with -std=gnu++11
configure:2719: g++ -std=gnu++11 -std=gnu++11 -c -g -O2  conftest.cpp >&5
configure:2719: $? = 0
configure:2728: result: yes
configure:3107: g++ -std=gnu++11 -std=gnu++11 -o conftest -g -O2
-L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib  conftest.cpp  >&5
configure:3107: $? = 0
configure:3141: g++ -std=gnu++11 -std=gnu++11 -o conftest -g -O2
-L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib  conftest.cpp  >&5
configure:3141: $? = 0
configure:3141: ./conftest
configure:3141: $? = 0
configure:3307: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by PyNormaliz config.status VERSION, which was
generated by GNU Autoconf 2.69.  Invocation command line was

   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   $ ./config.status

on miami

config.status:721: creating config.py

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='g++ -std=gnu++11'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
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_objext=o
ac_cv_prog_cxx_g=yes
ax_cv_cxx_compile_cxx11__std_gnupp11=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

CPPFLAGS=''
CXX='g++ -std=gnu++11 -std=gnu++11'
CXXFLAGS='-g -O2'
DEFS='-DPACKAGE_NAME=\"PyNormaliz\" -DPACKAGE_TARNAME=\"pynormaliz\"
-DPACKAGE_VERSION=\"VERSION\" -DPACKAGE_STRING=\"PyNormaliz\ VERSION\"
-DPACKAGE_BUGREPORT=\"https://github.com/Normaliz/PyNormaliz\";
-DPACKAGE_URL=\"\" -DHAVE_CXX11=1'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ENFNORMALIZ='True'
EXEEXT=''
HAVE_CXX11='1'
LDFLAGS='-L/home/slabbe/GitBox/sage/local/lib
-Wl,-rpath,/home/slabbe/GitBox/sage/local/lib '
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT='https://github.com/Normaliz/PyNormaliz'
PACKAGE_NAME='PyNormaliz'
PACKAGE_STRING='PyNormaliz VERSION'
PACKAGE_TARNAME='pynormaliz'
PACKAGE_URL=''
PACKAGE_VERSION='VERSION'
PATH_SEPARATOR=':'
SHELL='/bin/bash'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "PyNormaliz"
#define PACKAGE_TARNAME "pynormaliz"
#define PACKAGE_VERSION "VERSION"
#define PACKAGE_STRING "PyNormaliz VERSION"
#define PACKAGE_BUGREPORT "https://github.com/Normaliz/PyNormaliz";
#define PACKAGE_URL ""
#define HAVE_CXX11 1

configure: exit 0


--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/8d9a57b7-86a7-f2ab-0969-ca4843b4db97%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to