On Thu, Sep 3, 2009 at 8:04 PM, Anton Fedorov <datacomp...@call2ru.com> wrote:
>
> If you make module for inets httpd server, you should include lib from 
> httpd.hrl, provided by erlang-src.
> But it needed for file.hrl, provided by erlang-dev, but not depends on it.

The erlang-src package includes all Erlang sources and is shipped for
reference only. The header
httpd.hrl is meant to be an internal header, so it isn't installed
into /usr/lib/erlang/lib/inets-*/include/
and isn't intended to be used in application development (it defines a
useful record though). So, if
you want to use it then install erlang-src and erlang-dev packages
(the latter is usually necessary
to develop Erlang programs anyway as it includes all public headers).

>
> May be _all_ hrl's must be in -src?

No, erlang-src contains only private headers which shouldn't be used
in application development.
If you want to use them then use, but it's your personal decision. And
since erlang-src acts as a
sort of documentation package I don't think it needs to depend on erlang-dev.

So, I'll close this bug in a few days as an invalid one.

Cheers!
-- 
Sergei Golovan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to