Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Compiling TeXmacs under OS X Yosemite

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Compiling TeXmacs under OS X Yosemite


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Re: [TeXmacs] Compiling TeXmacs under OS X Yosemite
  • Date: Tue, 31 Mar 2015 10:00:45 +0200

Hi,

On Sun, Mar 15, 2015 at 11:20 PM, David Latreyte <address@hidden> wrote:
I tried the recipe found on the web site (all dependencies installed with Mac Ports) but the result is :

> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[1]: *** [Objects/texmacs-shared.bin] Error 1
> make: *** [TEXMACS] Error 2

We need to know which symbols where not found by the linker, though I'd guess it's either something related to iconv or zlib. This is caused by a conflict between the libiconv installed through macports (due to the dependency on guile) and the one shipped with MacOS. You have to instruct the linker to use the one with macports, and this you can do in several ways. The easy, hacky, dirty way, and the one I remember out of the top of my head (I'm not using a Mac right now, sorry), is changing one line in the code:

Around line 15 of  src/src/Data/string/converter.cpp you have:

#include <iconv.h>

Change it to (please check that the path exists and adjust it if it doesn't (It should be close, though))

#include "/opt/local/include/iconv.h"

This will have the side effect of linking against macport's library.

Best,
--
Miguel de  Benito.
 



Archive powered by MHonArc 2.6.19.

Top of Page