Asterisk installation problem

Help,
I’m very new to asterisk and tried to install it in my system following the instructions in the document asteriskTFOT.pdf page 60:
When I try to compile asterisk by typing ‘make’ I get the following message:


**** The configure script must be executed before running ‘make’.


make: *** [makeopts] Error 1

Any ideas? I’m new to this and am just trying to learn it.

The configure script must be executed before running ‘make’ :smile:
Try this
#./confugire && make && make install

[quote=“facha”]The configure script must be executed before running ‘make’ :smile:
Try this
#./confugire && make && make install[/quote]

Thanks. I just wonder where this is documented.

The configure is new to asterisk. It started to be used in asterisk 1.4. The version that the book was written on is 1.2.X. Ironicly in the book the authors write that by the time the book is out a lot of things written may be absolete.

in the text files in the root of the source !

Thank you very much. I was able to install asterisk without any problems after running ./configure. Couldn’t have done it without your help.

Solution1:
If you have never ./configure in your build environment, just run the following commands
> ./configure
> make
This is the right way to do and always the best solution

Solution2:
If you had already run ./configure in your build environment and doesn’t want to run “./configure” then check the timestamp of the “makeopts” and “configure” files.
The “makeopts” file’s timestamp should be later than “configure” file. If not, run the following commands to change the timestamp of “makeopts” and build
> touch makeopts
> make