Am Donnerstag, 1. Juni 2017 um 08:56:06, schrieb Cor Blom <corne...@solcon.nl> > Hi, > > I'm experimenting with building lyx (2.3 git) with cmake in the openSUSE > BuildService. I'm using the following commands:
What is this BuildService about? > %cmake \ > -DLYX_INSTALL=ON \ Why don't you use -DLYX_CPACK=ON -DCPACK_BINARY_RPM:BOOL=ON instead? That way you should get rpm package. > -DLYX_USE_QT=QT5 \ > -DLYX_EXTERNAL_BOOST=OFF \ > -DLYX_PROGRAM_SUFFIX=ON \ > -DLYX_ASPELL=OFF \ > -DLYX_HUNSPELL=ON \ > -DLYX_ENCHANT=ON I would add also -DLYX_LOCALVERSIONING=ON > > make Here it should be 'make package' > make install Here: sudo rpm -U lyx23-2.3.0-something.rpm > (the "%cmake" macro inheritis all kind of openSUSE settings). Which ones? > I'm stuck with the "make install" part. The first two steps are running > fine. I get the following error: > > 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 > Is there a solution? Do you use different directories for build and sources? I don't know how different your BuildService uses our cmake-files. > Thanks, > > Cor > > P.S.: my experimenting can be found here: > > https://build.opensuse.org/package/show/home:cornelisbb:lyx-unstable/lyx-qt5 Kornel
signature.asc
Description: This is a digitally signed message part.