Some questions regarding "res_mysql.conf"

I am trying to make the Asterisk RealTime work.
As far as I know, first I am supposed to install Asterisk addons.
So I followed the instructions
voip-info.org/wiki/index.php … isk-addons

Before I worked with Asterisk addons, there is no “res_mysql.conf” and “res_mysql.so” I assume that after Asterisk addons installed, those two files will show up. But they did not.

During I was installing the Asterisk addons
The following warning messages shown
“root@newAsterisk:/usr/src/asterisk-addons# make installmake -C format_mp3 all
make[1]: Entering directory /usr/src/asterisk-addons/format_mp3' gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o common.o common.c common.c:1: fatal error: asterisk/logger.h: No such file or directory compilation terminated. make[1]: *** [common.o] Error 1 make[1]: Leaving directory/usr/src/asterisk-addons/format_mp3’
make: *** [format_mp3/format_mp3.so] Error 2

I think this was something regarding mp3 feature but not mysql…

So if someone has idea that how I could solve this problem. or someone has idea that how I could check that my Asterisk would support mySQL properly

Thanks

I managed to fix this problem,
what I did is
make menuconfig and choose the package I need
after that save settings
./configure
make
make install

and finally the res_mysql.conf and all the related files show up.