[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannnot build nbd from git clone



On 12/12/2017 02:18 PM, richard parkins wrote:
> rparkins@rparkins64:~/Downloads> git clone https://github.com/NetworkBlockDevice/nbd.git
> Cloning into 'nbd'...
> remote: Counting objects: 8058, done.
> remote: Compressing objects: 100% (3/3), done.
> remote: Total 8058 (delta 0), reused 1 (delta 0), pack-reused 8055
> Receiving objects: 100% (8058/8058), 4.34 MiB | 781.00 KiB/s, done.
> Resolving deltas: 100% (5294/5294), done.
> rparkins@rparkins64:~/Downloads> cd nbd
> rparkins@rparkins64:~/Downloads/nbd> autoconf
> rparkins@rparkins64:~/Downloads/nbd> automake

Generally, instead of running 'autoconf; automake', you should run:

autoreconf -i

as that makes sure all of the necessary autotools get run (for example,
running aclocal at the right point in time, which you omitted).  Many of
the errors you encountered stem from not doing that first step.
However, I was able to reproduce this error on a fresh clone when using
the proper 'autoreconf -i':

> configure.ac:310: error: required file 'man/nbd-client.8.sh.in' not found
> configure.ac:310: error: required file 'man/nbd-server.5.sh.in' not found
> configure.ac:310: error: required file 'man/nbd-server.1.sh.in' not found
> configure.ac:310: error: required file 'man/nbd-trdump.1.sh.in' not found
> configure.ac:310: error: required file 'man/nbdtab.5.sh.in' not found
> configure.ac:310: error: required file 'systemd/nbd@.service.sh.in' not found

I'm not sure why that is failing, or why I can reproduce it on a fresh
checkout even though my incremental builds are working fine.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: