Prev Up (Under construction)


Unrtf is a converter from RTF to HTML, text, LaTeX, and Postscript. It supports tables, fonts, etc.

Compilation (V0.20.2,V0.21.x)

Straightforward, in principle.
                                                         # HP-UX 11.11, native:
./configure CC=cc CFLAGS="-mt -fast +z -D_FILE_OFFSET_BITS=64" --prefix=/tmp/unrtf-0.21.1  
                                                         # AIX >= 4.2:
./configure --prefix=/tmp/unrtf-0.21.3 CC=cc CFLAGS="-O2 -D_LARGE_FILES -qcpluscmt" LDFLAGS="-liconv" 
make clean
I found that the autoconf crap sometimes erroneously redefines malloc to rpl_malloc (in config.h). In this case:
export ac_cv_func_malloc_0_nonnull=yes
and rerun configure etc.
Moreover, the non-standard function strcasestr() is used, not universally available.

Installation & configuration

Last updated: Thu, Mar 6, 2014 12:10:52 AM , M.Kraemer