[Fwd: Re: Sid verbose trace reveals missing sid-control-tksm component]

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Fwd: Re: Sid verbose trace reveals missing sid-control-tksm component]

suleman


> strace sid  -e 'load libtclapi.la tcl_bridge_library' \
>             -e 'new sid-control-tksm tk' 2>&1 | grep tksm
>

Here is the output of running this command on my system.

execve("/opt/sid/bin/sid", ["sid", "-e", "load libtclapi.la
tcl_bridge_lib"..., "-e", "new sid-control-tksm tk"], [/* 32 vars */]) =
0
write(2, "component type sid-control-tksm "..., 39component type
sid-control-tksm unknown) = 39

A more detailed output is as below; maybe it gives some useful hint?

open("/opt/sid/share/sidcomp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=2096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 56 entries */, 4096)   = 2312
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/opt/sid/share", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 8 entries */, 4096)    = 232
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
open("/opt/sid/../share/sidcomp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/opt/sid/../share", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) =
-1 ENOENT (No such file or directory)
write(2, "<literal>", 9<literal>)                = 9
write(2, ":", 1:)                        = 1
write(2, "1", 11)                        = 1
write(2, ": ", 2: )                       = 2
write(2, "component type sid-control-tksm "..., 39component type
sid-control-tksm unknown) = 39
write(2, "\n", 1
)                       = 1
write(2, "Configuration error.  Aborting.", 31Configuration error.
Aborting.) = 31
write(2, "\n", 1
)                       = 1
exit_group(3)                           = ?
Process 6117 detached


Bye,

Suleman
Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Re: Sid verbose trace reveals missing sid-control-tksm component]

Frank Ch. Eigler
Hi -

> [...]
> A more detailed output is as below; maybe it gives some useful hint?
> [...]
> open("/opt/sid/../share/sidcomp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
> O_DIRECTORY) = -1 ENOENT (No such file or directory)
> open("/opt/sid/../share", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) =
> -1 ENOENT (No such file or directory)
> [...]

Yes, well, both of these directories should exist.  Something must
be strange about the way you configured the build tree, or perhaps
the "make install" in the tcl directory did not complete for some
reason.

- FChE
Reply | Threaded
Open this post in threaded view
|

Re: [Fwd: Re: Sid verbose trace reveals missing sid-control-tksm component]

suleman
Well, I've found and fixed the problem.

The problem is that when I run configure script from the topmost source
folder, and then run 'make all', the tk.h header is not detected  and
the config.h file created in the sid/component/tcl folder does not
define HAVE_TK_H for some reason and thus the tksm component is not
reported by the bridge-tcl-library.

If I manually run the configure script in the sid/component/tcl folder.
the tk.h header is correctly detected and config.h has the HAVE_TK_H
define set to 1.  If I now compile, tksm works Ok.

Bye,

Suleman