Summary:ASTERISK-08286: asterisk-gui v150 fails to "make" under OpenSUSE 10.1 64-bit
Reporter:Craig Arno (craigarno)Labels:
Date Opened:2006-12-06 03:13:37.000-0600Date Closed:2006-12-06 13:01:51.000-0600
Versions:Frequency of
Description:I followed the clear instructions provided at http://www.asteriskguru.org/tutorials/asterisk_gui.html
which broke during (step 3) "make" on my setup (console output listed in "Additional Information").  This issue is repeatable.

My system is a new install of OpenSUSE 10.1_64 which appears to successfully build and run Asterisk 1.4Beta3.  HTTP on port 8088 also appears to function as described in doc/ajam.txt.

I can be reached at 472002, 473121, or 1-206-203-5630 if I haven't provided enough information.  Thank you, Craig Arno GMT-8 asterisk@arno.com


suse:/usr/local/src/asterisk/asterisk-gui # make -v
GNU Make 3.80
suse:/usr/local/src/asterisk/asterisk-gui # make
for x in tools; do \
       make -C $x all ; \
make[1]: Entering directory `/usr/local/src/asterisk/asterisk-gui/tools'
cc    -c -o zapscan.o zapscan.c
zapscan.c:32:27: error: zaptel/zaptel.h: No such file or directory
zapscan.c: In function ?main?:
zapscan.c:39: error: storage size of ?ztp? isn?t known
zapscan.c:54: error: ?ZT_GET_PARAMS? undeclared (first use in this function)
zapscan.c:54: error: (Each undeclared identifier is reported only once
zapscan.c:54: error: for each function it appears in.)
zapscan.c:56: error: ?__ZT_SIG_FXO? undeclared (first use in this function)
zapscan.c:56: error: ?__ZT_SIG_FXS? undeclared (first use in this function)
make[1]: *** [zapscan.o] Error 1
make[1]: Leaving directory `/usr/local/src/asterisk/asterisk-gui/tools'
make: *** [_all] Error 2
suse:/usr/local/src/asterisk/asterisk-gui #  
Comments:By: Serge Vecher (serge-v) 2006-12-06 10:12:00.000-0600

afaik, you need need to use gnu make v >= 3.81 for 1.4 branch.

By: Russell Bryant (russell) 2006-12-06 10:21:49.000-0600

The issue here is that it is trying to build the "zapscan" tool, but zaptel is not installed.

I suppose the proper solution to this is to check for zaptel using a configure script.  This is the 2nd bug that is open that suggests we need to create a configure script for the asterisk-gui.  I don't mind doing it, but it may be a few weeks before I can get to it.

By: Craig Arno (craigarno) 2006-12-06 11:29:44.000-0600

I had to lookup "afaik" [I must be from the dinosaur generation].

I upgraded make to the latest stable 3.81 and as Russell's note suggested, the build issue remains (as expected).

After installing zaptel, the build procedure worked.  Thank you Russell!

By: Jason Parker (jparker) 2006-12-06 12:29:19.000-0600

How do we want to proceed here?  I think we should probably close this, and either open a new bug report for the configure script, or just make a note of it, and eventually go down that path.  Russell?  Pari?

By: Pari Nannapaneni (pari) 2006-12-06 13:00:26.000-0600

Yes .. a configure script is already in my list of things to do.
So you may close this ticket.

By: Jason Parker (jparker) 2006-12-06 13:01:51.000-0600


Will fix the second "issue" separately from this bug.