[XeTeX] Problem building XeTeX on Ubuntu 8.04

Stephen Moye stephenmoye at mac.com
Sun May 25 19:05:36 CEST 2008


On May 25, 2008, at 12:17 PM, Stephen Moye wrote:

>
> On May 25, 2008, at 7:45 AM, Peter Dyballa wrote:
>
>>
>> Am 25.05.2008 um 13:08 schrieb Stephen Moye:
>>
>>> ### Making xetex binary using: 'cd Work/texk/web2c && /usr/bin/make
>>> web2cdir=/usr/share/texmf/web2c xetex'
>>> make: *** No rule to make target `xetex'.  Stop.
>>
>>
>> As Jonathan yesterday mentioned: the error already happened before
>> these lines. GCC should have emitted at least one message ' Error
>> <some number>'. In GNU Emacs' *compilation* buffer you can easily
>> search for that string, even using a regular expression.
>
> I've tried a couple of things but I can't seem to run build-xetex
> (M-! ./build-xetex) inside of emacs -- emacs freezes every time. Help?

I had only to be patient, it appears. The log finally came up in an  
emacs window. It appears that build-xetex thinks that libfontconfig is  
not installed:

  configure: error:
Cannot build XeTeX without libfontconfig.
Use the --with-fontconfig=DIR option to specify the prefix where
fontconfig is installed.

configure: error: ../../../texk/web2c/configure failed for web2c
configure: error: ../../texk/configure failed for texk
### configure script appears to have failed
###### BUILDING LIBRARIES AND XETEX

According to the 'Synaptic Package Manager" it is, and I think I found  
it in /usr/lib:

sgmoye at sgmoye-desktop:/usr/lib$ ls -ls libfont*
   0 lrwxrwxrwx 1 root root     22 2008-05-25 12:30 libfontconfig.so.1  
-> libfontconfig.so.1.3.0
200 -rw-r--r-- 1 root root 200056 2008-02-28 12:22 libfontconfig.so. 
1.3.0
   0 lrwxrwxrwx 1 root root     19 2008-05-24 11:53 libfontenc.so.1 ->  
libfontenc.so.1.0.0
  28 -rw-r--r-- 1 root root  26904 2007-04-27 13:52 libfontenc.so.1.0.0
sgmoye at sgmoye-desktop:/usr/lib$

If I take the advice given by build-xetex, what shoud I do about "-- 
with-fontconfig=DIR"?

Thanks again.

Stephen



More information about the XeTeX mailing list