<div class="moz-text-plain" style="font-family: -moz-fixed; font-size: 12px;" lang="x-western"><pre>Again, <b class="moz-txt-star"><span class="moz-txt-tag">*</span>please<span class="moz-txt-tag">*</span></b> keep your replies on list. Only that way will they<br>
get archived, and there's a chance others can help you if I can't.<br><br>On Sun, Nov 9, 2008 at 12:16 PM, Sylvain Guiriec<br><a class="moz-txt-link-rfc2396E" href="mailto:sylvain.guiriec@lpta.in2p3.fr"><sylvain.guiriec@lpta.in2p3.fr></a> wrote:<br>
</pre><div class="moz-text-plain" style="font-family: -moz-fixed; font-size: 12px;" lang="x-western"><blockquote type="cite"><pre><span class="moz-txt-citetags">> </span>Hi there,<br><span class="moz-txt-citetags">></span><br>
<span class="moz-txt-citetags">> </span>I tring to install ipython on my "hardy Ubuntu". It seems that I experiment<br><span class="moz-txt-citetags">> </span>the same problem that you related in the email I paste to this message.<br>
<span class="moz-txt-citetags">> </span>I need to compile ipython with my own version of python for compatibility<br><span class="moz-txt-citetags">> </span>issues. The installation process seems working fine, but when I launch<br>
<span class="moz-txt-citetags">> </span>ipython, I get the following<br><span class="moz-txt-citetags">></span><br><span class="moz-txt-citetags">></span><br><span class="moz-txt-citetags">></span><br><span class="moz-txt-citetags">> </span>warning messages:<br>
<span class="moz-txt-citetags">> </span>WARNING: Readline services not available on this platform.<br><span class="moz-txt-citetags">> </span>WARNING: The auto-indent feature requires the readline library<br><span class="moz-txt-citetags">></span><br>
<span class="moz-txt-citetags">> </span>I saw that you solved this problem by "re-building python making sure the<br><span class="moz-txt-citetags">> </span>libreadline headers were visible to it". Could you please tell me the<br>
<span class="moz-txt-citetags">> </span>different steps you follow to<br></pre></blockquote><pre><br>sudo apt-get install python-dev<br><br>Cheers,<br><br>f<br><br></pre><div class="moz-text-plain" style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
<pre>On Sun, Nov 9, 2008 at 12:34 PM, Fernando Perez <a class="moz-txt-link-rfc2396E" href="mailto:fperez.net@gmail.com"><fperez.net@gmail.com></a> wrote:<br></pre><blockquote type="cite"><pre><span class="moz-txt-citetags">> </span>On Sun, Nov 9, 2008 at 12:16 PM, Sylvain Guiriec<br>
<span class="moz-txt-citetags">> </span><a class="moz-txt-link-rfc2396E" href="mailto:sylvain.guiriec@lpta.in2p3.fr"><sylvain.guiriec@lpta.in2p3.fr></a> wrote:<br></pre></blockquote><pre><br></pre><blockquote type="cite">
<blockquote type="cite"><pre><span class="moz-txt-citetags">>> </span>I saw that you solved this problem by "re-building python making sure the<br><span class="moz-txt-citetags">>> </span>libreadline headers were visible to it". Could you please tell me the<br>
<span class="moz-txt-citetags">>> </span>different steps you follow to<br></pre></blockquote><pre><span class="moz-txt-citetags">></span><br><span class="moz-txt-citetags">> </span>sudo apt-get install python-dev<br>
</pre></blockquote><pre><br>Oops, wrong -dev package, sorry. The call should read:<br><br>sudo apt-get install python-dev libreadline5-dev<br><br>Regards,<br><br>f<br><br></pre></div><pre>On Sun, Nov 9, 2008 at 6:38 PM, Sylvain Guiriec<br>
<a class="moz-txt-link-rfc2396E" href="mailto:sylvain.guiriec@gmail.com"><sylvain.guiriec@gmail.com></a> wrote:<br></pre><blockquote type="cite"><pre><span class="moz-txt-citetags">></span><br><span class="moz-txt-citetags">> </span>Hi,<br>
<span class="moz-txt-citetags">></span><br><span class="moz-txt-citetags">> </span>I had already installed these two packages. As I told you, python and ipython<br><span class="moz-txt-citetags">> </span>from my Ubuntu (I mean from apt-get) are working well. The problem is that I<br>
<span class="moz-txt-citetags">> </span>have to run my own version of python (and ipython) which is in my home<br><span class="moz-txt-citetags">> </span>directory for compatibility issues with other python scripts. So, according<br>
<span class="moz-txt-citetags">> </span>to the email I already saw in the ipython-user list, I should perhaps tell<br><span class="moz-txt-citetags">> </span>directly to my python version to use libreadline (recompilation of python<br>
<span class="moz-txt-citetags">> </span>?)... But unfornatully I do not know how to do that...<br></pre></blockquote><pre><br>|Yes, you need to rebuild python with libreadline5-dev installed.<br>|Chances are when you built your private python, it wasn't installed,<br>
|because the python build detects those headers automatically.<br>|<br>|Cheers,<br>|<br>|f</pre></div><pre>(Again, <b class="moz-txt-star"><span class="moz-txt-tag">*</span>please<span class="moz-txt-tag">*</span></b> keep your replies on list)=>hope it is ok now<br>
<br>But how to tell to my python version to look for libreadline5 ? Have I to set up some variables for that ? (what is the usual way to install python manualy ?)<br><br>Cheers,<br><br>Sylvain<br><br></pre></div>