On Jun 19, 2007, at 6:00 PM, Matthias Baas wrote:

Jean-Michel LEON-FOUN-LIN wrote:
I have checked and the file exists 
here: /opt/local/include/boost-1_34/boost/shared_ptr.hpp

So I have added the following line in my cpp_config.cfg in supportlib 
directory:

--------------------------------
CPPPATH += ["/opt/local/include/boost-1_34/boost"]
--------------------------------

You have to set this path one level higher, i.e.:
/opt/local/include/boost-1_34

The include files are included like "boost/shared_ptr.hpp" and not just 
"shared_ptr.hpp".

Thanks for your reply.

I did as you said. I managed to get libcore.a in lib subdirectory
I had to run the python setup script twice. The first failed with an error about gcc. I setup INC_DIRS for the boost headers (I had used CPPATH, not recognized). No error messages for the second attempt.

I have tried the Renderman to Python script which requires cgkit2 and it still complains about not finding cgkit modules. So I'm not certain if everything was correctly installed. Is there an environment variable I should set up? How can I make sure everything was setup correctly? I found the directory, newly created:

/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/cgkit

Is that it?

Jean-Michel LEON-FOUN-LIN