cmake install missing help documentation
Kornel Benko
kornel at lyx.org
Tue Oct 29 12:40:06 UTC 2019
Am Tue, 29 Oct 2019 07:57:51 -0400
schrieb Vincent Lucarelli <vincent.lucarelli at gmail.com>:
> Hi Scott,
>
> Happy to propose a patch.
>
> Couple of questions:
>
> - Are both autotools and cmake build systems fully supported for lyx or is one
> deprecated?
Both are fully supported.
> - Why was LYX_PREFIX_INSTALL introduced instead of using CMAKE_PREFIX_INSTALL?
Because CMAKE_PREFIX_INSTALL is a cmake-variable, and we like to have lyx-variables.
> - What does NLS stand for?
Native Language Support.
> - Is the point of LYX_INSTALL is that for development, you don’t want to spend the time
> building extra things? If so, why wasn’t LYX_INSTALL the default and have a flag for
> developers?
Yes. Sometimes (while bisecting for example) it is faster to test.
> These are questions that cmake users might have and having answers to these in
> INSTALL.cmake will help orient them with the lyx viewpoint of how cmake is being used.
>
> Best,
>
> Vince
Kornel
> > On Oct 25, 2019, at 10:27 AM, Scott Kostyshak <skostysh at lyx.org> wrote:
> >
> > That great it works for you now, Vincent. Do you have any specific
> > suggestions for how to improve the information in INSTALL.cmake? Would
> > you be interested in proposing a patch that clarifies things? It would
> > be great to make that file as accessible as possible.
> >
> > Thanks,
> >
> > Scott
> >
> >
> > On Wed, Oct 23, 2019 at 10:54:11PM -0400, Vincent Lucarelli wrote:
> >> Thanks! That did it.
> >>
> >> I didn’t understand from INSTALL.cmake what the purpose of these variables were.
> >>
> >> Best,
> >>
> >> Vince
> >>
> >> Sent from my iPhone
> >>
> >>> On Oct 23, 2019, at 4:02 AM, Kornel Benko <kornel at lyx.org> wrote:
> >>>
> >>> Am Tue, 22 Oct 2019 11:17:28 -0400
> >>> schrieb Vincent Lucarelli <vincent.lucarelli at gmail.com>:
> >>>
> >>>> Hi,
> >>>>
> >>>> I tried:
> >>>>
> >>>> git checkout 2.3.3
> >>>> mkdir build
> >>>> cd build
> >>>> cmake -GNinga -DLYX_EXTERNAL_HUNSPELL=ON
> >>>> -DLYX_INSTALL_PREFIX=/tmp/install ..
> >>>
> >>> I propose to use also -DLYX_NLS=ON -DLYX_INSTALL=ON
> >>> LYX_NLS=ON should create translations,
> >>> LYX_INSTALL=ON should create everything needed for installation.
> >>>
> >>>> ninja-build
> >>>> ninja-build install
> >>>>
> >>>> This fails with
> >>>> CMake Error at po/cmake_install.cmake:45 (file):
> >>>> file INSTALL cannot find "/tmp/lyx/build/po/ar.gmo"
> >>>>
> >>>> So I tried
> >>>>
> >>>> ninja-build translations
> >>>> ninja-build install
> >>>>
> >>>> This seems to work and lyx2.3 runs, but /tmp/install does not contain
> >>>> UserGuide or any of the other help documentation.
> >>>>
> >>>> What am I missing?
> >>>>
> >>>> Thanks - Vince
> >>>>
> >>>
> >>> Kornel
> >>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20191029/e6022969/attachment.asc>
More information about the lyx-devel
mailing list