OS/2 is a non-posix operating system with an active community dedicated to preserve it. Deploying Libav there requires additional effort, this wiki page aims to provide the bare minimum requirements. The EDM/2 wiki might contain up to date information.

Interpreter Paths

OS/2 doesn't have the normal /bin/ paths so the texi2pod script might not find it the Perl interpreter.

To build the documentation you might have to replace the perl path with the correct one.

Index: doc/texi2pod.pl
--- doc/texi2pod.pl     (revision 10843)
+++ doc/texi2pod.pl     (working copy)
@@ -1,4 +1,6 @@
-#! /usr/bin/perl -w
+    eval 'exec perl -wS $0 ${1+"$@"}'
+        if 0;
 #   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.

Build Environment

To build you need an Posix build setup (gcc, gnumake, posix shell)

If you would like to build a build environment from scratch Mozilla wiki has instructions and links to pre-compiled packages.

A pre-compiled build environment is available as well.

Most optional dependencies are available pre-compiled at Hobbles


Currently only gcc 3.3.5 and newer is supported for building. gcc 4.4.6 works the best. OpenWacom,


For the cpu-specific optimization NASM is required.

The latest version of NASM is suggested to build the current git master since older version might have bugs that had been already fixed.

Posix Shell

The recommended shell is pdksh, but also ash would work by setting %PWD% to the current directory manually.

set PWD=x:/path/to/repository

Uses slashes instead of backslashes. Failure to set PWD when using ash will result missing symbol errors at the end of the compile.

Additional dependencies

It is recommended to have a posix threads implementation, pthreadtls is the one known to work best.