[Top][All Lists]

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

Re: execute.c doesn't have fallback for systems without posix_spawn

From: Eric Blake
Subject: Re: execute.c doesn't have fallback for systems without posix_spawn
Date: Wed, 30 Jul 2014 20:28:24 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

[adding gnulib]

On 07/30/2014 07:14 PM, Garrett Cooper wrote:
> Hi,
>     I recently tried to install m4 1.4.17 on FreeBSD 7 (which doesn't
> have posix_spawn) and I ran into build errors with execute.c; it was
> looking for posix_spawn-related constants and the API, which didn't
> exist.
>     I'm not sure what the best course of action would be for this --
> either remove the autoconf-related feature checking or add the
> necessary #defines to support OSes without posix_spawn.

M4 uses the gnulib module for posix_spawn, which _should_ work on
systems that lack it natively.  The autoconf checking for posix_spawn
should be learning that there is no native posix_spawn and supply a
working alternative based on fork() that just works.  Can you please
show the (section of) config.log related to posix_spawn probes, to see
if there's something that went obviously wrong?  Also, it might be nice
to debug this gnulib issue in isolation; are you able to help debug
things if I help you test a tarball created from gnulib.git?

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

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]