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 11:46, Greg Troxel wrote:
Alexander Nasonov <alnsn%yandex.ru@localhost> writes:

Adding bl3.mk file sounds like the easiest way to resolve the issue.
I added a bl3 file to the c++ pacakge.  Hopefully that plus adding
missing .h files will let Jason link the depending package.
(You'll have to cvs up -A in hdf5-c++ if using 2015Q2.)

Still needed one more patch to add H5Location.h, which is included from H5Cpp.h. I confirmed that there were no other headers missing that are needed by H5Cpp.h. That's as far as I went, though. With the patch below, I can build blasr_libcpp.

diff -ruN ../devel/hdf5-c++/ hdf5-c++/
diff -ruN ../devel/hdf5-c++/Makefile hdf5-c++/Makefile
--- ../devel/hdf5-c++/Makefile    2013-09-01 20:10:17.000000000 -0500
+++ hdf5-c++/Makefile    2015-08-24 11:52:10.510822891 -0500
@@ -23,7 +23,8 @@
H5DataSpace.h H5DataType.h H5DcreatProp.h H5DxferProp.h H5EnumType.h \
       H5Exception.h H5FaccProp.h H5FcreatProp.h H5File.h H5FloatType.h \
       H5Group.h H5IdComponent.h H5Include.h H5IntType.h H5Library.h \
-      H5Object.h H5PredType.h H5PropList.h H5StrType.h H5VarLenType.h
+      H5Object.h H5PredType.h H5PropList.h H5StrType.h H5VarLenType.h \
+      H5Location.h
     ${INSTALL_DATA} ${WRKSRC}/c++/src/${f} ${DESTDIR}/${PREFIX}/include/
 .endfor
 .for f in chunks.cpp compound.cpp create.cpp extend_ds.cpp \
diff -ruN ../devel/hdf5-c++/PLIST hdf5-c++/PLIST
--- ../devel/hdf5-c++/PLIST    2013-09-01 20:10:17.000000000 -0500
+++ hdf5-c++/PLIST    2015-08-24 10:41:20.910091600 -0500
@@ -25,6 +25,7 @@
 include/H5Include.h
 include/H5IntType.h
 include/H5Library.h
+include/H5Location.h
 include/H5Object.h
 include/H5PacketTable.h
 include/H5PredType.h


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Jason W. Bacon
  jwbacon%tds.net@localhost

  If a problem can be solved,
  there's no need to worry.
If it cannot be solved, then
  worrying will do no good.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Home | Main Index | Thread Index | Old Index