GiNaCRA | |
GiNaC Real Algebra package |
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/gcc.rb
rm -v /usr/bin/{cc,gcc,c++,g++}
ln -sv /usr/local/bin/gcc-4.x /usr/bin/cc
ln -sv /usr/local/bin/gcc-4.x /usr/bin/gcc
ln -sv /usr/local/bin/c++-4.x /usr/bin/c++
ln -sv /usr/local/bin/g++-4.x /usr/bin/g++
/usr
you can omit the local
from the instructions above.
brew install ginac
brew install cmake
If you encounter problems installing GiNaC with Homebrew, install its dependencies and install GiNaC from source:
brew install readline && brew install cln
tar xvf ginac-*.tar.gz
cd ginac-*
mkdir build
cd build
../configure
make
make install
tar xvf ginacra-*.tar.gz
cd ginacra-*
mkdir build
cd build
cmake ..
make
make install
su
or sudo
only when absolutely necessary! Brew, for instance, should not require root privileges. Only make install
could.
Contact: Ulrich Loup
Last Update: