[Home]

Summary:ASTERISK-12716: Unable to run menuselect
Reporter:Jonn Taylor (jonnt)Labels:
Date Opened:2008-09-11 17:36:54Date Closed:2008-09-11 21:13:54
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Addons/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 13466.diff
( 1) config.log
( 2) menuselect-config.log
Description:Unable to run menuselect

****** ADDITIONAL INFORMATION ******

[root@CentOS51-test asterisk-addons]# make menuselect

CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts

\make[1]: Entering directory `/usr/src/asterisk-addons/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/asterisk-addons/menuselect'

make[1]: Entering directory `/usr/src/asterisk-addons/menuselect'

make[1]: `makeopts' is up to date.

make[1]: Leaving directory `/usr/src/asterisk-addons/menuselect'

CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent"

make[1]: Entering directory `/usr/src/asterisk-addons/menuselect'

gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c

gcc -g -c -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c

gcc -g -c -D_GNU_SOURCE -Wall    -c -o menuselect_curses.o menuselect_curses.c

make[2]: Entering directory `/usr/src/asterisk-addons/menuselect/mxml'

gcc -O -Wall   -c mxml-attr.c

gcc -O -Wall   -c mxml-entity.c

gcc -O -Wall   -c mxml-file.c

gcc -O -Wall   -c mxml-index.c

gcc -O -Wall   -c mxml-node.c

gcc -O -Wall   -c mxml-search.c

gcc -O -Wall   -c mxml-set.c

gcc -O -Wall   -c mxml-private.c

gcc -O -Wall   -c mxml-string.c

/bin/rm -f libmxml.a

/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

a - mxml-attr.o

a - mxml-entity.o

a - mxml-file.o

a - mxml-index.o

a - mxml-node.o

a - mxml-search.o

a - mxml-set.o

a - mxml-private.o

a - mxml-string.o

ranlib libmxml.a

make[2]: Leaving directory `/usr/src/asterisk-addons/menuselect/mxml'

gcc -o cmenuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a -lncurses

gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c

gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a

make[1]: Leaving directory `/usr/src/asterisk-addons/menuselect'

Generating input for menuselect ...

**************************************************

*** Install ncurses to use the menu interface! ***

**************************************************

menuselect changes NOT saved!

[root@CentOS51-test asterisk-addons]# rpm -qa | grep ncurses

ncurses-5.5-24.20060715

ncurses-devel-5.5-24.20060715

[root@CentOS51-test asterisk-addons]# rpm -qa | grep gtk

gtk2-2.10.4-20.el5

[root@CentOS51-test asterisk-addons]#
Comments:By: Sean Bright (seanbright) 2008-09-11 18:44:37

Could you attach config.log from asterisk-addons as well as config.log from asterisk-addons/menuselect

Thanks.

By: Sean Bright (seanbright) 2008-09-11 20:43:31

What happens if you run 'make cmenuselect' instead of 'make menuselect'?

By: Jonn Taylor (jonnt) 2008-09-11 20:49:18

That works. I reloaded a fresh copy of Centos 5.2 and tried to duplicate again. I got this instead.
[root@home asterisk-addons]# make menuselect
**************************************************
*** Install ncurses to use the menu interface! ***
**************************************************
menuselect changes NOT saved!

If i run make cmenuselect it works.

By: Jonn Taylor (jonnt) 2008-09-11 20:50:16

[root@home asterisk-addons]# rpm -qa | grep ncurses
ncurses-5.5-24.20060715
ncurses-devel-5.5-24.20060715

By: Sean Bright (seanbright) 2008-09-11 20:57:27

Could you try this patch?

cat 13466.diff | patch -p0

And then try just 'make menuselect' again.

By: Jonn Taylor (jonnt) 2008-09-11 21:06:52

Works. Here is the output.

[root@home asterisk-addons]# cat 13466.diff | patch -p0
patching file Makefile
[root@home asterisk-addons]# make menuselect
CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/usr/src/asterisk-addons/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/src/asterisk-addons/menuselect'
CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" nmenuselect
make[1]: Entering directory `/usr/src/asterisk-addons/menuselect'
make[1]: Nothing to be done for `nmenuselect'.
make[1]: Leaving directory `/usr/src/asterisk-addons/menuselect'
CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect
make[1]: Entering directory `/usr/src/asterisk-addons/menuselect'
make[1]: Nothing to be done for `gmenuselect'.
make[1]: Leaving directory `/usr/src/asterisk-addons/menuselect'
make[1]: Entering directory `/usr/src/asterisk-addons'
CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[2]: Entering directory `/usr/src/asterisk-addons/menuselect'
make[2]: `makeopts' is up to date.
make[2]: Leaving directory `/usr/src/asterisk-addons/menuselect'
menuselect changes saved!
make[1]: Leaving directory `/usr/src/asterisk-addons'

By: Sean Bright (seanbright) 2008-09-11 21:07:55

Great.  Thanks for testing.

By: Digium Subversion (svnbot) 2008-09-11 21:13:52

Repository: asterisk-addons
Revision: 659

U   trunk/Makefile

------------------------------------------------------------------------
r659 | seanbright | 2008-09-11 21:13:52 -0500 (Thu, 11 Sep 2008) | 10 lines

Update asterisk-addons to use the same logic as asterisk when determining
what version of menuselect to spin up when not explicitly specified (i.e.
'make menuselect').

(closes issue ASTERISK-12716)
Reported by: jonnt
Patches:
     13466.diff uploaded by seanbright (license 71)
Tested by: jonnt

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-addons?view=rev&revision=659