Summary: | ASTERISK-07324: [patch] make install fails with syntax error: unexpected end of file | ||
Reporter: | seb7 (seb7) | Labels: | |
Date Opened: | 2006-07-11 12:53:51 | Date Closed: | 2008-06-07 11:42:19 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) zaptel_make_install_diff.txt | |
Description: | There is a syntax error in the zaptel Makefile that causes "make install" to fail. I fixed it by adding "; \" to line 261. - $(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg + $(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg; \ This syntax error looks like it was introduced here 21 hours ago: http://svn.digium.com/view/zaptel/trunk/Makefile?r1=1210&r2=1213 I'm attaching a patch, but I don't have a disclaimer. I guess it's not needed for this minor a change? ****** ADDITIONAL INFORMATION ****** Output from make install (not my first try):- [root@IVRA1 zaptel-trunk-11-07-06]# make install make[1]: Entering directory `/usr/src/zaptel-trunk-11-07-06' make -C /lib/modules/2.6.9-34.0.2.EL/build SUBDIRS=/usr/src/zaptel-trunk-11-07-06 modules make[2]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686' Building modules, stage 2. MODPOST *** Warning: "remap_pfn_range" [/usr/src/zaptel-trunk-11-07-06/zttranscode.ko] undefined! make[2]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-i686' make[1]: Leaving directory `/usr/src/zaptel-trunk-11-07-06' build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules if [ -f ztcfg ]; then \ /usr/bin/install -c -D -m 755 ztcfg /sbin/ztcfg /bin/sh: -c: line 1: syntax error: unexpected end of file make: *** [install] Error 2 | ||
Comments: | By: Russell Bryant (russell) 2006-07-11 13:25:40 fixed in the trunk, thanks! By: Digium Subversion (svnbot) 2008-06-07 11:42:19 Repository: dahdi Revision: 1216 U trunk/Makefile ------------------------------------------------------------------------ r1216 | russell | 2008-06-07 11:42:19 -0500 (Sat, 07 Jun 2008) | 2 lines fix error on make install (issue ASTERISK-7324, fix by Seb7) ------------------------------------------------------------------------ http://svn.digium.com/view/dahdi?view=rev&revision=1216 |