Re: dvisvgm dependencies

"Joe Locash" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 11/24/24 5:09 PM, Bruce Dubbs ([email protected] via 
blfs-dev Mailing List) wrote:
> I am trying to build dvisvgm with a subset of texlive.  I am getting
>
> checking for kpathsea/kpathsea.h... no
> configure: error: please install the kpathsea development package
>
> When I use install-tl I used the following collections:
>
>  a [X] Essential programs and files      w [ ] Italian
>  b [ ] BibTeX additional styles          x [ ] Japanese
>  c [ ] TeX auxiliary programs            y [ ] Korean
>  d [ ] ConTeXt and packages              z [ ] Other languages
>  e [ ] Additional fonts                  A [ ] Polish
>  f [ ] Recommended fonts                 B [ ] Portuguese
>  g [ ] Graphics and font utilities       C [ ] Spanish
>  h [ ] Additional formats                D [X] LaTeX fundamental packages
>  i [ ] Games typesetting                 E [ ] LaTeX additional packages
>  j [ ] Humanities packages               F [X] LaTeX recommended packages
>  k [ ] Arabic                            G [ ] LuaTeX packages
>  l [ ] Chinese                           H [X] MetaPost and Metafont 
> packages
>  m [ ] Chinese/Japanese/Korean (base)    I [ ] Music packages
>  n [ ] Cyrillic                          J [ ] Graphics, pictures, 
> diagrams
>  o [ ] Czech/Slovak                      K [ ] Plain (La)TeX packages
>  p [ ] US and UK English                 L [ ] PSTricks
>  s [ ] Other European languages          M [ ] Publisher styles, 
> theses, etc.
>  t [ ] French                            N [ ] Windows-only support 
> programs
>  u [ ] German                            O [X] XeTeX and packages
>  v [ ] Greek
>  P [ ] Mathematics, natural sciences, computer science packages
>  S [ ] TeXworks editor; TL includes only the Windows binary
>
> Added c and P.  Didn't work.  Now at 1.3 G
>
> Tried some other options but I couldn't make it work.  Finally gave up 
> and did a complete install of texlive from source.  Now dvisvgm builds.
>
> The problem is that I really don't like to install something that 
> takes 8G for a 47M executable.  AFAICT, the only texlive thing that 
> dvisvgm needs is:
>
> libkpathsea.so.6 => /opt/texlive/2024/lib/libkpathsea.so.6
>
> and /opt/texlive/2024/include/kpathsea/kpathsea.h.
>
> Does anyone know how (if?) to get those files using install-tl-unx?
I don't build texlive or dvisvgm but I ran into this when building a 
package for Mate that has libkpathsea as an optional dependency.

Instead of building all of texlive, what I do is:
   cd texk/kpathsea
   ./configure --prefix=/usr --disable-static
   make
   make install

It doesn't meet your requirement of using install-tl-unx but gets the 
job done.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.