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

Problem: autogen fails from SELFTEST missing in configure.am #1334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BHare1985
Copy link

@BHare1985 BHare1985 commented Apr 4, 2024

A basic project.xml fails with ENABLE_MYPROJECT_SELFTEST does not appear in AM_CONDITIONAL.

This project.xml:

<project script = "zproject.gsl">
    <main name = "hello" private = "1" />
</project>

results in the following error when ./autogen.sh is executed:

configure.ac:55: installing 'config/compile'
configure.ac:58: installing 'config/config.guess'
configure.ac:58: installing 'config/config.sub'
configure.ac:21: installing 'config/install-sh'
configure.ac:21: installing 'config/missing'
src/Makemodule.am:20: error: ENABLE_MYPROJECT_SELFTEST does not appear in AM_CONDITIONAL
Makefile.am:44:   'src/Makemodule.am' included from here
src/Makemodule.am:319: error: ENABLE_MYPROJECT_SELFTEST does not appear in AM_CONDITIONAL
Makefile.am:44:   'src/Makemodule.am' included from here
Makefile.am: installing 'config/depcomp'
parallel-tests: installing 'config/test-driver'
autoreconf: error: automake failed with exit status: 1
autogen.sh: error: autoreconf exited with status 1

It seems that zproject_autotools.gsl had this added but with what seems to be a rogue .else in this commit: 1487ad4 so therefore I am requesting @bluca to review

PS: I didn't use the exact basic example in the README because czmq fails to detect libzmq.

Solution: Remove rogue .else in autotools.gsl

A basic project.xml fails with ENABLE_MYPROJECT_SELFTEST does not appear in AM_CONDITIONAL.

Solution: Remove rogue .else in autotools.gsl
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 this pull request may close these issues.

None yet

1 participant