[tex-live] Texlive native OpenBSD port

Frank Küster frank at kuesterei.ch
Thu Apr 12 21:47:12 CEST 2007


"Edd Barrett" <vext01 at gmail.com> wrote:

> Hello,
>
> I'm new to these parts of the woods so hello!
>
> I am interested in making texlive available from the ports/packages
> collection of OpenBSD.
>
> I have two problems:
>
> a) I am unable to have texlive link against all of the system
> binaries. I have managed to have freetype and freetype2 linked
> dynamically, but not any of the others.
>
> This is the configure command Im using:
>
> CONFIGURE_ARGS+=        --datadir=/usr/local/share \
>                        --bindir=/usr/local \
>                        --with-fontconfig=/usr/X11R6   \
>                        --with-system-freetype2 \
>                        --with-freetype2-libdir=/usr/X11R6/lib \
>                        --with-freetype2-include=/usr/X11R6/include
>
> All of the packages apart from ICU are installed on my system (ICU is
> not ported as far as i can see, so obviously it wont link that. I'll
> cross this bridge later)
>
> Do you know if the "link against system libary" options all work? If
> so what is te correct way to use them (on OpenBSD).

At least some do:

$ ldd texlive-bin-2007/debian/texlive-base-bin/usr/bin/pdftex 
	linux-gate.so.1 =>  (0xffffe000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7f99000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb7f85000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f5f000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e2e000)
	libpoppler.so.0 => /usr/lib/libpoppler.so.0 (0xb7d1a000)
	/lib/ld-linux.so.2 (0xb7fd1000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7d08000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7cdd000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7cbc000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7c52000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b6d000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b62000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7b42000)

That is not the current version in sid, but a locally changed one, and
I haven't checked yet whether any are not dynamically linked that
should.  We have

export TL_CONFIGURE_ARGS=--without-lcdf-typetools --without-dvipng --without-dvipdfmx \
        --without-dvi2tty --without-texinfo --without-musixflx --without-texi2html \
        --without-ps2eps --without-psutils --without-sam2p \
	--without-t1utils --without-cjkutils --without-dvi2tty --without-dvidvi \
	--without-lacheck --without-tex4htk --without-ttf2pk \
	--with-system-ncurses --with-system-pnglib --with-system-zlib --with-system-gd \
	--with-system-freetype --with-system-freetype2 \
	--with-freetype2-include=/usr/include/freetype2 \
	--without-install-extra

(the last one uses a patch I posted to this list a while ago.  And
promised to update to make --without the default, it's on my list).  The
other --withouts need not bother you, these things exist as separate
packages in Debian.

> gmake[1]: Leaving directory
> `/usr/ports/mystuff/texlive_base/w-texlive_base-2007/texlive_base-2007/utils/dialog'
> gmake: *** [install] Error 1
> *** Error code 2
>
> Stop in /usr/ports/mystuff/texlive_base (line 1995 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
>
> Is it ignoring its --prefix option?

Here it doesn't:

making install in utils/dialog
make[2]: Entering directory `/home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/Work/utils/dialog'
/bin/sh ../../../utils/dialog/mkinstalldirs /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/bin/
i686-pc-linux-gnu /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/man/man1
mkdir /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/bin
mkdir /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/bin/i686-pc-linux-gnu
mkdir /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/man
mkdir /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/man/man1
/usr/bin/install -c dialog /home/frank/src/Packages/texlive-new/texlive-bin-2007/build/source/inst/bin/i686-pc-linux-gnu
/tcdialog

and so on.  You can look at our sources at 

http://svn.debian.org/wsvn/debian-tex/texlive-new/trunk/?rev=0&sc=0

but I admit it's not easy to understand (and this repository contains
only the Debian-specific parts; for package building, we use a mounted
live DVD or a copy of it, or similar.

Regards, Frank 
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)


More information about the tex-live mailing list