mailing-list for TeXmacs Users

Text archives Help


Re: Building TeXmacs for macos


Chronological Thread 
  • From: Massimiliano Gubinelli <address@hidden>
  • To: Pierre-Henri Jondot <address@hidden>
  • Cc: texmacs-users <address@hidden>
  • Subject: Re: Building TeXmacs for macos
  • Date: Sat, 14 Nov 2020 15:04:55 +0100

The -isysroot option should come from Qt, gathered by configure from the
qmake output. Probably Qt5 was build with 10.11 sdk. I'm not sure. However
independently of what is your running OS I was meaning that the headers of
Big Sur should have changed, because there is no such problems with SDKs from
previous systems (e.g. Catilina).

To investigate the issue you can use a very simple Qt application and try to
build it with qmake to see which headers are used. As I said, the error
messages you get seems to come from changes in the headers which cause symbol
clashes in TeXmacs. We had this kind of issues before due to the fact that
various libraries might have incompatible #define


Max

> On 14. Nov 2020, at 14:45, Pierre-Henri Jondot <address@hidden> wrote:
>
> Again : I am still running catalina too… but it seems that the configure
> step when building with qt 5 had problems… configure chose to build with
> 10.11 sdk (with -isysroot directive) by default which fails. It is possible
> to build with qt 5, but for that to succeed, I had to change quite a few
> paths in makefile.
>
> I haven’t explored Darcy Shen suggestion to use CMake instead yet, but it
> might be another way out.
>
> Regards,
>
> Pierre-Henri
>
>> Le 14 nov. 2020 à 14:31, Massimiliano Gubinelli <address@hidden> a écrit :
>>
>> I might add that on Catilina (MacOS 10.15) TeXMacs compile fine with Qt 5
>> (e.g. 5.9 or 5.15). Maybe something is changed in Big Sur (MacOS 11) at
>> the level of the include files and this makes compilation fails. For the
>> moment I do not want to update my machine so I cannot indagate further.
>>
>> Max
>>
>>
>>> On 14. Nov 2020, at 13:28, Pierre-Henri Jondot <address@hidden> wrote:
>>>
>>> Hi,
>>>
>>> We exchanged a few mails with Max, and the conclusion is that the
>>> problems I had were the result of trying to build TeXmacs with qt5, which
>>> is possible it seems, although not yet supported and a bit of a pain, as
>>> it seems to really confuse the configure step. I think the instructions
>>> on the website regarding compiling TeXmacs from the sources should be
>>> edited to advice compiling with Qt4 and not Qt5. (No version is suggested
>>> there, which led me to believe the current version of Qt was the expected
>>> one, or at least as good as the previous one…)
>>>
>>> Regards,
>>>
>>> Pierre-Henri
>>>
>>>> Le 14 nov. 2020 à 09:03, Massimiliano Gubinelli <address@hidden> a écrit
>>>> :
>>>>
>>>> That is strange. Building on mac is usually ok for me, with homebrew for
>>>> example. Which Qt do you use? Can you post the compilation invocation
>>>> for mac_app.mm? (some few lines before the error message)
>>>>
>>>> Max
>>>
>>
>




Archive powered by MHonArc 2.6.19.

Top of page