Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage configure does not find system Singular #38643

Open
2 tasks done
beew opened this issue Sep 9, 2024 · 3 comments
Open
2 tasks done

sage configure does not find system Singular #38643

beew opened this issue Sep 9, 2024 · 3 comments
Labels

Comments

@beew
Copy link

beew commented Sep 9, 2024

Steps To Reproduce

After running configure, the outputs show

`singular:       no suitable system package; standard, SPKG version 4.4.0 will be installed

Expected Behavior

I already have singular 4.4.0 installed in system. Configure should discover it and use system's package

$ Singular --version
Singular for x86_64-Linux version 4.4.0 (44005, 64 bit) Apr 19 2024 11:50:12
with
	GMP(6.2.1),NTL(11.5.1),FLINT(2.8.0),
	omalloc,static readline(8),Plural,vspace(2),DBM,
	dynamic modules,OM_NDEBUG,SING_NDEBUG,
	CC:OPTIMIZE,GenericAdd,TableMult,no invTable,
	eigenvalues,Gauss-Manin system,random=1725876720
built-in modules: {}
AC_CONFIGURE_ARGS =  '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libexecdir=${prefix}/lib/singular41' '--disable-maintainer-mode' '--disable-dependency-tracking' '--enable-gfanlib' 'build_alias=x86_64-linux-gnu' --enable-omalloc  OMALLOC_LIBS='/tmp/wd_singular/debSingular/singular41-4.4.0/omalloc/libomalloc.la' OMALLOC_INCLUDES='-I/tmp/wd_singular/debSingular/singular41-4.4.0' --htmldir=${prefix}/share/doc/singular --with-Singular RESOURCES_LIBS='/tmp/wd_singular/debSingular/singular41-4.4.0/resources/libsingular_resources.la' RESOURCES_INCLUDES='-I/tmp/wd_singular/debSingular/singular41-4.4.0 ' FACTORY_LIBS='/tmp/wd_singular/debSingular/singular41-4.4.0/factory/libfactory.la' FACTORY_INCLUDES='-I/tmp/wd_singular/debSingular/singular41-4.4.0 -I/tmp/wd_singular/debSingular/singular41-4.4.0/factory -I/tmp/wd_singular/debSingular/singular41-4.4.0/factory/include',
CC = gcc,FLAGS :  -g  -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fconserve-space -funroll-loops -pthread -pthread,
CXX = g++,FLAGS :  -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-rtti -fno-delete-null-pointer-checks -pthread,
DEFS : ,CPPFLAGS : ,
LDFLAGS :  -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fconserve-space -funroll-loops  -rdynamic -Wl,-undefined,dynamic_lookup,LIBS : -lreadline -lncurses  -lgmp -lrt   (ver: 11.4.0)
argv[0]   :	Singular
SearchPath:	/usr/bin/../share/singular/LIB:/usr/bin/../share/factory:/usr/bin/../lib/singular/MOD:/usr/lib/singular/MOD:/usr/bin:/usr/bin/..
Singular  :	/usr/bin/Singular
BinDir    :	/usr/bin
ProcDir   :	/usr/bin/..:/usr/bin/../lib/singular/MOD:/usr/lib/singular/MOD
RootDir   :	/usr/bin/..
DataDir   :	/usr/bin/../share
DefaultDir:	/usr
InfoFile  :	
IdxFile   :	/usr/bin/../share/singular/singular.idx
HtmlDir   :	/usr/bin/../share/doc/singular
ManualUrl :	https://www.singular.uni-kl.de/Manual/
ExDir     :	
Path      :	/usr/bin:/usr/bin/..:/usr/bin/../lib/singular/MOD:/usr/lib/singular/MOD:/home/bernard/.local/bin:/home/bernard/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:/usr/games:/usr/local/games:/home/bernard/opt/vtk/bin
emacs     :	/usr/bin/emacs
xemacs    :	/usr/lib/xemacs
SingularEmacs:	/usr/bin/Singular
EmacsLoad :	/usr/bin/../share/singular/emacs/.emacs-singular
EmacsDir  :	/usr/bin/../share/singular/emacs
SingularXterm:	/usr/bin/Singular
xterm     :	/usr/bin/xterm
EmacsDir  :	/usr/bin/../share/singular/emacs
Available HelpBrowsers: dummy, emacs, 
Current HelpBrowser: dummy 
                     SINGULAR                                 /  Development
 A Computer Algebra System for Polynomial Computations       /   version 4.4.0
                                                           0<
 by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   Apr 2024
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \

Actual Behavior

it installed another copy of singular 4.4.0

Additional Information

Singular is installed from upstream's apt repository

https://www.singular.uni-kl.de/index.php/singular-download/110.html

paths to the libs

/usr/bin/libsingular-config
/usr/lib/libSingular-4.4.0.so
/usr/lib/libSingular.a
/usr/lib/libSingular.la
/usr/lib/libSingular.so
/usr/lib/libfactory-4.4.0.so
/usr/lib/libfactory.a
/usr/lib/libfactory.la
/usr/lib/libfactory.so
/usr/lib/libomalloc-0.9.6.so
/usr/lib/libomalloc.a
/usr/lib/libomalloc.la
/usr/lib/libomalloc.so
/usr/lib/libpolys-4.4.0.so
/usr/lib/libpolys.a
/usr/lib/libpolys.la
/usr/lib/libpolys.so
/usr/lib/libsingular_resources-4.4.0.so
/usr/lib/libsingular_resources.a
/usr/lib/libsingular_resources.la
/usr/lib/libsingular_resources.so
/usr/lib/pkgconfig
/usr/lib/pkgconfig/Singular.pc
/usr/lib/pkgconfig/factory.pc
/usr/lib/pkgconfig/libpolys.pc
/usr/lib/pkgconfig/omalloc.pc
/usr/lib/pkgconfig/singular_resources.pc
/usr/lib/singular
/usr/lib/singular/MOD
/usr/lib/singular/MOD/cohomo.a
/usr/lib/singular/MOD/cohomo.la
/usr/lib/singular/MOD/cohomo.so
/usr/lib/singular/MOD/customstd.a
/usr/lib/singular/MOD/customstd.la
/usr/lib/singular/MOD/customstd.so
/usr/lib/singular/MOD/freealgebra.a
/usr/lib/singular/MOD/freealgebra.la
/usr/lib/singular/MOD/freealgebra.so
/usr/lib/singular/MOD/gfanlib.a
/usr/lib/singular/MOD/gfanlib.la
/usr/lib/singular/MOD/gfanlib.so
/usr/lib/singular/MOD/gitfan.a
/usr/lib/singular/MOD/gitfan.la
/usr/lib/singular/MOD/gitfan.so
/usr/lib/singular/MOD/interval.a
/usr/lib/singular/MOD/interval.la
/usr/lib/singular/MOD/interval.so
/usr/lib/singular/MOD/loctriv.a
/usr/lib/singular/MOD/loctriv.la
/usr/lib/singular/MOD/loctriv.so
/usr/lib/singular/MOD/machinelearning.a
/usr/lib/singular/MOD/machinelearning.la
/usr/lib/singular/MOD/machinelearning.so
/usr/lib/singular/MOD/p_Procs_FieldGeneral.a
/usr/lib/singular/MOD/p_Procs_FieldGeneral.la
/usr/lib/singular/MOD/p_Procs_FieldGeneral.so
/usr/lib/singular/MOD/p_Procs_FieldIndep.a
/usr/lib/singular/MOD/p_Procs_FieldIndep.la
/usr/lib/singular/MOD/p_Procs_FieldIndep.so
/usr/lib/singular/MOD/p_Procs_FieldQ.a
/usr/lib/singular/MOD/p_Procs_FieldQ.la
/usr/lib/singular/MOD/p_Procs_FieldQ.so
/usr/lib/singular/MOD/p_Procs_FieldZp.a
/usr/lib/singular/MOD/p_Procs_FieldZp.la
/usr/lib/singular/MOD/p_Procs_FieldZp.so
/usr/lib/singular/MOD/partialgb.a
/usr/lib/singular/MOD/partialgb.la
/usr/lib/singular/MOD/partialgb.so
/usr/lib/singular/MOD/pyobject.a
/usr/lib/singular/MOD/pyobject.la
/usr/lib/singular/MOD/pyobject.so
/usr/lib/singular/MOD/singmathic.a
/usr/lib/singular/MOD/singmathic.la
/usr/lib/singular/MOD/singmathic.so
/usr/lib/singular/MOD/sispasm.a
/usr/lib/singular/MOD/sispasm.la
/usr/lib/singular/MOD/sispasm.so
/usr/lib/singular/MOD/subsets.a
/usr/lib/singular/MOD/subsets.la
/usr/lib/singular/MOD/subsets.so
/usr/lib/singular/MOD/systhreads.a
/usr/lib/singular/MOD/systhreads.la
/usr/lib/singular/MOD/systhreads.so
/usr/lib/singular/MOD/syzextra.a
/usr/lib/singular/MOD/syzextra.la
/usr/lib/singular/MOD/syzextra.so
/usr/lib/singular41
/usr/lib/singular41/singular
/usr/lib/singular41/singular/MOD
/usr/lib/singular41/singular/MOD/change_cost
/usr/lib/singular41/singular/MOD/singularsurf
/usr/lib/singular41/singular/MOD/singularsurf_jupyter
/usr/lib/singular41/singular/MOD/singularsurf_win
/usr/lib/singular41/singular/MOD/solve_IP
/usr/lib/singular41/singular/MOD/surfex
/usr/lib/singular41/singular/MOD/toric_ideal

paths to the header files

`/usr/include/factory/cf_gmp.h
/usr/include/factory/factory.h
/usr/include/factory/factoryconf.h
/usr/include/factory/globaldefs.h
/usr/include/factory/si_log2.h
/usr/include/factory/templates
/usr/include/factory/templates/ftmpl_afactor.h
/usr/include/factory/templates/ftmpl_array.h
/usr/include/factory/templates/ftmpl_factor.h
/usr/include/factory/templates/ftmpl_list.h
/usr/include/factory/templates/ftmpl_matrix.h
/usr/include/omalloc
/usr/include/omalloc/omAllocDecl.h
/usr/include/omalloc/omAllocFunc.h
/usr/include/omalloc/omAllocPrivate.h
/usr/include/omalloc/omAllocSystem.h
/usr/include/omalloc/omBin.h
/usr/include/omalloc/omBinPage.h
/usr/include/omalloc/omConfig.h
/usr/include/omalloc/omDebug.h
/usr/include/omalloc/omDerivedConfig.h
/usr/include/omalloc/omError.h
/usr/include/omalloc/omGetBackTrace.h
/usr/include/omalloc/omInline.h
/usr/include/omalloc/omInlineDecl.h
/usr/include/omalloc/omList.h
/usr/include/omalloc/omMemOps.h
/usr/include/omalloc/omOpts.h
/usr/include/omalloc/omRet2Info.h
/usr/include/omalloc/omStats.h
/usr/include/omalloc/omStructs.h
/usr/include/omalloc/omTables.h
/usr/include/omalloc/omalloc.h
/usr/include/omalloc/omallocClass.h
/usr/include/resources
/usr/include/resources/feFopen.h
/usr/include/resources/feResource.h
/usr/include/resources/fegetopt.h
/usr/include/resources/omFindExec.h
/usr/include/resources/singular_resourcesconfig.h
/usr/include/singular
/usr/include/singular/Singular
/usr/include/singular/Singular/attrib.h
/usr/include/singular/Singular/blackbox.h
/usr/include/singular/Singular/cntrlc.h
/usr/include/singular/Singular/countedref.h
/usr/include/singular/Singular/eigenval_ip.h
/usr/include/singular/Singular/feOpt.h
/usr/include/singular/Singular/feOpt.inc
/usr/include/singular/Singular/feOptES.inc
/usr/include/singular/Singular/feOptTS.inc
/usr/include/singular/Singular/feOptTab.h
/usr/include/singular/Singular/fehelp.h
/usr/include/singular/Singular/fevoices.h
/usr/include/singular/Singular/fglm.h
/usr/include/singular/Singular/gms.h
/usr/include/singular/Singular/grammar.h
/usr/include/singular/Singular/idrec.h
/usr/include/singular/Singular/iparith.inc
/usr/include/singular/Singular/ipconv.h
/usr/include/singular/Singular/ipid.h
/usr/include/singular/Singular/ipprint.h
/usr/include/singular/Singular/ipshell.h
/usr/include/singular/Singular/libparse.h
/usr/include/singular/Singular/libsingular.h
/usr/include/singular/Singular/linearAlgebra_ip.h
/usr/include/singular/Singular/links
/usr/include/singular/Singular/links/dbm_sl.h
/usr/include/singular/Singular/links/ndbm.h
/usr/include/singular/Singular/links/pipeLink.h
/usr/include/singular/Singular/links/silink.h
/usr/include/singular/Singular/links/simpleipc.h
/usr/include/singular/Singular/links/sing_dbm.h
/usr/include/singular/Singular/links/slInit.h
/usr/include/singular/Singular/links/ssiLink.h
/usr/include/singular/Singular/lists.h
/usr/include/singular/Singular/locals.h
/usr/include/singular/Singular/maps_ip.h
/usr/include/singular/Singular/misc_ip.h
/usr/include/singular/Singular/mmalloc.h
/usr/include/singular/Singular/mod_lib.h
/usr/include/singular/Singular/newstruct.h
/usr/include/singular/Singular/number2.h
/usr/include/singular/Singular/pcv.h
/usr/include/singular/Singular/pyobject_setup.h
/usr/include/singular/Singular/sdb.h
/usr/include/singular/Singular/stype.h
/usr/include/singular/Singular/subexpr.h
/usr/include/singular/Singular/svd
/usr/include/singular/Singular/svd/bdsvd.h
/usr/include/singular/Singular/svd/bidiagonal.h
/usr/include/singular/Singular/svd/blas.h
/usr/include/singular/Singular/svd/libs
/usr/include/singular/Singular/svd/libs/amp.h
/usr/include/singular/Singular/svd/libs/ap.h
/usr/include/singular/Singular/svd/libs/stdafx.h
/usr/include/singular/Singular/svd/lq.h
/usr/include/singular/Singular/svd/qr.h
/usr/include/singular/Singular/svd/reflections.h
/usr/include/singular/Singular/svd/rotations.h
/usr/include/singular/Singular/svd/svd.h
/usr/include/singular/Singular/svd_si.h
/usr/include/singular/Singular/table.h
/usr/include/singular/Singular/tok.h
/usr/include/singular/Singular/walk.h
/usr/include/singular/coeffs
/usr/include/singular/coeffs/Enumerator.h
/usr/include/singular/coeffs/bigintmat.h
/usr/include/singular/coeffs/coeffs.h
/usr/include/singular/coeffs/ffields.h
/usr/include/singular/coeffs/flintcf_Q.h
/usr/include/singular/coeffs/flintcf_Qrat.h
/usr/include/singular/coeffs/flintcf_Zn.h
/usr/include/singular/coeffs/gnumpc.h
/usr/include/singular/coeffs/gnumpfl.h
/usr/include/singular/coeffs/longrat.h
/usr/include/singular/coeffs/modulop.h
/usr/include/singular/coeffs/modulop_inl.h
/usr/include/singular/coeffs/mpr_complex.h
/usr/include/singular/coeffs/mpr_global.h
/usr/include/singular/coeffs/ntupel.h
/usr/include/singular/coeffs/numbers.h
/usr/include/singular/coeffs/rintegers.h
/usr/include/singular/coeffs/rmodulo2m.h
/usr/include/singular/coeffs/rmodulon.h
/usr/include/singular/coeffs/shortfl.h
/usr/include/singular/coeffs/si_gmp.h
/usr/include/singular/kernel
/usr/include/singular/kernel/GBEngine
/usr/include/singular/kernel/GBEngine/f5data.h
/usr/include/singular/kernel/GBEngine/f5gb.h
/usr/include/singular/kernel/GBEngine/f5lists.h
/usr/include/singular/kernel/GBEngine/janet.h
/usr/include/singular/kernel/GBEngine/kChinese.h
/usr/include/singular/kernel/GBEngine/kInline.h
/usr/include/singular/kernel/GBEngine/khstd.h
/usr/include/singular/kernel/GBEngine/kstd1.h
/usr/include/singular/kernel/GBEngine/kstdfac.h
/usr/include/singular/kernel/GBEngine/kutil.h
/usr/include/singular/kernel/GBEngine/kverify.h
/usr/include/singular/kernel/GBEngine/nc.h
/usr/include/singular/kernel/GBEngine/ratgring.h
/usr/include/singular/kernel/GBEngine/ringgb.h
/usr/include/singular/kernel/GBEngine/shiftgb.h
/usr/include/singular/kernel/GBEngine/syz.h
/usr/include/singular/kernel/GBEngine/tgb.h
/usr/include/singular/kernel/GBEngine/tgb_internal.h
/usr/include/singular/kernel/GBEngine/tgbgauss.h
/usr/include/singular/kernel/GBEngine/units.h
/usr/include/singular/kernel/combinatorics
/usr/include/singular/kernel/combinatorics/hilb.h
/usr/include/singular/kernel/combinatorics/hutil.h
/usr/include/singular/kernel/combinatorics/stairc.h
/usr/include/singular/kernel/digitech.h
/usr/include/singular/kernel/fast_mult.h
/usr/include/singular/kernel/fglm
/usr/include/singular/kernel/fglm/fglm.h
/usr/include/singular/kernel/fglm/fglmgauss.h
/usr/include/singular/kernel/fglm/fglmvec.h
/usr/include/singular/kernel/groebner_walk
/usr/include/singular/kernel/groebner_walk/walkMain.h
/usr/include/singular/kernel/groebner_walk/walkProc.h
/usr/include/singular/kernel/groebner_walk/walkSupport.h
/usr/include/singular/kernel/ideals.h
/usr/include/singular/kernel/linear_algebra
/usr/include/singular/kernel/linear_algebra/Cache.h
/usr/include/singular/kernel/linear_algebra/CacheImplementation.h
/usr/include/singular/kernel/linear_algebra/Minor.h
/usr/include/singular/kernel/linear_algebra/MinorInterface.h
/usr/include/singular/kernel/linear_algebra/MinorProcessor.h
/usr/include/singular/kernel/linear_algebra/eigenval.h
/usr/include/singular/kernel/linear_algebra/interpolation.h
/usr/include/singular/kernel/linear_algebra/linearAlgebra.h
/usr/include/singular/kernel/linear_algebra/minpoly.h
/usr/include/singular/kernel/maps
/usr/include/singular/kernel/maps/fast_maps.h
/usr/include/singular/kernel/maps/find_perm.h
/usr/include/singular/kernel/maps/gen_maps.h
/usr/include/singular/kernel/mod2.h
/usr/include/singular/kernel/numeric
/usr/include/singular/kernel/numeric/mpr_base.h
/usr/include/singular/kernel/numeric/mpr_inout.h
/usr/include/singular/kernel/numeric/mpr_numeric.h
/usr/include/singular/kernel/oswrapper
/usr/include/singular/kernel/oswrapper/feread.h
/usr/include/singular/kernel/oswrapper/rlimit.h
/usr/include/singular/kernel/oswrapper/timer.h
/usr/include/singular/kernel/oswrapper/vspace.h
/usr/include/singular/kernel/polys.h
/usr/include/singular/kernel/preimage.h
/usr/include/singular/kernel/spectrum
/usr/include/singular/kernel/spectrum/GMPrat.h
/usr/include/singular/kernel/spectrum/kmatrix.h
/usr/include/singular/kernel/spectrum/multicnt.h
/usr/include/singular/kernel/spectrum/npolygon.h
/usr/include/singular/kernel/spectrum/semic.h
/usr/include/singular/kernel/spectrum/spectrum.h
/usr/include/singular/kernel/spectrum/splist.h
/usr/include/singular/kernel/structs.h
/usr/include/singular/libpolysconfig.h
/usr/include/singular/misc
/usr/include/singular/misc/auxiliary.h
/usr/include/singular/misc/distrib.h
/usr/include/singular/misc/int64vec.h
/usr/include/singular/misc/intvec.h
/usr/include/singular/misc/mylimits.h
/usr/include/singular/misc/options.h
/usr/include/singular/misc/prime.h
/usr/include/singular/misc/sirandom.h
/usr/include/singular/polys
/usr/include/singular/polys/PolyEnumerator.h
/usr/include/singular/polys/clapconv.h
/usr/include/singular/polys/clapsing.h
/usr/include/singular/polys/ext_fields
/usr/include/singular/polys/ext_fields/algext.h
/usr/include/singular/polys/ext_fields/transext.h
/usr/include/singular/polys/flint_mpoly.h
/usr/include/singular/polys/flintconv.h
/usr/include/singular/polys/kbuckets.h
/usr/include/singular/polys/matpol.h
/usr/include/singular/polys/mod_raw.h
/usr/include/singular/polys/monomials
/usr/include/singular/polys/monomials/maps.h
/usr/include/singular/polys/monomials/monomials.h
/usr/include/singular/polys/monomials/p_polys.h
/usr/include/singular/polys/monomials/ring.h
/usr/include/singular/polys/nc
/usr/include/singular/polys/nc/gb_hack.h
/usr/include/singular/polys/nc/nc.h
/usr/include/singular/polys/nc/ncSACache.h
/usr/include/singular/polys/nc/ncSAFormula.h
/usr/include/singular/polys/nc/ncSAMult.h
/usr/include/singular/polys/nc/sca.h
/usr/include/singular/polys/nc/summator.h
/usr/include/singular/polys/operations
/usr/include/singular/polys/operations/pShallowCopyDelete.h
/usr/include/singular/polys/pCoeff.h
/usr/include/singular/polys/prCopy.h
/usr/include/singular/polys/sbuckets.h
/usr/include/singular/polys/shiftop.h
/usr/include/singular/polys/simpleideals.h
/usr/include/singular/polys/sparsmat.h
/usr/include/singular/polys/templates
/usr/include/singular/polys/templates/p_MemAdd.h
/usr/include/singular/polys/templates/p_MemCmp.h
/usr/include/singular/polys/templates/p_Procs.h
/usr/include/singular/polys/weight.h
/usr/include/singular/reporter
/usr/include/singular/reporter/reporter.h
/usr/include/singular/reporter/s_buff.h
/usr/include/singular/reporter/si_signals.h
/usr/include/singular/singularconfig.h

