ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Asterisk 1.6.2 build error for libxml2


From: Stuart Hughes
Subject: Re: [Ltib] Asterisk 1.6.2 build error for libxml2
Date: Sun, 10 Jan 2010 11:28:38 +0000
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Nirmala,

LTIB doesn't split target packages into pkg/pkg-dev (sub-packages). Any dependency on a -dev pkg would be something to do with host side dependencies.

You can't go into directories and run ./configure unless you're in the LTIB shell. Even then you need to be careful as the spec file may be passing a number of commands (you need to incorporate them).

You will get different results when using LTIB or natively building, but that's because LTIB is building for the target (cross-compiling).

To resolve this you need to start again (clean of your failed build) and look at the actual failure but studying config.log. If the failure is a missing host -dev package, then add it with your package manager. If it's to do with the target environment you need to figure out what needs changes, or possibly add --disable-xmldoc to the configure in the .spec file you created for the updated asterisk

Regards, Stuart

Nirmala wrote:
Hi Stuart,

I'm trying to port asterisk-1.4.21.1 to asterisk-1.6.2.0. build failed for libxml2 package , However after including libxml2 in the ltib package list , asterisk build failed again for xmldoc. I'm wondering if ltib (8.1.2) package needs libxml2-dev package to solve this problem, for some reason ltib package list does not have ltibxml2-dev development package to include.

asterisk build steps followed through ltib
1. ./ltib -p asterisk -m prep
2. ./ltib -p asterisk -m scbuild
ltib asterisk build gave following error
---------------------
checking for xml2-config... xml2-config
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.
----------------------
from the asterisk-1.6.2.0 directory ran the configure script with disable xmldoc
3. ./configure --disable-xmldoc
4. again build the asterisk through ltib
./ltib -p asterisk -m scbuild
build throws same above error.

Infact building asterisk with make utility (make all) the asterisk build is successful , the error occurs only if tried to build asterisk throght ltib build.

any help would be appreciated.

Thank You
Nirmala






_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]