Recompile asterisk 1.8 with mysql

I just recently installed asterisk 1.8 from source, but now need to recompile for mysql cdr support. Can anyone give me a process for doing this that won’t break what I already have?

Thanks!

Install mysql mysql-devel mysql-server, then in the asterisk.18 dir execute ./configure then make menuselect select and select the mysql addons then make and finally make install.

Thanks, thats what I thought; should I select only mysql addons, or more than that?

edit, worked great. thanks again!