Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440642

Summary: net-misc/asterisk-? with net-libs/ptlib-? - ?
Product: Gentoo Linux Reporter: James Cloos <cloos>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Cloos 2012-10-31 18:03:32 UTC
The asterisk ebuilds try to disable h323 support, but *’s configure script none-the-less tries to find ptlib.

If it is installed, configure fails when it tries to determine whether the installed version is new enough.  Something (perhaps the gentoo-patchset?) breaks the syntax and causes a syntax error.

Adding --without-pwlib to the econf call will prevent the ptlib check entirely.
(Tested with 11; the fix should be made to all of the versions in portage.)

configure looks for ptlib ONLY for the benefit of *’s h323 module, which Gentoo explicitly disables anyway, so adding the without is the proper fix.


[side note:  since the h323 module is elided, perhaps the etc/asterisk/h323.conf and etc/asterisk/ooh323.conf config files ought not to be installed?]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-31 18:31:17 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.