Bugs/Threaded Tcl

From Eggdrop Wiki

(Difference between revisions)
Jump to: navigation, search
m (added FC9)
m (added ubuntu 8.04)
Line 7: Line 7:
== If you have root access ==
== If you have root access ==
-
=== Debian with TCL 8.5 ===
+
=== Debian with TCL 8.5, Ubuntu 8.04 with TCL 8.5 ===
* Install the dependencies for developing debian packages using apt-get. There is a list of these dependencies on [http://www.debian.org/doc/manuals/maint-guide/ch-start.en.html this page] in section 1.1.
* Install the dependencies for developing debian packages using apt-get. There is a list of these dependencies on [http://www.debian.org/doc/manuals/maint-guide/ch-start.en.html this page] in section 1.1.
* mkdir /root/tcl
* mkdir /root/tcl
Line 21: Line 21:
* dpkg -i *.deb
* dpkg -i *.deb
-
Instead of doing that yourself, you could download the three resulting .deb files from [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/debian/ Here] and dpkg -i them yourself.
+
Instead of doing that yourself, you could download the .deb files here: [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/debian/ Debian] and [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/Ubuntu8.04/ Ubunto 8.04] and dpkg -i them yourself.
If you don't trust the files I've built, build them yourself, it shouldn't be that hard.
If you don't trust the files I've built, build them yourself, it shouldn't be that hard.
 +
* Note: The Ubunto 8.04 tcl8.5 debian/rules file is borked. The quotes in lines 16, 21, and 23 need to be removed.  Line 57 should be '$(MAKE) CFLAGS="$(CFLAGS)"'.  The Ubuntu-MOTU group has been notified, and someone is filing a bug.
=== RHEL5/CentOS5 or Fedora Core 9 with TCL 8.5 ===
=== RHEL5/CentOS5 or Fedora Core 9 with TCL 8.5 ===
Line 51: Line 52:
Instead of doing that yourself, you could download the RPMs here: [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/RHEL5/ RHEL5/CentOS5] or [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/fc9/ Fedora Core 9] and rpm -Uvh them yourself.
Instead of doing that yourself, you could download the RPMs here: [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/RHEL5/ RHEL5/CentOS5] or [http://ns0.skralg.com/eggdrop/tcl8.5-nothreads/fc9/ Fedora Core 9] and rpm -Uvh them yourself.
-
Note on FC9: I had to 'rm -rf /usr/lib/tcl8.5' after 'rpm -e tcl' before the new RPM would install.
+
* Note on FC9: I had to 'rm -rf /usr/lib/tcl8.5' after 'rpm -e tcl' before the new RPM would install.
If you don't trust the files I've built, build them yourself, it shouldn't be that hard.
If you don't trust the files I've built, build them yourself, it shouldn't be that hard.

Revision as of 16:56, 22 April 2008

So, here's the deal. Eggdrop is supposed to be coded to handle TCL threading. Either that code never worked, or it's now broken because of some change in TCL internally. The solution? Compile and install TCL with no threads, then recompile and reinstall your eggdrop.

Yeah, some of you will say 'Oh, ok, easy' and go and do it. The rest of you are probably saying 'Huh?'

These are some of the possible solutions to fix your problem:

Contents

If you have root access

Debian with TCL 8.5, Ubuntu 8.04 with TCL 8.5

  • Install the dependencies for developing debian packages using apt-get. There is a list of these dependencies on this page in section 1.1.
  • mkdir /root/tcl
  • cd /root/tcl
  • apt-get source tcl8.5
  • cd into the directory it creates (tcl8.5-8.5.2 currently)
  • cd debian
  • edit rules; remove the line " --enable-threads \" (currently line 52)
  • cd ..
  • dpkg-buildpackage -rfakeroot
  • Your .deb files are now being built.
  • cd ..
  • dpkg -i *.deb

Instead of doing that yourself, you could download the .deb files here: Debian and Ubunto 8.04 and dpkg -i them yourself.

If you don't trust the files I've built, build them yourself, it shouldn't be that hard.

  • Note: The Ubunto 8.04 tcl8.5 debian/rules file is borked. The quotes in lines 16, 21, and 23 need to be removed. Line 57 should be '$(MAKE) CFLAGS="$(CFLAGS)"'. The Ubuntu-MOTU group has been notified, and someone is filing a bug.

RHEL5/CentOS5 or Fedora Core 9 with TCL 8.5

Instead of doing that yourself, you could download the RPMs here: RHEL5/CentOS5 or Fedora Core 9 and rpm -Uvh them yourself.

  • Note on FC9: I had to 'rm -rf /usr/lib/tcl8.5' after 'rpm -e tcl' before the new RPM would install.

If you don't trust the files I've built, build them yourself, it shouldn't be that hard.

If you don't have root access

Work in progress
Personal tools