wbhart/Singular.jl

Install singular fails.

Opened this issue · 1 comments

Hi, I try to install Singular.jl. But there are many errors. Can anybody tell me how to fix these errors? Thanks. The error report is following:

Pkg.clone("https://github.com/oscar-system/Singular.jl")
┌ Warning: Pkg.clone is only kept for legacy CI script reasons, please use add
└ @ Pkg.API /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:386
Updating registry at ~/.julia/registries/General
Updating git-repo https://github.com/JuliaRegistries/General.git
Updating git-repo https://github.com/oscar-system/Singular.jl
[ Info: Assigning UUID 07ff78f2-aaa2-527c-9c0a-731feae108f8 to Singular
[ Info: Path /Users/gangchen/.julia/dev/Singular exists and looks like the correct package, using existing path
Resolving package versions...
Updating ~/.julia/environments/v1.1/Project.toml
[no changes]
Updating ~/.julia/environments/v1.1/Manifest.toml
[no changes]
Building Singular → ~/.julia/dev/Singular/deps/build.log
┌ Error: Error building Singular, showing the last 100 of log:
│ glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '../build-aux'.
│ glibtoolize: copying file '../build-aux/ltmain.sh'
│ glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '../m4'.
│ glibtoolize: copying file '../m4/libtool.m4'
│ glibtoolize: copying file '../m4/ltoptions.m4'
│ glibtoolize: copying file '../m4/ltsugar.m4'
│ glibtoolize: copying file '../m4/ltversion.m4'
│ glibtoolize: copying file '../m4/ltobsolete.m4'
│ configure.ac:15: installing '../build-aux/compile'
│ configure.ac:24: installing '../build-aux/missing'
│ Makefile.am: installing '../build-aux/depcomp'
│ parallel-tests: installing '../build-aux/test-driver'
│ autoreconf: Leaving directory omalloc' │ autoreconf: configure.ac: adding subdirectory factory to autoreconf │ autoreconf: Entering directory factory'
│ glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '../build-aux'.
│ glibtoolize: copying file '../build-aux/ltmain.sh'
│ glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '../m4'.
│ glibtoolize: copying file '../m4/libtool.m4'
│ glibtoolize: copying file '../m4/ltoptions.m4'
│ glibtoolize: copying file '../m4/ltsugar.m4'
│ glibtoolize: copying file '../m4/ltversion.m4'
│ glibtoolize: copying file '../m4/lt
obsolete.m4'
│ configure.ac:23: installing '../build-aux/compile'
│ configure.ac:21: installing '../build-aux/missing'
│ Makefile.am: installing '../build-aux/depcomp'
│ configure.ac: installing '../build-aux/ylwrap'
│ autoreconf: Leaving directory factory' │ autoreconf: configure.ac: adding subdirectory libpolys to autoreconf │ autoreconf: Entering directory libpolys'
│ glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '../build-aux'.
│ glibtoolize: copying file '../build-aux/ltmain.sh'
│ glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '../m4'.
│ glibtoolize: copying file '../m4/libtool.m4'
│ glibtoolize: copying file '../m4/ltoptions.m4'
│ glibtoolize: copying file '../m4/ltsugar.m4'
│ glibtoolize: copying file '../m4/ltversion.m4'
│ glibtoolize: copying file '../m4/ltobsolete.m4'
│ configure.ac:12: installing '../build-aux/compile'
│ configure.ac:10: installing '../build-aux/missing'
│ coeffs/Makefile.am: installing '../build-aux/depcomp'
│ autoreconf: Leaving directory libpolys' │ autoreconf: configure.ac: adding subdirectory gfanlib to autoreconf │ autoreconf: Entering directory gfanlib'
│ glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '../build-aux'.
│ glibtoolize: copying file '../build-aux/ltmain.sh'
│ glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '../m4'.
│ glibtoolize: copying file '../m4/libtool.m4'
│ glibtoolize: copying file '../m4/ltoptions.m4'
│ glibtoolize: copying file '../m4/ltsugar.m4'
│ glibtoolize: copying file '../m4/ltversion.m4'
│ glibtoolize: copying file '../m4/lt
obsolete.m4'
│ configure.ac:13: installing '../build-aux/compile'
│ configure.ac:11: installing '../build-aux/missing'
│ Makefile.am: installing '../build-aux/depcomp'
│ Makefile.am:12: warning: 'CXXFLAGS' is a user variable, you should not override it;
│ Makefile.am:12: use 'AM_CXXFLAGS' instead
│ autoreconf: Leaving directory gfanlib' │ autoreconf: configure.ac: not using Libtool │ configure.ac:18: error: possibly undefined macro: AM_MAINTAINER_MODE │ If this token and others are legitimate, please use m4_pattern_allow. │ See the Autoconf documentation. │ configure.ac:19: error: possibly undefined macro: AM_INIT_AUTOMAKE │ configure.ac:24: error: possibly undefined macro: AM_SANITY_CHECK │ configure.ac:35: error: possibly undefined macro: AM_PROG_CC_C_O │ configure.ac:36: error: possibly undefined macro: AM_PROG_AR │ configure.ac:50: error: possibly undefined macro: AM_CONDITIONAL │ configure.ac:64: error: possibly undefined macro: AC_MSG_ERROR │ configure.ac:97: error: possibly undefined macro: AC_CONFIG_GOOGLE_PERFTOOLS │ autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit status: 1 │ ./libpolys/configure │ ./ppcc/autosetup/configure │ ./ppcc/configure │ ./configure │ ./resources/configure │ ./gfanlib/configure │ ./omalloc/configure │ ./factory/configure │ /Users/gangchen/.julia/dev/Singular/deps/Singular │ /Users/gangchen/.julia/dev/Singular/deps/Singular/configure: line 2454: syntax error near unexpected token singularconfig.h,,_config.h'
│ /Users/gangchen/.julia/dev/Singular/deps/Singular/configure: line 2454: AX_PREFIX_CONFIG_H(singularconfig.h,,_config.h)' │ ERROR: LoadError: failed process: Process(/Users/gangchen/.julia/dev/Singular/deps/Singular/configure --prefix=/Users/gangchen/.julia/dev/Singular/local --disable-static --enable-p-procs-static --disable-p-procs-dynamic --disable-gfanlib --enable-shared --with-gmp=/Users/gangchen/.julia/packages/Nemo/9nu4c/local --with-flint=/Users/gangchen/.julia/packages/Nemo/9nu4c/local --with-ntl=/Users/gangchen/.julia/dev/Singular/local --without-python --with-readline=no`, ProcessExited(2)) [2]
│ Stacktrace:
│ [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│ [2] pipeline_error at ./process.jl:785 [inlined]
│ [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
│ [4] run at ./process.jl:724 [inlined]
│ [5] (::getfield(Main, Symbol("##5#7")))() at /Users/gangchen/.julia/dev/Singular/deps/build.jl:96
│ [6] withenv(::getfield(Main, Symbol("##5#7")), ::Pair{String,String}, ::Pair{String,String}) at ./env.jl:148
│ [7] top-level scope at none:0
│ [8] include at ./boot.jl:326 [inlined]
│ [9] include_relative(::Module, ::String) at ./loading.jl:1038
│ [10] include(::Module, ::String) at ./sysimg.jl:29
│ [11] include(::String) at ./client.jl:403
│ [12] top-level scope at none:0
│ in expression starting at /Users/gangchen/.julia/dev/Singular/deps/build.jl:94

│ Welcome to Nemo version 0.13.3

│ Nemo comes with absolutely no warranty whatsoever


│ Full log at /Users/gangchen/.julia/dev/Singular/deps/build.log
└ @ Pkg.Operations /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1075