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 09:03:29 +0100

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



On 14. Nov 2020, at 08:00, Pierre-Henri Jondot <address@hidden> wrote:

Hi,

I built TeXmacs successfully under linux a couple of times, and wanted to tackle building it for macos, with debugging symbols (I am curious about investigating a bug I posted on savannah : https://savannah.gnu.org/bugs/?59429 which it looks like I am the only one experiencing)

On a rather new system, running Catalina 10.15.6, I installed, using homebrew, guile 1.8.8, freetype2 and qt.

configure went ok, but make failed as it seems the configure step didn’t properly adjust paths to libpng and gmp (installed by homebrew as dependancies to guile I think).

I added them manually to src/makefile allowing the compilation to go farther.

It now fails with 

In file included from ./Plugins/MacOS/mac_app.mm:12:
In file included from Plugins/Cocoa/mac_cocoa.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:60:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:17:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/dispatch/dispatch.h:64:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/os/workgroup.h:30:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/os/workgroup_object.h:48:1: error: cannot find interface declaration for 'OS_object', superclass of
      'OS_os_workgroup'; did you mean 'NSObject'?
OS_WORKGROUP_DECL(os_workgroup, WorkGroup);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/os/workgroup_base.h:35:29: note: expanded from macro 'OS_WORKGROUP_DECL'
        OS_OBJECT_SHOW_CLASS(name, OS_OBJECT_CLASS(object))
                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/NSObject.h:53:12: note: 'NSObject' declared here
@interface NSObject <NSObject> {
           ^
1 error generated.
make[1]: *** [Objects/mac_app.o] Error 1
make: *** [TEXMACS] Error 2

which baffles me. It looks like the error comes from the macos source files themselves… I tried upgrading xcode (there was a recent update), and command line tools (they were up-to-date) to no avail, and couldn’t find anything searching google…

By the way, TeXmacs since 1.99.14 now feels responsive ! 1.99.13 felt really sluggish and made me feel so often that it would miss keystrokes (although I don’t think it did but…)

Regards,

Pierre-Henri




Archive powered by MHonArc 2.6.19.

Top of page