Thank you I solved the problem.<br>I was missing the <br><pre>build-essential<br>python2.4-dev<br><br>packages. Since they were not installed I received the errors.<br></pre><br><div class="gmail_quote">On Wed, Mar 4, 2009 at 14:53, Michael Howitz <span dir="ltr">&lt;<a href="mailto:mh@gocept.com">mh@gocept.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Am 04.03.2009 um 14:09 schrieb Massimiliano della Rovere:<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have problems installing the package (I never did it before, probably i do something wrong).<br>
I downloaded the package, decompressed it and run:<br>
sudo python setup.py build<br>
  -&gt; ok<br>
sudo python setup.py install<br>
  -&gt; error<br>
</blockquote>
<br></div>
You should use buildout to install dependencies for your application. As you already use Zope, there should be already a ZODB, so it needs not to be built at install of gocept.reference.<br>
<br>
See <a href="http://pypi.python.org/pypi/zc.buildout" target="_blank">http://pypi.python.org/pypi/zc.buildout</a> or maybe<br>
<a href="http://redomino.com/it/labs/documentazione/tutorial/gestire-progetti-con-zc-buildout/" target="_blank">http://redomino.com/it/labs/documentazione/tutorial/gestire-progetti-con-zc-buildout/</a><div class="im"><br>

<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When installing, it tries to download an updated package about ZODB but then it fails compiling it:<br>
<br>
python2.4 setup.py build<br>
</blockquote></div>
[...]<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
src/BTrees/BTreeModuleTemplate.c:15:20: error: Python.h: Nessun file o directory<br>
</blockquote>
<br></div>
Google finds this: <a href="http://www.mail-archive.com/plone-it@lists.plone.org/msg02411.html" target="_blank">http://www.mail-archive.com/plone-it@lists.plone.org/msg02411.html</a> (sounds a bit similar especially because I do not understand Italian :)<div>
<div></div><div class="h5"><br>
<br>
<br>
Yours sincerely,<br>
-- <br>
Michael Howitz · <a href="mailto:mh@gocept.com" target="_blank">mh@gocept.com</a> · software developer<br>
gocept gmbh &amp; co. kg · forsterstraße 29 · 06112 halle (saale) · germany<br>
<a href="http://gocept.com" target="_blank">http://gocept.com</a> · tel +49 345 1229889 8 · fax +49 345 1229889 1<br>
Zope and Plone consulting and development<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Se proprio dovete inserirmi in una mail in una<br>lista con indirizzi, vi prego di mettere il mio<br>nel campo CCN: o BCC: e non in TO: CC: oppure A:<br>------------<br>
skype: masdero, icq: 473891447, yim: mas_dero, msn: <a href="mailto:mas_dero@hotmail.com">mas_dero@hotmail.com</a><br>------------<br>Mi scriva in italiano; Write me in English; Skribu al mi Esperante!<br>------------<br>
Volete farmi un regalo a natale e non sapete cosa? :D<br><a href="http://www.boardgamegeek.com/collection/user/masdero?sort=wishlist&amp;sortdir=asc&amp;columns=title|thumbnail|status|rating|bggrating|plays|comment|commands&amp;wishlist=1&amp;ff=1">http://www.boardgamegeek.com/collection/user/masdero?sort=wishlist&amp;sortdir=asc&amp;columns=title|thumbnail|status|rating|bggrating|plays|comment|commands&amp;wishlist=1&amp;ff=1</a><br>