Environment

- **OS**:Ubuntu 22.04
- **Sage Version**:10.4

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
@beew beew added the t: bug label Sep 9, 2024
@beew
Copy link
Author

beew commented Sep 10, 2024

Here is /usr/include/singular/singularconfig.h

#ifndef _SINGULAR_SINGULARCONFIG_H
#define _SINGULAR_SINGULARCONFIG_H 1
 
/* singularconfig.h. Generated automatically at end of configure. */
 
/* _config.h.  Generated from _config.h.in by configure.  */
/* _config.h.in.  Generated from configure.ac by autoheader.  */

/* ac_configure_args */
#ifndef AC_CONFIGURE_ARGS
#define AC_CONFIGURE_ARGS " '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libexecdir=${prefix}/lib/singular41' '--disable-maintainer-mode' '--disable-dependency-tracking' '--enable-gfanlib' 'build_alias=x86_64-linux-gnu' --enable-omalloc  OMALLOC_LIBS='/tmp/wd_singular/debSingular/singular41-4.4.0/omalloc/libomalloc.la' OMALLOC_INCLUDES='-I/tmp/wd_singular/debSingular/singular41-4.4.0' --htmldir=${prefix}/share/doc/singular --with-Singular RESOURCES_LIBS='/tmp/wd_singular/debSingular/singular41-4.4.0/resources/libsingular_resources.la' RESOURCES_INCLUDES='-I/tmp/wd_singular/debSingular/singular41-4.4.0 ' FACTORY_LIBS='/tmp/wd_singular/debSingular/singular41-4.4.0/factory/libfactory.la' FACTORY_INCLUDES='-I/tmp/wd_singular/debSingular/singular41-4.4.0 -I/tmp/wd_singular/debSingular/singular41-4.4.0/factory -I/tmp/wd_singular/debSingular/singular41-4.4.0/factory/include'"
#endif

