-
Notifications
You must be signed in to change notification settings - Fork 3
Building: CentOS 6
Craig Minihan edited this page May 11, 2015
·
24 revisions
** THIS GUIDE IS NOT COMPLETE **
CentOS 6 has quite an old set of dependencies which must be updated before we can build libjsapi. First we must install GCC 4.4.7:
sudo yum install gcc gcc-c++ make autoconfNow we need to install GCC 4.9.2:
sudo yum install libmpc-devel mpfr-devel gmp-devel
curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.bz2 -O
tar xvfj gcc-4.9.2.tar.bz2
cd gcc-4.9.2.tar.bz2
./configure --disable-multilib --enable-languages=c,c++
make -j 4
sudo make install