hiyas guys/gals i have a small problem .im new linux so please are with me, my friend picked up some old cisco 7960g ip phones and wants to hook them up but without buying a full cisco rig we thought it couldnt be done till i googled asterisk can on freepbx. so here i go i installed vmware on my lappy to see if i can do this. i installed the freepbx on it and then read up on the net i needed a special driver so i got that Chan_SCCP-4.2.1_STABLE_r6370 so i worked out how to get that on the machine. then learnt how to extract it… pat on the back for me… now when i went into the folder and ran ./configure it comes up with this error and i dont know how to fix it…
Checking Configure Options:
checking pkg-config asterisk… not found
checking Search Path: /usr /usr/local /opt… not-found
not-found
not-found
configure: Please install either the asterisk-devel package.
configure: Or run ./configure --with-asterisk=PATH with PATH pointing to the directory where you installed asterisk
configure: error: Cannot find pbx libraries - these are required.
[root@localhost Chan_SCCP-4.2.1_STABLE_r6370]#
now i first did it in the home dir nothing so then i went to etc/asterisk/ and popped the folder in there and ran .configure again and nothing i get same error… can anyone tell me where im going wrong because asterisk is installed but the os cant find it im very confused.
thank u inadvance for anyone taking the time to answer
There was a typo with the “predefined” include file. I (and a couple other folks) had to edit the source and comment out the include file which seems to be double including itself with safety code. I need to let Deidrich know there’s a problem.
That’s a version mismatch. Your asterisk-devel files are different than your kernel. If you’re not getting a bunch of “already defined” errors, the problem has probably been fixed.
Check your kernel version and see what that says. It should closely match your asterisk-devel version.
After that, it’s going to be time to hit the chan-sccp-b forum and see what Deidrich has to say. It should build correctly with that old a version of Asterisk, but it’s possible he missed something and it needs a newer Asterisk version.