Singular
https://www.singular.uni-kl.de/forum/

Compiling Singular
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2857
Page 1 of 1

Author:  nbela1 [ Fri Jul 12, 2019 10:01 pm ]
Post subject:  Compiling Singular

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.

Author:  hannes [ Sun Jul 14, 2019 12:15 am ]
Post subject:  Re: Compiling Singular

add --disable-python_module to the configure call.

Author:  nbela1 [ Mon Jul 15, 2019 10:24 pm ]
Post subject:  Re: Compiling Singular

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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/