User Tools

Site Tools


lbaops:diskofontproblem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lbaops:diskofontproblem [2015/12/18 16:38] (current)
Line 1: Line 1:
 +===== Fixing the Disko font problem =====
 +
 +Having problems getting disko to run because it can't find a font? Of course you are. It's actually a bug/feature in debian's perl/Tk installation. Here's how to fix it.
 +
 +
 +Others have had the same problem. [[http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/65274823310f21f3/abefe333b1f9ac67?lnk=gst&q=365125&rnum=1#abefe333b1f9ac67 | This thread]] describes it as well as a fix. Basically, perl needs to be patched and rebuilt.
 +
 +You will need to download this patch:
 +  *  [[http://www.atnf.csiro.au/~jlovell/23_fix_utf8_taint | 23_fix_utf8_taint]]
 +
 +Log in to the data recorder PC as root.
 +
 +  -  Make sure you have all the dependant packages
 +    *  ''apt-get install devscripts libdb4.2-dev libgdbm-dev''
 +  -  Get the perl source
 +    *  ''apt-get source perl''
 +  -  Remove the default patching, 
 +    *  ''cd perl-5.8.4''
 +    *  ''./debian/rules unpatch''
 +  -  Replace debian/patches/23_fix_utf8_taint with the one you downloaded
 +    *  ''mv /somewhere/23_fix_utf8_taint debian/patches/23_fix_utf8_taint''
 +  -  Patch and rebuild perl
 +    *  ''debian/rules patch''
 +    *  ''dch -n Test Tk fix''
 +    *  ''dpkg-buildpackage -rfakeroot -us -uc ''
 +  -  Re-install perl
 +    *  ''cd ..''
 +    *  ''dpkg --install *perl*.deb''
  
lbaops/diskofontproblem.txt · Last modified: 2015/12/18 16:38 (external edit)