# SECONDO ENVIRONMENT SETUP FOR Mac OS X # # Since Sept. 2006, M. Spiekermann # Note: If you plan to try other versions of Berkeley DB, bison, flex, etc. # rename the old one and configure it for installation within the directory # structure of installsdk which is # # $SECONDO_SDK # |-flex # |-bison # |-bdb Berkeley-DB # |-aux Auxiliary tools, readline, jpeg-lib, etc. # # /opt/local/lib/swipl-5.6.20 SWI-Prolog # # If you plan to use another directory layout please be careful. Study the # settings made in the file "secondo.setroot". There the following variables # are set: # # C_INCLUDE_PATH // list of paths for compiling C-code # CPLUS_INCLUDE_PATH // list of paths for compiling C++-code # LIBRARY_PATH // list of paths for the linker # LD_LIBRARY_PATH // list of paths for shared objects # (runtime linker) # For some strange reason the jpeg library is not found although it # is defined in LIBRARY_PATH. Therefore we define some special additional # linker flags export SECONDO_LDFLAGS="-L$SECONDO_SDK/auxtools/lib" #SWI Prolog export SWI_HOME_DIR="/opt/local/lib/swipl-5.6.37" export PL_INCLUDE_DIR="$SWI_HOME_DIR/include" #export PL_LIB_DIR="$SWI_HOME_DIR/lib/powerpc-darwin8.7.0" export PL_LIB_DIR="$SWI_HOME_DIR/lib/i386-darwin8.10.1" export PL_VERSION=50637 # If the OptimizerServer crashes at runtime try to use it # with the jpl libraries provided by SWI-Prolog instead of # compiling it (see also Jpl/readme.txt). export PL_DLL_DIR=$PL_LIB_DIR export JPL_JAR=$SWI_HOME_DIR/lib/jpl.jar export JPL_DLL=$PL_DLL_DIR/libjpl.jnilib #JAVA export J2SDK_ROOT="/System/Library/Frameworks/JavaVM.framework" #PD System export PD_DVI_VIEWER=xdvi export PD_PS_VIEWER=gv #Readline support export readline=true