bugGNU TeXmacs - Bugs: bug #46075, Build issues on Mac.


You are not allowed to post comments on this tracker with your current authentication level.

bug #46075: Build issues on Mac.

Submitted by:  Thomas Tan <thomastan>
Submitted on:  Tue 29 Sep 2015 03:46:57 PM UTC  
Category:  MacOS port Priority:  5 - Normal
Item Group:  Error Status:  Works For Me
Privacy:  Public Assigned to:  Massimiliano Gubinelli <mgubi>
Originator Name:  Open/Closed:  Closed
Release:  Release:  None
Fixed Release:  None Fixed Release: 

Sun 01 Nov 2020 06:06:31 PM UTC, comment #4: 

Since are no new complaints, I close this bug.
Please re-open if necessary.

Note that Denis Raux also constructed an SDK for building under MacOS.

Joris van der Hoeven <vdhoeven>
Project Administrator
Tue 06 Feb 2018 09:07:39 AM UTC, comment #3: 

I'm currently able to compile fine TeXmacs under mac with clang (clang-900.0.39.2) for High Sierra.
Does the bug still persist in other installations?

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Fri 23 Jun 2017 03:38:32 PM UTC, comment #2: 

I reassign this bug to Massimiliano.

Notice that  there are stability issues with clang;
I intend to work on those.  One of the most annoying issues
is that the order of function argument evaluation is exactly
the inverse of gcc's one.  Of course, this should not matter,
but there might be some bugs inside TeXmacs due to this.

Joris van der Hoeven <vdhoeven>
Project Administrator
Tue 29 Sep 2015 08:55:01 PM UTC, comment #1: 

Typo in original submission (missing '-' character).  I use

  CC=gcc-4.2 CXX=g++-4.2 LIBS='-lz' ./configure --disable-debug

to build.

Thomas Tan <thomastan>
Tue 29 Sep 2015 03:46:57 PM UTC, original submission:  

The builds fail when using clang-4.8, the default on OS X compiler/linker that has replaced GCC.  Building is fine with gcc-4.2.  The issue is due to out-of-spec C++.

Also, there should also be some notes, nearby the `make MACOS_BUNDLE` instructions for people build TeXmacs using Qt installed (poured) from Homebrew.  The install_name_tool will attempt to copy Qt libs into the distr bundle by creating an empty file with the same permissions as the Qt files before writing copying the contents into them.  By default, Homebrew does not give write access and so install_name_tool won't be able to "write" what's needed in these Qt lib files.  A

for i in QtGui QtCore QtSvg QtXml; do
chmod u+w $i.framework/Versions/4/$i;
chmod g+w $i.framework/Versions/4/$i;

will do the trick.

Lastly, autoconf needs to be prefixed with LIBS='lz' as zlib is not being linked by default, and some instructions need to be provided on how to create a mac environment (the libraries) suitable for building a TeXmacs mac bundle capable of running on OS X 10.5.

Thomas Tan <thomastan>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mgubi (Posted a comment)
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by thomastan (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-01 vdhoeven StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2018-02-06 mgubi StatusConfirmed => Need Info
    2017-06-23 vdhoeven Item GroupNone => Error
        StatusNone => Confirmed
        Assigned toNone => mgubi

    Back to the top

    Powered by Savane 3.6