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

No rule to make target 'conv-autoconfig.h', needed by 'xi-main.o' #2503

Closed
jbakosi opened this issue Aug 30, 2019 · 5 comments · Fixed by #2506
Closed

No rule to make target 'conv-autoconfig.h', needed by 'xi-main.o' #2503

jbakosi opened this issue Aug 30, 2019 · 5 comments · Fixed by #2506
Assignees
Milestone

Comments

@jbakosi
Copy link
Collaborator

jbakosi commented Aug 30, 2019

I'm attempting to build on alpine linux, using

build charm++ mpi-linux-x86_64 --build-shared --with-production --disable-charmdebug -j36 -O3 -DNDEBUG

I get

./configure: line 3806: syntax error: unexpected redirection
make[1]: *** No rule to make target 'conv-autoconfig.h', needed by 'xi-main.o'.  Stop.
make[1]: Leaving directory '/home/quinoa/quinoa-tpl/install/gnu-x86_64/charm/mpi-linux-x86_64/tmp'

Please let me know if you need more information.

@matthiasdiener
Copy link
Member

Can you please post line 3806 of tmp/configure? What is the output of /bin/sh --version?

@jbakosi
Copy link
Collaborator Author

jbakosi commented Sep 1, 2019

configure:3806:

        IFS=' ' read LDXX_WHOLE_ARCHIVE_PRE LDXX_WHOLE_ARCHIVE_POST <<< $i

There is no output from /bin/sh --version. I have also tested this with bash 5.0, and I get the same problem.

@matthiasdiener
Copy link
Member

Can you try the following?

In line 823 of src/scripts/configure.ac, replace

IFS=' ' read LDXX_WHOLE_ARCHIVE_PRE LDXX_WHOLE_ARCHIVE_POST <<< $i

with

IFS=' ' echo $i | read LDXX_WHOLE_ARCHIVE_PRE LDXX_WHOLE_ARCHIVE_POST

, remove the tmp directory, and rebuild.

@jbakosi
Copy link
Collaborator Author

jbakosi commented Sep 2, 2019

That's a fix! Thanks!

@matthiasdiener
Copy link
Member

Thank you for testing this! I'll submit a patch.

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

Successfully merging a pull request may close this issue.

2 participants