[Asterisk-Users] Zaptel make install error
Tzafrir Cohen
tzafrir at cohens.org.il
Sun Jan 8 10:22:23 MST 2006
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 at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
More information about the asterisk-users
mailing list