Re: Encounter problems when installing m4

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs
Organization Red Hat, Inc.
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlxS73wACgkQp6FrSiUn
Q2oXfAf+OCoO1JDlq2H3HV7EpsKDn+nspKKAGTXOCgeE21ULmPBERvTpgMYiSYuR
yd5raeYaOEfBjAY+m55aLuxfL+m4aGvw1Wb8Upzi8P+2nbh5dU/OPIrG6eWmPj9z
6rMBuuSR/9gGqFpOBP0Nn3YUOZsOByASfQgmt4IKS+t8FCc7BZkMXvbuTHyFlX63
zqji1W89icyMCBXJl/fhpNOL4m5LWGTt1MFoSfw2fURlyunjWqYeQk4ee2orT2RN
TAZoh3EsfDslg1gODSoiXtel7lSvAcnNKliZRIs+XjPt9p3dMQ5Z7oCn/bBXzDel
wJOY/gvfdgVa5aIAMUfuBOGhvBdTWA==
=eo0h
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.