Asterisk-Addon und MySQL Problem

heinzelrumpel

Neuer User
Mitglied seit
4 Apr 2006
Beiträge
172
Punkte für Reaktionen
0
Punkte
0
Hallo,

laut Anleitung ist res_config_mysql.so nach einem make im Addons-Verzeichnis in das Modul-Verzeichnis zu kopieren. Merkwürdigerweise existiert diese oder eine ähnliche nach make nicht. Die Addons habe ich direkt von www.asterisk.org in der version 1.2.3. Wie komme ich also an die res_config_mysql.so ran?

p.s

make -C format_mp3 clean
make[1]: Entering directory `/usr/local/src/asterisk-addons-1.2.3/format_mp3'
rm -f *.o *.so *~
make[1]: Leaving directory `/usr/local/src/asterisk-addons-1.2.3/format_mp3'
salsa:/usr/local/src/asterisk-addons-1.2.3# make
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE `ls *.c`
app_addon_sql_mysql.c:23:19: mysql.h: Datei oder Verzeichnis nicht gefunden
cdr_addon_mysql.c:38:19: mysql.h: Datei oder Verzeichnis nicht gefunden
cdr_addon_mysql.c:39:20: errmsg.h: Datei oder Verzeichnis nicht gefunden
res_config_mysql.c:51:19: mysql.h: Datei oder Verzeichnis nicht gefunden
res_config_mysql.c:52:27: mysql_version.h: Datei oder Verzeichnis nicht gefunden
res_config_mysql.c:53:20: errmsg.h: Datei oder Verzeichnis nicht gefunden
make -C format_mp3 all
make[1]: Entering directory `/usr/local/src/asterisk-addons-1.2.3/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o common.o common.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o dct64_i386.o dct64_i386.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o decode_ntom.o decode_ntom.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o layer3.o layer3.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o tabinit.o tabinit.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o interface.o interface.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o format_mp3.o format_mp3.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -shared -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o format_mp3.o
make[1]: Leaving directory `/usr/local/src/asterisk-addons-1.2.3/format_mp3'
cc -fPIC -I../asterisk -D_GNU_SOURCE -c -o app_saycountpl.o app_saycountpl.c
cc -shared -Xlinker -x -o app_saycountpl.so app_saycountpl.o
rm app_saycountpl.o
salsa:/usr/local/src/asterisk-addons-1.2.3#

Wie oben zu sehen ist, findet das make Skript res_config_mysql.c nicht. Ist aber im Verzeichnis vorhanden

salsa:/usr/local/src/asterisk-addons-1.2.3# ls -al
insgesamt 120
drwxr-xr-x 7 tgeile tgeile 4096 2006-08-16 09:57 .
drwxrwsr-x 6 root staff 4096 2006-08-15 20:33 ..
-rw-r--r-- 1 root root 11700 2006-04-25 22:24 app_addon_sql_mysql.c
-rw-r--r-- 1 root root 3187 2005-11-29 19:51 app_saycountpl.c
-rwxr-xr-x 1 root root 10135 2006-08-16 09:57 app_saycountpl.so
drwxr-xr-x 5 root root 4096 2006-06-01 19:08 asterisk-ooh323c
-rw-r--r-- 1 root root 15610 2005-12-02 01:34 cdr_addon_mysql.c
-rw-r--r-- 1 root root 3525 2006-06-01 19:08 ChangeLog
drwxr-xr-x 2 root root 4096 2006-06-01 19:08 configs
-rw-r--r-- 1 root root 2955 2006-08-16 09:57 .depend
drwxr-xr-x 2 root root 4096 2006-06-01 19:08 doc
drwxr-xr-x 2 root root 4096 2006-08-16 09:57 format_mp3
-rw-r--r-- 1 root root 2737 2005-12-02 00:14 Makefile
-rwxr-xr-x 1 root root 3128 2005-11-29 19:58 mkdep
-rw-r--r-- 1 root root 596 2005-11-29 19:51 README
-rw-r--r-- 1 root root 21636 2005-11-29 19:51 res_config_mysql.c
drwxr-xr-x 2 root root 4096 2006-06-01 19:08 res_sqlite3
-rw-r--r-- 1 tgeile tgeile 6 2006-06-01 19:08 .version


GELÖST: Problem waren die nicht installierten Mysql Devel Pakete
 
Zuletzt bearbeitet:
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,887
Beiträge
2,303,978
Mitglieder
378,565
Neuestes Mitglied
BenGradish