Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: autoreconf -ivf #79

Open
meness opened this issue Jul 25, 2017 · 16 comments
Open

Error: autoreconf -ivf #79

meness opened this issue Jul 25, 2017 · 16 comments

Comments

@meness
Copy link

meness commented Jul 25, 2017

Hi,

I'm using the version 5.3.0 of NPM and getting following error after npm install.

× Error: autoreconf -ivf && ./configure --disable-gifview --disable-gifdiff --prefix="xxx\node_modules\gifsicle\vendor" --bindir=
"xxx\node_modules\gifsicle\vendor" && make install
Command failed: autoreconf -ivf
'autoreconf' is not recognized as an internal or external command,
operable program or batch file.

at ChildProcess.exithandler (child_process.js:211:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:192:7)
at maybeClose (internal/child_process.js:890:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:189:7)
at Pipe._handle.close [as _onclose] (net.js:501:12)
@nwaweru
Copy link

nwaweru commented Feb 22, 2018

Linux:
sudo apt-get install libtool automake autoconf nasm
OS X:
brew install libtool automake autoconf nasm

@KeithCowan
Copy link

How about on Windows??

@mojavelinux
Copy link

mojavelinux commented Dec 30, 2018

The update to 4.0.1 broke installation on Alpine Linux.

Output:
⚠ spawn /root/node_modules/gifsicle/vendor/gifsicle ENOENT
  ⚠ gifsicle pre-build test failed
  ℹ compiling from source
  ✖ Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: autoreconf: not found

(4.0.0 installs fine)

@zzroche
Copy link

zzroche commented Feb 12, 2019

How about on Windows??

I've the same problem

@gsaini
Copy link

gsaini commented Feb 18, 2019

I also have the same issue on windows machine.

@zzroche
Copy link

zzroche commented Feb 18, 2019

Also doesn't work without gulp.

@lukas-lansky
Copy link

Linux:
sudo apt-get install libtool automake autoconf nasm

In Alpine, apk add libtool automake autoconf nasm is not sufficient as it leads to configure: error: no acceptable C compiler found in $PATH. apk add build-base helped me with this problem, but that for itself says OK: 271 MiB in 52 packages. It really forces staged builds.

@RainLucky
Copy link

我在Windows机器上也有同样
我也是,请问你们这个问题解决了吗?
Me too.Have you solved this problem?

@Pines-Cheng
Copy link

Linux:
sudo apt-get install libtool automake autoconf nasm
OS X:
brew install libtool automake autoconf nasm

fixed my problem.

@EmanueleCiriachi
Copy link

EmanueleCiriachi commented Jul 3, 2020

I'm on Windows. As per this comment, adding the following entries to the hosts file temporarily solved the problem for me:

2.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars0.githubusercontent.com
151.101.76.133 avatars1.githubusercontent.com
151.101.76.133 avatars2.githubusercontent.com
151.101.76.133 avatars3.githubusercontent.com
151.101.76.133 avatars4.githubusercontent.com
151.101.76.133 avatars5.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com

@norhan22
Copy link

norhan22 commented Jul 4, 2020

I'm on Windows. As per this comment, adding the following entries to the hosts file temporarily solved the problem for me:

2.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars0.githubusercontent.com
151.101.76.133 avatars1.githubusercontent.com
151.101.76.133 avatars2.githubusercontent.com
151.101.76.133 avatars3.githubusercontent.com
151.101.76.133 avatars4.githubusercontent.com
151.101.76.133 avatars5.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com

Where should I add this lines ?
I have the same error

@EmanueleCiriachi
Copy link

Where should I add this lines ?
I have the same error

In the hosts file.

@lhtdesignde
Copy link

Just ran into this issue with version 5.1.0. Locally it seem fine. However running with circle ci i get the error:
Screenshot 2020-08-27 at 13 43 06

Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: 1: autoreconf: not found

Any workaround yet?

@sbddesign
Copy link

Just ran into this issue with version 5.1.0. Locally it seem fine. However running with circle ci i get the error:
Screenshot 2020-08-27 at 13 43 06

Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: 1: autoreconf: not found

Any workaround yet?

@lhtdesignde I had the same error message in Ubuntu 20.04. I solved the problem by running sudo apt-get install autoconf .

I am not very experienced with Circle CI, but perhaps there a way to configure it to install autoconf prior to running npm install? For example, I sometimes uses Docker for development, and with that you can setup your Dockerfile to run CLI commands and install different types of dependencies in a specific order.

@wenjq2018
Copy link

I have the same on Win

@hugop95
Copy link

hugop95 commented Jan 25, 2021

Not sure if that will help future users on Windows, but for me, the issue was that I was behind a corporate proxy. Disabling it solved the issue and the pre-build test passed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests