On Mon, May 11, 2015 at 04:50:20PM +0200, Monica Dapiaggi wrote:
...
> so I guess everything is as it should be
Hi Monica,
Right, the port command seems to work fine.
> but when I do ./install again I get this
>
> scons: Reading SConscript files ...
> Checking for C++ library ObjCryst... no
> Checking for C++ library boost_python... no
> Checking for C++ library boost_python-mt... no
...
For some reason the ObjCryst library cannot be found although it was
supposed to get installed in the script before. Likewise the
boost_python-mt library should be available from MacPorts.
Perhaps there are several instances of the scons program on your Mac
and the installation is not using the one from MacPorts. Please,
check the output of
echo $PATH
and make sure the MacPorts bin directory (usually /opt/local/bin)
is the first in PATH. If not, you can add it to the beginning with
PATH="/opt/local/bin:$PATH"
Also, please check that the output of "type python" and "type scons"
shows as follows:
$ type scons
scons is /opt/local/bin/scons
$ type python
python is /opt/local/bin/python
If this is good, run "./install --build" again and hopefully it
would work.
If there is still a problem, please send me as an attachment
the full output from the install script. I wonder at which step
does the procedure fail. [the steps are marked with lines like this:
# 6 pyobjcryst -------------------------------------------------
]
Hope this helps,
Pavol
--
Dr. Pavol Juhas
Condensed Matter Physics and Materials Science Department