cmake install missing help documentation

Vincent Lucarelli vincent.lucarelli at gmail.com
Tue Oct 29 11:57:51 UTC 2019


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?
- Why was LYX_PREFIX_INSTALL introduced instead of using CMAKE_PREFIX_INSTALL?
- What does NLS stand for?
- 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?

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

> 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
>>> 
>>> -- 
>>> lyx-devel mailing list
>>> lyx-devel at lists.lyx.org
>>> http://lists.lyx.org/mailman/listinfo/lyx-devel
>> -- 
>> lyx-devel mailing list
>> lyx-devel at lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-devel
> -- 
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel



More information about the lyx-devel mailing list