Quick questions

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Oct 14 14:05:16 UTC 2021


Le 14/10/2021 à 13:42, Lorenzo Bertini a écrit :
> Hello list, just a couple of quick questions.
> I wanted to get a meaningful output out of valgrind so i needed to build 
> a debug version:
> 
> 1. how do i tell autotools that i want this? I tried some LyX pages but 
> they don't specifically say how. Is it the default behavior? In case, 
> how do i get release output?

By default, autoconf will build a binary suitable for valgrind, unless 
you are interested in performance.

In this case, I would advise to build with --enable-build-type=prof.

You will find the meaning of all this in INSTALL.

> 
> Also, on my computer i have debian 11 and LyX 2.3.6 as package. I have 
> LyX 2.4 cloned from git on a folder:
> 
> 2. how do i download the debug symbols for 2.4? The package lyx-dbgsym 
> is for 2.3.6.

The symbols will be produced when compiling, no need to get them separately.

> 3. LyX 2.4 has overwritten something in the .lyx folder so LyX 2.3.6 
> doesn't work anymore; how do i keep them separated?

Use --with-version-suffix. By default it uses "-2.4.0dev" to the file 
and directories when installing, and uses ".lyx-2.4.0dev" as user directory.

I use --with-version-suffix=-master, so that my user directory is 
~/.lyx-master/.

Hope this helps.

JMarc


More information about the lyx-devel mailing list