[XeTeX] compiling xdvipdfmx

Apostolos Syropoulos asyropoulos at yahoo.com
Sun Feb 3 12:13:03 CET 2008


>checking 
for 
kpse_find_file 
in 
-lkpathsea... 
no
>configure: 
error: 
kpathsea 
library 
not 
found
>This 
version 
of 
xdvipdfmx 
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.
>
>Bleah.
>So... 
what 
should 
I 
do? 
:)

I know absolutely nothing about MacOS, but it seems it is a Unix
like system. Here is what I did to compile it under OpenSolaris:

$ CFLAGS="-I/opt/gnu/include -I/usr/local/TeX/include" 
  LDFLAGS ="-L/opt/gnu/lib -R/opt/gnu/lib -L/usr/sfw/lib -R/usr/sfw/lib -lfreetype
 -L/usr/local/TeX/lib -R/usr/local/TeX/lib -lkpathsea" ./configure --prefix=/usr/local/TeX

Everything should be in one line. Now the CFLAGS indicate which 
additional directories the compiler should considered as include
directories (i.e., directories where C/C++ header files are to be
found) and the LDFLAGS indicate which additional directories should be
considered as lib directories (i.e., directories that contain either
shared objects, that is, *.so files, or ar archives, that is,
*.a files). The -L option says indicates the directory that
contains the libraries, the -l option says which libraries
should be included and the -R option to "remember" the correct
path (ok it is more complicated than this, but I do not
remember the exact wording rigjht now). So adjust the line above
and you will compile the program without any problem.
A.S.
 


***************************************************************
*Apostolos Syropoulos                                         *
*snail mail: 366, 28th October Str., GR-671 00  Xanthi, HELLAS *
*email     : asyropoulos (at) yahoo (dot) com                                      *
*phone num.: +30-2541-028704                                                                    *
*home page : http://obelix.ee.duth.gr/~apostolo                              *
*blog : http://asyropoulos.wordpress.com/                                          *
***************************************************************






      
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080203/42eadab3/attachment.html 


More information about the XeTeX mailing list