So, I've compiled and installed libpri-1.4.11.5, dahdi-linux-complete-2.4.1+2.4.1 and asterisk-1.6.2.17.1, but chan_dahdi is not getting built. If I do a "make menuselect" in asterisk I see it listed with XXX, meaning that dependencies are not met. XXX chan_dahdi Depends on: res_smdi(M), dahdi(E), tonezone(E), pri(E), ss7(E), openr2(E) res_smdi gets built fine, dahdi is installed and working, tonezone is installed, pri is installed, ss7 is not installed, openr2 is not installed. Surely one does not need ss7 and openr2 if one has pri! So what else could be the problem? ------------------------------------------- # ls -l /usr/lib/asterisk/modules/chan_dahdi.so ls: /usr/lib/asterisk/modules/chan_dahdi.so: No such file or directory # ls /usr/lib/asterisk/modules/res_smdi.so -l -rwxr-xr-x 1 root root 227620 Mar 30 18:35 /usr/lib/asterisk/modules/res_smdi.so # ls -l /usr/lib/libtonezone* -rwxr-xr-x 1 root root 216276 Mar 30 17:45 /usr/lib/libtonezone.a lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so -> libtonezone.so.2.0 lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so.1 -> libtonezone.so.2.0 lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so.1.0 -> libtonezone.so.2.0 lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so.2 -> libtonezone.so.2.0 -rwxr-xr-x 1 root root 214066 Mar 30 17:45 /usr/lib/libtonezone.so.2.0 # ls -l /usr/lib/libpri* -rw-r--r-- 1 root root 1224116 Mar 30 16:49 /usr/lib/libpri.a lrwxrwxrwx 1 root root 13 Mar 30 16:49 /usr/lib/libpri.so -> libpri.so.1.4 -rwxr-xr-x 1 root root 790374 Mar 30 16:49 /usr/lib/libpri.so.1.4 # tail /var/log/messages Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: RCLK source set to span 1 Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: Recovered timing mode, RCLK set to span 1 Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: SPAN 3: Tertiary Sync Source Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: VPM450: Not Present Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: TE4XXP: Span 4 configured for CCS/HDB3/CRC4 Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: RCLK source set to span 1 Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: Recovered timing mode, RCLK set to span 1 Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: SPAN 4: Quaternary Sync Source Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: VPM450: Not Present Mar 30 19:24:01 stretched dahdi: Running dahdi_cfg: succeeded Kind regards, Sebastian A -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110330/48cfc050/attachment.htm>
Kevin P. Fleming
2011-Mar-31 21:43 UTC
[asterisk-users] chan_dahdi unknown dependency problem
On 03/30/2011 01:32 PM, SebA wrote:> So, I've compiled and installed libpri-1.4.11.5, > dahdi-linux-complete-2.4.1+2.4.1 and asterisk-1.6.2.17.1, but chan_dahdi > is not getting built. If I do a "make menuselect" in asterisk I see it > listed with XXX, meaning that dependencies are not met. > XXX chan_dahdi > Depends on: res_smdi(M), dahdi(E), tonezone(E), pri(E), ss7(E), openr2(E) > res_smdi gets built fine, dahdi is installed and working, tonezone is > installed, pri is installed, ss7 is not installed, openr2 is not > installed. Surely one does not need ss7 and openr2 if one has pri! > So what else could be the problem? > ------------------------------------------- > # ls -l /usr/lib/asterisk/modules/chan_dahdi.so > ls: /usr/lib/asterisk/modules/chan_dahdi.so: No such file or directory > # ls /usr/lib/asterisk/modules/res_smdi.so -l > -rwxr-xr-x 1 root root 227620 Mar 30 18:35 > /usr/lib/asterisk/modules/res_smdi.so > # ls -l /usr/lib/libtonezone* > -rwxr-xr-x 1 root root 216276 Mar 30 17:45 /usr/lib/libtonezone.a > lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so -> > libtonezone.so.2.0 > lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so.1 -> > libtonezone.so.2.0 > lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so.1.0 -> > libtonezone.so.2.0 > lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so.2 -> > libtonezone.so.2.0 > -rwxr-xr-x 1 root root 214066 Mar 30 17:45 /usr/lib/libtonezone.so.2.0 > # ls -l /usr/lib/libpri* > -rw-r--r-- 1 root root 1224116 Mar 30 16:49 /usr/lib/libpri.a > lrwxrwxrwx 1 root root 13 Mar 30 16:49 /usr/lib/libpri.so -> libpri.so.1.4 > -rwxr-xr-x 1 root root 790374 Mar 30 16:49 /usr/lib/libpri.so.1.4 > # tail /var/log/messages > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: RCLK source set > to span 1 > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: Recovered timing > mode, RCLK set to span 1 > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: SPAN 3: Tertiary > Sync Source > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: VPM450: Not Present > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: TE4XXP: Span 4 > configured for CCS/HDB3/CRC4 > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: RCLK source set > to span 1 > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: Recovered timing > mode, RCLK set to span 1 > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: SPAN 4: > Quaternary Sync Source > Mar 30 19:24:01 stretched kernel: wct4xxp 0000:01:02.0: VPM450: Not Present > Mar 30 19:24:01 stretched dahdi: Running dahdi_cfg: succeededHave you re-run the configure script after installing these other libraries/packages? If so, look in the config.log file for the tests that check for them, and see what is failing. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org
Kevin P. Fleming
2011-Mar-31 21:47 UTC
[asterisk-users] chan_dahdi unknown dependency problem
On 03/30/2011 01:32 PM, SebA wrote:> So, I've compiled and installed libpri-1.4.11.5, > dahdi-linux-complete-2.4.1+2.4.1 and asterisk-1.6.2.17.1, but chan_dahdi > is not getting built. If I do a "make menuselect" in asterisk I see it > listed with XXX, meaning that dependencies are not met. > XXX chan_dahdi > Depends on: res_smdi(M), dahdi(E), tonezone(E), pri(E), ss7(E), openr2(E)When I run 'make menuselect', this is what I see for chan_dahdi: DAHDI Telephony Depends on: res_smdi(M), dahdi(E), tonezone(E) Can use: pri(E), ss7(E), openr2(E) Yours says 'depends on' for all of these items, which means you *must* have them installed. Have you made any changes to the Asterisk source code? -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org
asterisk-users-bounces at lists.digium.com wrote:> On 03/30/2011 01:32 PM, SebA wrote: >> So, I've compiled and installed libpri-1.4.11.5, >> dahdi-linux-complete-2.4.1+2.4.1 and asterisk-1.6.2.17.1, but >> chan_dahdi is not getting built. If I do a "make menuselect" in >> asterisk I see it listed with XXX, meaning that dependencies are not >> met. >> XXX chan_dahdi >> Depends on: res_smdi(M), dahdi(E), tonezone(E), pri(E), ss7(E), >> openr2(E) res_smdi gets built fine, dahdi is installed and working, >> tonezone is installed, pri is installed, ss7 is not installed, >> openr2 is not installed. Surely one does not need ss7 and openr2 if >> one has pri! So what else could be the problem? >> ------------------------------------------- >> # ls -l /usr/lib/asterisk/modules/chan_dahdi.so >> ls: /usr/lib/asterisk/modules/chan_dahdi.so: No such file or >> directory # ls /usr/lib/asterisk/modules/res_smdi.so -l >> -rwxr-xr-x 1 root root 227620 Mar 30 18:35 >> /usr/lib/asterisk/modules/res_smdi.so >> # ls -l /usr/lib/libtonezone* >> -rwxr-xr-x 1 root root 216276 Mar 30 17:45 /usr/lib/libtonezone.a >> lrwxrwxrwx 1 root root 18 Mar 30 17:45 /usr/lib/libtonezone.so -> >> libtonezone.so.2.0 lrwxrwxrwx 1 root root 18 Mar 30 17:45 >> /usr/lib/libtonezone.so.1 -> libtonezone.so.2.0 lrwxrwxrwx 1 root >> root 18 Mar 30 17:45 /usr/lib/libtonezone.so.1.0 -> >> libtonezone.so.2.0 lrwxrwxrwx 1 root root 18 Mar 30 17:45 >> /usr/lib/libtonezone.so.2 -> libtonezone.so.2.0 >> -rwxr-xr-x 1 root root 214066 Mar 30 17:45 >> /usr/lib/libtonezone.so.2.0 # ls -l /usr/lib/libpri* >> -rw-r--r-- 1 root root 1224116 Mar 30 16:49 /usr/lib/libpri.a >> lrwxrwxrwx 1 root root 13 Mar 30 16:49 /usr/lib/libpri.so -> >> libpri.so.1.4 -rwxr-xr-x 1 root root 790374 Mar 30 16:49 >> /usr/lib/libpri.so.1.4<snip>> Have you re-run the configure script after installing these other > libraries/packages? If so, look in the config.log file for the tests > that check for them, and see what is failing. > > -- > Kevin P. Fleming > Digium, Inc. | Director of Software Technologies > Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | > Skype: kpfleming > 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA > Check us out at www.digium.com & www.asterisk.orgHi Kevin, Yes, I even tried it on another (similar) machine, but with the same result. (The same machines used to run chan_zap with no issues on Asterisk 1.4.x.) config.log is 670KB, 23,000+ lines. What should I search for in here? "dahdi" has 212 occurrences, but chan_dahdi has 0. Kind regards, Sebastian A
asterisk-users-bounces at lists.digium.com wrote:> On 03/30/2011 01:32 PM, SebA wrote: >> So, I've compiled and installed libpri-1.4.11.5, >> dahdi-linux-complete-2.4.1+2.4.1 and asterisk-1.6.2.17.1, but >> chan_dahdi is not getting built. If I do a "make menuselect" in >> asterisk I see it listed with XXX, meaning that dependencies are not >> met. XXX chan_dahdi Depends on: res_smdi(M), dahdi(E), tonezone(E), >> pri(E), ss7(E), openr2(E) > > When I run 'make menuselect', this is what I see for chan_dahdi: > > DAHDI Telephony > Depends on: res_smdi(M), dahdi(E), tonezone(E) > Can use: pri(E), ss7(E), openr2(E) > > Yours says 'depends on' for all of these items, which means > you *must* > have them installed. Have you made any changes to the > Asterisk source code? > > -- > Kevin P. Fleming > Digium, Inc. | Director of Software TechnologiesNope, I can tell you that ss7 and openr2 are certainly not installed! I have made no changes to the Asterisk source code. Kind regards, Sebastian A
I presume you mean contrib/scripts/install_prereq but I'm not sure how to use it or whether it is applicable to this situation. I had a look over the source code and it seems to be heavily dependent on what distribution you are running. For Debian, quite a lot are listed, but for Redhat it is only the essentials: PACKAGES_RH="gcc gcc-c++ ncurses-devel openssl-devel" This distribution is AsteriskNOW 1.0 or so (the rPath one), so I doubt that it would be recognized by that script. It looks like it only recognized Debian, Redhat and OpenBSD. Kind regards, Sebastian A> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of > Satish Patel > Sent: 31 March 2011 23:20 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] chan_dahdi unknown dependency problem > > Run pre requirement check script I don't know the name but it's > located inside asterisk source dir inside contrib > > I had same issue and has been fixed by that. > > -- > Sent from my iPhone > > On Mar 31, 2011, at 5:47 PM, "Kevin P. Fleming" > <kpfleming at digium.com> > wrote: > > > On 03/30/2011 01:32 PM, SebA wrote: > >> So, I've compiled and installed libpri-1.4.11.5, > >> dahdi-linux-complete-2.4.1+2.4.1 and asterisk-1.6.2.17.1, but > >> chan_dahdi > >> is not getting built. If I do a "make menuselect" in > asterisk I see > >> it > >> listed with XXX, meaning that dependencies are not met. > >> XXX chan_dahdi > >> Depends on: res_smdi(M), dahdi(E), tonezone(E), pri(E), ss7(E), > >> openr2(E) > > > > When I run 'make menuselect', this is what I see for chan_dahdi: > > > > DAHDI Telephony > > Depends on: res_smdi(M), dahdi(E), tonezone(E) > > Can use: pri(E), ss7(E), openr2(E) > > > > Yours says 'depends on' for all of these items, which means you > > *must* have them installed. Have you made any changes to the > > Asterisk source code? > > > > -- > > Kevin P. Fleming > > Digium, Inc. | Director of Software Technologies > > Jabber: kfleming at digium.com | SIP: kpfleming at 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 > > > > -- > _____________________________________________________________________ > -- 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 >