pkgsrc-Bugs archive

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

Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found



Thank you! Yes, supplying PKG_OPTIONS.python27='-x11' to make does disable the x11 build option for python27!

Unfortunately, the larger build I'm trying to do, lang/rust, features a compile fail in Vagrant, but at least we're making progress!

(I suspect that the Vagrant box for NetBSD was not configured with enough resources like RAM and such to actually do a lot of pkgsrc compilation.)

On Sat, Oct 21, 2017 at 4:10 PM, Leonardo Taccari <leot%netbsd.org@localhost> wrote:
The following reply was made to PR pkg/52633; it has been noted by GNATS.

From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52633: ERROR: python27-2.7.14 uses X11, but /usr/X11R7 not found
Date: Sat, 21 Oct 2017 23:05:24 +0200

 Hello Andrew,

 Andrew Pennebaker writes:
 >  sh -c "cd /usr/pkgsrc/lang/python27 && make PKG_CONFIG.python27='' make
 >  update"
 >
 >  However, when I run this, pkgsrc appears to continue to apply the x11
 >  option anyway, even though I'm trying to disable it. Am I doing something
 >  wrong? I think I'm using the right syntax, but I could be wrong.

 PKG_OPTIONS.python27='-x11' will do the trick! (to quickly verify/show
 all the options you can also use
 `make PKG_OPTIONS.python27='-x11' show-options')




--
Cheers,
Andrew


Home | Main Index | Thread Index | Old Index