Thanks Alec.

Doing a make clean does not fix the problem.  I removed the folder as you 
suggested, extracted the tar.gz file and recompiled.  All good.



From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Alec Davis
Sent: Thursday, 22 December 2011 5:05 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] dahdi_tool missing

Did you try to make dahdi-tools before installing newt_devel ?

pre-requisits are on debian;
    libncurses5-dev
    libnewt-dev

I'm guessing as to what the problem might be, but I think that it now still 
complains that libnewt-dev needs to be installed.
I see this regularly when building a new installation and have forgotten to 
install libnewt-dev or what ever.

re running ./configure and then 'make menuslect' always reports as below (even 
after installing libncurses5-dev and libnewt-dev)

CC="" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect 
CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/pbx/dahdi-tools/menuselect'
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
make[1]: Leaving directory `/usr/src/pbx/dahdi-tools/menuselect'
CC="" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect 
CONFIGURE_SILENT="--silent" cmenuselect
make[1]: Entering directory `/usr/src/pbx/dahdi-tools/menuselect'
make[1]: Nothing to be done for `cmenuselect'.
make[1]: Leaving directory `/usr/src/pbx/dahdi-tools/menuselect'
CC="" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect 
CONFIGURE_SILENT="--silent" nmenuselect
make[1]: Entering directory `/usr/src/pbx/dahdi-tools/menuselect'
make[1]: Nothing to be done for `nmenuselect'.
make[1]: Leaving directory `/usr/src/pbx/dahdi-tools/menuselect'
CC="" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect 
CONFIGURE_SILENT="--silent" gmenuselect
make[1]: Entering directory `/usr/src/pbx/dahdi-tools/menuselect'
make[1]: Nothing to be done for `gmenuselect'.
make[1]: Leaving directory `/usr/src/pbx/dahdi-tools/menuselect'
No menuselect user interface found. Install ncurses,
newt or GTK libraries to build one and re-rerun
'make menuselect'.
asterix:/usr/src/pbx/dahdi-tools#

The quickest solution for me in the past has been to install the dev tools 
required. Delete the dahdi-tools directory and re checkout.

I can repeat this, on a headless debian squeeze box, no GUI.
I've just repeated this, just by uninstalling
   libncurses5-dev
   libnewt-dev
then take a fresh checkout
    svn co http://svn.digium.com/svn/dahdi/tools/trunk dahdi-tools
then
   ./configure
   make menuselect
      error messages as above are emitted
then
  apt-get install libncurses5-dev
  apt-get install libnewt-dev
then
   ./configure
then
   make menuselect
      error messages as above are emitted

But now I've spent the time
  rm menuselect/makeopts
  ./configure
  make menuselect

Alec


________________________________
From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Klaverstyn, David C
Sent: Thursday, 22 December 2011 1:15 p.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion 
([email protected]<mailto:[email protected]>)
Subject: [asterisk-users] dahdi_tool missing
Hi All,

I have installed newt and newt_devel but dahdi_tool will not compile/install.  
I'm trying this with dahdi-linux-complete-2.5.0.2+2.5.0.2.  does anyone have 
any suggestions as to what I am doing wrong?

Regards
David.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to