Prev Up (Under construction)

[Open]DX


V4.4.4

Compilation

Works best with gmake
On AIX 6.1/7.1 I found the following adaptions necessary, in src/uipp/base/defines.h and src/uipp/dxuilib/DXChild.C modify:
   #if defined(__cplusplus) || defined(c_plusplus)
   # 
   #else
   #if defined(HAVE_STRINGS_H)
   # 
   #endif
   #endif
otherwise the build will fail with the ominous
   "/usr/include/strings.h", line 76.13: 1540-0063 (S) The text "0" is unexpected.
Moreover, in src/exec/libdx/lbcamera.c a subscript range error has to be fixed:
   t.A[0][2] = ...
   t.A[1][2] = ...
   t.A[2][2] = ...

Then
          # AIX 5.2, C/C++ 6.0; AIX 5.3, C/C++ 8.0;
configure --prefix=/s/bio/kraemer/opendx-4.4.4/ yakker=yacc LEX=lex CC=cc CPPFLAGS="-D_LARGE_FILES -qcpluscmt -I/bio/local/include/" CFLAGS="-O2" CXX=xlC CXXFLAGS="-O2 -D_LARGE_FILES" LDFLAGS="-L/bio/local/lib -ljpeg -ljbig -llzma -lz" --with-javadx=no --enable-static --disable-shared
          # AIX 6.1, C/C++ 9.0;
configure --prefix=/s/bio/kraemer/opendx-4.4.4/ yakker=yacc LEX=lex CC=cc CPPFLAGS="-D_LARGE_FILES -qcpluscmt -I/bio/local/../61/include/" CFLAGS="-O2" CXX=xlC CXXFLAGS="-O2 -D_LARGE_FILES" LDFLAGS="-L/bio/local/../61/lib -ljpeg -ljbig -llzma -lz" --with-javadx=no --enable-static --disable-shared
          # AIX 7.1, C/C++ 12.1
configure --prefix=/tmp/opendx-4.4.4/ yakker=yacc LEX=lex CC=cc CPPFLAGS="-D_LARGE_FILES -qcpluscmt -I/nfs/local/71/include/" CFLAGS="-O2" CXX=xlC CXXFLAGS="-O2 -D_LARGE_FILES" LDFLAGS="-L/nfs/local/71/lib -ljpeg -ljbig -llzma -lz" --with-javadx=no --enable-static --disable-shared

make 
make install
Further packages might be enabled:
  --with-hdf              enable HDF (default is yes)
  --with-tiff             enable TIFF (default is yes)
  --with-magick           enable ImageMagick (default is yes)
  --with-statmagick       enable Link to Static ImageMagick (default is no)
  --with-cdf              enable CDF (default is yes)
  --with-netcdf           enable NetCDF (default is yes)
  --with-large-arenas     enable 64-bit arenas, when available (default is no)
  --with-javadx           enable JAVADX (default is yes)
  --with-jni-path         java jni include search path (default none)
  --with-java40jar-path   set path to Netscape's java40.jar (default none)
  --with-cosmojar-path    set path to Cosmo's npcosmop211.jar (default none)

Installation & Configuration

In some central startup script, define OpenDX root directory, for example:
export DXROOT=/bio/local/opendx-4.4.4

V4.2

Installation & Configuration

AIX 4.3

Linked statically with HDF4.1r5, CDF 2.7, netCDF 3.5 and ImageMagick 5.4.5. The following ImageMagick format libraries were statically linked:
        bzip2 1.0.2
        jasper 1.5.4
        jbigkit 1.3
        jpeg v6b
        mpeg2 0.2.1
        tiff 3.5.7
        xpm 3.4k
        zlib 1.1.4
These were all built with xlc and xlC (the IBM compilers). This is distributed as a tarball. To install in /usr/local using gnutar, copy the download to /tmp then from the root directory issue: tar -zxvf opendx-4.2.0-1-aix43.tar.gz. If you install it in another directory, you will either need to set the DXROOT environment variable or edit the bin/dx script. For questions, please ask in the opendx mailing lists. For comments, send e-mail to dthompsn@vizsolutions.com.
Last updated: Thu, Aug 8, 2013 09:11:08 AM , M.Kraemer

Impressum Data privacy protection