Difference between revisions of "OpenBSD installation"

From Wiki
Jump to navigation Jump to search
m
Line 42: Line 42:
 
   STRIP=strip
 
   STRIP=strip
 
   # this deletes all previous builds.
 
   # this deletes all previous builds.
  # comment out the rm and mkdir if you want to keep them (and uncomment and
 
 
</code>
 
</code>
  

Revision as of 09:24, 3 March 2006

this page contains instructions how to get the latest ConTeXt up and running on OpenBSD 3.8+

install gmake

$ sudo pkg_add gmake

install teTeX 3.0

$ sudo pkg_add teTex_base-3.0p3

this adds all the dependencies with newer pkg tools. if using older ones, add the other packages manually (teTeX_texmf, teTeX_base-fmt).

strictly speaking, one doesn't need X11 for using teTeX, in this case install the *-no_x11 packages.

update pdftex

get the latest version from from [sarovar].

$ tar xvzf pdftex-1.30.6.tgz
$ cd pdftex-1.30.6

apply the following diff (scratch the bashism and use gmake):

--- build.sh.orig       Mon Feb 27 21:45:29 2006
+++ build.sh    Mon Feb 27 23:32:31 2006
@@ -1,7 +1,7 @@
-#! /usr/bin/env bash
+#!/bin/sh
 # $Id$
 # builds new pdftex binaries
-MAKE=make
+MAKE=gmake
 STRIP=strip
 # this deletes all previous builds.

run the build:

$ sh ./build.sh

when finished, replace the binaries (pdftex is only a symlink to pdfetex):

$ sudo mv build/texk/web2c/pdfetex which pdfetex
$ sudo mv build/texk/web2c/pdfetex.pool kpsewhich pdfetex.pool
$ sudo mv build/texk/web2c/ttf2afm which ttf2afm
$ sudo fmtutil-sys --all

...