Re: [Nbd] build failure

2016-10-17 Thread Eric Blake
On 10/15/2016 01:46 PM, Wouter Verhelst wrote:
> On Fri, Oct 14, 2016 at 03:11:55PM -0500, Eric Blake wrote:
>> On 10/14/2016 01:32 PM, Wouter Verhelst wrote:
>>> On Thu, Oct 13, 2016 at 05:33:18PM -0500, Eric Blake wrote:
 I'm getting this failure when trying to build NBD, as part of
 'autoreconf -vfi':

 configure.ac:248: error: required file 'systemd/n...@.service.sh.in' not
 found
>>>
>>> That's why we have autogen.sh ;-)
>>
>> Okay, that got me further, but there's still warnings about improper
>> automake usage, and then still a fatal build failure during make:
>>
>> make[3]: Entering directory '/home/eblake/nbd/tests/run'
>> Makefile:403: ../../.deps/nbd_tester_client-cliserv.Po: No such file or
>> directory
>> make[3]: *** No rule to make target
>> '../../.deps/nbd_tester_client-cliserv.Po'.  Stop.
> 
> That shouldn't happen, unless you've done something terribly wrong.

Oh, I see what happened. My attempted patch to silence automake warnings
is not quite right, because now I get:
$ find -name nbd_tester_client\*
./tests/run/$(top_srcdir)/.deps/nbd_tester_client-cliserv.Po
./tests/run/.deps/nbd_tester_client-nbd-tester-client.Po

Whoops - that literal '$(top_srcdir)' directory name is a (known)
automake issue, so I'll have to fix my patch.

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general


Re: [Nbd] build failure

2016-10-15 Thread Wouter Verhelst
On Fri, Oct 14, 2016 at 03:11:55PM -0500, Eric Blake wrote:
> On 10/14/2016 01:32 PM, Wouter Verhelst wrote:
> > On Thu, Oct 13, 2016 at 05:33:18PM -0500, Eric Blake wrote:
> >> I'm getting this failure when trying to build NBD, as part of
> >> 'autoreconf -vfi':
> >>
> >> configure.ac:248: error: required file 'systemd/n...@.service.sh.in' not
> >> found
> > 
> > That's why we have autogen.sh ;-)
> 
> Okay, that got me further, but there's still warnings about improper
> automake usage, and then still a fatal build failure during make:
> 
> make[3]: Entering directory '/home/eblake/nbd/tests/run'
> Makefile:403: ../../.deps/nbd_tester_client-cliserv.Po: No such file or
> directory
> make[3]: *** No rule to make target
> '../../.deps/nbd_tester_client-cliserv.Po'.  Stop.

That shouldn't happen, unless you've done something terribly wrong.

Try "make distclean" and running configure again?

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
   people in the world who think they really understand all of its rules,
   and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general


Re: [Nbd] build failure

2016-10-14 Thread Eric Blake
On 10/14/2016 01:32 PM, Wouter Verhelst wrote:
> On Thu, Oct 13, 2016 at 05:33:18PM -0500, Eric Blake wrote:
>> I'm getting this failure when trying to build NBD, as part of
>> 'autoreconf -vfi':
>>
>> configure.ac:248: error: required file 'systemd/n...@.service.sh.in' not
>> found
> 
> That's why we have autogen.sh ;-)

Okay, that got me further, but there's still warnings about improper
automake usage, and then still a fatal build failure during make:

make[3]: Entering directory '/home/eblake/nbd/tests/run'
Makefile:403: ../../.deps/nbd_tester_client-cliserv.Po: No such file or
directory
make[3]: *** No rule to make target
'../../.deps/nbd_tester_client-cliserv.Po'.  Stop.


-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general


Re: [Nbd] build failure

2016-10-14 Thread Wouter Verhelst
On Thu, Oct 13, 2016 at 05:33:18PM -0500, Eric Blake wrote:
> I'm getting this failure when trying to build NBD, as part of
> 'autoreconf -vfi':
> 
> configure.ac:248: error: required file 'systemd/n...@.service.sh.in' not
> found

That's why we have autogen.sh ;-)

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
   people in the world who think they really understand all of its rules,
   and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general