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

BuildIssure “g++: error trying to exec 'jc1': execvp: No such file or directory” #2046

Closed
andrewliuxxx opened this issue Mar 12, 2019 · 6 comments

Comments

@andrewliuxxx
Copy link

andrewliuxxx commented Mar 12, 2019

Environment info

Operating System:Centos7.3

CPU model:

C++ version: 4.8.5
HDFS :CDH-5.14.4

LightGBM version or commit hash: V2.2.3

Error message

g++: error trying to exec 'jc1': execvp: No such file or directory

Reproducible examples

Steps to reproduce

1.git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM
2.cmake -DUSE_HDFS=ON -DHDFS_INCLUDE_DIR=/opt/cloudera/parcels/CDH-5.14.4-1.cdh5.14.4.p0.3/include/ -DHDFS_LIB=/opt/cloudera/parcels/CDH-5.14.4-1.cdh5.14.4.p0.3/lib/hadoop/hadoop-common.jar ..

3.make -j4

@StrikerRUS
Copy link
Collaborator

@ebernhardson Can you please take a look?

@ebernhardson
Copy link
Contributor

ebernhardson commented Mar 12, 2019

Could you grep through the cloudera distribution for jc1 ? I've never seen this program, and it's not obviously available on our CDH servers (running cdh 5.15.0). Some googling suggests it's related to g++, rather than CDH?

Sorry I can't be more help, but this is a very cryptic message from g++. Were this my job i would estimate spending at least 2 days digging around in the servers to come to a solution.

@StrikerRUS
Copy link
Collaborator

@ebernhardson Thank you very much for the response!
Can please help me with #1890 (especially with #1890 (comment)) to eliminate compatibility issues similar to this one?

@andrewliuxxx
Copy link
Author

@ebernhardson @StrikerRUS Thank you very much for the response!The problem is resolved. Modify HDFS_LIB as quotes "HDFS_LIB=/opt/cloudera/parcels/CDH-5.14.4-1.cdh5.14.4.p0.3/lib64/libhdfs.so"

@StrikerRUS
Copy link
Collaborator

@andrewliuxxx Glad that you've solved this issue!

May I ask you paste the working commands (and description of other manipulations you did to compile and use LightGBM HDFS-version, if any), please? It'll allow complete #1890 and help other users with installation of HDFS-version.

@StrikerRUS
Copy link
Collaborator

gentle ping @andrewliuxxx

@lock lock bot locked as resolved and limited conversation to collaborators Mar 11, 2020
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

3 participants