- changed status to resolved
No install target
"make install" simply does not work after compile.
Comments (10)
-
repo owner -
reporter I'm that man supporting your sw in Gentoo overlay ;-)
[100%] Built target sviewgl make[1]: Leaving directory '/home/portage/build/portage/media-gfx/simpleviewer-gl-9999/work/simpleviewer-gl-9999_build' /usr/bin/cmake -E cmake_progress_start /home/portage/build/portage/media-gfx/simpleviewer-gl-9999/work/simpleviewer-gl-9999_build/CMakeFiles 0 >>> Source compiled. >>> Test phase [not enabled]: media-gfx/simpleviewer-gl-9999 >>> Install simpleviewer-gl-9999 into /home/portage/build/portage/media-gfx/simpleviewer-gl-9999/image/ category media-gfx >>> Working in BUILD_DIR: "/home/portage/build/portage/media-gfx/simpleviewer-gl-9999/work/simpleviewer-gl-9999_build" make -j9 install make: *** No rule to make target 'install'. Stop. * ERROR: media-gfx/simpleviewer-gl-9999::rion failed (install phase):
That's it.
-
reporter I just found another Gentoo overlay with simpleviewer. A copy of mine but updated with correct dependencies. Anyway, you cmake script for some reson lacks standard install stuff. That's why it's missed in generated ebuild.
-
repo owner Wow, nice to meet again ;)
What about ebuild that shipped with Simple Viewer GL (check out dist directory)?
-
reporter let me check
-
reporter Where is the dist directory? =) It's not on git
-
repo owner You should should switch to development branch: do
git checkout development
inside viewer's root. -
reporter That's what I'm talking about.
src_install() { dobin "${BUILD_DIR}"/sviewgl dodoc config.example }
This code it not necessary when install stuff is implemented in cmake script https://cmake.org/cmake/help/v3.0/command/install.html
-
repo owner How I can fix it?
-
reporter https://cmake.org/cmake-tutorial/ This doc has an install section. A good exampe I think.
- Log in to comment
Do you have permissions for install viewer into destination dir?
Anyway I have updated install rule in development branch.