Read-only forum archive

Compiling Singular

Compiling Singular

nbela1 · Fri Jul 12, 2019 10:01 pm

Hello Everyone,

I would like to compile and build singular, but I have difficulties...
In particular, I get the following error message:
Quote:
make[5]: Entering directory '...sources/Singular4/singular-4.1.2/Singular/dyn_modules/python'
CXX python_module_la-python_module.lo
python_module.cc: In function ‘int mod_init(SModulFunctions*)’:
python_module.cc:78:3: error: ‘initSingular’ was not declared in this scope; did you mean ‘PyInit_Singular’?
78 | initSingular();
| ^~~~~~~~~~~~
| PyInit_Singular
python_module.cc:79:3: error: ‘init_Singular’ was not declared in this scope; did you mean ‘PyInit_Singular’?
79 | init_Singular();
| ^~~~~~~~~~~~~
| PyInit_Singular
make[5]: *** [Makefile:601: python_module_la-python_module.lo] Error 1


I tried to find initSingular function, but it is nowhere.
How can it be fixed?

Thanks for any help, I desperately need to finish this compilation.
If any other details are needed, just let me know.

Re: Compiling Singular

hannes · Sun Jul 14, 2019 12:15 am

add --disable-python_module to the configure call.

Re: Compiling Singular

nbela1 · Mon Jul 15, 2019 10:24 pm

Thanks for the tip. I managed to compile Singular with python module disabled. Now it runs.