From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-11-01 16:04:54


David Abrahams wrote:

>"William E. Kempf" <wekempf_at_[hidden]> writes:
>
>
>
>>I've been looking at Synopsis. First, I have to qualify that I've
>>been looking only at the documentation and examples and have not
>>installed or used the tool myself yet. But I'd still like to make
>>some observations.
>>
>>The design of Synopsis is promising. The modular design allows you
>>to modify the transformations in just about any way. (How easy it
>>is to actually code this stuff I don't know, as I've not looked at
>>the source.)
>>
I'm having some problems with it. The Synopsis-0.4.1 version doesn't
compile std headers right:

c++ -shared -I.. -DPYTHON_INCLUDE="<python2.2/Python.h>" -Wall -o
../../../link.so link.cc -L/usr/lib/python2.2/config -lpython2.2 -ldl
-lpthread
link.cc: In function `void <unnamed>::dump_links()':
link.cc:306: `ostream_iterator' undeclared in namespace `std'
link.cc:306: parse error before `>' token

I downloaded the cvs version, but you need to set the PYTHONPATH
environment variable before it works; yet, that's not documented in the
README. Also, the install doesn't install all the required modules.
I think maybe changing the definition of make macro, SRC to:

SRC := $(basename $(wildcard *.py))

in several of the Makefiles would help.

David, do you have a corrected version of the code that other
boosters could use to avoid others stumbling over these problems?