[Asterisk-Users] Zaptel make install error

Mike Hammett asterisk-users at ics-il.net
Mon Jan 9 20:19:38 MST 2006


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 at lists.digium.com>
To: <asterisk-users at 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 at cohens.org.il>
> Subject: Re: [Asterisk-Users] Zaptel make install error
> To: asterisk-users at lists.digium.com
> Message-ID: <20060108172223.GB3729 at 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 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