pkgsrc-Users archive

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

Re: Odd compiler error



On 08/21/15 10:48, Greg Troxel wrote:
I'll leave that decision to the maintainer.  My modified pkg including
C++ support was just meant to test the hypothesis.
I still don't understand why you want to do this, becuase the hdf5-c++
package contains exactly the C++ libs, and it seems far easier to add a
bl3 file (try making one with pkgtools/createbuildlink).
Actually, it doesn't quite exactly contain the C++ libs. There is another issue, in that it's missing at least one header file (H5Location.h). It hand-selects the added headers to install and I don't know how many were missed. Adding --enable-cxx to Makefile.common was a sure way to get a complete installation with which to test my dependent pkg.
Besides a C++ compiler :-)   It has the potential to break the package
on systems with gcc 4.1 - C++ is far pickier about compiler version range.

But it does sound like it doesn't prevent linking a C program with the C
libs, which is the big thing.
I see. I was assuming that all platforms supported by pkgsrc would have a C++ compiler in the base, but I suppose there are exceptions.

Thanks,

    Jason


Home | Main Index | Thread Index | Old Index