These are chat archives for symengine/symengine

22nd
Feb 2017
Shikhar Jaiswal
@ShikharJ
Feb 22 2017 08:28
@isuruf How can I update the Symengine version for the wrappers? I tried installing them to the symengine directory but got an error:
[ 25%] Building CXX object symengine/lib/CMakeFiles/symengine_wrapper.dir/symengine_wrapper.cpp.o
/home/shikhar/symengine.py/build/lib.linux-x86_64-2.7/symengine/lib/symengine_wrapper.cpp:476:18: fatal error: mpfr.h: No such file or directory
compilation terminated.
symengine/lib/CMakeFiles/symengine_wrapper.dir/build.make:68: recipe for target 'symengine/lib/CMakeFiles/symengine_wrapper.dir/symengine_wrapper.cpp.o' failed
make[2]: *** [symengine/lib/CMakeFiles/symengine_wrapper.dir/symengine_wrapper.cpp.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'symengine/lib/CMakeFiles/symengine_wrapper.dir/all' failed
make[1]: *** [symengine/lib/CMakeFiles/symengine_wrapper.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "setup.py", line 214, in <module>
    'Programming Language :: Python :: 3.5',
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 182, in run
    _install.run(self)
  File "/home/shikhar/anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/setuptools/command/install.py", line 65, in run
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/command/install.py", line 563, in run
    self.run_command('build')
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/shikhar/anaconda2/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 130, in run
    self.cmake_build()
  File "setup.py", line 110, in cmake_build
    raise EnvironmentError("error building project")
EnvironmentError: error building project
Isuru Fernando
@isuruf
Feb 22 2017 08:30
python setup.py build_ext -i --symengine-dir=/path/to/symengine
Shikhar Jaiswal
@ShikharJ
Feb 22 2017 08:32
I used this command. And got the above error.
Isuru Fernando
@isuruf
Feb 22 2017 08:32
how did you install symengine?
Shikhar Jaiswal
@ShikharJ
Feb 22 2017 08:36

Initially I did. But now when I am trying to reinstall by doing this

add-apt-repository ppa:symengine/ppa
apt-get update
apt-get install libsymengine-dev

I am getting E: Unable to locate package libsymengine-dev

Isuru Fernando
@isuruf
Feb 22 2017 08:37
you need the master of symengine, if you want to compile the master of symengine.py
Shikhar Jaiswal
@ShikharJ
Feb 22 2017 08:45
I am on master. For both the two instances.
Isuru Fernando
@isuruf
Feb 22 2017 08:46
python setup.py build_ext -i --symengine-dir=/path/to/symengine/master
the path has to be to the symengine master build dir or install dir
Shikhar Jaiswal
@ShikharJ
Feb 22 2017 08:50
Thanks!
berceanu
@berceanu
Feb 22 2017 19:43
hi guys
i was wondering, what made you choose C++11 instead of rust for example?
berceanu
@berceanu
Feb 22 2017 21:38
รน
berceanu
@berceanu
Feb 22 2017 22:01
or julia