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

Configure does not handle well the case of doxygen not found, but --enable-docs is used #2378

Closed
edwardhartnett opened this issue Jun 7, 2022 · 0 comments · Fixed by #2377

Comments

@edwardhartnett
Copy link
Contributor

If --enable-doxygen is used with configure, but doxygen is not found, instead of erroring out in configure, the build gives this warning:

checking for doxygen... no
configure: WARNING: Doxygen not found - documentation will not be built

And then fails in the docs directory with this confusing message:

make[3]: Entering directory '/home/runner/work/netcdf-c/netcdf-c/docs'
Doxyfile \
cp auth.md obsolete/fan_utils.html html
/bin/bash: line 1: Doxyfile: command not found
make[3]: *** [Makefile:825: doxyfile.stamp] Error 127

Instead, configure should error out and tell the user to install doxygen, or build without --enable-doxygen.

I will fix.

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