Le 21/06/2023 à 12:36, Christoph Schmitz a écrit :
Hello Scott,

Yes,

I deleted my local repository already a few times and started from scratch.

Hello,

Could you please send your config.log file?

JMarc


These are the commands I use:

cd ~/chris/Git

git clone git://git.lyx.org/lyx LyX

cd LyX

./autogen.sh

./configure \
--with-version-suffix=-2.4 \
--with-libiconv-prefix=/usr \
--prefix=/Users/chris/Desktop/LyX.app \
--with-x=no \
--disable-stdlib-debug \
--with-included-hunspell \
--enable-qt6 \
--with-macos-deployment-target=13.0

make -j8 && make install-strip

Chris


Am 21.06.2023 um 11:50 schrieb Scott Kostyshak <skost...@lyx.org>:

On Wed, Jun 21, 2023 at 07:45:09AM +0200, Christoph Schmitz wrote:

I have been unable to compile LyX 2.4 on macOS Sonoma for the past few days. The error message I am receiving is as follows:

...
Making all in qt
/Library/Developer/CommandLineTools/usr/bin/make  all-am
make[6]: Nothing to be done for `all-am'.
Making all in .
make[5]: Nothing to be done for `all-am'.
Making all in .
 CHK      lyx_commit_hash.h
 CXXLD    lyx
Undefined symbols for architecture x86_64:
 "_iconv", referenced from:
     lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned long) in liblyxsupport.a(unicode.o)      (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(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(docstream.o)     (maybe you meant: lyx::from_iconv_encoding(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&), lyx::to_iconv_encoding(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) , AffixMgr::get_iconvtable() const )
 "_iconv_close", referenced from:
     lyx::IconvProcessor::Handler::~Handler() in liblyxsupport.a(unicode.o)      (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet() in liblyxsupport.a(docstream.o)
 "_iconv_open", referenced from:
     lyx::IconvProcessor::init() in liblyxsupport.a(unicode.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(docstream.o)
ld: symbol(s) not found for architecture x86_64
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 am attempting to compile LyX on macOS Sonoma, however, the issue I am facing did not originate upon switching to Sonoma. Is there any advice on what I could do to resolve this?


Hi Chris,

Are you using a clean git repository and also building from scratch? What were all the commands that you used (e.g., cmake command)

Scott

--
lyx-devel mailing list
lyx-devel@lists.lyx.org <mailto:lyx-devel@lists.lyx.org>
http://lists.lyx.org/mailman/listinfo/lyx-devel <http://lists.lyx.org/mailman/listinfo/lyx-devel>



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

Reply via email to