Sketch build/install problem

Bernhard Herzog bh at intevation.de
Fri Aug 17 05:42:53 EDT 2001


grante at visi.com (Grant Edwards) writes:

> That fixed it.  Now it doesn't run because libtk.so doesn't
> match tk.h.  I've got tk installed in so many places/versions
> it's a wonder anything works.  I installed RedHat's Source
> Navigator in January and it caused major breakage -- and I
> think this is just another result of that.  :(

There are two things you could do in this case. You could either pass
all compiler/linker flags to the setup.py script with the --tk-flags
option, e.g.:

python2.1 setup.py configure --tk-flags="-I/usr/include/tk8.2/generic -I/usr/include/tcl8.2/generic -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -ltk8.2 -ltcl8.2 -lX11"

Or you could edit Pax/Setup by hand so that the include directories
point to the right tcl/tk header files.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                               http://mapit.de/



More information about the Python-list mailing list