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

A path too long when running "make" #166

Open
aeiou6630 opened this issue Mar 2, 2023 · 0 comments
Open

A path too long when running "make" #166

aeiou6630 opened this issue Mar 2, 2023 · 0 comments

Comments

@aeiou6630
Copy link

Hi,

I'm trying to build GITR in a Ubuntu 22.04 subsystem on Windows 11. When proceeding to
make -j
, and running through a lot of steps, the system found that there was a path too long.

[ 33%] Performing configure step for 'netcdf-cxx4_download'
/bin/sh: 1: PATH=/a/very/long/path File name too long
make[2]: *** [CMakeFiles/netcdf-cxx4_download.dir/build.make:92: external/src/netcdf-cxx4_download-stamp/netcdf-cxx4_download-configure] Error 127
make[1]: *** [CMakeFiles/Makefile2:251: CMakeFiles/netcdf-cxx4_download.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 35%] Built target interpolator_tests
make: *** [Makefile:101: all] Error 2

I'm not sure if this was the reason that caused this error, but the make process did get stuck here. The folder CMakeFiles is attached here. I hope it is relevant in solving this issue. Otherwise, please let me know what I should provide for further diagnosis of the problem. Thanks!

CMakeFiles.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant