that in combination with recompiling the current gmp worked
wget https://gmplib.org/download/gmp/gmp-6.1.0.tar.lz
lzip -d gmp*
tar -xvf gmp*
cd gmp-6.1.0
./configure --enable-cxx
make -j4
sudo make install
julia
Pkg.clone("https://github.com/symengine/SymEngine.jl")
Pkg.build("SymEngine")
import SymEngine
x = SymEngine.symbol("x")
y = SymEngine.symbol("y")
a = x^2 + x/2 - x*y*5
b = SymEngine.diff(a, x)
b == 2*x + Rational(1, 2) - 5*y
true
On Tuesday, March 22, 2016 at 1:29:50 AM UTC-4, kunal singh wrote:
>
> trying using g++compiler-4.7 or above
>
> On Tuesday, March 22, 2016 at 6:28:06 AM UTC+5:30, Jeffrey Sarnoff wrote:
>>
>> For others, the package is here: SymEngine.jl
>> <https://github.com/symengine/SymEngine.jl>
>> There is more difficulty within the package as it currently configured
>> for distribution. It does not build properly for me on Linux.
>> ERROR: LoadError: failed process: (`cmake ...`) ... while loading
>> /home/jas/.julia/v0.4/SymEngine/deps/build.jl, in expression starting on
>> line 63
>> also, try going into the SymEngine build directory and removing any
>> autogenerated files
>>
>>
>>
>> On Monday, March 21, 2016 at 1:16:59 PM UTC-4, kunal singh wrote:
>>>
>>> Hi everyone,
>>>
>>> I have installed SymEngine package .
>>> I am trying to fix some warning issues in this package.
>>>
>>> So after I have made correct changes(tested it on travis-CI and got no
>>> more warning there)
>>> in this package i execute the following commands :
>>> julia -e 'Pkg.build("SymEngine")'
>>> julia -e 'Pkg.test("SymEngine")'
>>>
>>> I get the same warnings.
>>> Want I think is whatever changes I make the changes are not being
>>> compiled by julia -e 'Pkg.build("SymEngine")'
>>> Need urgent help pls.
>>>
>>