5

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?

Matthieu Brucher
  • 21,634
  • 7
  • 38
  • 62
batuman
  • 7,066
  • 26
  • 107
  • 229
  • It's not about the autoreconf version, it's about the fact that you need one of the original configure.ac/in files. Are they present? – Matthieu Brucher Nov 26 '18 at 14:22
  • @MatthieuBrucher So you mean the file `configure.ac` or `configure.in` is supposed to be in folly/folly folder. But I can't find such file in the folder. – batuman Nov 26 '18 at 14:33

3 Answers3

1

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

Matthieu Brucher
  • 21,634
  • 7
  • 38
  • 62
  • 1
    i am trying to install it on ubuntu 14;04 - which still gives me the error ... i appreciate if you update your answer with more clarificiation - thanks – Areza Nov 22 '20 at 13:16
0

Installing pkgconf package fixed it for me.

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 03 '22 at 00:57
-3

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.

Fithe_Xanki
  • 107
  • 1
  • 4