Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-07 Thread David Backeberg
On Tue, Sep 6, 2011 at 10:36 PM, Leif Madsen
leif.mad...@asteriskdocs.org wrote:
 However you could select/deselect modules using menuselect if you wanted to
 automate the process. It's documented over here:

 http://ofps.oreilly.com/titles/9780596517342/asterisk-Install.html#Installing_id293439

Yeah, menuselect has been in linux kernel tree forever, and I was
excited when it got added to asterisk build. But that was irrelevant
because I wasn't getting the configure to complete. The configure is a
prerequisite for any of the make commands.

I'm also a big fan of 'make sounds'.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-07 Thread Tzafrir Cohen
On Wed, Sep 07, 2011 at 10:02:02AM -0400, David Backeberg wrote:
 On Tue, Sep 6, 2011 at 10:36 PM, Leif Madsen
 leif.mad...@asteriskdocs.org wrote:
  However you could select/deselect modules using menuselect if you wanted to
  automate the process. It's documented over here:
 
  http://ofps.oreilly.com/titles/9780596517342/asterisk-Install.html#Installing_id293439
 
 Yeah, menuselect has been in linux kernel tree forever, and I was
 excited when it got added to asterisk build. But that was irrelevant
 because I wasn't getting the configure to complete. The configure is a
 prerequisite for any of the make commands.

No. Asterisk does not use the configuration system used by the Linux
kernel (Kbuild). Don't confuse 'menuconfig' with 'menuselect'.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-06 Thread David Backeberg
I'm having annoying errors trying to get configure working.

tar xvzf /usr/local/src/asterisk-1.8.6.0.tar.gz
cd asterisk-1.8.6.0
./configure

I get complaints related to pwlib / ptlib...

checking for openr2_chan_new in -lopenr2... no
checking /root/pwlib/include/ptlib.h usability... no
checking /root/pwlib/include/ptlib.h presence... no
checking for /root/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... yes
checking /usr/include/ptlib.h presence... yes
checking for /usr/include/ptlib.h... yes
checking for ptlib-config... /usr/bin/ptlib-config
./configure: line 24978: 2*1+6*100+5 /usr/lib64/ /usr/lib/:
division by 0 (error token is /lib64/ /usr/lib/)

There seems to also be a problem with CentOS 6 in general that I have
not found a package that actually provides /usr/bin/ptlib-config. I
copied that binary over from a CentOS 5 install to see if I could get
my original error to clear.

Here's THAT error...

checking for openr2_chan_new in -lopenr2... no
checking /root/pwlib/include/ptlib.h usability... no
checking /root/pwlib/include/ptlib.h presence... no
checking for /root/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... yes
checking /usr/include/ptlib.h presence... yes
checking for /usr/include/ptlib.h... yes
checking for ptlib-config... no
./configure: line 24906: --ldflags: command not found
Cannot find ptlib-config - please install and try again

And then I searched around the config trying to figure out how not to
use ptlib at all, and ultimately I tried just doing...

rpm -e ptlib ptlib-devel (and the other packages)

And this got my asterisk configure to complete.

But really, I'm wondering if other people have run into the same
problem, or if there is a nifty configure argument that would keep me
from needing to uninstall the library.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-06 Thread Kevin P. Fleming

On 09/06/2011 03:08 PM, David Backeberg wrote:


There seems to also be a problem with CentOS 6 in general that I have
not found a package that actually provides /usr/bin/ptlib-config. I
copied that binary over from a CentOS 5 install to see if I could get
my original error to clear.

Here's THAT error...

checking for openr2_chan_new in -lopenr2... no
checking /root/pwlib/include/ptlib.h usability... no
checking /root/pwlib/include/ptlib.h presence... no
checking for /root/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... yes
checking /usr/include/ptlib.h presence... yes
checking for /usr/include/ptlib.h... yes
checking for ptlib-config... no
./configure: line 24906: --ldflags: command not found
Cannot find ptlib-config - please install and try again


This is a bug in the configure script, but in the meantime, you should 
be able to use --without-pwlib to avoid it, as long as you aren't 
trying to build chan_h323.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-06 Thread Danny Nicholas
First, have you tried ./configure --help?
Next try the --with-pwlib parameter
Somewhere in the list, make sure your YUM paths are happy.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of David
Backeberg
Sent: Tuesday, September 06, 2011 3:08 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with
ptlib

