[Haskell-cafe] NetSNMP; FreeBSD 8.1
Henning Thielemann
lemming at henning-thielemann.de
Wed Jul 20 09:58:05 CEST 2011
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.
More information about the Haskell-Cafe
mailing list