Re: QT configuring troubles

2023-01-14 Thread Jean-Marc Lasgouttes

Le 13/01/2023 à 22:40, Гаража Илья a écrit :

Hello!
I tried to compile a new 2.3.7 version of the Lyx on Ubuntu 22.04. But i 
have no idea why this error message appear. There is config.log.


You are missing some Qt-related packages. The magic incantation to 
install everything required for LyX should be something like


sudo apt-get build-dep lyx

JMarc


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: QT configuring troubles

2023-01-13 Thread Paul Stansell
On Fri, 13 Jan 2023 at 22:02, Гаража Илья  wrote:

> Hello!
> I tried to compile a new 2.3.7 version of the Lyx on Ubuntu 22.04. But i
> have no idea why this error message appear. There is config.log.
>
> My main reason why I try to compiling, but not using apt-get install, is
> that Lyx doesn't enable me to use Russian spellchecker (hunspell). But I
> know that hunspell is installed correctly. That's why I want to compile it
> manually (using "--with-included-hunspell" flag).
>
> It would be great to get help about troubleshooting or persons who can
> help me with.
>


Hello Гаража,

I just installed LyX 2.3.6 on Ubuntu 22.04 LTS using apt and the standard
package repository.  Initially I could not work out how to use hunspell,
but I eventually discovered the following fix that worked for me:

   cd /usr/share/enchant-2
   cp enchant.ordering enchant.ordering_orig
   emacs enchant.ordering
   diff enchant.ordering_orig enchant.ordering
 2,5c2,5
 < en_AU:aspell,hunspell,nuspell
 < en_CA:aspell,hunspell,nuspell
 < en_GB:aspell,hunspell,nuspell
 < en_US:aspell,hunspell,nuspell
 ---
 > en_AU:hunspell,aspell,nuspell
 > en_CA:hunspell,aspell,nuspell
 > en_GB:hunspell,aspell,nuspell
 > en_US:hunspell,aspell,nuspell

This change gives hunspell a higher precedence than aspell, so it's used by
LyX.

Also, in Tools > Preferences > Language Settings > Spellchecker, set the
"Spellcheck engine" to "Enchant".

Paul
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


QT configuring troubles

2023-01-13 Thread Гаража Илья
Hello!I tried to compile a new 2.3.7 version of the Lyx on Ubuntu 22.04. But i have no idea why this error message appear. There is config.log. My main reason why I try to compiling, but not using apt-get install, is that Lyx doesn't enable me to use Russian spellchecker (hunspell). But I know that hunspell is installed correctly. That's why I want to compile it manually (using "--with-included-hunspell" flag). It would be great to get help about troubleshooting or persons who can help me with. Best regardsIlya GarazhaThis file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by LyX configure 2.3.7, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./configure

## - ##
## Platform. ##
## - ##

hostname = ilya-HM14s
uname -m = x86_64
uname -r = 5.15.0-58-generic
uname -s = Linux
uname -v = #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023

/usr/bin/uname -p = x86_64
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /usr/games/
PATH: /usr/local/games/
PATH: /snap/bin/


## --- ##
## Core tests. ##
## --- ##

configure:3280: looking for aux files: config.rpath compile ar-lib missing 
install-sh config.guess config.sub
configure:3293:  trying ./config/
configure:3322:   ./config/config.rpath found
configure:3322:   ./config/compile found
configure:3322:   ./config/ar-lib found
configure:3322:   ./config/missing found
configure:3304:   ./config/install-sh found
configure:3322:   ./config/config.guess found
configure:3322:   ./config/config.sub found
configure:3450: checking for build type
configure:3469: result: release
configure:3481: checking for version suffix
configure:3501: result: 
configure:3505: checking whether Qt5 is requested
configure:3515: result: yes
configure:3527: checking build system type
configure:3542: result: x86_64-pc-linux-gnu
configure:3562: checking host system type
configure:3576: result: x86_64-pc-linux-gnu
configure:3596: checking target system type
configure:3610: result: x86_64-pc-linux-gnu
configure:3636: checking what packaging should be used
configure:3654: result: posix
configure:3752: checking whether to enable maintainer-specific portions of 
Makefiles
configure:3762: result: no
configure:3787: checking whether make supports nested variables
configure:3805: result: yes
configure:3837: checking for a BSD-compatible install
configure:3910: result: /usr/bin/install -c
configure:3921: checking whether build environment is sane
configure:3976: result: yes
configure:4135: checking for a race-free mkdir -p
configure:4179: result: /usr/bin/mkdir -p
configure:4186: checking for gawk
configure:4207: found /usr/bin/gawk
configure:4218: result: gawk
configure:4229: checking whether make sets $(MAKE)
configure:4252: result: yes
configure:4339: checking whether UID '1000' is supported by ustar format
configure:4342: result: yes
configure:4349: checking whether GID '1000' is supported by ustar format
configure:4352: result: yes
configure:4360: checking how to create a ustar tar archive
configure:4371: tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:4374: $? = 0
configure:4414: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" 
>conftest.tar
configure:4417: $? = 0
configure:4421: tar -xf - = 2.7.0 or 3.3.0
configure:4631: python -c import sys version = sys.version_info[:3] 
sys.exit(not ((2,7,0) <= version < (3,0,0) or version >= (3,3,0)))
./configure: line 4632: python: command not found
configure:4634: $? = 127
configure:4631: python2 -c import sys version = sys.version_info[:3] 
sys.exit(not ((2,7,0) <= version < (3,0,0) or version >= (3,3,0)))
./configure: line 4632: python2: command not found
configure:4634: $? = 127
configure:4631: python3 -c import sys version = sys.version_info[:3] 
sys.exit(not ((2,7,0) <= version < (3,0,0) or version >= (3,3,0)))
configure:4634: $? = 0
configure:4641: result: python3
configure:4649: checking for python3
configure:4672: found /usr/bin/python3
configure:4684: result: /usr/bin/python3
configure:4768: checking for python version
configure:4776: result: 3.10
configure:4781: checking for python platform
configure:4789: result: linux
configure:4850: checking for GNU default python prefix
configure:4852: result: ${prefix}
configure:4918: checking for GNU default python exec_prefix
configure:4920: result: ${exec_pre