[OS X TeX] Re: building lxir

Murray Eisenberg murrayeisenberg at gmail.com
Sat Apr 28 15:13:59 EDT 2012


On 4/28/12 3:00 PM, Peter Dyballa<Peter_Dyballa at Web.DE> wrote
>
>
> Am 26.04.2012 um 00:33 schrieb Murray Eisenberg:
>
>> >  libfontmap.c:28:31: error: kpathsea/kpathsea.h: No such file or directory
>> >  libfontmap.c: In function 'read_config':
>> >  libfontmap.c:86: error: 'kpse_xml_format' undeclared (first use in this function)
>> >  libfontmap.c:86: error: (Each undeclared identifier is reported only once
> Assuming the first error reported, that of missing C header file kpathsea/kpathsea.h, the next one is a big one: libkpathsea does know of kpse_xml_format, has no idea of an XML format. This Lxir software uses a patched version of libkpathsea. Where is that or where is the patch file?
>
>
> Murray, since you are using MacPorts ("-I/opt/local/include  -I/opt/local/include/libxml2"), if you still don't have libkpathsea installed in MacPorts, then you'd just need to install some TeX utility that MacTeX does not have, dblatex I think, and MacPorts would install TeX Live partially/basically and libkpathsea – into /opt/local/include/kpathsea and into /opt/local/lib. That way you would get all necessary files (plus a lot more). And presumingly you would be able to request an universal build or a pure 64-bit build – or a 32-bit build if your hardware is from the earliest intel Macs. The paths given can be passed to configure via (necessary anyway for libXSLT and libXML2)
>
> 	./configure .... CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
>
> or
>
> 	./configure .... CPPFLAGS=-I/opt/local/include LDFLAGS="-Wl,t -L/opt/local/lib" CFLAGS="-H -pipe"
>
> which would also report which C header file (the -H) and which libraries and modules (the -Wl,t) are used to build the software. (To be sure that the proper files are used.)
>
>
> But anyway, without the patched software or the patch file(s) Lxir won't build because of at least the missing XML related file formats declaration. Maybe once the mailing list works we can get some help...

I am _not_ using MacPorts for TeXLive now.

> BTW, could you use a more self-explanatory subject line than "Re: MacOSX-TeX Digest ..."?

[Sorry about that: in my Thunderbird e-mail client, it's just not easy 
to reply to a single message within a digest (as you can see also by the 
fact that the quoted lines fail to wrap -- at least when I am composing 
this in Thunderbird).]

-- 
Murray Eisenberg                     murrayeisenberg at gmail.com
80 Fearing Street                    phone 413 549-1020 (H)
Amherst, MA 01002-1912




More information about the MacOSX-TeX mailing list