Xetex compile error - Slackware

This is a discussion on Xetex compile error - Slackware ; Hello Anyone compiled xetex? I do this: 1. modify run configure.sh as follows.. --- runConfigure.sh 2007-11-17 13:43:41.000000000 +0200 +++ runConfigure.sh.diff 2007-11-17 13:45:03.000000000 +0200 @@ -8,8 +8,8 @@ -PREFIX=/usr/local/teTeX -DATADIR=/usr/local/teTeX/share +PREFIX=/usr/share/texmf +DATADIR=/usr/share @@ -28,8 +28,8 @@ -echo "../configure --prefix=${PREFIX} --datadir=${DATADIR} --with-system- ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: Xetex compile error

  1. Xetex compile error

    Hello

    Anyone compiled xetex?

    I do this:

    1. modify run configure.sh as follows..

    --- runConfigure.sh 2007-11-17 13:43:41.000000000 +0200
    +++ runConfigure.sh.diff 2007-11-17 13:45:03.000000000 +0200
    @@ -8,8 +8,8 @@
    -PREFIX=/usr/local/teTeX
    -DATADIR=/usr/local/teTeX/share
    +PREFIX=/usr/share/texmf
    +DATADIR=/usr/share
    @@ -28,8 +28,8 @@
    -echo "../configure --prefix=${PREFIX} --datadir=${DATADIR} --with-system-
    zlib"
    -../configure --prefix=${PREFIX} --datadir=${DATADIR} --with-system-zlib
    || exit
    +echo "../configure --prefix=${PREFIX} --datadir=${DATADIR} --with-system-
    zlib --with-system-freetype2"
    +sh ../configure --prefix=${PREFIX} --datadir=${DATADIR} --with-system-
    zlib --with-system-freetype2 || exit

    2. I ran build-tetex (which executes runConfigure.sh)

    3. Execute of configure

    4. The resuling Makefile has two errors

    Eight spaces instead of one tab, here the correction.

    --- Makefile 2007-11-16 21:30:34.000000000 +0200
    +++ Makefile.diff 2007-11-16 21:40:25.000000000 +0200
    @@ -181,9 +181,9 @@
    - cd $(TECKITDIR); $(MAKE)
    + cd $(TECKITDIR); $(MAKE)
    $(ICUDIR)/lib/libsicudata.a $(ICUDIR)/lib/libsicule.a $(ICUDIR)/lib/
    libsicuuc.a:
    - cd $(ICUDIR); $(MAKE)
    + cd $(ICUDIR); $(MAKE)

    5. And then... make BUT

    two errors

    The first
    A. make: *** No rule to make target `libs/teckit/lib/.libs/libTECkit.a',
    needed by `all'. Stop.

    I checked the Makefile but I think that the path is OK. My mind
    was blowed so:

    I HARD coded the path in Makefile (bad practice because I want to
    make a SlackBuild)

    Mind you I managed to compile teckit by my-self. Does it help?
    I removed it, because xetex package has teckit library.

    The second
    B. for d in web2c afm2pl bibtex8 cjkutils detex devnag dtl dvi2tty dvidvi
    dviljk dvipdfm dvipdfmx dvipng dvipsk gsftopk lacheck makeindexk musixflx
    ps2pkm seetexk tetex tex4htk texlive ttf2pk tth xdv2pdf xdvik xdvipdfmx;
    do if test -f $d/Makefile; then \
    (cd $d && make -w CC='gcc' CFLAGS='-g -O2 ' LDFLAGS='' prefix=/
    usr/share/texmf exec_prefix=/usr/share/texmf bindir=/usr/share/texmf/bin/
    i686-pc-linux-gnu scriptdir=/usr/share/texmf/bin/i686-pc-linux-gnu libdir=/
    usr/lib datadir=/usr/share infodir=/usr/share/texmf/info includedir=/usr/
    share/texmf/include mandir=/usr/share/texmf/man manext=1 man1dir=/usr/
    share/texmf/man/man1 texmf=/usr/share/texmf web2cdir=/usr/share/texmf/
    web2c vartexfonts=/var/tmp/texfonts texinputdir=/usr/share/texmf/tex
    mfinputdir=/usr/share/texmf/metafont mpinputdir=/usr/share/texmf/metapost
    fontdir=/usr/share/texmf/fonts fmtdir=/usr/share/texmf/web2c/tex basedir=/
    usr/share/texmf/web2c/metafont memdir=/usr/share/texmf/web2c/metapost
    texpooldir=/usr/share/texmf/web2c mfpooldir=/usr/share/texmf/web2c
    mppooldir=/usr/share/texmf/web2c dvips_plain_macrodir=/usr/share/texmf/tex/
    plain/dvips dvilj_latex2e_macrodir=/usr/share/texmf/tex/latex/dvilj
    dvipsdir=/usr/share/texmf/dvips psheaderdir=/usr/share/texmf/dvips
    default_texsizes='300:600' all) || exit 1; else true; fi; done
    make[2]: Entering directory `/tmp/xetex-0.996/texk/web2c'
    make[2]: *** No rule to make target `bibtex.web', needed by `bibtex.p'.
    Stop.
    make[2]: Leaving directory `/tmp/xetex-0.996/texk/web2c'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/tmp/xetex-0.996/texk'
    make: *** [all] Error 1

    Any ideas? (I am not a programmer, sorry for the silly question)

    I know about texlive but it's HUGE.

  2. Re: Xetex compile error

    michales wrote:
    > Hello
    >
    > Anyone compiled xetex?
    >


    Yes.

    When I compiled it, all I did was 'chmod +x build-xetex' and
    './build-xetex', and everything worked fine. No syntax errors in the
    Makefiles, no need to edit any of the scripts...

    What version of Slackware are you using?

  3. Re: Xetex compile error

    On 2007-11-18, Chris Sorenson wrote:
    > michales wrote:
    >> Hello
    >>
    >> Anyone compiled xetex?
    >>

    >
    > Yes.
    > When I compiled it, all I did was 'chmod +x build-xetex' and
    > './build-xetex', and everything worked fine. No syntax errors in the
    > Makefiles, no need to edit any of the scripts...


    A ha, thank you for the answer.

    1. How do you uninstall? or Can I create a tgz package?
    2. The destination folders are not "slack" standard, or I am wrong?

    I din't follow this method because which kpsewich as root gives
    no valid answer (allthough as user there is no problem) the path of
    root for some reason is different.

    (which kpsewich is used but the script to determine the path of tetex)

    > What version of Slackware are you using?


    12

    --
    Please excuse my english writing!
    Slackware 12
    Knowledge report: One and 1/2 year, still plenty to learn

  4. Re: Xetex compile error

    korgman wrote:
    > On 2007-11-18, Chris Sorenson wrote:
    >
    >>michales wrote:
    >>
    >>>Hello
    >>>
    >>>Anyone compiled xetex?
    >>>

    >>
    >>Yes.
    >>When I compiled it, all I did was 'chmod +x build-xetex' and
    >>'./build-xetex', and everything worked fine. No syntax errors in the
    >>Makefiles, no need to edit any of the scripts...

    >
    >
    > A ha, thank you for the answer.
    >
    > 1. How do you uninstall? or Can I create a tgz package?


    I made a Slackware package. Just do 'ls -t' in /usr/share, and pull all
    the newly installed dirs into a temp directory, like
    /tmp/xetex/usr/share, then cd to /tmp/xetex and do
    'makepkg xetex-0.996.tgz'...

    > 2. The destination folders are not "slack" standard, or I am wrong?
    >


    No, it's pretty standard. Slackware places all the tex stuff in
    /usr/share, the install-xetex file looks for the tex binary and uses
    the location of that to decide where to install itself. Rather ingenious
    really....


    > I din't follow this method because which kpsewich as root gives
    > no valid answer (allthough as user there is no problem) the path of
    > root for some reason is different.
    >


    If you want to put kpsewhich into root's path (temporarily) you can do:

    export PATH=/usr/share/texmf/bin:$PATH

  5. Re: Xetex compile error - now xdvipdfmx

    Ok, I think xetex is installed but it depends
    on xdvipdfmx wich requires include files and
    library of kpathsea.

    I tried to compile the XeTeX-reference.ltx

    kpathsea is installed with xetex (I checked this)

    How do I configure xdvipdfmx?

    I try this:

    sh ./configure \
    CPPFLAGS="-I/usr/share/texmf/include/kpathsea/" \
    LDFLAGS="-L/usr/share/texmf/lib/"

    OR

    sh ./configure --with-kpathsea=/usr/share/texmf/include/kpathsea/ \
    --prefix=/usr/share/

    and I get

    checking for kpse_find_file in -lkpathsea... yes
    checking whether you have kpathsea headers and they know about the
    required file formats... no
    configure: error:
    This version of dvipdfmx requires that kpathsea and its headers be
    installed.
    If you are sure they are installed and in a standard place, maybe you need
    ash ./configure --with-kpathsea=/usr/share/texmf/include/kpathsea/ --
    prefix=/usr/share/
    newer version of kpathsea? You also might try setting the environment
    variable CPPFLAGS (or CFLAGS) with -I pointing to the directory containing
    the file "tex-file.h"

    After those compile efforts the next big thing
    is to make my own program (hehe)

    It's very frustrating, I don't want to install tex live :-|

  6. Re: Xetex compile error - now xdvipdfmx

    On Tue, 27 Nov 2007 23:31:01 +0000, michales wrote:

    > Ok, I think xetex is installed but it depends on xdvipdfmx wich requires
    > include files and library of kpathsea.
    >
    > I tried to compile the XeTeX-reference.ltx
    >
    > kpathsea is installed with xetex (I checked this)
    >
    > How do I configure xdvipdfmx?
    >
    > I try this:
    >
    > sh ./configure \
    > CPPFLAGS="-I/usr/share/texmf/include/kpathsea/" \
    > LDFLAGS="-L/usr/share/texmf/lib/"
    >
    > OR
    >
    > sh ./configure --with-kpathsea=/usr/share/texmf/include/kpathsea/ \
    > --prefix=/usr/share/
    >
    > and I get
    >
    > checking for kpse_find_file in -lkpathsea... yes checking whether you
    > have kpathsea headers and they know about the required file formats...
    > no
    > configure: error:
    > This version of dvipdfmx requires that kpathsea and its headers be
    > installed.
    > If you are sure they are installed and in a standard place, maybe you
    > need ash ./configure --with-kpathsea=/usr/share/texmf/include/kpathsea/
    > -- prefix=/usr/share/
    > newer version of kpathsea? You also might try setting the environment
    > variable CPPFLAGS (or CFLAGS) with -I pointing to the directory
    > containing the file "tex-file.h"
    >
    > After those compile efforts the next big thing is to make my own program
    > (hehe)
    >
    > It's very frustrating, I don't want to install tex live :-|


    try
    ../configure --with-kpathsea=/usr/share/texmf/



    --

  7. Re: Xetex compile error - now xdvipdfmx

    On Tue, 27 Nov 2007 23:39:33 +0000, Ivan Rajkovic wrote:
    > try
    > ./configure --with-kpathsea=/usr/share/texmf/


    And YES you are right! (??)



  8. Re: Xetex compile error - yet again confused

    So, the annoying guy is here.

    The build-xetex is fine (with the method of Sorenson)

    (I also made a package with find /usr/shared -ctime -1 e.t.c.)

    but install-xetex fails both in Slackware-current and
    Slackware-12

    Slackware-current - (sorry about the illegal characters)
    (/usr/share/texmf/tex/generic/hyphen/gahyph.tex
    Hyphenation patterns `gahyph.tex' Version 1.0 <2004/01/22>
    ! Not a letter.
    l.6089 ...rt뉧coirt뉣hreata뉧creata뉀hoi rte
    hoirtear
    ?
    ! Emergency stop.
    l.6089 ...rt뉧coirt뉣hreata뉧creata뉀hoi rte
    hoirtear
    No pages of output.
    Transcript written on xelatex.log.
    Error: `xetex -ini -jobname=xelatex -progname=xelatex *xelatex.ini' failed

    ################################################## #############################
    fmtutil: Error! Not all formats have been built successfully.
    Visit the log files in directory
    /usr/share/texmf-var/web2c
    for details.
    ################################################## #############################

    This is a summary of all `failed' messages and warnings:
    `xetex -ini -jobname=xelatex -progname=xelatex *xelatex.ini' failed

    in Slackware-12 (I have tweaked the tetex installation for greek support)

    (/usr/share/texmf/tex/generic/hyphen/grhyph.tex
    Greek language hyphenation patterns)
    ! Illegal parameter number in definition of \bbl@line.

    g
    l.357 \repeat

    ?
    ! Emergency stop.

    g
    l.357 \repeat

    No pages of output.
    Transcript written on xelatex.log.
    Error: `xetex -ini -jobname=xelatex -progname=xelatex *xelatex.ini' failed

    ################################################## #############################
    fmtutil: Error! Not all formats have been built successfully.
    Visit the log files in directory
    /usr/share/texmf-var/web2c
    for details.
    ################################################## #############################

    This is a summary of all `failed' messages and warnings:
    `xetex -ini -jobname=xelatex -progname=xelatex *xelatex.ini' failed

    xelatex.log in end..
    (/usr/share/texmf/tex/generic/hyphen/gahyph.tex
    Hyphenation patterns `gahyph.tex' Version 1.0 <2004/01/22>
    ! Not a letter.
    l.6089 ...rtλ<89>§coirtλ<89>£hreataλ<89>§creataλ<89>€hoirteο<89>€
    hoirtear
    ?
    ! Emergency stop.
    l.6089 ...rtλ<89>§coirtλ<89>£hreataλ<89>§creataλ<89>€hoirteο<89>€
    hoirtear
    End of file on the terminal!

    So, I try to install xetex for proper greek support since I have problems
    with tetex, but I managed to install from slacky.eu Lyx-1.5 and qt4. To my
    knowledge greek (unicode) support is ok in LyX-1.5 but it's not
    "compatible" with latex (xelatex / tetex... whatever)

    Tex-live is out-of question because I need to repartition.

    If someone has some idea please inform me.

    Thank you!

  9. Re: Xetex compile error - yet again confused

    I "solved" the problem with texlive. :-|

  10. Re: Xetex compile error - yet again confused

    On Thu, 29 Nov 2007 11:32:07 +0000, michales wrote:

    > I "solved" the problem with texlive. :-|


    But it's too much trouble to pass on what you did to fix it, eh?


    --
    "Ubuntu" -- an African word, meaning "Slackware is too hard for me".


+ Reply to Thread