Summary: | DAHTOOL-00037: cannot compile xpp support in dahdi 2.2.1-rc2 | ||
Reporter: | Charles Moye (chazzam) | Labels: | |
Date Opened: | 2010-01-05 18:55:04.000-0600 | Date Closed: | 2010-01-10 09:15:11.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Linux pbx 2.6.28-17-server ASTERISK-54-Ubuntu SMP Tue Dec 1 22:13:36 UTC 2009 x86_64 GNU/Linux Ubuntu 9.04 When compiling dahdi-tool-2.2.1-rc2 I get the following error make[3]: Entering directory `/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp' Makefile:139: .depend: No such file or directory make[3]: Leaving directory `/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp' make[3]: Entering directory `/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp' for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1; done Failed to read SysFS attribute /sys/bus/usb/devices/1-3/serial BEGIN failed--compilation aborted at perl_modules/Dahdi/Xpp.pm line 11, <ATTR> line 3. Compilation failed in require at perl_modules/Dahdi/Xpp/Xpd.pm line 12, <ATTR> line 3. BEGIN failed--compilation aborted at perl_modules/Dahdi/Xpp/Xpd.pm line 12, <ATTR> line 3. Compilation failed in require at perl_modules/Dahdi/Span.pm line 13, <ATTR> line 3. BEGIN failed--compilation aborted at perl_modules/Dahdi/Span.pm line 13, <ATTR> line 3. Compilation failed in require at perl_modules/Dahdi.pm line 11, <ATTR> line 3. BEGIN failed--compilation aborted at perl_modules/Dahdi.pm line 11, <ATTR> line 3. Compilation failed in require at dahdi_registration line 14, <ATTR> line 3. BEGIN failed--compilation aborted at dahdi_registration line 14, <ATTR> line 3. make[3]: *** [.perlcheck] Error 1 make[3]: Leaving directory `/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools/xpp' make[2]: *** [utils-subdirs] Error 2 make[2]: Leaving directory `/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/test/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/tools' make: *** [all] Error 2 For now, I got dahdi-tool installed by modifying the Makefile in the tools directory and commenting out line 30: SUBDIRS_UTILS := xpp This removes support for xpp and allowed me to finish installing dahdi. | ||
Comments: | By: Charles Moye (chazzam) 2010-01-05 19:00:36.000-0600 This probably doesn't need to be major severity, sorry. By: Charles Moye (chazzam) 2010-01-07 09:07:42.000-0600 Also affects Debian GNU/Linux squeeze/sid Linux pigskee 2.6.32-trunk-686 #1 SMP Thu Dec 17 00:26:04 UTC 2009 i686 GNU/Linux Affects: http://svn.digium.com/svn/dahdi/tools/branches/2.2 rev 7775 (last changed 7655) Does not seem to affect: http://svn.digium.com/svn/dahdi/tools/trunk rev 7775 (last changed 7754) By: Tzafrir Cohen (tzafrir) 2010-01-10 08:57:13.000-0600 I believe that this should be fixed by http://svnview.digium.com/svn/dahdi?view=revision&revision=7824 Generally, I would appreciate it if you could test the issue with that branch: http://svn.asterisk.org/svn/dahdi/tools/team/tzafrir/dahdi-tools-perl-sysstate Please check out that branch and try to build it. By: Tzafrir Cohen (tzafrir) 2010-01-10 09:05:11.000-0600 Ignore the last comment. Let's just get the fix from trunk. Coming up shortly. By: Digium Subversion (svnbot) 2010-01-10 09:15:10.000-0600 Repository: dahdi Revision: 7827 _U tools/branches/2.2/ U tools/branches/2.2/xpp/perl_modules/Dahdi/Hardware/USB.pm ------------------------------------------------------------------------ r7827 | tzafrir | 2010-01-10 09:15:09 -0600 (Sun, 10 Jan 2010) | 10 lines dahdi-perl: only get 'serial' and 'devnum' attributes from Astribanks We can tell if a device is an Astribank by the vendorId and productId attribute. Get other attributed only after we give up on other devices. (closes issue DAHTOOL-37) Merged revisions 7558 via svnmerge from https://origsvn.digium.com/svn/dahdi/tools/trunk ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=7827 |