[ExM Users] Installing Swift/T 0.3.0 on Mac OS X Mountain Lion

Justin M Wozniak wozniak at mcs.anl.gov
Wed Jun 12 13:07:45 CDT 2013


Hi
    I think the issue may be that we have not tested with SWIG prior to 
2.0.4.  Can you update SWIG to 2.0.4 or newer and try again?  If this is 
the issue, I will update the installation guides and checks.
     Thanks
     Justin

On 06/12/2013 10:45 AM, Fan Zhang wrote:
> Hi All,
>
> I'm trying to install Swift/T 0.3.0 on my macbook pro.
>
> When the setup script is building turbine, it gave the following errors:
>
> "
>   CCsrc/tcl/blob/SwiftBlob_wrap.o
> src/tcl/blob/SwiftBlob_wrap.c:126: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '*' token
> src/tcl/blob/SwiftBlob_wrap.c:127: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'swig_module'
> In file included from src/tcl/blob/SwiftBlob_wrap.c:138:
> src/tcl/blob/blob.h:54: error: expected ')' before 'bytes'
> src/tcl/blob/SwiftBlob_wrap.c:144: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:156: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:168: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:180: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:192: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:203: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c: In function 'swig_delete_turbine_blob':
> src/tcl/blob/SwiftBlob_wrap.c:215: warning: implicit declaration of 
> function 'free'
> src/tcl/blob/SwiftBlob_wrap.c: At top level:
> src/tcl/blob/SwiftBlob_wrap.c:217: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'swig_turbine_blob_methods'
> src/tcl/blob/SwiftBlob_wrap.c:220: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'swig_turbine_blob_attributes'
> src/tcl/blob/SwiftBlob_wrap.c:225: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '*' token
> src/tcl/blob/SwiftBlob_wrap.c:227: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '_wrap_class_turbine_blob'
> src/tcl/blob/SwiftBlob_wrap.c:229: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:242: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:255: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:267: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:278: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:289: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:301: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:313: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:325: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:337: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:349: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:361: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:373: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:386: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:399: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:412: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:423: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:436: error: expected ')' before 'clientData'
> src/tcl/blob/SwiftBlob_wrap.c:449: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'swig_commands'
> src/tcl/blob/SwiftBlob_wrap.c:478: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'swig_variables'
> src/tcl/blob/SwiftBlob_wrap.c:482: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before 'swig_constants'
> src/tcl/blob/SwiftBlob_wrap.c:488: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '_swigt__p_turbine_blob'
> src/tcl/blob/SwiftBlob_wrap.c:490: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '*' token
> src/tcl/blob/SwiftBlob_wrap.c:494: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '_swigc__p_turbine_blob'
> src/tcl/blob/SwiftBlob_wrap.c:496: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '*' token
> src/tcl/blob/SwiftBlob_wrap.c:506: error: expected identifier or '(' 
> before 'return'
> src/tcl/blob/SwiftBlob_wrap.c:507: error: expected identifier or '(' 
> before '}' token
> src/tcl/blob/SwiftBlob_wrap.c:508: error: expected ')' before '*' token
> make: *** [src/tcl/blob/SwiftBlob_wrap.o] Error 1
> exm-setup.zsh: turbine: make FAILED
> "
>
>
> Below is the configure command for turbine:
> "
> ./configure --config-cache 
> --prefix=/Users/zhangfan/Documents/open-source-software/Active/exm-0.3.0/exm-install/turbine 
> --with-tcl=/usr/ --with-mpi=/opt/local 
> --with-c-utils=/Users/zhangfan/Documents/open-source-software/Active/exm-0.3.0/exm-install/c-utils 
> --with-adlb=/Users/zhangfan/Documents/open-source-software/Active/exm-0.3.0/exm-install/lb
> "
>
> I have mpich-3.0.4, Swig 1.3.40, Tcl 8.5 installed. What could be the 
> problems? Thanks a lot.
>
> Regards,
>
> Fan
> -- 
> The Applied Software Systems Laboratory (TASSL)
> Department of Electrical and Computer Engineering
> Rutgers, The State University of New Jersey
> Email: zhangfan at cac.rutgers.edu <mailto:zhangfan at cac.rutgers.edu>
> Personal web: http://sites.google.com/site/zhangfan198538
> Lab web: http://nsfcac.rutgers.edu/TASSL/
>
>
> _______________________________________________
> ExM-user mailing list
> ExM-user at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/exm-user


-- 
Justin M Wozniak

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20130612/6eca905a/attachment-0001.html>


More information about the ExM-user mailing list