Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Compiling Singular
PostPosted: 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.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Compiling Singular
PostPosted: Sun Jul 14, 2019 12:15 am 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
add --disable-python_module to the configure call.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling Singular
PostPosted: Mon Jul 15, 2019 10:24 pm 
Thanks for the tip. I managed to compile Singular with python module disabled. Now it runs.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 10:57 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group