I've finally managed to beat my way through the install guide at
http://sguil.sourceforge.net/sguil_guide_latest.txt. I'm installing on
a RH FC2 system. I'm at the point where it is time to start sguild, but
I get this error message:
# ./sguild -c sguild.conf
ERROR: The mysqltcl extension does NOT appear to be installed on this
sysem. [sic]
Download it at
http://www.xdobry.de/mysqltcl/
SGUILD: Exiting...
I assure you that mysqltcl is installed. I tried running the same
command with strace and got this clue:
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/lib/tcl8.4", {st_mode=S_IFDIR|0755, st_size=4096,
....}) = 0
access("/usr/local/lib/tcl8.4/pkgIndex.tcl", R_OK) = -1 ENOENT (No such
file or directory)
write(1, "ERROR: The mysqltcl extension do"..., 77) = 77
write(1, "Download it at http://www.xdobry"..., 46) = 46
write(1, "SGUILD: Exiting...\n", 19) = 19
First, there is no pkgIndex.tcl in /usr/local/lib/tcl8.4 but each of the
subdirectories in there have them. Second, what does
/usr/local/lib/tcl8.4 have to do with mysqltcl? I'm not real sure what
pkgIndex.tcl is, but I managed to use the tcl command mk_pkgIndex to
build a pkgindex.tcl in that directory, but I still get the same error
message (mysqltcl not installed). Now an strace appears to get past
/usr/local/lib/tcl8.4/pkgIndex.tcl but looks like this:
access("/usr/local/lib/tcl8.4/http1.0/pkgIndex.tcl", R_OK) = 0
stat64("/usr/local/lib/tcl8.4/http1.0/pkgIndex.tcl",
{st_mode=S_IFREG|0644, st_size=735, ...}) = 0
open("/usr/local/lib/tcl8.4/http1.0/pkgIndex.tcl", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xfee54e68) = -1 ENOTTY
(Inappropriate ioctl for device)
read(3, "# Tcl package index file, versio"..., 4096) = 735
read(3, "", 4096) = 0
close(3) = 0
write(1, "ERROR: The mysqltcl extension do"..., 78ERROR: The mysqltcl
extension does NOT appear to be installed on this sysem.
) = 78
write(1, "Download it at http://www.xdobry"..., 47Download it at
http://www.xdobry.de/mysqltcl/
) = 47
write(1, "SGUILD: Exiting...\r\n", 20SGUILD: Exiting...
) = 20
Can anyone suggest what I need to do? I've been busting my head over
this for weeks now!
Thanks.