[Slackbuilds-users] Building TeXLive 2023

Erich Ritz erich.public at protonmail.com
Tue May 23 18:39:06 UTC 2023

------- Original Message -------
On Tuesday, May 23rd, 2023 at 12:35 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:

> On Tue, 23 May 2023, Rich Shepard wrote:
> > In the -curent texlive build tree there are three subdirectories. In the
> > texlive subdirectory is the file, texlive.SlackBuild.txt. Am I correct in
> > assuming that if I remove the terminal .txt and make the script executable
> > that's what I invoke to build the entire package?
> Well, it won't build in 14.2:
> Makefile:977: recipe for target 'bibtexu-bibtex-1.o' failed
> make[4]: *** [bibtexu-bibtex-1.o] Error 1
> make[4]: Leaving directory '/tmp/texlive-20230311-source/build/texk/bibtex-x'
> Makefile:732: recipe for target 'all' failed
> make[3]: *** [all] Error 2
> make[3]: Leaving directory '/tmp/texlive-20230311-source/build/texk/bibtex-x'
> Makefile:907: recipe for target 'recurse' failed
> make[2]: *** [recurse] Error 1
> make[2]: Leaving directory '/tmp/texlive-20230311-source/build/texk'
> Makefile:478: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/texlive-20230311-source/build/texk'
> Makefile:571: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
> I'll try it on the 15.0 laptop.

Rich, building -current's texlive on 15.0 will fail:

make[2]: Entering directory '/tmp/texlive-20230311-source/build/texk/bibtex-x'
make  all-am
make[3]: Entering directory '/tmp/texlive-20230311-source/build/texk/bibtex-x'
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wimplicit -Wreturn-type -O2 -fPIC   -o bibtex8 bibtex8-bibtex-1.o bibtex8-bibtex-2.o bibtex8-bibtex-3.o bibtex8-bibtex-4.o bibtex8-bibtex.o bibtex8-utils.o /tmp/texlive-20230311-source/build/texk/kpathsea/libkpathsea.la -lm 
libtool: link: gcc -Wimplicit -Wreturn-type -O2 -fPIC -o .libs/bibtex8 bibtex8-bibtex-1.o bibtex8-bibtex-2.o bibtex8-bibtex-3.o bibtex8-bibtex-4.o bibtex8-bibtex.o bibtex8-utils.o  /tmp/texlive-20230311-source/build/texk/kpathsea/.libs/libkpathsea.so -lm
gcc -DHAVE_CONFIG_H -I. -I../../../texk/bibtex-x  -I/tmp/texlive-20230311-source/build/texk -I/tmp/texlive-20230311-source/texk -DUNIX -DKPATHSEA -I/usr/include  -DUTF_8  -Wimplicit -Wreturn-type -O2 -fPIC -MT bibtexu-bibtex-1.o -MD -MP -MF .deps/bibtexu-bibtex-1.Tpo -c -o bibtexu-bibtex-1.o `test -f 'bibtex-1.c' || echo '../../../texk/bibtex-x/'`bibtex-1.c
../../../texk/bibtex-x/bibtex-1.c: In function ‘add_out_pool’:
../../../texk/bibtex-x/bibtex-1.c:333:18: error: ‘UBLOCK_LATIN_EXTENDED_F’ undeclared (first use in this function); did you mean ‘UBLOCK_LATIN_EXTENDED_E’?
  333 |             case UBLOCK_LATIN_EXTENDED_F:
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                  UBLOCK_LATIN_EXTENDED_E
../../../texk/bibtex-x/bibtex-1.c:333:18: note: each undeclared identifier is reported only once for each function it appears in
../../../texk/bibtex-x/bibtex-1.c:334:18: error: ‘UBLOCK_LATIN_EXTENDED_G’ undeclared (first use in this function); did you mean ‘UBLOCK_LATIN_EXTENDED_E’?
  334 |             case UBLOCK_LATIN_EXTENDED_G:
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                  UBLOCK_LATIN_EXTENDED_E
make[3]: *** [Makefile:977: bibtexu-bibtex-1.o] Error 1
make[3]: Leaving directory '/tmp/texlive-20230311-source/build/texk/bibtex-x'
make[2]: *** [Makefile:732: all] Error 2
make[2]: Leaving directory '/tmp/texlive-20230311-source/build/texk/bibtex-x'
make[1]: *** [Makefile:478: all-recursive] Error 1
make[1]: Leaving directory '/tmp/texlive-20230311-source/build/texk'
make: *** [Makefile:571: all-recursive] Error 1

It requires a newer /usr/include/unicode/uchar.h than 15.0 provides (that file is provided by package icu4c).  15.0 has icu4c-69.1 and -current had icu4c-72.1 at the time texlive was bumped to 2023; -current now has icu4c-73.1.  Lots of software depends on icu4c (check the Changelog).

I suggest you spend your efforts on finding why your document won't compile using texlive 2021, rather than trying to get texlive 2023 working on Slackware 14.2/15.0.  Next suggestion would be to run Slackware-current in a VM.

But, this discussion isn't on topic for this list (as texlive is provided by Slackware, not SBo).  I suggest you move it to LQ.


> Rich
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/

More information about the SlackBuilds-users mailing list