Build problems (was: #6463: font encoding changes ...)
Scott Kostyshak
skostysh at lyx.org
Tue Dec 6 19:28:35 UTC 2022
On Tue, Dec 06, 2022 at 07:02:17PM +0100, Guenter Milde wrote:
> Am 6.12.22 schrieb LyX Ticket Tracker:
>
> > Replying to [comment:23 milde]:
> ...
> > > compiling from "master" fails with a "enchant++ not found" error
>
> > Are you building with autotools or CMake? What is your Enchant library
> > version? Both made changes to accommodate Enchant 2. For example,
> > [71977769/lyxgit] and [f1694db4/lyxgit], so I wonder if we messed
> > something up.
>
> configuring with
>
> cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ON \
> -DLYX_INSTALL_PREFIX="git-" -DLYX_ENCHANT=ON ../lyx
>
> and then
>
> make
>
> The enchant library is
>
> libenchant-2-dev/stable,now 2.2.15-1 amd64
Thanks, Günter. Let's figure this out.
What are the outputs to "dpkg -L libenchant-2-dev" and "apt-cache policy libenchant-2-dev" for you?
Here are my outputs:
$ dpkg -L libenchant-2-dev
/.
/usr
/usr/include
/usr/include/enchant-2
/usr/include/enchant-2/enchant++.h
/usr/include/enchant-2/enchant-provider.h
/usr/include/enchant-2/enchant.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/enchant-2.pc
/usr/share
/usr/share/doc
/usr/share/doc/libenchant-2-dev
/usr/share/doc/libenchant-2-dev/HACKING
/usr/share/doc/libenchant-2-dev/NEWS.gz
/usr/share/doc/libenchant-2-dev/copyright
/usr/lib/x86_64-linux-gnu/libenchant-2.so
/usr/share/doc/libenchant-2-dev/README
/usr/share/doc/libenchant-2-dev/changelog.Debian.gz
$ apt-cache policy libenchant-2-dev
libenchant-2-dev:
Installed: 2.3.2-1ubuntu2
Candidate: 2.3.2-1ubuntu2
Version table:
Also, what enchant variables are in the CMake cache file? For me:
$ grep -i "enchant" CMakeCache.txt
ENCHANT_INCLUDE_DIR:PATH=/usr/include/enchant-2
ENCHANT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libenchant-2.so
//Require Enchant
LYX_ENCHANT:BOOL=ON
//ADVANCED property for variable: ENCHANT_INCLUDE_DIR
ENCHANT_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ENCHANT_LIBRARY
ENCHANT_LIBRARY-ADVANCED:INTERNAL=1
//Details about finding ENCHANT
FIND_PACKAGE_MESSAGE_DETAILS_ENCHANT:INTERNAL=[/usr/lib/x86_64-linux-gnu/libenchant-2.so][/usr/include/enchant-2][v()]
//Test HAVE_ENCHANT2
HAVE_ENCHANT2:INTERNAL=1
$
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221206/707389c2/attachment.asc>
More information about the lyx-devel
mailing list