osulp / Easydeposit2

Automate journal article deposit for open access
4 stars 0 forks source link

gcc 4.6+ or Clang/LLVM for deployment #215

Closed revgum closed 5 years ago

revgum commented 5 years ago

Descriptive summary

Servers require an update to compile and use sassc and sassc-rails, I made a request of @rordway to get this updated and we'll see if/when we can do that.

revgum commented 5 years ago

Installed gcc 4.9.4 on deploy-rails user account, then deployed successfully.

# download the gcc sources tar
tar xzf gcc-4.9.4.tar.gz
cd gcc-4.9.4
./contrib/download_prerequisites
./configure --prefix=$HOME/gcc-4.9.4 --disable-multilib
make
make install

# gcc is installed now

export PATH=~/gcc-4.9.4/bin:$PATH
export LD_LIBRARY_PATH=~/gcc-4.9.4/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=~/gcc-4.9.4/lib64:$LD_LIBRARY_PATH
# add exports to ~/.bashrc