pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42085: sysutils/toshutils misses a dependency upon x11/libXt (pkgsrc modular xorg)



>Number:         42085
>Category:       pkg
>Synopsis:       sysutils/toshutils misses a dependency upon x11/libXt (pkgsrc 
>modular xorg)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 17 17:35:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386    pkgsrc current 2009-09-17
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        sysutils/toshutils fails to configure, claims that X libraries
        or include files not found.   The one it detects is X11/Intrinsic,h
        which is supposed to be provided by x11/libXt which is not
        installed as a dependency required by sysutils/toshutils

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 sets installed.
        I do not use the x* sets (if native X11 was in use this problem
        would probably not be obsrerved), I use pkgsrc modular xorg
        instead.

        In that environment ...

checking for X... (cached) no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.
*** Error code 1

        The config.log file says ...

configure:928: checking for X
configure:995: cc -E -I/usr/pkg/include -I/usr/include conftest.c >/dev/null 
2>conftest.out
configure:991:27: error: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 990 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:1071: cc -o conftest -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include -I/usr/include -s conftest.c -lXt  1>&5
ld: cannot find -lXt
configure: failed program was:
#line 1064 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }

        And there is no X11/Intrinsic.h installed anywhere,
        and nor is x11/libXt installed.

>Fix:
        I have no idea how the pkgsrc modular xorg dependencies
        are handled in a way that makes them transparent to native
        X11 installs, so I will leave this one entirely for someone
        who has a clue.



Home | Main Index | Thread Index | Old Index