[OS X TeX] compiling miktex tools

Martin Costabel costabel at wanadoo.fr
Mon Apr 7 18:37:26 EDT 2008


Alex Hamann wrote:
> Hi,
> 
> was anybody capable of compiling the latest miktex tools for unix?
> My make failed with miktex-2.7.2960 under Tiger 10.4.11, cmake 2.4.8 and 
> libcurl 7.18.0
> 
> 
> 
> this is where the make process fails:
> 
> [ 10%] Building CXX object 
> Libraries/3rd/7-Zip/CPP/7zip/Compress/LZMA/CMakeFiles/MiKTeX207-lzma.dir/lzma-miktex.oLinking 
> CXX shared library 
> ../../../../../../../binlib/libMiKTeX207-lzma.dylibld: common symbols 
> not allowed with MH_DYLIB output format with the -multi_module 
> optionCMakeFiles/MiKTeX207-lzma.dir/__/__/__/__/C/7zCrc.o definition of 
> common _g_CrcTable (size 1024)/usr/bin/libtool: internal link edit 
> command failedmake[2]: *** [binlib/libMiKTeX207-lzma.2.7.2960.dylib] 
> Error 1make[1]: *** 
> [Libraries/3rd/7-Zip/CPP/7zip/Compress/LZMA/CMakeFiles/MiKTeX207-lzma.dir/all] 
> Error 2make: *** [all] Error 2
> 
> 
> anybody got luckier?

On Leopard, this builds without problem. On Tiger, you will have to 
somehow add the -single_module flag to that linker line (this is on by 
default on Leopard).

Either edit the file 
Libraries/3rd/7-Zip/CPP/7zip/Compress/LZMA/CMakeFiles/MiKTeX207-lzma.dir/link.txt 
and rerun make or set the LDFLAGS environment variable or the 
CMAKE_SHARED_LINKER_FLAGS cmake variable correspondingly.

-- 
Martin





More information about the MacOSX-TeX mailing list