Am Wed, 18 Nov 2020 16:45:34 +0100 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> Le 18/11/2020 à 16:00, Kornel Benko a écrit : > > Yes, compilable with cmake. For convenience of the automake users I tried > > to compile > > with automake and failed. > > Reading commit log of 08afc52c4cc, I see that it is not supposed to work > with Linux. I am wary of tweaking it, because all this looks pretty > fragile and the gain is minimal at best. > > JMarc Still it works witch cmake. (The message claims: "Should not be used on Linux", but of course it might) The problems starts with the compilation of localcharset.c, plenty of warnings (-Wunused-parameter) The first error is /usr2/src/lyx/lyx-test/3rdparty/libiconv/1.15/libcharset/lib/localcharset.c:77:38: error: expected expression before ‘)’ token # define relocate(pathname) (pathname) Apparently ENABLE_RELOCATABLE is not defined. Checking the preprocessed in cmake, "ENABLE_RELOCATABLE 1" is done at command line ... #define __ELF__ 1 #define __DECIMAL_BID_FORMAT__ 1 # 1 "<command-line>" #define BUILDING_LIBCHARSET 1 #define ENABLE_RELOCATABLE 1 #define HAVE_CONFIG_H 1 ... Kornel ^
pgpSTDvbDFDfW.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel