[XeTeX] compile xetex

Jonathan Kew jonathan at jfkew.plus.com
Fri Aug 15 22:42:56 CEST 2008


On 15 Aug 2008, at 2:30 PM, M. Niedermair wrote:

> Hi,
>
>> Your teckit subdirectory is empty or at least does not contain a
>> Makefile (but is referenced from an upper Makefile)?
>> Did you make sure you're checkout is complete?
>
> yes, i have made a complete checkout and run on ubuntu-hardy
>
> export LANG=C; ./build-xetex
>
> ### Running /usr/bin/make in /home/mgn/daten/sv/xetex/Work/libs/teckit
> make: *** No targets specified and no makefile found.  Stop.
> ### library build appears to have failed for teckit
>
> The directory ..Work/libs/texkit (the directory 'Work' is created by  
> the
>  script) has only one file.
>
> ls /home/mgn/daten/sv/xetex/Work/libs/teckit
> config.log
>

This is because the configure script failed. Looking in the log that  
you sent me (off-list), I see:

=== configuring in teckit (/home/mgn/daten/sv/xetex/Work/libs/teckit)
configure: running /bin/sh ../../../libs/teckit/configure --disable- 
option-checking '--prefix=/usr'  '--datadir=/usr/share' '--with-system- 
zlib' '--with-old-mac-fonts' '--disable-threads' '--enable-tetex- 
build' '--bindir=${exec_prefix}/bin/i686-pc-linux-gnu' '--libdir=$ 
{exec_prefix}/lib/i686-pc-linux-gnu' 'CFLAGS=' 'LDFLAGS=' '--enable- 
static' --cache-file=../.././config.cache --srcdir=../../../libs/teckit
configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... (cached) yes
configure: error: source directory already configured; run "make  
distclean" there first
configure: error: ../../../libs/teckit/configure failed for teckit
configure: error: ../../libs/configure failed for libs
### configure script appears to have failed

It looks to me like you do not have a "clean" source tree; you have  
probably tried running ./configure && make directly in the source tree  
at some point, and that has run configure in some of the source  
directories; that is interfering with the out-of-source build that we  
normally do (using the ./build-xetex script).

I also saw a lot of "make clean" stuff before the configure script  
runs; this isn't normal, and I think it was also a result of having  
run ./configure manually in the main tree previously.

It might work to run "make distclean" in the libs/teckit directory, as  
suggested by the error message, but it's probably better/safer to  
start with a fresh, clean copy of the entire source tree; I don't know  
whether other things will be affected by residue of your earlier  
configure runs.

JK



More information about the XeTeX mailing list