Sun 20 Feb 2005 12:21:29 PM UTC, original submission:
(skencil-0.6.16)
setup.py doesn't find libtk on OpenBSD because the library is called libtk84 instead of libtk8.4
A crude fix to setup.py got it working for me, but perhaps someone could generalise this (ie try looking for 'tk'+version without the dots?)
--- setup.py.orig Sun Feb 20 22:17:19 2005
+++ setup.py Sun Feb 20 22:17:43 2005
@@ -251,7 +251,7 @@
# directory. If the user gave them on the command line, use those
lib_dirs = ['/usr/lib', '/usr/local/lib']
print "Looking for tcl/tk libraries under %s..." % (join(lib_dirs, ' ,'),)
- for version in ["8.4", "8.3", "8.2", "8.1", "8.0"]:
+ for version in ["8.4", "84", "8.3", "8.2", "8.1", "8.0"]:
print " Looking for tcl/tk %s..." % version
tklib = compiler.find_library_file(lib_dirs, 'tk' + version )
tcllib = compiler.find_library_file(lib_dirs, 'tcl' + version )
|