-
Notifications
You must be signed in to change notification settings - Fork 38
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
Building problem on Linux #91
Comments
@ATM-Jahid Can you tell me what versions of git, python, and cmake you are using? |
I am using the following versions. |
Hello @ATM-Jahid NJOY21 expresses its dependencies through git submodules. When the submodule initialization fails, git has the nasty habit of deleting the directory corresponding to the submodule from the parent repository. I suspect that when you quit while running
which should show the Assuming you haven't made any changes you need to keep around, the most straight forward resolution (imo) is just to reset the repository and rerun the command. From the highest level directory of your NJOY21 clone, run
or alternately, you could reclone the repository. You're note the first person this behavior has caused issues for and I hope it didn't cause you to lose too much time. In the near future, the configuration will be done differently and this sort of problem will not be possible. |
I followed your procedure. Now, it worked. But, I am very much at dark about the cause of this issue. Anyway, when I ran
Also, |
This warning is expected. I've not encountered the function elimination warning, but knowing the use of the function in question, |
:( |
It appears that NJOY21 was not installed to a directory in your To clarify, you have run Otherwise, in your highest-level build tree directory, there is a file called I gather from the paths in your earlier comments, you're on a Linux computer, so in which case, please include the output of the following:
|
No, I did not run
Output of
|
I re-did the entire process again. This time, after I ran
|
You very likely to not have write permissions for the We can do one of two things:
If you're working on your own personal computer, the former is probably fine. On many Linux distributions, you can install as an administrator using
|
I hope I'm not being burdensome. :(
|
In the output of What do you see when you run
|
The output for |
I think I broke my system! I was trying to remove the package and reinstall it.
|
Oof Okay, so pacman (like apt, yum, or dnf) is a package manager. They will not be aware of software you've installed manually. From the output you posted, it appears the permissions on one or more files in The issue with permissions can be confirmed by running
or in the particular case
You'll see several columns of output. In the first column of output, you'll see a string describing the permissions, like -rw-r--r--
# owner permissions are 'rw-' meaning read and writing, but not execute.
# group permissions are 'r--' meaning read, but not write or execute.
# global permissions are 'r--' meaning read, but not write or execute. I suspect you'll see these files belong to chmod |
After I execute the command
./metaconfigure/fetch_subprojects.py ../1.0.1-NJOY21.json
in the NJOY21 directory, the process gets stuck atFetching njoy...
.If I quit the process and re-execute it again, the following problem arises:
The text was updated successfully, but these errors were encountered: