/bin/sh: -c: line 0: syntax error near unexpected token `;' /bin/sh: -c: line 0: `if [ -n "" ]; then if [ -f ]; then mv -f .bak ; fi; cat .bak | grep -v "alias char-major-250" | grep -v "post-install torisa /sbin/ztcfg" | grep -v "post-install wcfxsusb /sbin/ztcfg" | grep -v "alias wctdm" | grep -v "post-install wctdm /sbin/ztcfg" > ; if ! grep "options torisa" ; then echo "options torisa base=0xd0000" >> ; fi; if ! grep "alias char-major-196" ; then echo "alias char-major-196 torisa" >> ; fi; for x in zaptel tor2 torisa wcusb wcfxo wctdm wctdm24xxp ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio ztd-loc ztdummy ztdummy; do if ! grep -q "post-install $x" ; then if ! grep -q "install $x " ; then if [ "$x" != "zaptel" ] ; then if [ -f zaptel.ko ]; then echo "install $x /sbin/modprobe --ignore-install $x && /sbin/ztcfg" >> ; else echo "post-install $x /sbin/ztcfg" >> ; fi; fi; fi; fi; done; if ! grep "ias wcfxs" ; then echo "alias wcfxs wctdm" >> ; fi; if ! grep "alias wct2xxp" ; then echo "alias wct2xxp wct4xxp" >> ; fi; fi' make: *** [install] Error 2 ---- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060108/3aa6e50b/attachment.htm
On Sun, Jan 08, 2006 at 07:50:53AM -0600, Mike Hammett wrote:> /bin/sh: -c: line 0: syntax error near unexpected token `;' > /bin/sh: -c: line 0: `if [ -n "" ]; then if [ -f ]; then mv -f .bak ; fi; cat .bak | grep -v "alias char-major-250" | grep -v "post-install torisa /sbin/ztcfg" | grep -v "post-install wcfxsusb /sbin/ztcfg" | grep -v "alias wctdm" | grep -v "post-install wctdm /sbin/ztcfg" > ; if ! grep "options torisa" ; then echo "options torisa base=0xd0000" >> ; fi; if ! grep "alias char-major-196" ; then echo "alias char-major-196 torisa" >> ; fi; for x in zaptel tor2 torisa wcusb wcfxo wctdm wctdm24xxp ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio ztd-loc ztdummy ztdummy; do if ! grep -q "post-install $x" ; then if ! grep -q "install $x " ; then if [ "$x" != "zaptel" ] ; then if [ -f zaptel.ko ]; then echo "install $x /sbin/modprobe --ignore-install $x && /sbin/ztcfg" >> ; else echo "post-install $x /sbin/ztcfg" >> ; fi; fi; fi; fi; done; if ! grep "ias wcfxs" ; then echo "alias wcfxs wctdm" >> ; fi; if ! grep "alias wct2xxp" ; then echo "alias wct2xxp wct4xxp" >> ; fi; fi' > make: *** [install] Error 2 >After talking with Mike Hammett on #asterisk, it seems that the variable MODCONF in his makefie managed to get undefined. He has kernel 2.6. He uses some sort of virtual host settings and this is probably why none of the standard locations apply. Though I figure that he won't be easily able to load modules anyway. Still, the makefile should not fail as badly there when MODCONF is not detected. Not to mention the fact that the content of that file is practically useless. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
Do I need any of the kernel module stuff? I'm running on a Virtual Server. ---- Mike Hammett Intelligent Computing Solutions http://www.ics-il.com ----- Original Message ----- From: <asterisk-users-request@lists.digium.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, January 08, 2006 12:00 PM Subject: Asterisk-Users Digest, Vol 18, Issue 44> ------------------------------ > > Message: 16 > Date: Sun, 8 Jan 2006 19:22:23 +0200 > From: Tzafrir Cohen <tzafrir@cohens.org.il> > Subject: Re: [Asterisk-Users] Zaptel make install error > To: asterisk-users@lists.digium.com > Message-ID: <20060108172223.GB3729@gadot.org.il> > Content-Type: text/plain; charset=us-ascii > > On Sun, Jan 08, 2006 at 07:50:53AM -0600, Mike Hammett wrote: >> /bin/sh: -c: line 0: syntax error near unexpected token `;' >> /bin/sh: -c: line 0: `if [ -n "" ]; then if [ -f ]; then mv -f .bak ; >> fi; cat .bak | grep -v "alias char-major-250" | grep -v "post-install >> torisa /sbin/ztcfg" | grep -v "post-install wcfxsusb /sbin/ztcfg" | >> grep -v "alias wctdm" | grep -v "post-install wctdm /sbin/ztcfg" > ; if >> ! grep "options torisa" ; then echo "options torisa base=0xd0000" >> ; >> fi; if ! grep "alias char-major-196" ; then echo "alias char-major-196 >> torisa" >> ; fi; for x in zaptel tor2 torisa wcusb wcfxo wctdm >> wctdm24xxp ztdynamic ztd-eth wct1xxp wct4xxp wcte11xp pciradio ztd-loc >> ztdummy ztdummy; do if ! grep -q "post-install $x" ; then if ! grep -q >> "install $x " ; then if [ "$x" != "zaptel" ] ; then if [ -f >> zaptel.ko ]; then echo "install $x /sbin/modprobe --ignore-install $x && >> /sbin/ztcfg" >> ; else echo "post-install $x /sbin/ztcfg" >> ; fi; fi; >> fi; fi; done; if ! grep "ias wcfxs" ; then echo "alias wcfxs wctdm" >> >> ; fi; if ! grep "alias wct2xxp" ; then echo "alias wct2x > xp wct4xxp" >> ; fi; fi' >> make: *** [install] Error 2 >> > > After talking with Mike Hammett on #asterisk, it seems that the variable > MODCONF in his makefie managed to get undefined. He has kernel 2.6. He > uses some sort of virtual host settings and this is probably why none of > the standard locations apply. > > Though I figure that he won't be easily able to load modules anyway. > > Still, the makefile should not fail as badly there when MODCONF is not > detected. Not to mention the fact that the content of that file is > practically useless. > > -- > Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is > http://tzafrir.org.il | | a Mutt's > tzafrir@cohens.org.il | | best > ICQ# 16849755 | | friend > > > > ------------------------------