RE: [gentoo-user] Still not getting how to influence compile flags with emerge
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Harry Putnam Sent: 02 December 2005 15:31 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Still not getting how to influence compile flags with emerge I want to influence how vim is compiled. I'm told I need a compile option called: xterm_clipboard. How do I tell emerge to enable that at compile time? I've been told its done with USE flags but it still isn't clear to mw how the details work I'm still not sure what emerge output really means when you run a pretend install and various flags are displayed with + or minus root # emerge -v -p -uD vim These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-editors/vim-6.4 -acl -bash-completion -cscope +gpm -minimal +nls +perl +python -ruby -vim-with-x 4,752 kB Does it mean that the flags displayed are the only ones I can adjust? As I understand it, yes. To see which flags a particular package can specify you can either run: == # emerge -uDpv package_name (just as you did above) == or you could try the equery command of the gentoolkit, e.g.: == # # equery uses gnumeric [ Colour Code : set unset ] [ Legend : (U) Col 1 - Current USE flags] [ : (I) Col 2 - Installed With USE flags ] U I [ Found these USE variables in : app-office/gnumeric-1.2.0 ] - - libgda : Adds GNU Data Access (CORBA wrapper) support for gnumeric - - gnomedb : unknown + + python : Adds support/bindings for the Python language + + bonobo : Adds support for gnome-base/bonobo (Gnome CORBA interfaces)== Of course all this and much more is well documented in the Gentoo guide: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Still not getting how to influence compile flags with emerge
On Fri, 02 Dec 2005 09:30:35 -0600, Harry Putnam wrote: I want to influence how vim is compiled. I'm told I need a compile option called: xterm_clipboard. How do I tell emerge to enable that at compile time? I've been told its done with USE flags but it still isn't clear to mw how the details work I'm still not sure what emerge output really means when you run a pretend install and various flags are displayed with + or minus Those are the flags used by this package, the +/- indicating whether they are set or unset. root # emerge -v -p -uD vim These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-editors/vim-6.4 -acl -bash-completion -cscope +gpm -minimal +nls +perl +python -ruby -vim-with-x 4,752 kB Does it mean that the flags displayed are the only ones I can adjust? Yes, and the one you want to set is vim-with-x [EMAIL PROTECTED] ~]$ grep vim-with-x /usr/portage/profiles/use.*desc /usr/portage/profiles/use.local.desc:app-editors/vim:vim-with-x - Link console vim against X11 libraries to enable title and clipboard features in xterm -- Neil Bothwick ... I just forgot to increment the counter, Tom said, nonplussed. signature.asc Description: PGP signature
Re: [gentoo-user] Still not getting how to influence compile flags with emerge
Harry Putnam wrote: I want to influence how vim is compiled. I'm told I need a compile option called: xterm_clipboard. How do I tell emerge to enable that at compile time? USE=vim-with-x emerge vim I've been told its done with USE flags but it still isn't clear to mw how the details work USE flags control how a program is made. Most of the time, USE flags will control how a program is compiled (which will most of the time mean, how configure is called). But it can also influence other things (eg. where stuff is installed...). I'm still not sure what emerge output really means when you run a pretend install and various flags are displayed with + or minus + - flag is set - - flag is NOT set Does it mean that the flags displayed are the only ones I can adjust? Yes. Alexander Skwar -- Men of quality are not afraid of women for equality. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Still not getting how to influence compile flags with emerge
Willie Wong wrote: What you need to do, is to edit /etc/portage/package.use so that there's a line that reads app-editors/vim +vim-with-x [and optionally other flags] No, that's not what you do. You *NEVER* set a flag with a +. It's an error. To enable, you write the name of the flag. To disable, you prepend it with a -. Alexander Skwar -- Men of quality are not afraid of women for equality. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Still not getting how to influence compile flags with emerge
On Fri, 02 Dec 2005 09:30:35 -0600 Harry Putnam [EMAIL PROTECTED] wrote: | Does it mean that the flags displayed are the only ones I can adjust? USE flags are not the same as Vim's internal feature flags. Adding a USE flag for every single Vim feature flag would be silly. -- Ciaran McCreesh : Gentoo Developer (I can kill you with my brain) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm signature.asc Description: PGP signature
Re: [gentoo-user] Still not getting how to influence compile flags with emerge
On Fri, Dec 02, 2005 at 06:58:59PM +0100, Alexander Skwar wrote: Willie Wong wrote: What you need to do, is to edit /etc/portage/package.use so that there's a line that reads app-editors/vim +vim-with-x [and optionally other flags] No, that's not what you do. You *NEVER* set a flag with a +. It's an error. To enable, you write the name of the flag. To disable, you prepend it with a -. whoopsies... my bad. I have app-editors/vim -vim-with-x in mine, and mis-edited the copy and paste. W -- Oh no, not again. - A bowl of petunias on it's way to certain death. Sortir en Pantoufles: up 20 days, 20:06 -- gentoo-user@gentoo.org mailing list