[tex-live] Texlive native OpenBSD port

Edd Barrett vext01 at gmail.com
Thu Apr 12 18:53:12 CEST 2007


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).

b) Dialog appears to be misbehaving.

Systrace is a tool that can detect applications using system calls
that it shouldnt. Kind of like a windows firewall for system calls.
You can add USE_SYSCTL = Yes to /etc/mk.conf whilst developing ports
to have systrace stop the build if a port trys to do something it
shouldnt.

Dialog is trying to write out of its prefix (or atleast it appears that way):

gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory
`/usr/ports/mystuff/texlive_base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx'
gmake[3]: Leaving directory
`/usr/ports/mystuff/texlive_base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx'
gmake[2]: Leaving directory
`/usr/ports/mystuff/texlive_base/w-texlive_base-2007/texlive_base-2007/texk/xdvipdfmx'
gmake[1]: Leaving directory
`/usr/ports/mystuff/texlive_base/w-texlive_base-2007/texlive_base-2007/texk'
for dir in utils/dialog utils/lcdf-typetools utils/pdfopen
utils/ps2eps utils/psutils utils/t1utils utils/texi2html utils/texinfo
texk; do \
   echo making install in $dir; \
     (cd $dir &&
PATH=/usr/local:/usr/local:/usr/ports/mystuff/texlive_base/w-texlive_base-2007/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin
\
                gmake install) || exit 1; \
done
making install in utils/dialog
gmake[1]: Entering directory
`/usr/ports/mystuff/texlive_base/w-texlive_base-2007/texlive_base-2007/utils/dialog'
/bin/sh ./mkinstalldirs /usr/local /usr/local/man/man1
install -c -s -o root -g bin -m 555 dialog /usr/local/tcdialog
systrace: deny user: root, prog: /usr/bin/install, pid:
20433(0)[19859], policy: /usr/bin/env, filters: 184, syscall:
native-fswrite(10), filename: /usr/local/tcdialog
systrace: deny user: root, prog: /usr/bin/install, pid:
20433(0)[19859], policy: /usr/bin/env, filters: 184, syscall:
native-fswrite(5), filename: /usr/local/tcdialog
install: /usr/local/tcdialog: Operation not permitted
gmake[1]: *** [/usr/local/tcdialog] Error 71
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?

Thanks for your help.

-- 
Best Regards

Edd


More information about the tex-live mailing list