To upgrade from a previous OS X / SDK version, please execute the following commands:
mkdir secondo-download
cd secondo-download
curl -L https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.gz --output bison-3.0.5.tar.gz
tar zxvf bison-3.0.5.tar.gz
cd bison-3.0.5
./configure --prefix=$SECONDO_SDK
make
make install
cd ..
curl -L https://github.com/westes/flex/files/981163/flex-2.6.4.tar.gz --output flex-2.6.4.tar.gz
tar zxvf flex-2.6.4.tar.gz
cd flex-2.6.4
./configure --prefix=$SECONDO_SDK
make
make install
cd ..
cd ..
rm -r secondo-download
If you have upgraded your Prolog Installation, please execute the following commands:
JPL=$(find /Applications -name "libjpl.dylib")
PL=$(find /Applications -name "libswipl.dylib")
SWIPLDIR=$(dirname $PL)
install_name_tool -add_rpath $SWIPLDIR $JPL
In your Secondo source directory please execute:
make clean
make