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

autogen problem #75

Closed
bkaangorur opened this issue Oct 25, 2021 · 2 comments
Closed

autogen problem #75

bkaangorur opened this issue Oct 25, 2021 · 2 comments

Comments

@bkaangorur
Copy link

Hello, I am trying to build SPRAL in Windows under MSYS2. I need to compile it with g++ instead of MSVC, because my existing code can be compiled in g++. So, I could install the dependencies, METIS and hwloc, without any problem. However, when I try to run autogen.sh script of SPRAL, I am getting the following error and cannot go on.

$ ./autogen.sh
autoreconf export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 1

After I searched for similar errors in StackOverflow and similar platforms, I reinstalled some of the required tools including autoconf, automake and libtool. However, I cannot figure it out. Is there any problem with MSYS2 or installation process?

Thanks in advance.

@jfowkes
Copy link
Contributor

jfowkes commented Oct 25, 2021

I think the easiest thing to do here would be to run ./autogen.sh on a Linux machine (or even under WSL) and copy the files generated by autogen over to your Windows system. Quite why we don't just ship with the necessary build files pre-generated like everyone else I don't know.

@bkaangorur
Copy link
Author

I think the easiest thing to do here would be to run ./autogen.sh on a Linux machine (or even under WSL) and copy the files generated by autogen over to your Windows system. Quite why we don't just ship with the necessary build files pre-generated like everyone else I don't know.

Thank you very much, it worked! As you have said, I generated the files in Linux and continued in Windows.

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

2 participants