On Wed, 20 Jul 2011, Комар Максим wrote:

I want to install package NetSNMP:
cabal install NetSNMP
Resolving dependencies...
Configuring NetSNMP-0.1.6...
cabal: Missing dependency on a foreign library:
* Missing C library: netsnmp
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library
is already installed but in a non-standard location then you can use
the flags --extra-include-dirs= and --extra-lib-dirs= to specify where
it is. cabal: Error: some packages failed to install:
NetSNMP-0.1.6 failed during the configure step. The exception was:
ExitFailure 1

Package net-mgmt/net-snmp already installed:
pkg_info | grep snmp
net-snmp-5.5_4      An extendable SNMP implementation

As Cabal tells, the developer files are needed, too, and are usually found in packages ending on '-dev' or '-devel', that is, in your case net-snmp-dev.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to