pkgsrc-Bugs archive

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

Re: pkg/53249: can't install x11/qt5-qtbase on NetBSD 7.1.1/amd64



The following reply was made to PR pkg/53249; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53249: can't install x11/qt5-qtbase on NetBSD 7.1.1/amd64
Date: Fri, 1 Jun 2018 13:04:00 +0000

 Looks like this is the configure check
 
         "drm": {
             "label": "KMS",
             "test": {
                 "include": [ "stdlib.h", "stdint.h" ],
                 "tail": [
                     "extern \"C\" {",
                     "#include <xf86drmMode.h>",
                     "#include <xf86drm.h>",
                     "}"
                 ],
                 "main": "(void) drmModeGetCrtc(0, 0);"
             },
             "sources": [
                 { "type": "pkgConfig", "args": "libdrm" },
                 { "libs": "-ldrm", "condition": "!config.integrity" },
                 { "libs": "-ldrm-nvdc -lposix -livfs -lnvll -lnvdc -lnvrm -lnvrm_graphics -lnvos -lnvtegrahv", "condition": "config.integrity" }
             ]
         },
 
 
 This is in
 WRKSRC/src/gui/configure.json
 
 I wonder if it fails as a standalone
 
 $ cat testx.c
 #include <xf86drmMode.h>
 #include <xf86drm.h>
 int main() {
 	(void) drmModeGetCrtc(0,0);
 }
 
 $ gcc `env PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig pkgconf --cflags --libs libdrm` testx.c -o testx; ./testx
 
 
 Or are you using pkgsrc mesa with disabled dri (my fault..)?
 


Home | Main Index | Thread Index | Old Index