Issue with asterisk 1.8 and ODBC

Hello everybody,
i’m facing this problem one week ago, when i tried to resolve CDR report prb, after many search, i understood that i should install cdr_odbc module, i followed typically this tutorial

first time when launched ./config and make menuselect , and went to :

Resource Modules > res_odbc, i find XXX so i can’t select it, and in Call Detail Recording , i find only XXX cdr_adaptive_odbc

second time when launched

make distclean
make menuselect

the menu didn’t display , and i got this error :

**** The configure script must be executed before running ‘make’.
**** Please run “./configure”.

make: *** [makeopts] Error 1

So plz i need really your help cuz i looked for solution in many forums but no way.
I need to resolve this problem and also resolve CDR report.

Thanks for your precious help;