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
Description: OpenPGP digital signature