/* bindir */
#ifndef BIN_DIR
#define BIN_DIR "/usr/bin"
#endif

/* CC */
#ifndef CC
#define CC "gcc"
#endif

/* CFLAGS */
#ifndef CFLAGS
#define CFLAGS " -g  -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fconserve-space -funroll-loops -pthread"
#endif

/* CPPFLAGS */
#ifndef CPPFLAGS
#define CPPFLAGS ""
#endif

/* CXX */
#ifndef CXX
#define CXX "g++"
#endif

/* CXXFLAGS */
#ifndef CXXFLAGS
#define CXXFLAGS " -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-rtti -fno-delete-null-pointer-checks"
#endif

/* htmldir */
#ifndef DATA_DIR
#define DATA_DIR "/usr/share/doc/singular"
#endif

/* DEFS */
#ifndef DEFS
#define DEFS ""
#endif

/* exec_prefix */
#ifndef EXEC_PREFIX
#define EXEC_PREFIX "NONE"
#endif

/* FLINT_CFLAGS */
#ifndef FLINT_CFLAGS
#define FLINT_CFLAGS ""
#endif

/* FLINT_LIBS */
#ifndef FLINT_LIBS
#define FLINT_LIBS "-lflint -lmpfr -lgmp"
#endif

/* GMP_CPPFLAGS */
#ifndef GMP_CPPFLAGS
#define GMP_CPPFLAGS ""
#endif

