This was on Mac 10.4 with an up-to-date MacPorts installation. I compiled mcpp with:
Code:
test -e $MCPP_DONE || {
patch -p0 < ../mcpp/patch.mcpp.2.7.2
touch $MCPP_DONE
}
test -e $MCPP_HOME || {
./configure CFLAGS="-fno-common -fPIC" --enable-mcpplib --disable-shared --prefix=$MCPP_HOME
make
make install
}
and then called
Code:
export MCPP_HOME=$MCPP_HOME
before compiling Ice, but apparently the MacPorts mcpp 2.7.2 (installed as a dependency of ice-cpp 3.3.1) was still picked up before MCPP_HOME. Forcibly removing the MacPorts version fixed the problem.
Let me know if it's worth trying to reproduce the build error, but for now, it's working. Thanks for the help, Dwayne.