Sujet: make ta race..
27/07/2007 @ 08:40:22: Jean-Christophe: make ta race..
il a sans doute trouvé le path dans la registry :grin:
27/07/2007 @ 10:35:21: ovh: make ta race..
Dis donc mik t'aurais pas oublié d'exécuter le script ./configure des fois ? :figti:
27/07/2007 @ 12:42:04: Altar: make ta race..
Sans le ./configure, il ne compile pas normalement :oh:
27/07/2007 @ 13:21:38: cauet: make ta race..
Beuh.. j'ai tout supprimé.
J'ai tout dézippé.
J'ai laissé asterisk dans son répertoire.

J'ai été dans les addons
./configure
make

et..

+---- Asterisk-Addons Build Complete ----+
+ +
+ Addons has successfully been built . +
+ If you would like to install it : +
+ +
+ make install +
+---------------------------------------------+


:siffle:
Quand je vous dis que je suis maudit :oh:
27/07/2007 @ 13:24:06: Altar: make ta race..
Ah bah voilà :dawaaa:
27/07/2007 @ 14:07:04: cauet: make ta race..
Y'a un truc qui me turlupine.. je ne vois nulle part de module cdr_mysql.so ...
- ni dans les modules Asterisk avec make install
- ni dans les /usr/src/asterisk-1.4.9/
- ni dans l'archive tar.gz d'Altar.

Comment faire pour le charger donc..
(J'ai fais le mariolle là, j'avais copié "cdr_addon_mysql.c" dans les modules et je m'étonnais que ca ne marchait pas.. :lol: )
27/07/2007 @ 14:10:10: Altar: make ta race..
Je n'ai pas mysql d'installer donc c'est normal que le module ne soit pas compiler chez moi... Post un peu le résultat de ton configure pour les addons.
27/07/2007 @ 14:15:03: cauet: make ta race..

dedia8:/usr/src/asterisk-addons-1.4.2# ./configure
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... /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... no
checking for asterisk.h... yes
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
27/07/2007 @ 14:15:29: cauet: make ta race..
checking for mysql_config... no

:heink:
27/07/2007 @ 14:18:53: Altar: make ta race..
Essaye ./configure --with-mysqlclient=PATH en remplacant path par l'emplacement de ton mysql.
27/07/2007 @ 15:14:16: cauet: make ta race..

checking for mysql_config... no
configure: ***
configure: *** mysql_config was not found in the path you specified:
configure: *** /usr/bin/mysql/bin
configure: *** including --without-mysqlclient
dedia8:/usr/src/asterisk-addons-1.4.2#


dedia8:/usr/src/asterisk-addons-1.4.2# find / -name "*mysql_config*"
dedia8:/usr/src/asterisk-addons-1.4.2#

Aucun fichier mysql_config sur mon disc-dur..
27/07/2007 @ 15:26:45: Altar: make ta race..

Debian Sarge - Mysql 4.1

root@paris147:~# locate mysql_config
/usr/bin/mysql_config


:dtc:

Plus sérieusement, le fichier est dans les packages suivantes pour sarge


libmysqlclient10-dev: usr/bin/mysql_config
libmysqlclient10-dev: usr/share/man/man1/mysql_config.1.gz
libmysqlclient12-dev: usr/bin/mysql_config
libmysqlclient12-dev: usr/share/man/man1/mysql_config.1.gz
libmysqlclient14-dev: usr/bin/mysql_config
libmysqlclient14-dev: usr/share/man/man1/mysql_config.1.gz
libmysqlclient15-dev: usr/bin/mysql_config
libmysqlclient15-dev: usr/share/man/man1/mysql_config.1.gz


Tu dois avoir l'équivalent pour ta version :itm:
27/07/2007 @ 15:54:01: cauet: make ta race..
apt-get install libmysqlclient15-dev
et...
checking for mysql_config... /usr/bin/mysql_config


:icon_speech_yes:
27/07/2007 @ 15:54:34: Altar: make ta race..
Et wala :itm:
27/07/2007 @ 15:58:38: cauet: make ta race..
:superjap:

INSERT INTO `cdr` (`calldate`, `clid`, `src`, `dst`, `dcontext`, `channel`, `dstchannel`, `lastapp`, `lastdata`, `duration`, `billsec`, `disposition`, `amaflags`, `accountcode`, `userfield`) VALUES
('2007-07-27 15:55:48', '"Private" <Private>', 'Private', 's', 'default', 'SIP/85.119.188.3-081e83a8', '', 'BackGround', 'demo-congrats', 8, 7, 'ANSWERED', 3, '', '');

Ca marcheeeeeeeeeeeeeuuuuuuuuu..
Altar, je peux au moins t'offrir un verre :tongue:
27/07/2007 @ 16:06:28: Altar: make ta race..
La prochaine fois qu'on se voit alors :tongue: Je retourne sur mes libs flac moi... Boulot à la con des jours :kiki:
27/07/2007 @ 17:02:26: cauet: make ta race..
flac? la compression audio sans perte?
27/07/2007 @ 17:09:41: Altar: make ta race..
Oui :itm: Il faut l'intégrer au logiciel de numérisation interne :oh:
27/07/2007 @ 22:38:23: ovh: make ta race..
Oui :itm: Il faut l'intégrer au logiciel de numérisation interne :oh:

:calin:
Retour