Asterisk 1.4 beta - unixodbc and snmp - not available?

Hi,

I’ve started testing Asterisk 1.4 and am finding some problems compared to my previous 1.2.12.1 installation.

When compiling from source

/usr/src/asterisk-1.4.
make menuselect

I’m finding that under RESOURCE MODULES that I cannot enable:

res_config_odbc
res_odbc
res_snmp

I’m running the latest kernel of Fedora 5 (2.6.17-1.2187_FC5)

I had odbc working fine on 1.2.12.1. I have the following packages installed:

mysql-connector-odbc-3.51.12-1.2.1
unixODBC-devel-2.2.11-6.2.1
unixODBC-2.2.11-6.2.1

And SNMP should be fully setup:

net-snmp-devel-5.3-4.2
net-snmp-perl-5.3-4.2
net-snmp-5.3-4.2
php-snmp-5.1.4-1
net-snmp-libs-5.3-4.2
net-snmp-utils-5.3-4.2

Anyone with any ideas on why these options are not available?

Thanks,
Andrew

shouldn’t you be using extconfig.conf instead ? according to the wiki, res_odbc was deprecated a while back.

res_snmp is still there, but i don’t think it’s built when using the standard makefile. you should be able to find the section in the appropriate makefile to enable it.

Good point about extconfig.conf - I was about to get on to configuring that.

I was just looking at the new menuselect menus, and was just wondering why it says that it’s unavailable, when I clearly have unixodbc and netsnmp installed.

Cheers,
Andrew

To resolve the unixodbc problem with Fedora using either SVN TRUNK or 1.4 you need to install libtool-ltdl-devel

yum install libtool-ltdl-devel

I am yet to come up with a resolution to the netsnmp issue even though net-snmp net-snmp-devel… are installed in Fedora Core 5/6

Andrew

Dear Friends and Supporters
I have the same problem here on the asterisk 1.4 that it unable to build the res_odbc.so modules.
I have odbc working and is able to connect to it with isql -v asterisk command.
the res_odbc is unavailable under make menuselect.
After to install the libtool-ltdl-devel by running

yum install libtool-ltdl-devel

Then I would be able to see cdr_odbc and res_config_odbc option to activate it before install. However, after enable them and recompile asterisk, the module res_odbc.so still not being build.

Any ideal?

Thanks for your help
Lan.

[quote=“covex_rp”]
I am yet to come up with a resolution to the netsnmp issue even though net-snmp net-snmp-devel… are installed in Fedora Core 5/6

Andrew[/quote]
I wasn’t able to compile asterisk with snmp support too, even though net-snmp, net-snmp-devel and net-snmp-utils were installed on my Fedora machine.
I found out a solution installing the packages lm_sensors and lm_sensors-devel

yum install lm_sensors lm_sensors-devel

Alex

Good work Alex!

I can confirm that

yum install lm_sensors lm_sensors-devel

enables res_snmp in Asterisk 1.4 on Fedora Core 6.

Thanks,
Andrew