1.6.2.9 version of asterisk appears to be broken

Today I downloaded asterisk-1.6.2.9.tar.gz and cp and untarred it into /usr/src/asterisk-1.6.2.9
I am loading it on Ubuntu 10.4 LTS Server.
Then did the standard “sudo ./configure” The configure appeared to process correctly and w/o errors.

When I tried to sudo make and I get the error shown below, so the “configure” is either blown or the file is supposed to be part of the tar file I downloaded from the website, but is missing.

Any ideas?

padapa

[quote]make: -F.: Command not found
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -
/bin/sh: Illegal option -


**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.


make: *** [makeopts] Error 1[/quote]

Upon further research I found I get the following response, even though the libxml2 package is installed.

[quote]configure: *** XML documentation will not be available because the ‘libxml2’ development package is missing.
configure: *** Please run the ‘configure’ script with the ‘–disable-xmldoc’ parameter option
configure: *** or install the ‘libxml2’ development package.
[/quote]

If I reinstall libxml2, it shows already installed???

[quote]sudo apt-get -y install libxml2
Reading package lists… Done
Building dependency tree
Reading state information… Done
libxml2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
[/quote]

Could this crash the make being made?

the message says the development package is missing: libxml2-devel , not libxml2

Ok,

So I found if I do the “configure” like this:

Then “configure” generates the make file w/o xmldocs.

So the real issue is xmllib2 being installed but not seen correctly by asterisk.

Does anyone know how to fix this?

Thanks mudslide567 … I missed the dev on the backend.

Added the right missing library and

now “configure” works correctly and make is now there and all is working. :smile:

Feeling a little on the stupid side! :blush: