whatever is need to make stuff going goes here
here's the error with mplib: /bin/sh ../libtool --mode=link i686-apple-darwin9-g++ -o luatex luatexini.o luatex0.o luatex1.o luatex2.o luatex3.o luatexextra.o luatex-pool.o luatexdir/libpdf.a -lpng -lz -L/Users/pipping/gentoo/usr/lib -lpoppler ../../libs/md5/md5.o ../../libs/obsdcompat/libopenbsd-compat.a ../../libs/lua51/liblua.a ../../libs/slnunicode/slnunico.o ../../libs/luazip/src/luazip.o -L/Users/pipping/gentoo/usr/lib -lzzip -lz ../../libs/luafilesystem/src/lfs.o ../../libs/luasocket/src/socket.a ../../libs/luapeg/lpeg.o ../../libs/luamd5/md5lib.o ../../libs/luamd5/md5.o ../../libs/luazlib/lgzip.o ../../libs/luazlib/lzlib.o ../../libs/luafontforge/libff.a /Users/pipping/gentoo/usr/lib/libmplib/mplib.la lib/lib.a ../kpathsea/libkpathsea.la -lm libtool: link: cannot find the library `/Users/pipping/gentoo/usr/lib/libmplib/mplib.la' tried to fix it via -inherit libtool +inherit autotools libtool [..] + sed -i \ + -e 's:\<libmplib\([._]\):liblocalmplib\1:g' \ + -e 's:\<mplib\([._]\):libmplib\1:g' \ + Makefile.am + eautoreconf here's what happens then: i686-apple-darwin9-g++ -o luatex luatexini.o luatex0.o luatex1.o luatex2.o luatex3.o luatexextra.o luatex-pool.o ../../libs/md5/md5.o ../../libs/slnunicode/slnunico.o ../../libs/luazip/src/luazip.o ../../libs/luafilesystem/src/lfs.o ../../libs/luapeg/lpeg.o ../../libs/luamd5/md5lib.o ../../libs/luamd5/md5.o ../../libs/luazlib/lgzip.o ../../libs/luazlib/lzlib.o luatexdir/libpdf.a -L/Users/pipping/gentoo/usr/lib -lpng -lpoppler -lxml2 -lpthread -lfontconfig -liconv -lfreetype -lexpat ../../libs/obsdcompat/libopenbsd-compat.a ../../libs/lua51/liblua.a -lzzip -lz ../../libs/luasocket/src/socket.a ../../libs/luafontforge/libff.a -L/Users/pipping/gentoo/usr/lib/libmplib -lmplib lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm ld: library not found for -lmplib
damn. of course it's the other way around (libtool isn't even used without those changes)
Created attachment 167690 [details, diff] patch that makes luatex work by explicitly linking against the archive (.a) instead of the libtool archive (.la), we can make it work. this shouldn't break anything. the problem arises from the distinction of modules and dynamic libraries on osx, in combination with libtool.
Created attachment 167692 [details, diff] patch against freetype even with that in place, texlive-core fails to link "_FT_GetFilePath_From_Mac_ATS_Name", referenced from: _pdf_load_native_font in xdvipdfmx-fontmap.o FT_GetFilePath_From_Mac_ATS_Name is deprecated and not available by default. passing --with-old-mac-fonts to freetype's configure makes it available, which is what the patch is for
texlive-latex appears to require ibyhyph.tex to be present. pipping@quicksand $ texmfind ibyhyph.tex dev-texlive/texlive-langgreek [1 file]
pipping@quicksand $ equery b texmf/tex/generic/config/language.def [ Searching for file(s) texmf/tex/generic/config/language.def in *... ] dev-texlive/texlive-basic-2008 (/Users/pipping/gentoo/usr/share/texmf/tex/generic/config/language.def) pipping@quicksand $ grep ibyhyph.tex usr/share/texmf/tex/generic/config/language.def \addlanguage{ibycus}{ibyhyph.tex}{}{2}{2}
(In reply to comment #6) > pipping@quicksand $ equery b texmf/tex/generic/config/language.def > [ Searching for file(s) texmf/tex/generic/config/language.def in *... ] > dev-texlive/texlive-basic-2008 > (/Users/pipping/gentoo/usr/share/texmf/tex/generic/config/language.def) > > pipping@quicksand $ grep ibyhyph.tex > usr/share/texmf/tex/generic/config/language.def > \addlanguage{ibycus}{ibyhyph.tex}{}{2}{2} This is because your language.def file hasn't been properly regenerated: $ grep ibyhyph /etc/texmf/language.def.d/* /etc/texmf/language.def.d/language.texlive-langgreek.def:\addlanguage{ibycus}{ibyhyph.tex}{}{2}{2} and this should only go in language.def if you have langgreek installed; the default language.def contains every language support file though but is overwritten as soon as texmf-update is ran, eg at the end of tl-basic install.
(In reply to comment #7) > (In reply to comment #6) > > pipping@quicksand $ equery b texmf/tex/generic/config/language.def > > [ Searching for file(s) texmf/tex/generic/config/language.def in *... ] > > dev-texlive/texlive-basic-2008 > > (/Users/pipping/gentoo/usr/share/texmf/tex/generic/config/language.def) > > > > pipping@quicksand $ grep ibyhyph.tex > > usr/share/texmf/tex/generic/config/language.def > > \addlanguage{ibycus}{ibyhyph.tex}{}{2}{2} > > This is because your language.def file hasn't been properly regenerated: > $ grep ibyhyph /etc/texmf/language.def.d/* > /etc/texmf/language.def.d/language.texlive-langgreek.def:\addlanguage{ibycus}{ibyhyph.tex}{}{2}{2} thanks for clarifying, > [..] language.def [..] is overwritten as soon as texmf-update is ran, eg at the end of tl-basic install. that's strange, that should've happened for me...
(In reply to comment #8) > > [..] language.def [..] is overwritten as soon as texmf-update is ran, eg at the end of tl-basic install. > > that's strange, that should've happened for me... note that i'm talking about the main tree here, so that may be a bug in the prefix version.
(In reply to comment #4) > Created an attachment (id=167692) [edit] > patch against freetype > > even with that in place, texlive-core fails to link > > "_FT_GetFilePath_From_Mac_ATS_Name", referenced from: > _pdf_load_native_font in xdvipdfmx-fontmap.o > > FT_GetFilePath_From_Mac_ATS_Name is deprecated and not available by default. > passing --with-old-mac-fonts to freetype's configure makes it available, which > is what the patch is for I think we should use the new interface instead.
(In reply to comment #7) > (In reply to comment #6) > > pipping@quicksand $ equery b texmf/tex/generic/config/language.def > > [ Searching for file(s) texmf/tex/generic/config/language.def in *... ] > > dev-texlive/texlive-basic-2008 > > (/Users/pipping/gentoo/usr/share/texmf/tex/generic/config/language.def) > > > > pipping@quicksand $ grep ibyhyph.tex > > usr/share/texmf/tex/generic/config/language.def > > \addlanguage{ibycus}{ibyhyph.tex}{}{2}{2} > > This is because your language.def file hasn't been properly regenerated: > $ grep ibyhyph /etc/texmf/language.def.d/* > /etc/texmf/language.def.d/language.texlive-langgreek.def:\addlanguage{ibycus}{ibyhyph.tex}{}{2}{2} > > > and this should only go in language.def if you have langgreek installed; the > default language.def contains every language support file though but is > overwritten as soon as texmf-update is ran, eg at the end of tl-basic install. I have the same problem on Solaris here. % grep ibyhyph $EPREFIX/etc/texmf/language.def.d/* % running texmf-update doesn't seem to help...
my texmf-update actually only seems to deal with a language.dat, not language.def
(In reply to comment #12) > my texmf-update actually only seems to deal with a language.dat, not > language.def > then the texmf-update2008 is where to look at; perhaps it hasn't been correctly prefixed? where can I have a look at it?
I don't have anything other than texmf-update, should I have a texmf-update2008? That would explain something. I verified texmf-update is installed by texlive-core. I can send you that file if that helps...
(In reply to comment #14) > I don't have anything other than texmf-update, should I have a > texmf-update2008? That would explain something. I verified texmf-update is > installed by texlive-core. I can send you that file if that helps... > its named texmf-update2008 in $FILESDIR but installed via newsbin iirc as texmf-update; because the 2008 version requires some extra things, like the language.def one :)
We have a problem. Thanks for the hint, will fix0r before bothering you again.
Created attachment 169062 [details, diff] makes luatex link, too
I have it installed now, closing this dragon bug.