[asterisk-users] How to enable res_config_mysql

Tomasz Zieleniewski tzieleniewski at gmail.com
Mon Nov 19 08:51:08 CST 2007


I also have it installed.
another thing is that when I invoke menuselect I can't select any module.
All modules are visible as 'XXX'.

I am using addons-1.4.4
Here is my output from configure:

asterisk at rd:~/src/asterisk-addons-1.4.4$ ./configure_asterisk.sh 1.4
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for uname... /bin/uname
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for GNU make... make
checking for grep... /bin/grep
checking for basename... /usr/bin/basename
checking for dirname... /usr/bin/dirname
checking for sh... /bin/sh
checking for ln... /bin/ln
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... yes
checking for asterisk.h... no
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts

and make afterwards:

asterisk at rd:~/src/asterisk-addons-1.4.4$ make
make[1]: Wejście do katalogu
`/home/asterisk/src/asterisk-addons-1.4.4/menuselect'
make[2]: Wejście do katalogu
`/home/asterisk/src/asterisk-addons-1.4.4/menuselect'
make[3]: Wejście do katalogu
`/home/asterisk/src/asterisk-addons-1.4.4/menuselect/mxml'
if test -f config.status; then \
                ./config.status --recheck; \
                ./config.status; \
        else \
                ./configure; \
        fi
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for cp... /bin/cp
checking for ln... /bin/ln -s
checking for mkdir... /bin/mkdir
checking for nroff... /usr/bin/nroff
checking for rm... /bin/rm
checking for strdup... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
touch config.h
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[3]: Opuszczenie katalogu
`/home/asterisk/src/asterisk-addons-1.4.4/menuselect/mxml'
gcc -Wall  -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
gcc -Wall  -o menuselect_curses.o -g -c -D_GNU_SOURCE  menuselect_curses.c
gcc -Wall  -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c
gcc -g -Wall -o menuselect menuselect.o menuselect_curses.o
strcompat.o mxml/libmxml.a -lncurses
make[2]: Opuszczenie katalogu
`/home/asterisk/src/asterisk-addons-1.4.4/menuselect'
make[1]: Opuszczenie katalogu
`/home/asterisk/src/asterisk-addons-1.4.4/menuselect'
make[1]: Wejście do katalogu `/home/asterisk/src/asterisk-addons-1.4.4'
build_tools/mkdep -fPIC  -fPIC
gcc: no input files
make[1]: Opuszczenie katalogu `/home/asterisk/src/asterisk-addons-1.4.4'
 +----    Asterisk-Addons Build Complete   ----+
 +                                             +
 +    Addons has successfully been built .     +
 +    If you would like to install it :        +
 +                                             +
 +               make install                  +
 +---------------------------------------------+



On Nov 19, 2007 3:39 PM, Tony Plack <Tony at plack.net> wrote:
> This may sound strange, but make sure lib tools is installed on the box.  Had one case where the addons doesn't detect mysql libraries because lib tools wasn't installed properly.
>
>
> > Hi,
> >
> > I was trying to compiles addons 1.4 and res_config_mysql doesn't
> > compile. is res_config_mysql still supported and is it still
> > posible to use mysql with asterisk RealTime??
> >
> > Bests
> >
> > Tomasz
> >
>
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


More information about the asterisk-users mailing list