pkgsrc-Users archive

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

Odd compiler error




I'm getting an odd error when trying to compile blasr_libcpp, which I just committed to pkgsrc-wip.

It insists that it cannot find H5Cpp.h, but the header exists and is in the include path:

ls /home/bacon/Pkgsrc/pkg-1/include/H5Cpp.h
/home/bacon/Pkgsrc/pkg-1/include/H5Cpp.h

Output from bmake:

In file included from /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.cpp:1: /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.hpp:8:19: error: H5Cpp.h: No such file or directory In file included from /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/HDFGroup.hpp:9, from /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/HDFData.hpp:7, from /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.hpp:12, from /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.cpp:1: /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/HDFAttributable.hpp:8: error: variable or field 'CallStoreAttributeName' declared void

If I run the compile command manually outside pkgsrc, it works:

cd work/blasr_libcpp-2015.08.17/hdf
g++ -std=c++0x -pedantic -MMD -MP -O2 -I/home/bacon/Pkgsrc/pkg-1/include -I/home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17 -I../pbdata -MF"/home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.d" -MT"/home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.o /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.d" -c /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.cpp -o /home/bacon/Pkgsrc/pkgsrc-1/jb-wip/blasr_libcpp-wip/work/blasr_libcpp-2015.08.17/hdf/BufferedHDF2DArray.o

Anyone seen something like this before?

Thanks,

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  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