/* GMP_LIBS */
#ifndef GMP_LIBS
#define GMP_LIBS "-lgmp"
#endif

/* whether google perftools support is enabled */
/* #undef GOOGLE_PERFTOOLS_ENABLED */

/* whether google profiling support is enabled */
#ifndef GOOGLE_PROFILE_ENABLED
#define GOOGLE_PROFILE_ENABLED 0
#endif

/* Define to 1 if you have the <asm/sigcontext.h> header file. */
#ifndef HAVE_ASM_SIGCONTEXT_H
#define HAVE_ASM_SIGCONTEXT_H 1
#endif

/* Define if Ccluster is installed */
/* #undef HAVE_CCLUSTER */

/* Define to 1 if you have the <cddlib/setoper.h> header file. */
#ifndef HAVE_CDDLIB_SETOPER_H
#define HAVE_CDDLIB_SETOPER_H 1
#endif

/* Define to 1 if you have the <cdd/setoper.h> header file. */
#ifndef HAVE_CDD_SETOPER_H
#define HAVE_CDD_SETOPER_H 1
#endif

/* Define to have dbm links */
#ifndef HAVE_DBM
#define HAVE_DBM 1
#endif

/* enable dynamic modules */
#ifndef HAVE_DL
#define HAVE_DL 1
#endif

