bug-m4
[Top][All Lists]
Advanced

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

Re: Encounter problems when installing m4


From: Eric Blake
Subject: Re: Encounter problems when installing m4
Date: Thu, 31 Jan 2019 06:52:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 1/31/19 2:10 AM, 張倚馨 wrote:
> Hi GNU,
> 
> Please take a look at my question posted on stackoverflow and I will be
> appreciated if you can help me fix this. Thanks!
> Link:
> https://stackoverflow.com/questions/54454753/gnu-m4-install-failed-after-make-command

Even better than making readers chase a link is to just post your actual
question here:

> 
> Here are the steps I took on cygwin:
> 
>  - wget http://mirrors.kernel.org/gnu/m4/m4-1.4.18.tar.gz
>  - tar -xzvf m4-1.4.18.tar.gz
>  - cd m4-1.4.18
>  - ./configure --prefix=/usr/local/
>  - make
> 
> The terminal(cygwin) shows these:
> 
>         C:/Program Files (x86)/GnuWin32/bin/make all-recursive process_begin: 
> CreateProcess(NULL, /usr/bin/sed -n

Umm - that says you are using GnuWin32's make, not Cygwin's make.
Mismatching your build environment (by mixing two incompatible ports) is
a recipe for disaster.

If you are using Cygwin, then why not use Cygwin's pre-built m4 package
instead of trying to build it yourself? But if you are going to build
it, at least use Cygwin's make.  You'll probably need to fix your $PATH
to be something sane.

At any rate, your problem has nothing to do with upstream m4, and
everything to do with your environment, so this list is not going to be
the best source of help, compared to the Cygwin or GnuWin32 communities.

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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