[XeTeX] libkpathsea not found when compiling xdvipdfmx on OS X (Intel)

Bruno Voisin bvoisin at mac.com
Fri Oct 6 14:25:56 CEST 2006


I've just attempted to compile xetex and xdvipdfmx from source on my  
brand new MacPro (hence Intel). The sources come from the tarballs at:

http://scripts.sil.org/svn-view/xetex/TRUNK.tar.gz?view=tar
http://scripts.sil.org/svn-view/xdvipdfmx/TRUNK.tar.gz?view=tar

With XeTeX, all goes well. With xdvipdfmx, I get:

theo8mc233:~/Desktop/TRUNK-xdvipdfmx bvoisin$ sh configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of  
Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for kpse_find_file in -lkpathsea... no
configure: error: kpathsea library not found
This version of dvipdfmx requires the kpathsea library and its  
headers. If
you know where it is you might try setting the LDFLAGS environment  
variable
with -L pointing to the directory containing libkpathsea.a.

However, libkpathsea is indeed installed:

theo8mc233:~/Desktop/TRUNK-xdvipdfmx bvoisin$ ls -l /usr/local/teTeX/lib
total 1208
-rw-r--r--   1 root  admin  611240 Apr 25 09:14 libkpathsea.a
-rw-r--r--   1 root  admin     695 Apr 26 07:56 libkpathsea.la

I remember vaguely having read something about this on the list, but  
I can't find it right now.

Is this an actual unfixed issue, or did I miss something obvious? I  
don't think I really need a bleeding edge xdvipdfmx anyway (I  
generally stick to the default xdv2pdf), I was just willing to keep  
the xetex and xdvipdfmx versions on par. (And I prefer to have an up- 
to-date XeTeX, because of the numerous fixes Jonathan issues between  
binary releases.)

I don't think that matters here, but my PATH settings are:

theo8mc233:~/Desktop/TRUNK-xdvipdfmx bvoisin$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/ 
i386-apple-darwin-current

Bruno Voisin


More information about the XeTeX mailing list