SANGOMA

Wanpipe Installation Problems


  1. FLEX Package not installed
  2. C++ Compiler (g++) not installed
  3. Setup Installation Failure on WanCfg
  4. Debugging a Crashing System


FLEX Package not installed

    To confirm that you do not have the FLEX Package installed, type:
    flex --version
 
    If it says no version for FLEX package found, then you need to install the FLEX package.  

    Try:
    yum install flex
    or:
    apt-get install flex  

   
    You can also find RPMs here

[TOP] 



C++ Compiler not installed

    To confirm that you do not have a C++ Compiler (g++) installed, type:
    g++ --version
 
    If it says no version for g++ package found, then you need to install the gcc-c++ package.  

    Try:
    yum install gcc-c++
    or:
    apt-get install gcc-c++ or: apt-get install g++
    
    You can also find RPMs here

[TOP]


Setup Installation Failure on WanCfg

The install script fails at the utility installation with the following error:

Compiling WANPIPE WanCfg Utility ...
Failed!
                !!! WANPIPE WanCfg Compilation Failed !!!
        Possible solution:
                 FLEX Package not installed
                 Non-standard C/C++ library (eg: ulibc)

This is a catch all error, it may be either FLEX or C++ compiler (g++) is not installed, please confirm that both are.



 

Comments

From SimonKraushaar - 4/16/08 6:55 AM

Didn't find this anywhere but on comiling wanrouter I had problems with a no-existent file depreicated some time ago. linux/config.h.

 To fix this issue I created a new config.h withing the linux dir with the following :

  #ifndef _LINUX_CONFIG_H
   #define _LINUX_CONFIG_H

         #include <linux/autoconf.h>



      #endif

this fixed the issue and the wanpipe  compiled and installed fine.

 

From elpop - 2/9/07 4:22 PM

Warning!!!, the new zaptel 1.2.15 driver and above change the name of the zaptel.c program to zaptel-core.c, to compile the new zaptel make a link with:

ln -s zaptel-core.c zaptel.c

 

From benjk - 12/24/06 3:05 PM

Wanpipe v.2.3.4-3 doesn't build with Zaptel 1.0.10

when trying to build wanpipe-2.3.4-3 (current as of this writing) compilation fails because ZT_SETPOLARITY is not defined.

adding the following line to zaptel.h will solve the compilation problem (not sure yet if it will work) ...

#define    ZT_SETPOLARITY        _IOW (ZT_CODE, 92, int)

This is part of current zaptel (trunk) and may have been added after zaptel 1.0.10.

It would be EXTREMELY HELPFUL, if the Wanpipe documentation had a version compatibility matrix to tell us which wanpipe version works with which zaptel version. In the real world people run production systems where a particular version is mandatory. Not everybody can just upgrade to the latest software available. Sangoma's documentation should take this into account. Thank you.

From KodaK - 11/17/06 2:39 PM

I had an odd one.  My server has a 3 pci slot riser in it, and with the cover on and mounted in the rack the cards I have were touching each other and the top of the case, causing a short.  I've ordered a new case.

 If you receive the following messages in your logs, this may be your problem (I'm posting this because when I was looking it up google had nothing):

 Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Excessive leakage detected: 0 volts (00) after 100 ms
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Proslic failed leakge the short circuit
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Timeout on SLIC calibration (15)!
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Timeout on SLIC calibration (15)!
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Excessive leakage detected: 0 volts (00) after 500 ms
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Proslic failed leakge the short circuit
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Timeout on SLIC calibration (15)!
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Timeout on SLIC calibration (15)!
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Excessive leakage detected: 0 volts (00) after 500 ms
Nov 15 22:21:18 asterisk1 kernel: wanpipe1: Module 0: Proslic failed leakge the short circuit

 (this went on for all the modules on the a200...)

From m160858 - 1/2/08 10:40 AM

Hello,

I've a Sangoma A104 installed with asterisk 1.4.16

I've this message:

Jan  2 10:36:47 asterisk kernel: wanpipe1: RAI alarm is ON
Jan  2 10:36:47 asterisk kernel: wanpipe1: RAI alarm is OFF
Jan  2 10:36:55 asterisk kernel: wanpipe1: RAI alarm is ON
Jan  2 10:36:55 asterisk kernel: wanpipe1: RAI alarm is OFF
Jan  2 10:37:03 asterisk kernel: wanpipe1: RAI alarm is ON
Jan  2 10:37:03 asterisk kernel: wanpipe1: RAI alarm is OFF

I don't understand this problem, can u explain me please

Thanks 

Site

Changes
Index
Search

 

User

 

Log In
Register

 
 

Last Modified 8/15/06 6:50 PM