Michael George
2005-Feb-15 05:34 UTC
[Asterisk-Users] make of asterisk doesn't do anything...
I just got the latest update from the 1.0 CVS tree this morning. I was able to make the zaptel drivers just fine, but in the asterisk directory, "make" just sits there. This is under the 2.4 kernel on a SuSE system which has worked just fine until now. I'm making as root, so it's not likely a permission problem. According to top, grep and cat are running with grep sucking down a huge amount of processor time. I did a "make clean" before the make, but that didn't help anything. It is a slow machine, but I let it run for like 15m and it hasn't produced the first bit of output. Anyone run into this? Thanks for any advice... -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot.
Alistair Cunningham
2005-Feb-15 06:16 UTC
[Asterisk-Users] make of asterisk doesn't do anything...
Michael, Someone may know a simple fix. If not, can you please install the 'strace' program, then run: strace -f -o /tmp/strace.out make This will run make, and log any system calls it makes to /tmp/strace.out. When it hangs, take a look in that file. It may have stopped on one system call, such as select() or poll(), or it may be scrolling endlessly, repeating the same system calls over and over again. If grep is using a lot of processor time, it's probably the latter. Either way, please paste the last 20 or lines into an email, and post it to this mailing list. Alistair Cunningham, Integrics Ltd, Telephony, Database, Unix consulting worldwide +44 (0)7870 699 479 http://integrics.com/ Michael George wrote:> I just got the latest update from the 1.0 CVS tree this morning. I was able > to make the zaptel drivers just fine, but in the asterisk directory, "make" > just sits there. > > This is under the 2.4 kernel on a SuSE system which has worked just fine until > now. > > I'm making as root, so it's not likely a permission problem. > > According to top, grep and cat are running with grep sucking down a huge > amount of processor time. > > I did a "make clean" before the make, but that didn't help anything. > > It is a slow machine, but I let it run for like 15m and it hasn't produced the > first bit of output. > > Anyone run into this? > > Thanks for any advice... >
Michael George
2005-Mar-01 19:20 UTC
[Asterisk-Users] make of asterisk doesn't do anything...
I got this figured out. Turns out that the make would call mpg123 with a 'version" option to see if it was compatible with *. However, I've been faking out mpg123 with my own script to send raw audio to the device rather than mp3. As a result, my infinite cat was being spewed out and the results were not what make had expected. Once I rectified that situation, all went just fine. On Tue, Feb 15, 2005 at 07:34:35AM -0500, Michael George wrote:> I just got the latest update from the 1.0 CVS tree this morning. I was able > to make the zaptel drivers just fine, but in the asterisk directory, "make" > just sits there. > > This is under the 2.4 kernel on a SuSE system which has worked just fine until > now. > > I'm making as root, so it's not likely a permission problem. > > According to top, grep and cat are running with grep sucking down a huge > amount of processor time. > > I did a "make clean" before the make, but that didn't help anything. > > It is a slow machine, but I let it run for like 15m and it hasn't produced the > first bit of output. > > Anyone run into this? > > Thanks for any advice... > > -- > -M > > There are 10 kinds of people in this world: > Those who can count in binary and those who cannot. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > --- > [This E-mail scanned for viruses by Declude Virus] >-- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot.