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*10000+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