Xgboost: how install xgboost in centos with gcc4.4.7

Created on 30 Sep 2016  ·  4Comments  ·  Source: dmlc/xgboost

Environment info

Operating System:
centos 6.7
Compiler:
gcc4.4.7

Package used
python

xgboost version used:0.6

i can not install devtoolset, because i am not superuser
please give me some advice about how to install xgboost python with gcc4.4.7

Most helpful comment

Try:
prepare a centos 6.7 vm
install newer gcc
build xgboost with -static-libstdc++
then you get a portable libxgboost.so

All 4 comments

You can check-out an older pre-mid-January version.
Or, if feeling brave, try building a newer gcc from source.

hello, khotilov, thank you , i have installed older pre-mid-January version using gcc 4.4.7

You can download the appropriate RPMs for devtoolset, extract the RPM manually, set up the PATH and LD_LIBRARY_PATH environment variables properly. Then you can use a newer GCC to compile it.

Try:
prepare a centos 6.7 vm
install newer gcc
build xgboost with -static-libstdc++
then you get a portable libxgboost.so

Was this page helpful?
0 / 5 - 0 ratings