Compiling TeX Live on 10.5 (was: libatomic build failure 10.5/x86)

Ken Cunningham ken.cunningham.webuse at gmail.com
Thu Apr 26 00:23:38 UTC 2018


On 2018-04-25, at 11:42 AM, Ken Cunningham wrote:


>> Forcing clang-3.4 brings up this:
>> 
>> 	/opt/local/bin/clang++-mp-3.4 -DHAVE_CONFIG_H -I.  -I./TECkit-src/source/Public-headers  -DNDEBUG -isystem/opt/local/include  -pipe -Os -std=c++11 -Wno-reserved-user-defined-literal -D_GLIBCXX_USE_CXX11_ABI=0 -stdlib=macports-libstdc++ -arch i386 -MT TECkit-src/source/UnicodeNames.o -MD -MP -MF $depbase.Tpo -c -o TECkit-src/source/UnicodeNames.o TECkit-src/source/UnicodeNames.cpp &&\
>> 	mv -f $depbase.Tpo $depbase.Po
>> clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
>> clang: error: invalid library name in argument '-stdlib=macports-libstdc++'
>> make[5]: *** [TECkit-src/source/UnicodeNames.o] Error 1
>> make[5]: *** Waiting for unfinished jobs....
>> make[5]: *** [TECkit-src/source/Compiler.o] Error 1
>> make[5]: Leaving directory `/opt/local/var/macports/build/
> 

you know, I went back and looked at my notes.

I did in fact  build this with clang-3.4, but I overrode the cxx11 PG's macports-libstdc++ changes to do it. It worked fine on Intel Tiger as well. Here's the command line I used:

sudo port -v install texlive-bin configure.compiler=macports-clang-3.4 configure.cxx_stdlib=libstdc++

Corner cases.

Ken




More information about the macports-users mailing list