pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Odd compiler error



Jason Bacon <jwbacon%tds.net@localhost> writes:

> That was part of it, thanks.  The problem is, the pkg requires
> hdf5-c++, which does not have a buildlink3.mk, so I added it to
> DEPENDS instead.  If I include hdf5/buildlink3.mk, it seems to ignore
> the DEPENDS entry for hdf5-c++.

It seems that the right thing is to create a bl3 file for hdf5-c++.  You
can't use DEPENDS for things with libraries.

It seems odd that hdf5-c++ doesn't have a bl3.

> I worked around it with a modified hdf5 pkg that includes C++ support
> by default.  I'll put this in wip tomorrow and reach out to the
> maintainer.

If there is hdf5-c++, that seems likely because people want to use hdf5
w/o C++, so adding C++ to the regular package seems incorrect.

Attachment: pgpMihuy6WVcG.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index