I'm having annoying errors trying to get configure working.

tar xvzf /usr/local/src/asterisk-1.8.6.0.tar.gz
cd asterisk-1.8.6.0
./configure

I get complaints related to pwlib / ptlib...

checking for openr2_chan_new in -lopenr2... no checking
/root/pwlib/include/ptlib.h usability... no checking
/root/pwlib/include/ptlib.h presence... no checking for
/root/pwlib/include/ptlib.h... no checking /usr/local/include/ptlib.h
usability... no checking /usr/local/include/ptlib.h presence... no checking
for /usr/local/include/ptlib.h... no checking /usr/include/ptlib.h
usability... yes checking /usr/include/ptlib.h presence... yes checking for
/usr/include/ptlib.h... yes checking for ptlib-config...
/usr/bin/ptlib-config
./configure: line 24978: 2*1+6*100+5 /usr/lib64/ /usr/lib/:
division by 0 (error token is /lib64/ /usr/lib/)

There seems to also be a problem with CentOS 6 in general that I have not
found a package that actually provides /usr/bin/ptlib-config. I copied that
binary over from a CentOS 5 install to see if I could get my original error
to clear.

Here's THAT error...

checking for openr2_chan_new in -lopenr2... no checking
/root/pwlib/include/ptlib.h usability... no checking
/root/pwlib/include/ptlib.h presence... no checking for
/root/pwlib/include/ptlib.h... no checking /usr/local/include/ptlib.h
usability... no checking /usr/local/include/ptlib.h presence... no checking
for /usr/local/include/ptlib.h... no checking /usr/include/ptlib.h
usability... yes checking /usr/include/ptlib.h presence... yes checking for
/usr/include/ptlib.h... yes checking for ptlib-config... no
./configure: line 24906: --ldflags: command not found Cannot find
ptlib-config - please install and try again

And then I searched around the config trying to figure out how not to use
ptlib at all, and ultimately I tried just doing...

rpm -e ptlib ptlib-devel (and the other packages)

And this got my asterisk configure to complete.

But really, I'm wondering if other people have run into the same problem, or
if there is a nifty configure argument that would keep me from needing to
uninstall the library.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-06 Thread David Backeberg
On Tue, Sep 6, 2011 at 4:28 PM, Kevin P. Fleming kpflem...@digium.com wrote:
 This is a bug in the configure script, but in the meantime, you should be
 able to use --without-pwlib to avoid it, as long as you aren't trying to
 build chan_h323.

Thanks much.

I was trying

./configure --disable-chan_ooh323

and that was not making a difference.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-06 Thread Kevin P. Fleming

On 09/06/2011 04:09 PM, David Backeberg wrote:

On Tue, Sep 6, 2011 at 4:28 PM, Kevin P. Flemingkpflem...@digium.com  wrote:

This is a bug in the configure script, but in the meantime, you should be
able to use --without-pwlib to avoid it, as long as you aren't trying to
build chan_h323.


Thanks much.

I was trying

./configure --disable-chan_ooh323

and that was not making a difference.


It won't, for two reasons: Asterisk modules can't be selected/deselected 
via the configure script (menuselect is used for that), and chan_ooh323 
doesn't use pwlib/openh323, chan_h323 does.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] trying to build 1.8.6.0 on CentOS 6, problems with ptlib

2011-09-06 Thread Leif Madsen

On 06/09/11 05:14 PM, Kevin P. Fleming wrote:

I was trying

./configure --disable-chan_ooh323

and that was not making a difference.


It won't, for two reasons: Asterisk modules can't be selected/deselected
via the configure script (menuselect is used for that), and chan_ooh323
doesn't use pwlib/openh323, chan_h323 does.


However you could select/deselect modules using menuselect if you wanted 
to automate the process. It's documented over here:


http://ofps.oreilly.com/titles/9780596517342/asterisk-Install.html#Installing_id293439

(Just thought I'd pass that along as I thought it was pretty neat when I 
learned about it :))


--
Leif Madsen
http://www.oreilly.com/catalog/asterisk

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users