after installing swig i got this error<br><br>root@nitish-laptop:~/PyMVPA# python2 setup.py build_ext <br>running build_ext<br>running build_src<br>building extension &quot;mvpa.clfs.libsmlrc.smlrc&quot; sources<br>building extension &quot;mvpa.clfs.libsvmc._svmc&quot; sources<br>
building data_files sources<br>customize UnixCCompiler<br>customize UnixCCompiler using build_ext<br>customize UnixCCompiler<br>customize UnixCCompiler using build_ext<br>building &#39;mvpa.clfs.libsmlrc.smlrc&#39; extension<br>
compiling C sources<br>C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC<br><br>compile options: &#39;-I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/include/python2.6 -c&#39;<br>
gcc: mvpa/clfs/libsmlrc/smlr.c<br>mvpa/clfs/libsmlrc/smlr.c:10:20: error: Python.h: No such file or directory<br>mvpa/clfs/libsmlrc/smlr.c:13: warning: return type defaults to ‘int’<br>mvpa/clfs/libsmlrc/smlr.c: In function ‘DL_EXPORT’:<br>
mvpa/clfs/libsmlrc/smlr.c:13: error: expected declaration specifiers before ‘stepwise_regression’<br>mvpa/clfs/libsmlrc/smlr.c:241: error: expected declaration specifiers before ‘PyMODINIT_FUNC’<br>mvpa/clfs/libsmlrc/smlr.c:12: error: parameter name omitted<br>
mvpa/clfs/libsmlrc/smlr.c:244: error: expected ‘{’ at end of input<br>mvpa/clfs/libsmlrc/smlr.c:10:20: error: Python.h: No such file or directory<br>mvpa/clfs/libsmlrc/smlr.c:13: warning: return type defaults to ‘int’<br>
mvpa/clfs/libsmlrc/smlr.c: In function ‘DL_EXPORT’:<br>mvpa/clfs/libsmlrc/smlr.c:13: error: expected declaration specifiers before ‘stepwise_regression’<br>mvpa/clfs/libsmlrc/smlr.c:241: error: expected declaration specifiers before ‘PyMODINIT_FUNC’<br>
mvpa/clfs/libsmlrc/smlr.c:12: error: parameter name omitted<br>mvpa/clfs/libsmlrc/smlr.c:244: error: expected ‘{’ at end of input<br>error: Command &quot;gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/include/python2.6 -c mvpa/clfs/libsmlrc/smlr.c -o build/temp.linux-i686-2.6/mvpa/clfs/libsmlrc/smlr.o&quot; failed with exit status 1<br>
<br><div class="gmail_quote">On Tue, Dec 28, 2010 at 5:45 PM,  <span dir="ltr">&lt;<a href="mailto:pkg-exppsy-pymvpa-request@lists.alioth.debian.org">pkg-exppsy-pymvpa-request@lists.alioth.debian.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send Pkg-ExpPsy-PyMVPA mailing list submissions to<br>
        <a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:pkg-exppsy-pymvpa-request@lists.alioth.debian.org">pkg-exppsy-pymvpa-request@lists.alioth.debian.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:pkg-exppsy-pymvpa-owner@lists.alioth.debian.org">pkg-exppsy-pymvpa-owner@lists.alioth.debian.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Pkg-ExpPsy-PyMVPA digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Help Related Pymvpa (Yaroslav Halchenko)<br>
   2. problem in buiding package from source (nitish goyal)<br>
   3. Re: problem in buiding package from source (Emanuele Olivetti)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 27 Dec 2010 10:26:44 -0500<br>
From: Yaroslav Halchenko &lt;<a href="mailto:debian@onerussian.com">debian@onerussian.com</a>&gt;<br>
Subject: Re: [pymvpa] Help Related Pymvpa<br>
To: <a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
Message-ID: &lt;<a href="mailto:20101227152644.GR15030@onerussian.com">20101227152644.GR15030@onerussian.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
<br>
On Mon, 27 Dec 2010, Emanuele Olivetti wrote:<br>
&gt; You are warmly invited to install the latest PyMVPA v0.6.0-dev. If you are<br>
&gt; running a debian or ubuntu machine you can add the NeuroDebian repository<br>
&gt; following instructions here:<br>
&gt;     <a href="http://neuro.debian.net/" target="_blank">http://neuro.debian.net/</a><br>
&gt; and then get it via [0]:<br>
&gt;     sudo apt-get install python-mvpa-snapshot<br>
we are yet to package 0.6.0.dev, the package on neuro debian has only<br>
0.5.0.dev+783+gde39-1~squeeze.nd1<br>
<br>
thus please just follow instructions for installation from GIT/source<br>
atm:<br>
<br>
<a href="http://dev.pymvpa.org/installation.html#buildfromsource" target="_blank">http://dev.pymvpa.org/installation.html#buildfromsource</a><br>
<br>
<br>
&gt; Alternatively you can install it from sources on whatever OS:<br>
&gt;     <a href="https://github.com/PyMVPA/PyMVPA" target="_blank">https://github.com/PyMVPA/PyMVPA</a><br>
<br>
&gt; See related posts to here:<br>
&gt; <a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001296.html" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001296.html</a><br>
&gt; <a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001328.html" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001328.html</a><br>
<br>
&gt; Best,<br>
<br>
&gt; Emanuele<br>
--<br>
=------------------------------------------------------------------=<br>
Keep in touch                                     <a href="http://www.onerussian.com" target="_blank">www.onerussian.com</a><br>
Yaroslav Halchenko                 <a href="http://www.ohloh.net/accounts/yarikoptic" target="_blank">www.ohloh.net/accounts/yarikoptic</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 28 Dec 2010 12:33:04 +0530<br>
From: nitish goyal &lt;<a href="mailto:nitishgoyal.nsit@gmail.com">nitishgoyal.nsit@gmail.com</a>&gt;<br>
Subject: [pymvpa] problem in buiding package from source<br>
To: <a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTikvrRuTP4rbhTOD9UcAZf%2B0yp-91UQoU1i4URAR@mail.gmail.com">AANLkTikvrRuTP4rbhTOD9UcAZf+0yp-91UQoU1i4URAR@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
While installing pymvpa from source, I got this error<br>
i have ubuntu 10.04 and python 2.6<br>
I had used the first command *python setup.py build_ext*<br>
and got this error.Please help me.<br>
<br>
running build_ext<br>
running build_src<br>
building extension &quot;mvpa.clfs.libsmlrc.smlrc&quot; sources<br>
building extension &quot;mvpa.clfs.libsvmc._svmc&quot; sources<br>
creating build<br>
creating build/src.linux-i686-2.6<br>
creating build/src.linux-i686-2.6/mvpa<br>
creating build/src.linux-i686-2.6/mvpa/clfs<br>
creating build/src.linux-i686-2.6/mvpa/clfs/libsvmc<br>
swig++: mvpa/clfs/libsvmc/svmc.i<br>
swig -python -c++ -I/usr/include/numpy -I3rd/libsvm -o<br>
build/src.linux-i686-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp -outdir<br>
build/src.linux-i686-2.6/mvpa/clfs/libsvmc mvpa/clfs/libsvmc/svmc.i<br>
unable to execute swig: No such file or directory<br>
error: command &#39;swig&#39; failed with exit status 1<br>
<br>
<br>
On Mon, Dec 27, 2010 at 5:45 PM, &lt;<br>
<a href="mailto:pkg-exppsy-pymvpa-request@lists.alioth.debian.org">pkg-exppsy-pymvpa-request@lists.alioth.debian.org</a>&gt; wrote:<br>
<br>
&gt; Send Pkg-ExpPsy-PyMVPA mailing list submissions to<br>
&gt;        <a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;        <a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;        <a href="mailto:pkg-exppsy-pymvpa-request@lists.alioth.debian.org">pkg-exppsy-pymvpa-request@lists.alioth.debian.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt;        <a href="mailto:pkg-exppsy-pymvpa-owner@lists.alioth.debian.org">pkg-exppsy-pymvpa-owner@lists.alioth.debian.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of Pkg-ExpPsy-PyMVPA digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;   1. Help Related Pymvpa (nitish goyal)<br>
&gt;   2. Re: Help Related Pymvpa (Emanuele Olivetti)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Sun, 26 Dec 2010 21:57:26 +0530<br>
&gt; From: nitish goyal &lt;<a href="mailto:nitishgoyal.nsit@gmail.com">nitishgoyal.nsit@gmail.com</a>&gt;<br>
&gt; Subject: [pymvpa] Help Related Pymvpa<br>
&gt; To: <a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a><br>
&gt; Message-ID:<br>
&gt;        &lt;AANLkTimBBHRYaLfdU+1-yeiX=bBg+bhhe=n3Ln=<a href="mailto:9Gqx-@mail.gmail.com">9Gqx-@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;<br>
&gt; Hello,<br>
&gt;          I am a B.tech student of computer science at NSIT. I had just<br>
&gt; started using the pymvpa, but the methods like fmri_dataset() are not<br>
&gt; working with my pymvpa 0.4. But i found these tutorials very promising in<br>
&gt; order to study fmri Data. So Tell me if there are any tutorial like this<br>
&gt; for<br>
&gt; the previous version Or tell me where i would found the pymvpa 0.6.<br>
&gt; Please reply soon.<br>
&gt; Because i have to complete it during these winter vacation&#39;s.<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Nitish Goyal<br>
&gt; Undergraduate Student Of NSIT,<br>
&gt; Computer Science (B.E.)<br>
&gt; Asst. PlaceComm 2012<br>
&gt; contact me:- 09999605824<br>
&gt; Reply at :-  <a href="mailto:nitishgoyal.nsit@gmail.com">nitishgoyal.nsit@gmail.com</a><br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: &lt;<br>
&gt; <a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101226/bba67594/attachment-0001.htm" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101226/bba67594/attachment-0001.htm</a><br>

&gt; &gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Mon, 27 Dec 2010 10:40:12 +0100<br>
&gt; From: Emanuele Olivetti &lt;<a href="mailto:emanuele@relativita.com">emanuele@relativita.com</a>&gt;<br>
&gt; Subject: Re: [pymvpa] Help Related Pymvpa<br>
&gt; To: Development and support of PyMVPA<br>
&gt;        &lt;<a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:4D185EFC.6020609@relativita.com">4D185EFC.6020609@relativita.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
&gt;<br>
&gt; On 12/26/2010 05:27 PM, nitish goyal wrote:<br>
&gt; &gt; Hello,<br>
&gt; &gt;           I am a B.tech student of computer science at NSIT. I had just<br>
&gt; started using<br>
&gt; &gt; the pymvpa, but the methods like fmri_dataset() are not working with my<br>
&gt; pymvpa 0.4. But<br>
&gt; &gt; i found these tutorials very promising in order to study fmri Data. So<br>
&gt; Tell me if there<br>
&gt; &gt; are any tutorial like this for the previous version Or tell me where i<br>
&gt; would found the<br>
&gt; &gt; pymvpa 0.6.<br>
&gt;<br>
&gt; Hi Nitish,<br>
&gt;<br>
&gt; fmri_dataset() was introduced in PyMVPA v0.5.0-dev and is available from<br>
&gt; that version on. See:<br>
&gt; <a href="http://dev.pymvpa.org/generated/mvpa.datasets.mri.fmri_dataset.html" target="_blank">http://dev.pymvpa.org/generated/mvpa.datasets.mri.fmri_dataset.html</a><br>
&gt;<br>
&gt; You are warmly invited to install the latest PyMVPA v0.6.0-dev. If you are<br>
&gt; running a debian or ubuntu machine you can add the NeuroDebian repository<br>
&gt; following instructions here:<br>
&gt;     <a href="http://neuro.debian.net/" target="_blank">http://neuro.debian.net/</a><br>
&gt; and then get it via [0]:<br>
&gt;     sudo apt-get install python-mvpa-snapshot<br>
&gt; Alternatively you can install it from sources on whatever OS:<br>
&gt;     <a href="https://github.com/PyMVPA/PyMVPA" target="_blank">https://github.com/PyMVPA/PyMVPA</a><br>
&gt;<br>
&gt; See related posts to here:<br>
&gt;<br>
&gt; <a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001296.html" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001296.html</a><br>
&gt;<br>
&gt; <a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001328.html" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001328.html</a><br>
&gt;<br>
&gt; Best,<br>
&gt;<br>
&gt; Emanuele<br>
&gt;<br>
&gt; [0]: Note that the python-mvpa-snapshot package is not available for all<br>
&gt; versions of ubuntu/debian (e.g., not for ubuntu 10.04):<br>
&gt;     <a href="http://neuro.debian.net/pkgs/python-mvpa-snapshot.html" target="_blank">http://neuro.debian.net/pkgs/python-mvpa-snapshot.html</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pkg-ExpPsy-PyMVPA mailing list<br>
&gt; <a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
&gt;<br>
&gt;<br>
&gt; End of Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 13<br>
&gt; *************************************************<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Nitish Goyal<br>
Undergraduate Student Of NSIT,<br>
Computer Science (B.E.)<br>
Asst. PlaceComm 2012<br>
contact me:- 09999605824<br>
Reply at :-  <a href="mailto:nitishgoyal.nsit@gmail.com">nitishgoyal.nsit@gmail.com</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/eceb52e9/attachment-0001.htm" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/eceb52e9/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 28 Dec 2010 09:50:31 +0100<br>
From: Emanuele Olivetti &lt;<a href="mailto:emanuele@relativita.com">emanuele@relativita.com</a>&gt;<br>
Subject: Re: [pymvpa] problem in buiding package from source<br>
To: Development and support of PyMVPA<br>
        &lt;<a href="mailto:pkg-exppsy-pymvpa@lists.alioth.debian.org">pkg-exppsy-pymvpa@lists.alioth.debian.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4D19A4D7.1000801@relativita.com">4D19A4D7.1000801@relativita.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;<br>
<br>
On 12/28/2010 08:03 AM, nitish goyal wrote:<br>
&gt; While installing pymvpa from source, I got this error<br>
&gt; i have ubuntu 10.04 and python 2.6<br>
&gt; I had used the first command *python setup.py build_ext*<br>
&gt; and got this error.Please help me.<br>
&gt;<br>
...<br>
&gt; swig++: mvpa/clfs/libsvmc/svmc.i<br>
&gt; swig -python -c++ -I/usr/include/numpy -I3rd/libsvm -o<br>
&gt; build/src.linux-i686-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp -outdir<br>
&gt; build/src.linux-i686-2.6/mvpa/clfs/libsvmc mvpa/clfs/libsvmc/svmc.i<br>
&gt; unable to execute swig: No such file or directory<br>
&gt; error: command &#39;swig&#39; failed with exit status 1<br>
&gt;<br>
<br>
Hi Nitish. You need to install swig in order to build the libsvm wrapper. On debian/ubuntu:<br>
     sudo apt-get install swig<br>
See for example doc/source/installation.srt within the source code tree.<br>
<br>
Best,<br>
<br>
Emanuele<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/502da6ad/attachment-0001.htm" target="_blank">http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/502da6ad/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Pkg-ExpPsy-PyMVPA mailing list<br>
<a href="mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org">Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa</a><br>
<br>
<br>
End of Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 14<br>
*************************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div>Regards,</div><div>Nitish Goyal </div><div>Undergraduate Student Of NSIT,</div>
<div>Computer Science (B.E.)</div><div>Asst. PlaceComm 2012 </div><font color="#888888"><font color="#888888"><div>contact me:- 09999605824 </div><div>Reply at :-  <a href="mailto:nitishgoyal.nsit@gmail.com" target="_blank">nitishgoyal.nsit@gmail.com</a></div>
</font></font></span><br>