[tlbuild] building for distribution with shared breaks in dvisvgm

Norbert Preining preining at logic.at
Fri Sep 7 03:53:46 CEST 2018


Hi Karl, hi Martin,

> > Norbert: Without --enable-bundled-libs, my surprise is more that clipper

No doing
	../configure --disable-all-pkgs --enable-dvisvgm --disable-native-texlive-build --enable-bundled-libs
I get a nice compile until the loading stage, when it booms out:

/bin/bash ../../libtool  --tag=CXX   --mode=link g++ -Wimplicit -Wreturn-type -Wnon-virtual-dtor -Wno-mismatched-tags -I../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper -I../../../../../texk/dvisvgm/dvisvgm-src/libs/variant/include -I../../../../../texk/dvisvgm/dvisvgm-src/libs/potrace -I../../../../../texk/dvisvgm/dvisvgm-src/libs/xxHash   -I../../../../../texk/dvisvgm/dvisvgm-src/libs/brotli/include -I../../../../../texk/dvisvgm/dvisvgm-src/libs/woff2/include  -I/home/norbert/Development/TeX/texlive.git/Build/source/Work/texk -I/home/norbert/Development/TeX/texlive.git/Build/source/texk  -I/home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/freetype2/freetype2 -I/home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/zlib/include    -g -O2     -o dvisvgm dvisvgm.o libdvisvgm.a ../libs/clipper/libclipper.a ../libs/potrace/libpotrace.a ../libs/xxHash/libxxhash.a  ../libs/ff-woff/libfontforge.a ../libs/woff2/libwoff2.a ../libs/brotli/libbrotli.a  /home/norbert/Development/TeX/texlive.git/Build/source/Work/texk/kpathsea/libkpathsea.la /home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/freetype2/libfreetype.a  /home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/zlib/libz.a -ldl 
libtool: link: g++ -Wimplicit -Wreturn-type -Wnon-virtual-dtor -Wno-mismatched-tags -I../../../../../texk/dvisvgm/dvisvgm-src/libs/clipper -I../../../../../texk/dvisvgm/dvisvgm-src/libs/variant/include -I../../../../../texk/dvisvgm/dvisvgm-src/libs/potrace -I../../../../../texk/dvisvgm/dvisvgm-src/libs/xxHash -I../../../../../texk/dvisvgm/dvisvgm-src/libs/brotli/include -I../../../../../texk/dvisvgm/dvisvgm-src/libs/woff2/include -I/home/norbert/Development/TeX/texlive.git/Build/source/Work/texk -I/home/norbert/Development/TeX/texlive.git/Build/source/texk -I/home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/freetype2/freetype2 -I/home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/zlib/include -g -O2 -o dvisvgm dvisvgm.o  libdvisvgm.a ../libs/clipper/libclipper.a ../libs/potrace/libpotrace.a ../libs/xxHash/libxxhash.a ../libs/ff-woff/libfontforge.a ../libs/woff2/libwoff2.a ../libs/brotli/libbrotli.a /home/norbert/Development/TeX/texlive.git/Build/source/Work/texk/kpathsea/.libs/libkpathsea.a /home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/freetype2/libfreetype.a /home/norbert/Development/TeX/texlive.git/Build/source/Work/libs/zlib/libz.a -ldl
/usr/bin/ld: libdvisvgm.a(Ghostscript.o): in function `Ghostscript::~Ghostscript()':
/home/norbert/Development/TeX/texlive.git/Build/source/Work/texk/dvisvgm/dvisvgm-src/src/../../../../../texk/dvisvgm/dvisvgm-src/src/Ghostscript.cpp:277: undefined reference to `gsapi_exit'
...


The configure says:
	checking ghostscript/iapi.h usability... yes
	checking ghostscript/iapi.h presence... yes
	checking for ghostscript/iapi.h... yes
	checking for gsapi_revision in -lgs... yes
	configure: not linking to libgs, trying to arrange for dynamic loading
	checking for library containing dlopen... -ldl
	checking for dlfcn.h... (cached) yes
	checking for dlopen... yes

Is there something more done due to the --disable-texlive-native-build?

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the tlbuild mailing list