[asterisk-users] MySQL components in asterisk-addons not being built

hugolivude hugolivude at gmail.com
Tue Jul 24 16:28:10 CDT 2007


Thanks or all your help!

I've posted the ./configure output below.  I noticed that it says:

   checking for mysql_init in -lmysqlclient... no

Presumably that's a problem, but I don't know how to fix it!!  As I
mentioned, I have MySQL installed and it works fine.  rpm -qa
indicates:

   MySQL-server-5.0.22-0
   MySQL-devel-5.0.22-0
   MySQL-client-5.0.22-0

How do I get mysql_init set up properly, if indeed that is the source
of my problem?

Thanks,
Hugh

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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... /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... no
checking for asterisk.h... yes
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts

               .$$$$$$$$$$$$$$$=..
            .$7$7..          .7$$7:.
          .$$:.                 ,$7.7
        .$7.     7$$$$           .$$77
     ..$$.       $$$$$            .$$$7
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7
$$$       .7$$$$$$$$$$$$$$$$      :$$$.
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.
$$$        $$$   7$$$7  .$$$    .$$$.
$$$$             $$$$7         .$$$.
7$$$7            7$$$$        7$$$
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.

configure: Package configured for:
configure: OS type  : Linux
configure: Host CPU : i686

On 7/24/07, Nasir Iqbal <nasir at ictinnovations.com> wrote:
> Hi,
>
> please see your ./configure output especially few last lines.
>
> and note missing thins.
>
> Regards
>
> Nasir Iqbal
>
> On Tue, 2007-07-24 at 10:45 -0400, hugolivude wrote:
> > Thanks Tahir.  I already got the asterisk-addons though - that's what
> > I'm having trouble with!   BTW - asterisk-addons also provides a
> > menuselect now.  The problem is that the MySQL components all show up
> > XXX even though I have MySQL installed.
> >
> > Hugh
> >
> > On 7/24/07, Tahir Almas <mail at ictinnovations.com> wrote:
> > > Hi Hugh,
> > >
> > > MySQL CDR is not included in default asterisk distribution. so there is
> > > no entry for MySQL CDR in "make menuselect". you must install additional
> > > Addons after asterisk installation. you can download from
> > >
> > > http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.4.2.tar.gz
> > >
> > > 1. Extract them
> > > 2. Make
> > > 3. Make Install
> > > 4. cdr_addon_mysql.so will be installed including all other modules.
> > >
> > > Regards
> > >
> > > Nasir Iqbal
> > >
> > >
> > > On Tue, 2007-07-24 at 08:17 -0400, hugolivude wrote:
> > > > I'm trying to add MySQL CDR recording in Asterisk 1.4.6.  I'm
> > > > following the instructions posted here:
> > > >
> > > > http://www.voip-info.org/wiki-Asterisk+cdr+mysql
> > > >
> > > > I have MySQL installed and it works fine - starts on stratup, I can
> > > > create DBs, tables and so on and I can connect through php.  rpm -qa
> > > > indicates:
> > > >
> > > > MySQL-server-5.0.22-0
> > > > MySQL-devel-5.0.22-0
> > > > MySQL-client-5.0.22-0
> > > >
> > > > However I still get XXX for all of the MySQL add ons when I do:
> > > >
> > > > make menuselect
> > > >
> > > > Any pointers for me on how to troubleshoot and fix this problem?
> > > >
> > > > Thanks,
> > > > Hugh
> > > >
> > > > _______________________________________________
> > > > --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