bugSkencil - Bugs: bug #12046, tcl/tk not found on OpenBSD

 
 

bug #12046: tcl/tk not found on OpenBSD

Submitted by:  None
Submitted on:  Sun 20 Feb 2005 12:21:29 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 0.6.x

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 12 Mar 2005 10:57:11 PM UTC, comment #1:

Thanks for the bug report. A fix (searching for the un-dotted version number prefixes as well) will be in 0.6.17.

Bernhard Herzog <bh>
Project Administrator
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 )

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 12 Mar 2005 10:57:11 PM UTCbhStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1