autoreconf: 'configure.ac' or 'configure.in' is required

40.5k views Asked by At

I followed the instructions to install FB Machine Learning tools.

One of the libraries installation instructions are

cd ~/libraries
git clone https://github.com/facebook/folly.git
cd folly/folly/
autoreconf -ivf
./configure
cp -R ~/libraries/gtest-1.7/* ./test/gtest-1.7/
make
make check
sudo make install
sudo ldconfig # reload the lib paths after freshly installed folly. fbthrift needs it.

I have problem at autoreconf -ivf, the error is

autoreconf: 'configure.ac' or 'configure.in' is required

But when I install autoreconf, I have the newest version.

autoconf is already the newest version (2.69-9).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

What could be wrong?

3

There are 3 answers

1
Matthieu Brucher On BEST ANSWER

folly is not using the autotols anymore, but CMake (there is only a CMakeLists.txt file, not configure.*).

See here for the steps: https://github.com/facebook/folly#dependencies

1
Branimir Mihelcic On

Installing pkgconf package fixed it for me.

0
Fithe_Xanki On

error: autoreconf: 'configure.ac' or 'configure.in' is required

Just don't try to install.

In most cases the autoreconf -i command helps, but it did not work for you due to an inappropriate package :\

In your case will be adequately to look at the documentation for installation from the terminal to your OS.