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 portPriority: 5 - Normal
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: Massimiliano Gubinelli <mgubi>
Originator Name: Open/Closed: Open
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

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;
done

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
  • -unavailable- added by vdhoeven (Posted a comment)
  • -unavailable- added by thomastan (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 23 Jun 2017 03:38:32 PM UTCvdhoevenItem GroupNone=>Error
      StatusNone=>Confirmed
      Assigned toNone=>mgubi

    Back to the top


    Powered by Savane 3.1-cleanup1