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

Error building on Windows #332

Open
Michaelg56 opened this issue Oct 13, 2023 · 3 comments
Open

Error building on Windows #332

Michaelg56 opened this issue Oct 13, 2023 · 3 comments
Labels

Comments

@Michaelg56
Copy link

When attempting to run the nrsc5/support/msys2-build I Get the following message..
configure: loading site script /etc/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: unsafe srcdir value: '/C/Users/Michael Gilbert/AppData/Roaming/SPB_Data/nrsc5/build/fftw-prefix/src/fftw_external'
make[2]: *** [CMakeFiles/fftw_external.dir/build.make:92: fftw-prefix/src/fftw_external-stamp/fftw_external-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:114: CMakeFiles/fftw_external.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

@TheDaChicken
Copy link
Contributor

The script is meant to be run in the home dir on msys2.
All I can assume is that the path could be way too big. Windows doesn't like long paths.

@argilo
Copy link
Collaborator

argilo commented Nov 6, 2023

It may also be worth checking whether the space in the folder name is causing trouble.

If you're able to get this working, please let me know what the issue was, in case there's something in nrsc5 that can be fixed.

@argilo argilo added the bug label Nov 6, 2023
@argilo argilo changed the title [Window Error building on Windows Nov 6, 2023
@argilo
Copy link
Collaborator

argilo commented Feb 16, 2024

The same issue was reported again in #338, and the submitter confirmed that building from a path without spaces resolved the issue. We'll have to see whether some fix can be applied to nrsc5 to make it possible to install from any path.

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

No branches or pull requests

3 participants