/* Define to 1 if you have the <dlfcn.h> header file. */
#ifndef HAVE_DLFCN_H
#define HAVE_DLFCN_H 1
#endif

/* enable dynamic modules */
#ifndef HAVE_DYNAMIC_LOADING
#define HAVE_DYNAMIC_LOADING 1
#endif

/* enable dynamic p-procs */
#ifndef HAVE_DYNAMIC_PPROCS
#define HAVE_DYNAMIC_PPROCS 1
#endif

/* Use dynamic readline */
/* #undef HAVE_DYN_RL */

/* Define to 1 if you have the <fcntl.h> header file. */
#ifndef HAVE_FCNTL_H
#define HAVE_FCNTL_H 1
#endif

/* Define if FLINT is installed */
#ifndef HAVE_FLINT
#define HAVE_FLINT 1
#endif

/* Define to 1 if you have the <fstream.h> header file. */
/* #undef HAVE_FSTREAM_H */

/* use branch for addition in Z/p otherwise it uses a generic add */
#ifndef HAVE_GENERIC_ADD
#define HAVE_GENERIC_ADD 1
#endif

/* multiplication is fast on the cpu: a*b is with mod otherwise using tables
   of logartihms */
/* #undef HAVE_GENERIC_MULT */

/* Define to 1 if you have the `getcwd' function. */
#ifndef HAVE_GETCWD
#define HAVE_GETCWD 1
#endif

/* Define to 1 if you have the `getwd' function. */
#ifndef HAVE_GETWD
#define HAVE_GETWD 1
#endif

/* whether gfanlib support is enabled */
#ifndef HAVE_GFANLIB
#define HAVE_GFANLIB 1
#endif

/* Define to 1 if you have the <inttypes.h> header file. */
#ifndef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H 1
#endif

/* division via a table of logarithms */
/* #undef HAVE_INVTABLE */

/* Define to 1 if you have the <iomanip.h> header file. */
/* #undef HAVE_IOMANIP_H */

/* Define to 1 if you have the <iostream.h> header file. */
/* #undef HAVE_IOSTREAM_H */

/* Define to 1 if you have the `curses' library (-lcurses). */
/* #undef HAVE_LIBCURSES */

/* Define to 1 if you have the `mathic' library (-lmathic). */
/* #undef HAVE_LIBMATHIC */

/* Define to 1 if you have the `mathicgb' library (-lmathicgb). */
/* #undef HAVE_LIBMATHICGB */

/* Define to 1 if you have the `memtailor' library (-lmemtailor). */
/* #undef HAVE_LIBMEMTAILOR */

/* Define to 1 if you have the `ncurses' library (-lncurses). */
#ifndef HAVE_LIBNCURSES
#define HAVE_LIBNCURSES 1
#endif

/* Define to 1 if you have the `readline' library (-lreadline). */
#ifndef HAVE_LIBREADLINE
#define HAVE_LIBREADLINE 1
#endif

/* Define to 1 if you have the `rt' library (-lrt). */
#ifndef HAVE_LIBRT
#define HAVE_LIBRT 1
#endif

/* Define to 1 if you have the `tbb' library (-ltbb). */
/* #undef HAVE_LIBTBB */

/* Define to 1 if you have the `termcap' library (-ltermcap). */
/* #undef HAVE_LIBTERMCAP */

/* Define to 1 if you have the <limits.h> header file. */
#ifndef HAVE_LIMITS_H
#define HAVE_LIMITS_H 1
#endif

/* Define if mathicgb is to be used */
/* #undef HAVE_MATHICGB */

/* Define to 1 if you have the <minix/config.h> header file. */
/* #undef HAVE_MINIX_CONFIG_H */

/* Define to 1 if you have the <mpfr.h> header file. */
#ifndef HAVE_MPFR_H
#define HAVE_MPFR_H 1
#endif

/* Define if NTL is installed */
#ifndef HAVE_NTL
#define HAVE_NTL 1
#endif

/* Enable non-commutative subsystem */
#ifndef HAVE_PLURAL
#define HAVE_PLURAL 1
#endif

/* Define to 1 if you have the `poll' function. */
#ifndef HAVE_POLL
#define HAVE_POLL 1
#endif

/* Define to 1 if you have the <poll.h> header file. */
#ifndef HAVE_POLL_H
#define HAVE_POLL_H 1
#endif

/* Define if you have POSIX threads libraries and header files. */
#ifndef HAVE_PTHREAD
#define HAVE_PTHREAD 1
#endif

/* Have PTHREAD_PRIO_INHERIT. */
#ifndef HAVE_PTHREAD_PRIO_INHERIT
#define HAVE_PTHREAD_PRIO_INHERIT 1
#endif

/* Define to 1 if you have the `putenv' function. */
#ifndef HAVE_PUTENV
#define HAVE_PUTENV 1
#endif

/* Define to 1 if you have the <pwd.h> header file. */
#ifndef HAVE_PWD_H
#define HAVE_PWD_H 1
#endif

/* can embed python */
/* #undef HAVE_PYTHON */

/* Define to 1 if you have the `qsort_r' function. */
#ifndef HAVE_QSORT_R
#define HAVE_QSORT_R 1
#endif

/* Enable RatGB support */
/* #undef HAVE_RATGRING */

/* Use readline */
#ifndef HAVE_READLINE
#define HAVE_READLINE 1
#endif

