Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how install xgboost in centos with gcc4.4.7 #1630

Closed
colinsongf opened this issue Sep 30, 2016 · 4 comments
Closed

how install xgboost in centos with gcc4.4.7 #1630

colinsongf opened this issue Sep 30, 2016 · 4 comments

Comments

@colinsongf
Copy link

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

@khotilov
Copy link
Member

khotilov commented Oct 4, 2016

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

@colinsongf
Copy link
Author

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

@xydrolase
Copy link
Contributor

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.

@lockmatrix
Copy link

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

@tqchen tqchen closed this as completed Jul 4, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants