Prev Up (Under construction)


A converter from PostScript and PDF to editable objects or vector graphic formats

Compilation (V3.62)

In principle straightforward. Some files need modifications.

AIX 5.3, 6.1,7.1

In src/drvbase.h disable the disabling of min/max:
   #if !( defined(_AIX) || (defined (__GNUG__)  && (__GNUC__>=3) && defined (HAVESTL)) || defined (_MSC_VER) && (_MSC_VER >= 1300) )
In src/cppcomp.h enable STL:
   #if ( defined (__GNUG__)  && (__GNUC__>=3) ) || defined(_AIX)
In src/drvtext.cpp use intermediate variables to enable the new operator:
   int ih = options->pageheight, iw = options->pagewidth;
In config.guess enable current AIX versions:

Then, for example:

   make distclean
            # AIX 5.2, xlC 6
   ./configure --prefix=/tmp/pstoedit-3.62 CC=cc CXX=xlC CPPFLAGS="-D_LARGE_FILES -I/bio/local/libpng-1.2.8/include  -I/bio/local/include" CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-L/bio/local/libpng-1.2.8/lib -L/bio/local/lib" LIBS="-lpng -lz" --enable-static --disable-shared YACC=yacc
            # AIX 5.3/6.1/7.1, xlC 12.1/9.0/12.1
   ./configure --prefix=/tmp/pstoedit-3.62 CC=cc CXX=xlC CPPFLAGS="-D_LARGE_FILES -I/bio/local/libpng-1.4.12/include -I/bio/local/include" CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-L/bio/local/libpng-1.4.12/lib -L/bio/local/lib" LIBS="-lpng -lz" --enable-static --disable-shared YACC=yacc
   make clean
   make install

Last updated: Sat, Mar 22, 2014 10:47:06 AM , M.Kraemer