-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 fails when Perl is missing #1565
Comments
That was fixed in #1432, please try a daily snapshot |
The return code is fixed, yes. But the main issue (build fail without Perl) remains in curl-7.54.1-20170612 |
Hm, so that means the makefile somehow deems the file should get regenerated even though it is fresh in the archive... |
Isn't the bug already in the |
No, the tarball comes with the hugehelp.c file pre-built bundled already which is the built-in manual. A build doesn't need perl for that unless it needs to rebuild it. |
Okay. It looks like
|
oh yes, because we've added a "man page date update" script recently that now updates the man pages at the time of the tarball creation ... so we should probably forcibly make the |
Are you talking about
But isn't this rule insufficient?
This takes any MANPAGE (= |
|
Sorry, I missed some meta: my last comment was about how the tarball is created and how it can be possible that From what I could find in the sources, this is not about the |
The maketgz script now makes sure the generated hugehelp.c file in the tarball is newer than the generated curl.1 man page, so that it doesn't have to get unnecessarily rebuilt first thing in a typical build. It thus also removes the need for perl to build off a plain release tarball. Fixes #1565
Even if the workaround in #1568 fixes the consequences, the underlying dependency issue remains. It can be reproduced by running
While curl.1 is properly updated when running make after changing page-footer, src/tool_hugehelp.c is not updated. As far as my research goes, we have a recursive dependency in the build system (tool_hugehelp.c -> curl.1 -> *.d,page-header,page-footer) that automake can only resolve when modelled as subdirectories. I tried to patch this but could not express the dependency: file src/tool_hugehelp.c depends on the docs/ folder to be up-to-date. |
Sorry, the example was wrong, since Edit: Okay, the dependency resolution works because |
wow, this is complex. But makes all sense now. #1568 will resolve this. |
The maketgz script now makes sure the generated hugehelp.c file in the tarball is newer than the generated curl.1 man page, so that it doesn't have to get unnecessarily rebuilt first thing in a typical build. It thus also removes the need for perl to build off a plain release tarball. Fixes #1565
On a system without Perl (e.g. FreeBSD), compilation fails because of checking for perl... no and Built-in manual: enabled for a plain
./configure; make
using curl 7.54.0 from zip download.Full build log.
One other thing I find strange is that after the error output, the command hangs forever instead of failing with non-0 return code.The text was updated successfully, but these errors were encountered: