<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
I just tested this on darwin12 with SWIG 2.0.9 and could not
reproduce it. <br>
<br>
Can you send the generated SwiftBlob_wrap.c file and the output of
make clean ; make V=1<br>
<br>
On 06/12/2013 01:30 PM, Fan Zhang wrote:<br>
</div>
<blockquote
cite="mid:CAD0Z=TWnkWN7aK3gdKUQ2XCgbzzOUAsCA8e7iSDTbesnSB4mEw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Justin,
<div><br>
</div>
<div style=""> I go the same errors after updating SWIG to
2.0.9. </div>
<div style="">"</div>
<div style="">
<div>SWIG Version 2.0.9</div>
<div><br>
</div>
<div>Compiled with /usr/bin/clang++ [i386-apple-darwin12.2.0]</div>
</div>
<div style="">"</div>
<div style=""><br>
</div>
<div style="">Regards,</div>
<div style=""><br>
</div>
<div style="">Fan</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jun 12, 2013 at 2:07 PM, Justin
M Wozniak <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@mcs.anl.gov</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi<br>
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. <br>
Thanks<br>
Justin
<div>
<div class="h5"><br>
<br>
On 06/12/2013 10:45 AM, Fan Zhang wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>Hi All,</div>
<div><br>
</div>
<div>I'm trying to install Swift/T 0.3.0 on my
macbook pro.</div>
<div><br>
</div>
<div>When the setup script is building turbine, it
gave the following errors:</div>
<div><br>
</div>
<div>"</div>
<div>
<div> CC<span style="white-space:pre-wrap"> </span>src/tcl/blob/SwiftBlob_wrap.o</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:126: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:127: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘swig_module’</div>
<div>In file included from
src/tcl/blob/SwiftBlob_wrap.c:138:</div>
<div>src/tcl/blob/blob.h:54: error: expected ‘)’
before ‘bytes’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:144: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:156: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:168: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:180: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:192: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:203: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c: In function
‘swig_delete_turbine_blob’:</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:215: warning:
implicit declaration of function ‘free’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c: At top
level:</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:217: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘swig_turbine_blob_methods’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:220: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘swig_turbine_blob_attributes’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:225: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:227: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘_wrap_class_turbine_blob’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:229: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:242: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:255: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:267: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:278: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:289: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:301: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:313: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:325: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:337: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:349: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:361: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:373: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:386: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:399: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:412: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:423: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:436: error:
expected ‘)’ before ‘clientData’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:449: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘swig_commands’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:478: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘swig_variables’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:482: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘swig_constants’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:488: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘_swigt__p_turbine_blob’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:490: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:494: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
‘_swigc__p_turbine_blob’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:496: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:506: error:
expected identifier or ‘(’ before ‘return’</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:507: error:
expected identifier or ‘(’ before ‘}’ token</div>
<div>src/tcl/blob/SwiftBlob_wrap.c:508: error:
expected ‘)’ before ‘*’ token</div>
<div>make: *** [src/tcl/blob/SwiftBlob_wrap.o]
Error 1</div>
<div>exm-setup.zsh: turbine: make FAILED</div>
</div>
<div>"</div>
<div> <br>
</div>
<div><br>
</div>
<div>Below is the configure command for turbine:</div>
<div>"</div>
<div>./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<br>
</div>
<div>"</div>
<div><br>
</div>
<div>I have mpich-3.0.4, Swig 1.3.40, Tcl 8.5
installed. What could be the problems? Thanks a
lot.</div>
<br clear="all">
<div>Regards,</div>
<div><br>
</div>
<div>Fan</div>
-- <br>
The Applied Software Systems Laboratory (TASSL)<br>
Department of Electrical and Computer Engineering<br>
Rutgers, The State University of New Jersey<br>
Email: <a moz-do-not-send="true"
href="mailto:zhangfan@cac.rutgers.edu"
target="_blank">zhangfan@cac.rutgers.edu</a><br>
Personal web: <a moz-do-not-send="true"
href="http://sites.google.com/site/zhangfan198538"
target="_blank">http://sites.google.com/site/zhangfan198538</a><br>
Lab web: <a moz-do-not-send="true"
href="http://nsfcac.rutgers.edu/TASSL/"
target="_blank">http://nsfcac.rutgers.edu/TASSL/</a>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
ExM-user mailing list
<a moz-do-not-send="true" href="mailto:ExM-user@lists.mcs.anl.gov" target="_blank">ExM-user@lists.mcs.anl.gov</a>
<a moz-do-not-send="true" href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<br>
<pre cols="72">--
Justin M Wozniak
</pre>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
The Applied Software Systems Laboratory (TASSL)<br>
Department of Electrical and Computer Engineering<br>
Rutgers, The State University of New Jersey<br>
Email: <a moz-do-not-send="true"
href="mailto:zhangfan@cac.rutgers.edu" target="_blank">zhangfan@cac.rutgers.edu</a><br>
Personal web: <a moz-do-not-send="true"
href="http://sites.google.com/site/zhangfan198538"
target="_blank">http://sites.google.com/site/zhangfan198538</a><br>
Lab web: <a moz-do-not-send="true"
href="http://nsfcac.rutgers.edu/TASSL/" target="_blank">http://nsfcac.rutgers.edu/TASSL/</a>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Justin M Wozniak
</pre>
</body>
</html>