I am trying to build the latest version of stlprot under Snow Leopard.
Steps for the compiling i have made:
./configure
sudo make && make check
make && make check are working fine.
the problem occurs, if i call ‘sudo make install’, i get an error:
/bin/sh: /usr/local/include/stlport: No such file or directory
Can't create /usr/local/include/stlport
make[1]: *** [install-headers] Error 1
make: *** [install] Error 2
Does anyone have had similar problem with the stlport?
PS
My system specification:
Snow Leopard 10.6.4
gcc version: gcc version 4.2.1 (Apple Inc. build 5664)
Just a wild guess: maybe they’re doing “mkdir /usr/local/include/stlport”, without the “-p” switch and /usr/local/include doesn’t exist yet. That would trigger a no such file or directory error. Try running this before “sudo make install”:
or maybe even go the full way: