Am Donnerstag, 1. Juni 2017 um 11:38:54, schrieb Cor Blom <corne...@solcon.nl> > Op 01-06-17 om 09:57 schreef Kornel Benko: > > Am Donnerstag, 1. Juni 2017 um 08:56:06, schrieb Cor Blom > > <corne...@solcon.nl> > > > > What is this BuildService about? > > This buildservice is used to build the openSUSE distribution. It's like > Ubuntu's PPA. I want to see if cmake is a usuable alternative for > building the lyx package for openSUSE. I am the maintainer of the > official package in the distro. And I like a challenge. > > >> > >> make > > > > Here it should be > > 'make package' > > If I understand correctly this is for creating a package on a local > computer, but not usable for distribution packaging.
There should be no difference ... you could at least try. Cpack installs in a fake-root and creates a package from the fake-installed data The result of using the rpm is, from my POV, like 'make install'. > > > >> make install > > > > Here: sudo rpm -U lyx23-2.3.0-something.rpm > > > >> (the "%cmake" macro inheritis all kind of openSUSE settings). > > > > Which ones? > > Expanded it becomes this: > > find . -name CMakeLists.txt -exec sed -i -re > '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\)/{s/^/#IGNORE > > /}' '{}' + Outch. What went wrong if not using this command? I AM interested. Specifically CMAKE_VERBOSE_MAKEFILE will be reset with -DLYX_QUIET=ON CMAKE_INSTALL_PREFIX will be set on the commandline > mkdir -p build > cd build > /usr/bin/cmake .. '-GUnix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/usr The following three settings are not used > -DINCLUDE_INSTALL_DIR:PATH=/usr/include > -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc > -DSHARE_INSTALL_PREFIX:PATH=/usr/share [snip] > >> > >> make: *** No rule to make target 'install'. Stop. > > > > That is surprising. What is the output of 'make help'? It should be the list > > of all targets. > > Here it is: > > #make help|grep install > > ... install/local > > ... install/strip > > ... list_install_components > > ... install > > > > As I don't build locally I don't have access to "make help". I will look > into that later, when I've more time. (I'm not in a hurry to solve this). > > Thanks for the help, > > Cor Kornel
signature.asc
Description: This is a digitally signed message part.