Mojca Miklavec wrote:
On Fri, Dec 5, 2008 at 5:21 PM, Taco Hoekwater wrote:
Hi all,
I have just uploaded the archives for luatex 0.31.0.
Hello Taco,
After all that negging about supporting solaris, here are some more reports from Mac OS X:
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 mpdir/lmplib.o luatexdir/libpdf.a ../../libs/libpng/libpng.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a ../../libs/xpdf/fofi/libfofi.a ../../libs/obsdcompat/libopenbsd-compat.a ../../libs/lua51/liblua.a ../../libs/zziplib/zzip/libzzip.a ../../libs/luasocket/src/socket.a ../../libs/luafontforge/libff.a mpdir/.libs/libmplib.a lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _libintl_gettext
This one is simple to fix, I forgot to suppress libintl (gettext) in fontforge's configuration. There are two lines containing #undef HAVE_LIBINTL_H inside src/libs/luafontforge/fontforge/inc/config.h.in (one is enough really, the other one is a fluke) If you put those in C comment tags (like the _HAS_LONGLONG is already) then this error will go away, I am sure.
_FSCloseFork _FSCreateFileUnicode _FSCreateFork _FSGetResourceForkName _FSOpenFork _FSPathMakeRef _FSSetForkSize _FSWriteFork
These are a bit trickier, they probably need an extra linked library. It is caused by the fontforge code for reading Mac fonts, and that of course has a if define(__MAC) in the C source, which is why it works fine on unix/win where the filesystems simpler. Can you send me the generated Makefiles in the fontforge subdirectory? Best wishes, Taco