Print

Print


Hey,

     What I think might be going on is that swig 2 introduced a new way of wrapping shared pointers (%shared_ptr). Fritz’s SWIG changes included scons changes that should cause you to pick up the version of swig provided via eups. If you are bypassing that, you’ll have to upgrade swig 1.3 to at least 2.x (but 3.x would be safer, as that's what eups provides).

Caveat: I have not actually built tip of master.

Serge

On Dec 16, 2014, at 2:19 PM, Daniel L. Wang <[log in to unmask]> wrote:

> Hey there,
> 
> I'm not having much luck building the tip of master right now. In particular, there are problems building the czar's SWIG interface.
> 
> ----
> scons: Building targets ...
> /usr/bin/swig -o bld2/czar/czarLib_wrap.cc -Ibld2 -I/usr/include/python2.6 -python -c++ -Iinclude bld2/czar/czarLib.i
> bld2/czar/czarLib.i:108: Error: Syntax error in input(1).
> 
> ----
> I don't know why I'm seeing this right now. I didn't see anything in Fritz's SWIG changes that could make a difference here. Line 108 in that file is "%typemap(freearg) char ** {", and that line has been unchanged for quite some time now (it was part of some typemap code pasted from the SWIG 1.3 doc).
> 
> Does anyone else see something similar? Another weird thing is that if you cut out the pasted block, the syntax error moves to earlier lines.
> 
> -Daniel
> 
> ########################################################################
> Use REPLY-ALL to reply to list
> 
> To unsubscribe from the QSERV-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1