[erlang-questions] erlang/otp build problem: snmpc_cmd.xml

Tuncer Ayaz tuncer.ayaz@REDACTED
Mon Mar 7 10:53:56 CET 2011


On Mon, Mar 7, 2011 at 1:25 AM, Jesper Louis Andersen wrote:
> I am on:
>
> jlouis@REDACTED:~/Projects/otp$ git describe
> OTP_R14B01-636-gac73b2c
>
> and my 'make docs' build fails with:
>
> warning: failed to load external entity "snmpc_cmd.xml"
> ref_man.xml:64: element include: XInclude error : could not load
> snmpc_cmd.xml, and no fallback was found
> make[3]: *** No rule to make target `snmpc_cmd.xml', needed by
> `../man1/snmpc.1'.  Stop.
> make[3]: Leaving directory `/home/jlouis/Projects/otp/lib/snmp/doc/src'
> make[2]: *** [docs] Error 2
> make[2]: Leaving directory `/home/jlouis/Projects/otp/lib/snmp'
> make[1]: *** [docs] Error 2
> make[1]: Leaving directory `/home/jlouis/Projects/otp/lib'
> make: *** [docs] Error 2
>
> Is there any way around this? I perhaps miss some package or have an
> old version of a package.

Temporary issue.
You can fix 'make docs' by removing the reference to snmpc_cmd.xml
in lib/snmp/doc/src/ref_man.xml, but 'make install-docs' will still fail to
install man1 as it's empty.

Temporary workaround:
$ touch lib/snmp/SKIP
$ make docs install-docs
$ rm lib/snmp/SKIP


More information about the erlang-questions mailing list