texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] How to disable Plugins/MacOS


From: Gubinelli Massimiliano
Subject: Re: [Texmacs-dev] How to disable Plugins/MacOS
Date: Fri, 1 May 2009 22:12:38 +0200

Hi,

On 1 mai 09, at 18:31, Martin Costabel wrote:

In texmacs-1.0.7.2, there is a new source directory src/Plugins/ MacOS. I am sure that it contains very useful things. The problem is that it uses code that does not compile on MacOSX 10.4. A typical error message is

./Plugins/MacOS/mac_spellservice.mm:42: error: 'NSInteger' does not name a type

There is indeed no NSInteger in MacOSX 10.4; this was introduced in 10.5. Now this variable is from the Cocoa framework, but that piece of code is also (trying to be) compiled when the X11 or qt graphics versions of texmacs are built, not only for the cocoa graphics version.

My question is: Is there a simple way to disable the compilation of this part of the sources and thus to enable building texmacs-1.0.7.2 on MacOSX 10.4? Or does one have to go back to 1.0.7?


I've just commited a workaround for this problem. These extensions are now disabled by default. To enable them (they provide native spellchecking and file conversion capabilities to TeXmacs/X11/Qt/Cocoa from the standard Cocoa library) you should pass the flag --enable- macosx-extensions to configure.

Best,
Massimiliano


--
Martin


_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]