Discussion:
[XeTeX] depcomp erorr when building (and workaround)
Scott Kostyshak
2016-09-07 17:20:27 UTC
Permalink
Hello,

I run the following commands:

git clone git://git.code.sf.net/p/xetex/code xetex-code &&
cd xetex-code &&
./build.sh

This gives the following error:

/bin/bash:
../../../../source/texk/web2c/web2c/../../../build-aux/depcomp: No such
file or directory

I suppose this has to do with autoconf versions or something like that.
I'm on Ubuntu 16.04. Do others have this issue or perhaps no one else is
on Ubuntu 16.04?

The following workaround leads to a seemingly correct build for me:

git clone git://git.code.sf.net/p/xetex/code xetex-code &&
cd xetex-code &&
./build.sh --parallel; ln -s '/usr/share/automake-1.15/depcomp'
source/build-aux/depcomp && ./build.sh --parallel

Best,

Scott
Scott Kostyshak
2016-09-18 02:05:18 UTC
Permalink
Post by Scott Kostyshak
Do others have this issue or perhaps no one else is
on Ubuntu 16.04?
Can anyone on Ubuntu 16.04 compile without the workaround I mentioned?

Scott
Paul Vojta
2016-09-20 02:17:28 UTC
Permalink
I grabbed the latest TeX live from their repository a few hours ago and
recompiled on Ubuntu 16.04.1 LTS, using:

../source/configure --prefix=$texmf \
--datarootdir=$texmf --mandir=$texmf/man --infodir=$texmf/info \
--disable-multiplatform --with-x --disable-native-texlive-build \
--with-system-libgs --with-xdvi-x-toolkit=xaw --with-system-icu \
--with-system-freetype2 --with-system-zlib \
--disable-devnag --disable-makejvf --disable-mendexk

(I use my own directory structure, but it shouldn't affect ability to
compile.)

I was able to compile xetex without problem, and it ran "xetex story \\bye"
just fine.

Paul
Post by Scott Kostyshak
Post by Scott Kostyshak
Do others have this issue or perhaps no one else is
on Ubuntu 16.04?
Can anyone on Ubuntu 16.04 compile without the workaround I mentioned?
Scott
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex
Scott Kostyshak
2016-10-02 15:21:50 UTC
Permalink
Post by Paul Vojta
I grabbed the latest TeX live from their repository a few hours ago and
../source/configure --prefix=$texmf \
--datarootdir=$texmf --mandir=$texmf/man --infodir=$texmf/info \
--disable-multiplatform --with-x --disable-native-texlive-build \
--with-system-libgs --with-xdvi-x-toolkit=xaw --with-system-icu \
--with-system-freetype2 --with-system-zlib \
--disable-devnag --disable-makejvf --disable-mendexk
(I use my own directory structure, but it shouldn't affect ability to
compile.)
I was able to compile xetex without problem, and it ran "xetex story \\bye"
just fine.
Thanks a lot for this reply, Paul! I appreciate your taking the time to
give the configure command that works for you on ubuntu 16.04.1. Next
time I take a look at this I'll be sure to test it out. I would like to
test the development version of XeTeX to see if all of the documents and
examples we ship with LyX compile without problems.

Scott
Arthur Reutenauer
2018-07-27 20:24:25 UTC
Permalink
Post by Scott Kostyshak
git clone git://git.code.sf.net/p/xetex/code xetex-code &&
cd xetex-code &&
./build.sh
../../../../source/texk/web2c/web2c/../../../build-aux/depcomp: No such
file or directory
I suppose this has to do with autoconf versions or something like that.
The origin of the problem seems to be libtool, specifically the
utility libtoolize; I was able to reproduce the problem with libtool
version 2.4.6 (from 2015), while an older machine with libtool 2.4.2
(from 2011) didn’t have the issue. Compilation was also fine on the
newer machine with libtool 2.4.2.

By trial and error I found that the following simple line near the top
of configure.ac did the trick:

AC_REQUIRE_AUX_FILE([depcomp])

I can’t really claim to know what I’m doing, but it seems to work.
I’ve committed that line to the repository, so that compilation should
work with a fresh copy; alternatively, in an old working directly, I’ve
found that

git clean -dfx

did the trick of restoring a clean slate. Then you of course need to
run git pull.

Best,

Arthur


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/

Loading...