/* Define to 1 if you have the <readline/history.h> header file. */
#ifndef HAVE_READLINE_HISTORY_H
#define HAVE_READLINE_HISTORY_H 1
#endif

/* Define to 1 if you have the <readline/readline.h> header file. */
#ifndef HAVE_READLINE_READLINE_H
#define HAVE_READLINE_READLINE_H 1
#endif

/* Define to 1 if you have the `readlink' function. */
#ifndef HAVE_READLINK
#define HAVE_READLINK 1
#endif

/* Define to 1 if you have the `setenv' function. */
#ifndef HAVE_SETENV
#define HAVE_SETENV 1
#endif

/* Define to 1 if you have the <setoper.h> header file. */
/* #undef HAVE_SETOPER_H */

/* Enable letterplace */
#ifndef HAVE_SHIFTBBA
#define HAVE_SHIFTBBA 1
#endif

/* Define to 1 if you have the <spasm.h> header file. */
/* #undef HAVE_SPASM_H */

/* Define to 1 if you have the <stdint.h> header file. */
#ifndef HAVE_STDINT_H
#define HAVE_STDINT_H 1
#endif

/* Define to 1 if you have the <stdio.h> header file. */
#ifndef HAVE_STDIO_H
#define HAVE_STDIO_H 1
#endif

/* Define to 1 if you have the <stdlib.h> header file. */
#ifndef HAVE_STDLIB_H
#define HAVE_STDLIB_H 1
#endif

/* Define to 1 if you have the <strings.h> header file. */
#ifndef HAVE_STRINGS_H
#define HAVE_STRINGS_H 1
#endif

/* Define to 1 if you have the <string.h> header file. */
#ifndef HAVE_STRING_H
#define HAVE_STRING_H 1
#endif

/* Define to 1 if you have the <sys/file.h> header file. */
#ifndef HAVE_SYS_FILE_H
#define HAVE_SYS_FILE_H 1
#endif

/* Define to 1 if you have the <sys/ioctl.h> header file. */
#ifndef HAVE_SYS_IOCTL_H
#define HAVE_SYS_IOCTL_H 1
#endif

/* Define to 1 if you have the <sys/param.h> header file. */
#ifndef HAVE_SYS_PARAM_H
#define HAVE_SYS_PARAM_H 1
#endif

/* Define to 1 if you have the <sys/stat.h> header file. */
#ifndef HAVE_SYS_STAT_H
#define HAVE_SYS_STAT_H 1
#endif

/* Define to 1 if you have the <sys/times.h> header file. */
#ifndef HAVE_SYS_TIMES_H
#define HAVE_SYS_TIMES_H 1
#endif

/* Define to 1 if you have the <sys/time.h> header file. */
#ifndef HAVE_SYS_TIME_H
#define HAVE_SYS_TIME_H 1
#endif

/* Define to 1 if you have the <sys/types.h> header file. */
#ifndef HAVE_SYS_TYPES_H
#define HAVE_SYS_TYPES_H 1
#endif

/* Define to 1 if you have the <termcap.h> header file. */
#ifndef HAVE_TERMCAP_H
#define HAVE_TERMCAP_H 1
#endif

/* Define to 1 if you have the <termios.h> header file. */
#ifndef HAVE_TERMIOS_H
#define HAVE_TERMIOS_H 1
#endif

/* Define to 1 if you have the <term.h> header file. */
#ifndef HAVE_TERM_H
#define HAVE_TERM_H 1
#endif

/* Define to 1 if you have the <unistd.h> header file. */
#ifndef HAVE_UNISTD_H
#define HAVE_UNISTD_H 1
#endif

/* Define to 1 if you have the <wchar.h> header file. */
#ifndef HAVE_WCHAR_H
#define HAVE_WCHAR_H 1
#endif

/* LDFLAGS */
#ifndef LDFLAGS
#define LDFLAGS " -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fconserve-space -funroll-loops  -rdynamic -Wl,-undefined,dynamic_lookup"
#endif

/* libexecdir */
#ifndef LIBEXEC_DIR
#define LIBEXEC_DIR "/usr/lib/singular41"
#endif

/* LIBS */
#ifndef LIBS
#define LIBS "-lreadline -lncurses  -lgmp -lrt "
#endif

/* libdir */
#ifndef LIB_DIR
#define LIB_DIR "/usr/lib"
#endif

/* Define to the sub-directory where libtool stores uninstalled libraries. */
#ifndef LT_OBJDIR
#define LT_OBJDIR ".libs/"
#endif

/* NTL_CPPFLAGS */
#ifndef NTL_CPPFLAGS
#define NTL_CPPFLAGS ""
#endif

/* NTL_LIBS */
#ifndef NTL_LIBS
#define NTL_LIBS "-lntl"
#endif

/* "Disable OM Debug" */
#ifndef OM_NDEBUG
#define OM_NDEBUG 1
#endif

/* Name of package */
#ifndef PACKAGE
#define PACKAGE "singular"
#endif

/* Define to the address where bug reports for this package should be sent. */
#ifndef PACKAGE_BUGREPORT
#define PACKAGE_BUGREPORT "singular@mathematik.uni-kl.de"
#endif

/* Define to the full name of this package. */
#ifndef PACKAGE_NAME
#define PACKAGE_NAME "singular"
#endif

/* Define to the full name and version of this package. */
#ifndef PACKAGE_STRING
#define PACKAGE_STRING "singular 4.4.0"
#endif

