[Pkg-tcltk-devel] Bug#491629: Bug#491629: tk8.5-dev: Package should depend on libxss-dev

Sergei Golovan sgolovan at nes.ru
Mon Jul 21 07:31:42 UTC 2008


On 7/21/08, David Nusinow <dnusinow at debian.org> wrote:
>
>    While converting one of my packages to tk8.5 and building in a chroot I
>  got an FTBFS because libXss couldn't be found. This turned out to be
>  included indirectly via tk8.5-dev's tkConfig.sh script located in
>  /usr/share/tcltk/tk8.5. This is apparently a new addition with 8.5, because
>  I can't find this inclusion in previous versions installed here. Could you
>  please either add libxss-dev to the package's depends or remove the linking
>  to libXss if it's inappropriate? My own package doesn't use Xss at all, so
>  I don't know why the script exports this linker flag, and it may be
>  ultimately useless. Thank you!

You're right. libxss-dev and libxext-dev dependencies are missing but
-lXss and -lXext are present in tkConfig.sh, so I'll add them in the
next upload. Though they are included into two variables: TK_LIBS
(Additional libraries to use when linking Tk) and TK_XLIBSW (Linker
switch(es) to use to link with the X11 library archive). Both are
indicated as variables used when linking Tk itself. Why would you like
to use them in your project at all?

-- 
Sergei Golovan





More information about the Pkg-tcltk-devel mailing list