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

batuman picture batuman · Nov 26, 2018 · Viewed 24.2k times · Source

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?

Answer

Matthieu Brucher picture Matthieu Brucher · Nov 26, 2018

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