curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: minor issue with build

From: Michael Felt <michael_at_felt.demon.nl>
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
> https://github.com/curl/curl/issues/1432 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/mkhelp.pl
../../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/mkhelp.pl -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
root_at_x064:[/data/prj/aixtools/curl-7.54.0]

It is in the src area:

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

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).

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-21