curl / Mailing Lists / curl-library / Single Mail


Re: minor issue with build

From: Michael Felt <>
Date: Fri, 21 Apr 2017 14:37:27 +0200

On 21/04/2017 14:24, Daniel Stenberg wrote:
> On Fri, 21 Apr 2017, Michael Felt wrote:
>> The generated Makefile in ./src is not working on AIX (tried both AIX
>> 5.3 and AIX 6.1).
>> I would think it should work, but sadly - it does not seem to.
>> Here is the "diff -u" that fixes it for me.
> Exactly that fix was attempted already as the discussion in
> tells (see commit
> 5b4cbcf11d5), but it was reverted again in commit 7c145bb2a0a6c176
> since it doesn't work for out-of-tree builds.
Repeating - and I am doing out-of-tree builds - it seems that
../docs/curl.1 is not found.

Target "all" is up to date.
Making all in src
         echo '#include "tool_setup.h"' > tool_hugehelp.c
         echo '#ifndef HAVE_LIBZ' >> tool_hugehelp.c
         env LC_ALL=C /usr/bin/nroff -man ../docs/curl.1 |
/usr/bin/perl ../../src/curl-7.54.0/src/
../../src/curl-7.54.0/docs/MANUAL >> tool_hugehelp.c
/usr/bin/nroff: can't open file ../docs/curl.1
         echo '#else' >> tool_hugehelp.c
         env LC_ALL=C /usr/bin/nroff -man ../docs/curl.1 |
/usr/bin/perl ../../src/curl-7.54.0/src/ -c
../../src/curl-7.54.0/docs/MANUAL >> tool_hugehelp.c
/usr/bin/nroff: can't open file ../docs/curl.1
Warning: compression requested but Gzip is not available
         echo '#endif /* HAVE_LIBZ */' >> tool_hugehelp.c
         make all-am

This is "out-of-tree"
root_at_x064:[/data/prj/aixtools/curl-7.54.0]find . -name curl.1

It is in the src area:

root_at_x064:[/data/prj/aixtools/curl-7.54.0]find ../src/curl-7.54.0 -name

Is this what the github discussion discusses?

p.s. - Once upon a time I cloned curl (at least I think I did) - what is
the correct way to update that, ideally via the command line (question
may also be ignored as it is a git thing, not curl).

Received on 2017-04-21