xgboost icon indicating copy to clipboard operation
xgboost copied to clipboard

how install xgboost in centos with gcc4.4.7

Open colinsongf opened this issue 10 years ago • 4 comments

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

colinsongf avatar Sep 30 '16 08:09 colinsongf

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

khotilov avatar Oct 04 '16 04:10 khotilov

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

colinsongf avatar Oct 05 '16 03:10 colinsongf

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.

xydrolase avatar Oct 05 '16 04:10 xydrolase

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

lockmatrix avatar Oct 07 '16 09:10 lockmatrix