On Wed, Oct 04, 2023 at 06:18:27PM +0200, Christoph Schmitz wrote:
Enrico, got it! Many thanks!
I have downloaded the updated toolchain.prf file from the link you provided and
I replaced the corresponding file in the following folder:
/usr/local/Cellar/qt/6.5.1_3/share/qt/mkspecs/features
After this change, the configure script ran without errors and I could compile
LyX. However, make now gives the following error message:
...
AR liblyxcore.a
AR liblyxmathed.a
AR liblyxgraphics.a
AR liblyxinsets.a
CXXLD lyx
ld: Undefined symbols:
_iconv, referenced from:
(anonymous namespace)::iconv_codecvt_facet::do_out(__mbstate_t&, wchar_t const*,
wchar_t const*, wchar_t const*&, char*, char*, char*&) const in
liblyxsupport.a[8](docstream.o)
(anonymous namespace)::iconv_codecvt_facet::do_in(__mbstate_t&, char const*, char
const*, char const*&, wchar_t*, wchar_t*, wchar_t*&) const in
liblyxsupport.a[8](docstream.o)
lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned
long) in liblyxsupport.a[34](unicode.o)
lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned
long) in liblyxsupport.a[34](unicode.o)
_iconv_close, referenced from:
(anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet() in
liblyxsupport.a[8](docstream.o)
(anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet() in
liblyxsupport.a[8](docstream.o)
lyx::IconvProcessor::Handler::~Handler() in liblyxsupport.a[34](unicode.o)
_iconv_open, referenced from:
(anonymous namespace)::iconv_codecvt_facet::iconv_codecvt_facet(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned int,
unsigned long) in liblyxsupport.a[8](docstream.o)
(anonymous namespace)::iconv_codecvt_facet::iconv_codecvt_facet(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned int,
unsigned long) in liblyxsupport.a[8](docstream.o)
lyx::IconvProcessor::init() in liblyxsupport.a[34](unicode.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I have already deleted the local LyX repository and started again from scratch.
The same problem.
Most probably you are missing the iconv library. Either install it or
try configuring using also the option "--with-included-iconv"
--
Enrico
--
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel