<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
After going to the svn I was able to compile and run asterisk<br><br>I have loaded the node 27821 configuration into the etc/asterisk/ directory (this node is down right now)<br><br>and asterisk started, my led started to blink,on the URI, but it stopped right away.<br><br>now in message.log thats what I see..<br><br>[Mar  7 22:36:05] NOTICE[4490] app_rpt.c: RPT thread restarted on 27821<br>[Mar  7 22:36:05] WARNING[4490] app_rpt.c: rpt_thread restarted on node 27821<br>[Mar  7 22:36:05] WARNING[4518] chan_dahdi.c: Unable to open '/dev/zap/pseudo': No such file or directory<br>[Mar  7 22:36:05] ERROR[4518] chan_dahdi.c: Unable to dup channel: No such file or directory<br>[Mar  7 22:36:05] WARNING[4519] chan_usbradio.c: File usbradio_tune_usb27821.conf not found, device usb27821 using default parameters.<br>[Mar  7 22:36:07] NOTICE[4490] app_rpt.c: RPT thread restarted on 27821<br>[Mar  7 22:36:07] WARNING[4490] app_rpt.c: rpt_thread restarted on node 27821<br>[Mar  7 22:36:07] WARNING[4520] chan_dahdi.c: Unable to open '/dev/zap/pseudo': No such file or directory<br>[Mar  7 22:36:07] ERROR[4520] chan_dahdi.c: Unable to dup channel: No such file or directory<br>[Mar  7 22:36:07] WARNING[4521] chan_usbradio.c: File usbradio_tune_usb27821.conf not found, device usb27821 using default parameters.<br><br>of course I did not set any sounf level cause when I try to do asterisk -r I receive this message:<br><br><br>=========================================================================<br>Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)<br><br>I do have an asterisk.pid, but no asterisk.ctl..<br><br>Looks like I did not do something right... I am close, but no cake yet..<br><br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: telesistant@hotmail.com<br>To: petem001@hotmail.com; app_rpt-users@ohnosec.org<br>Subject: RE: [App_rpt-users] phase2.sh wont do the job<br>Date: Thu, 7 Mar 2013 18:15:28 -0800<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
I'm not sure why you would expect it to.<br><br>phase2.sh, amongst other things, loads the CURRENT RELEASE<br>of the sources which CLEARLY DO NOT support any of the Centos 6 things.<br><br>As I said before, you need to load the SVN version of the sources and it<br>will be much happier.<br><br>https://allstarlink.org/support.html#astupgrade<br><br>Jim<br><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: petem001@hotmail.com<br>To: app_rpt-users@ohnosec.org<br>Date: Thu, 7 Mar 2013 20:29:52 -0500<br>Subject: [App_rpt-users] phase2.sh wont do the job<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
Ok Like a few here knows, I am trying to install the acid version of app_rpt on a centos 6 linux.<br><br>Someone kind enough gave me good info to start with and I've been able to do a lot..<br><br>but after modifying phase2.sh so that it can find its repo, I start it and here is the output..<br><br>****** Phase 2 post install ******<br>Getting asterisk install script from http://dl.allstarlink.org...<br>Getting files.tar.gz from http://dl.allstarlink.org...<br>****** Asterisk Installation ******<br> 7 Mar 20:19:01 ntpdate[5687]: the NTP socket is in use, exiting<br>Unpacking files.tar.gz...<br>Compiling Zaptel...<br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking how to run the C preprocessor... gcc -E<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether ln -s works... yes<br>checking for GNU make... make<br>checking for grep... /bin/grep<br>checking for sh... /bin/sh<br>checking for ln... /bin/ln<br>checking for wget... /usr/bin/wget<br>checking for grep that handles long lines and -e... (cached) /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for initscr in -lcurses... yes<br>checking curses.h usability... yes<br>checking curses.h presence... yes<br>checking for curses.h... yes<br>checking for initscr in -lncurses... yes<br>checking for curses.h... (cached) yes<br>checking for newtBell in -lnewt... yes<br>checking newt.h usability... yes<br>checking newt.h presence... yes<br>checking for newt.h... yes<br>checking for usb_init in -lusb... yes<br>checking usb.h usability... yes<br>checking usb.h presence... yes<br>checking for usb.h... yes<br>configure: creating ./config.status<br>config.status: creating build_tools/menuselect-deps<br>config.status: creating makeopts<br>config.status: creating build_tools/make_firmware_object<br>configure: *** Zaptel build successfully configured ***<br>make[1]: Entering directory `/usr/src/astsrc/zaptel/menuselect'<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking for GNU make... make<br>checking for asprintf... yes<br>checking for getloadavg... yes<br>checking for setenv... yes<br>checking for strcasestr... yes<br>checking for strndup... yes<br>checking for strnlen... yes<br>checking for strsep... yes<br>checking for strtoq... yes<br>checking for unsetenv... yes<br>checking for vasprintf... yes<br>checking how to run the C preprocessor... gcc -E<br>checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for initscr in -lcurses... yes<br>checking curses.h usability... yes<br>checking curses.h presence... yes<br>checking for curses.h... yes<br>checking for initscr in -lncurses... yes<br>checking for curses.h... (cached) yes<br>checking for pkg-config... pkg-config<br>configure: creating ./config.status<br>config.status: creating makeopts<br>config.status: creating autoconfig.h<br>configure: configuring in mxml<br>configure: running /bin/sh './configure' --prefix=/usr/local  'CC=' 'LD=' 'AR=' 'CFLAGS=' --cache-file=/dev/null --srcdir=.<br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking for ranlib... ranlib<br>checking for ar... /usr/bin/ar<br>checking for cp... /bin/cp<br>checking for ln... /bin/ln<br>checking for mkdir... /bin/mkdir<br>checking for nroff... /usr/bin/nroff<br>checking for rm... /bin/rm<br>checking for strdup... yes<br>checking for vsnprintf... yes<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating mxml.list<br>config.status: creating mxml.pc<br>config.status: creating config.h<br>configure: Menuselect build configuration successfully completed<br>make[1]: Leaving directory `/usr/src/astsrc/zaptel/menuselect'<br>make[1]: Entering directory `/usr/src/astsrc/zaptel/menuselect'<br>make[2]: Entering directory `/usr/src/astsrc/zaptel/menuselect'<br>gcc -g -c -D_GNU_SOURCE -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12      -c -o menuselect.o menuselect.c<br>gcc -g -c -D_GNU_SOURCE -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12      -c -o strcompat.o strcompat.c<br>gcc -g -c -D_GNU_SOURCE -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12      -c -o menuselect_curses.o menuselect_curses.c<br>make[3]: Entering directory `/usr/src/astsrc/zaptel/menuselect/mxml'<br>gcc -O -Wall   -c mxml-attr.c<br>gcc -O -Wall   -c mxml-entity.c<br>gcc -O -Wall   -c mxml-file.c<br>gcc -O -Wall   -c mxml-index.c<br>gcc -O -Wall   -c mxml-node.c<br>gcc -O -Wall   -c mxml-search.c<br>gcc -O -Wall   -c mxml-set.c<br>gcc -O -Wall   -c mxml-private.c<br>gcc -O -Wall   -c mxml-string.c<br>/bin/rm -f libmxml.a<br>/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o<br>a - mxml-attr.o<br>a - mxml-entity.o<br>a - mxml-file.o<br>a - mxml-index.o<br>a - mxml-node.o<br>a - mxml-search.o<br>a - mxml-set.o<br>a - mxml-private.o<br>a - mxml-string.o<br>ranlib libmxml.a<br>make[3]: Leaving directory `/usr/src/astsrc/zaptel/menuselect/mxml'<br>gcc -o menuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a mxml/libmxml.a -lncurses <br>make[2]: Leaving directory `/usr/src/astsrc/zaptel/menuselect'<br>make[1]: Leaving directory `/usr/src/astsrc/zaptel/menuselect'<br>Generating input for menuselect ...<br>make[1]: Entering directory `/usr/src/astsrc/zaptel'<br>make -C /lib/modules/2.6.32-279.22.1.el6.x86_64/build ARCH=x86_64 SUBDIRS=/usr/src/astsrc/zaptel/kernel HOTPLUG_FIRMWARE=yes KBUILD_OBJ_M="pciradio.o wcfxo.o wct1xxp.o wctdm.o wcte11xp.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o ztdynamic.o zttranscode.o wctdm24xxp/" modules<br>make[2]: Entering directory `/usr/src/kernels/2.6.32-279.22.1.el6.x86_64'<br>gcc -o /usr/src/astsrc/zaptel/kernel/makefw /usr/src/astsrc/zaptel/kernel/makefw.c<br>/usr/src/astsrc/zaptel/kernel/makefw /usr/src/astsrc/zaptel/kernel/pciradio.rbt radfw > /usr/src/astsrc/zaptel/kernel/radfw.h<br>Loaded 42096 bytes from file<br>  CC [M]  /usr/src/astsrc/zaptel/kernel/pciradio.o<br>/usr/src/astsrc/zaptel/kernel/pciradio.c: In function ‘pciradio_start_dma’:<br>/usr/src/astsrc/zaptel/kernel/pciradio.c:1700: error: implicit declaration of function ‘set_current_state’<br>/usr/src/astsrc/zaptel/kernel/pciradio.c:1700: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)<br>/usr/src/astsrc/zaptel/kernel/pciradio.c:1700: error: (Each undeclared identifier is reported only once<br>/usr/src/astsrc/zaptel/kernel/pciradio.c:1700: error: for each function it appears in.)<br>/usr/src/astsrc/zaptel/kernel/pciradio.c:1701: error: implicit declaration of function ‘schedule_timeout’<br>make[3]: *** [/usr/src/astsrc/zaptel/kernel/pciradio.o] Error 1<br>make[2]: *** [_module_/usr/src/astsrc/zaptel/kernel] Error 2<br>make[2]: Leaving directory `/usr/src/kernels/2.6.32-279.22.1.el6.x86_64'<br>make[1]: *** [modules] Error 2<br>make[1]: Leaving directory `/usr/src/astsrc/zaptel'<br>make: *** [all] Error 2<br>Failure: Unable to compile Zaptel 2<br>Fatal error: Unable to install Asterisk!<br><br><br>a bit long but I dont see where its bugging and why, at first it was asking for gtk, so I did a yum install gtk-devel this got care of the complaning about gtk..<br><br>Of course I did a yum -y update before stating this.<br><br>now anyone can help??  <br><br>p.s. runlevel of the machine is 3<br><br><br><br>now going to take a look at astinstall.sh if there is something there that I did not see..<br><br>Pierre <br>VE2PF<br><br><br>                                          </div>
<br>_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</div>                                     </div></div>                                        </div></body>
</html>