/* Define to the one symbol short name of this package. */
#ifndef PACKAGE_TARNAME
#define PACKAGE_TARNAME "singular"
#endif

/* Define to the home page for this package. */
#ifndef PACKAGE_URL
#define PACKAGE_URL ""
#endif

/* Define to the version of this package. */
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "4.4.0"
#endif

/* prefix */
#ifndef PREFIX
#define PREFIX "/usr"
#endif

/* PTHREAD_CFLAGS */
#ifndef PTHREAD_CFLAGS
#define PTHREAD_CFLAGS "-pthread"
#endif

/* Define to necessary symbol if this constant uses a non-standard name on
   your system. */
/* #undef PTHREAD_CREATE_JOINABLE */

/* PTHREAD_LIBS */
#ifndef PTHREAD_LIBS
#define PTHREAD_LIBS ""
#endif

/* Use readline.h */
#ifndef READLINE_READLINE_H_OK
#define READLINE_READLINE_H_OK 1
#endif

/* SINGULAR_CFLAGS */
#ifndef SINGULAR_CFLAGS
#define SINGULAR_CFLAGS "-DSING_NDEBUG -DOM_NDEBUG"
#endif

/* "Disable Singular Debug" */
#ifndef SING_NDEBUG
#define SING_NDEBUG 1
#endif

/* The size of `long', as computed by sizeof. */
#ifndef SIZEOF_LONG
#define SIZEOF_LONG 8
#endif

/* Refined list of builtin modules */
/* #undef SI_BUILTINMODULES */

/* Add(list) for Builtin modules */
#ifndef SI_BUILTINMODULES_ADD
#define SI_BUILTINMODULES_ADD(add) 
#endif

/* Enable autoloading of reference counted types */
/* #undef SI_COUNTEDREF_AUTOLOAD */

/* "i686" */
/* #undef SI_CPU_I386 */

/* "ia64" */
/* #undef SI_CPU_IA64 */

/* "PPC" */
/* #undef SI_CPU_PPC */

/* "SPARC" */
/* #undef SI_CPU_SPARC */

/* "x86-64" */
#ifndef SI_CPU_X86_64
#define SI_CPU_X86_64 1
#endif

/* Define to 1 if all of the C90 standard headers exist (not just the ones
   required in a freestanding environment). This macro is provided for
   backward compatibility; new code need not use it. */
#ifndef STDC_HEADERS
#define STDC_HEADERS 1
#endif

/* Singular\'s own uname\ */
#ifndef S_UNAME
#define S_UNAME "x86_64-Linux"
#endif

/* Enable extensions on AIX 3, Interix.  */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable general extensions on macOS.  */
#ifndef _DARWIN_C_SOURCE
# define _DARWIN_C_SOURCE 1
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable X/Open compliant socket functions that do not require linking
   with -lxnet on HP-UX 11.11.  */
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
# define _HPUX_ALT_XOPEN_SOCKET_API 1
#endif
/* Identify the host operating system as Minix.
   This macro does not affect the system headers' behavior.
   A future release of Autoconf may stop defining this macro.  */
#ifndef _MINIX
/* # undef _MINIX */
#endif
/* Enable general extensions on NetBSD.
   Enable NetBSD compatibility extensions on Minix.  */
#ifndef _NETBSD_SOURCE
# define _NETBSD_SOURCE 1
#endif
/* Enable OpenBSD compatibility extensions on NetBSD.
   Oddly enough, this does nothing on OpenBSD.  */
#ifndef _OPENBSD_SOURCE
# define _OPENBSD_SOURCE 1
#endif
/* Define to 1 if needed for POSIX-compatible behavior.  */
#ifndef _POSIX_SOURCE
/* # undef _POSIX_SOURCE */
#endif
/* Define to 2 if needed for POSIX-compatible behavior.  */
#ifndef _POSIX_1_SOURCE
/* # undef _POSIX_1_SOURCE */
#endif
/* Enable POSIX-compatible threading on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
# define __STDC_WANT_IEC_60559_BFP_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
# define __STDC_WANT_IEC_60559_DFP_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TS 18661-3:2015.  */
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
#endif
/* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
#ifndef __STDC_WANT_LIB_EXT2__
# define __STDC_WANT_LIB_EXT2__ 1
#endif
/* Enable extensions specified by ISO/IEC 24747:2009.  */
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
# define __STDC_WANT_MATH_SPEC_FUNCS__ 1
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable X/Open extensions.  Define to 500 only if necessary
   to make mbstate_t available.  */
#ifndef _XOPEN_SOURCE
/* # undef _XOPEN_SOURCE */
#endif


/* Version number of package */
#ifndef VERSION
#define VERSION "4.4.0"
#endif

/* release date */
#ifndef VERSION_DATE
#define VERSION_DATE "Apr 2024"
#endif
 
/* once: _SINGULAR_SINGULARCONFIG_H */
#endif


@orlitzky
Copy link
Contributor

If you still have your config.log, it will be long and messy, but should tell you the exact test that your system singular failed to convince sage that it was unsuitable.

@orlitzky
Copy link
Contributor

Chances are, one of gmp, ntl, flint, readline, mpfr, or cddlib were not also installed (and usable by sage) on the system. When any of singular's link-level dependencies are installed as an SPKG, singular also has to be installed as an SPKG. Otherwise you could have the system singular linked to an old version of foo, and a newer SPKG foo being linked into sage. Then when sage started, there would be two different, conflicting, versions of the symbols in foo -- and it would crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants