...Buongiorno a tutti....ho risolto la situazione...
Dunque...in primo luogo, oltre alle librerie richieste occorrono anche i file header....ma i file header in debian sono di solito nei pacchetti *-dev....perciò :
#apt-get install python2.3-dev
...Ma guarda caso, installando questo pacchetto è stata creata la dir /usr/lib/python2.3/config/...al cui interno c\'è il famigerato Makefile...
Poi ho corretto il sorgente :
\" /*
PyPanel v2.4 - Lightweight panel/taskbar for X11 window managers
Copyright (c) 2003-2005 Jon Gelo (
ziljian@users.sourceforge.net)
This file is part of PyPanel.
PyPanel is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <Python.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <Imlib2.h>
#ifdef IMLIB2_FIX
#include <dlfcn.h>
#endif
typedef unsigned long CARD32;
Display *dsp;
GC gc;
int scr;
#ifdef HAVE_XFT
#include <X11/Xft/Xft.h>
Colormap cmap;
Visual *visual;
.......
\"
Come si nota nelle primissime righe la direttiva
#include <Python.h>
fa cercare l\'header nella dir /usr/lib/include...ma in Debian si deve cercare in /usr/lib/include/python2.3....perciò
#include <python2.3/Python.h>
Anche per le lib Xft occorrono gli header...peciò :
# apt-get install libxft-dev
a questo punto il comando :
#python setup.py install
dato nella directory dove ho scompattato la tar-ball funziona alla grande....è il mio pypanel è installato.....
Grazie ....