title: How to fix «Python scripting is not supported in this copy of GDB»
body: <p>The <code>configure</code> script was launched like</p>
  
  <pre><code>./configure --with-python=yes  --host=arm-linux-gnueabi
  </code></pre>
  
  <p>So, the python is enabled. Also in the <a href="http://pastebin.com/JmiFARUe" rel="noreferrer">log of configure script</a> I didn't found anything bad related to the python. But anyway, the compiled gdb keep saying </p>
  
  <pre><code>$ ./gdb -q
  /home/constantine/.gdbinit:7: Error in sourced command file:
  ind_string_in_backtrace (gdb.Function)::1: Error in sourced command file:
  Undefined command: "class".  Try "help".
  (gdb) py print("hello")
  Python scripting is not supported in this copy of GDB.
  </code></pre>
  
  <p>The error you can see after I entered in gdb is also about Python <em>(the script that loaded on autostart)</em>. I did tried <code>make clean</code>, but it didn't helped. I hope someone knows the solution, I am really need a scripting, and hence the python.</p>