Skip to Content.
Sympa Menu

texmacs-users - Re: Building TeXmacs for macos

Subject: mailing-list for TeXmacs Users

List archive

Re: Building TeXmacs for macos


Chronological Thread 
  • From: Darcy Shen <address@hidden>
  • To: "texmacs-users" <address@hidden>
  • Subject: Re: Building TeXmacs for macos
  • Date: Sat, 14 Nov 2020 19:31:16 +0800
  • Arc-authentication-results: i=1; mx.zoho.com.cn; spf=pass smtp.mailfrom=address@hidden; dmarc=pass header.from=<address@hidden> header.from=<address@hidden>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1605353477; h=Content-Type:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=CqmTiN7KgpghaHfFz/NzTi40CZoBvbaOLl+489uF/tQ=; b=BmDAySCD5pXMPw6eA/Vh02gIwUdvjwSxta3ZU8wERovl8JCUzYcZ5l7TvqG4xRUnSADFmDtZ2f5VStvaQ3Ap8atZ64ZsPMTZxihlhH+DwAXLTYI2SEyU1maH6xON2iraDrzhz3kBJnrC4tG1hz/9poASYc8Dmk6Zu6GUQDut+vM=
  • Arc-seal: i=1; a=rsa-sha256; t=1605353477; cv=none; d=zoho.com.cn; s=zohoarc; b=YgMF35xRB9RlQFaST6D8N8EBLv/RrnkvlpjjBSmcqd7C4zf59yFIM+pGdjg5gv4dbZKYlR7LPDKUY0CbI3cVG8e5EqU8itoQYig2XjrI5M8l+V3Jm3ALxa3WCzZ1p4dcf8BpYg6OtXrpH36ULVpdpe2vIsSS965/W/kxYl43FS0=
  • Importance: Medium

I maintained a wiki before: https://github.com/texmacs/texmacs/wiki/Build-with-CMake-on-MacOS

And I'm rewriting the wiki here:
https://github.com/texmacs/notes/pull/16

It does not use autotools. Instead, I'm using CMake. Please comment on the PR if you have any questions.

---- On Sat, 2020-11-14 15:00:56 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