0

I have an open source repository in my Ubuntu development machine.

The issue is that I am not able to compile the source code.

I have tried ./configure and it failed. I could see that the directory does not have an executable configure.

On the other hand, the directory contains a configure.ac file.

Similarly the directory also contains a file Makefile.am.

Can somebody assist me in building the source code and generating a library out of it which can be used in other code.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Babu James
  • 2,740
  • 4
  • 33
  • 50

1 Answers1

0

These files are used with the Autotools suite. Makefile.am files are compiled to Makefiles using automake.

Here are the steps to compile the code:

  1. Configure

    ./configure
    

If that had issues, then try:

autoreconf
  1. builds (compile) the source code:

    make
    
  2. and optionally, to install:

    sudo make install
    

(or su -c "make install")

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Nima
  • 1,470
  • 2
  • 17
  • 25