Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install does not install triples/ directory -- hdt-it still active? #262

Open
chrysn opened this issue Apr 6, 2022 · 1 comment
Open

Comments

@chrysn
Copy link
Contributor

chrysn commented Apr 6, 2022

Building hdt-it on a system with hdt-cpp installed (through a primitive Debian package, see https://bugs.debian.org/749416) it appears as if make install does not install the triples directory. When then trying to build hdt-it using qmake && make, I got:

g++ -c -pipe -O3 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../libcds-v1.0.12/includes -I../hdt-lib/include/ -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Iunix -Iunix -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o unix/hdtcachedinfo.o hdtcachedinfo.cpp
hdtcachedinfo.cpp:4:10: fatal error: ../../hdt-lib/src/triples/BitmapTriples.hpp: No such file or directory
    4 | #include "../../hdt-lib/src/triples/BitmapTriples.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.Release:750: unix/hdtcachedinfo.o] Error 1
make[1]: Leaving directory '/home/chrysn/debian_packaging/hdt-cpp/hdt-it'
make: *** [Makefile:42: release] Error 2

Manually installing the triples into /usr/include did the trick on the first occurrence, as probably would including the relevant directory in libhdt/Makefile.am's include_HEADERS. Same goes for the bitsequence folder. Same goes for the bitsequence, sequence and dictionary folders.


... and then, I looked closer and found that not only does this not look up the headers in the system path, but it also can't work since the 2017 rename (with a similar occurrence in regexmodel.cpp line 9), making me wonder: Has anyone built hdt-it in the last 5 years? (With some build system workarounds I could get it to build, then, and it looks functional then).

@ptorrestr
Copy link
Contributor

Back when we changed the building system to Autotools, I skip hdt-it as we observed similar issues like the one you mention. My guess is that it hasn't been built in the last 5 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants