Re: installing libraries

2016-07-22 Thread Alex Kost
Vincent Legoll (2016-07-22 15:36 +0300) wrote: > Hello (again), > > I'm trying to do a kernel "make menuconfig", so I have to install some > packages, > make, gcc, binutils, ncurses, glibc, linux-libre-headers... > > but ncurses despite being installed, is not picked up... Try to install

Re: installing libraries

2016-07-22 Thread Vincent Legoll
> Which error, exactly? error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory >> There's no ldconfig, so in absence of LD_LIBRARY_PATH how do dynamic >> libraries get loaded ? > > Are you on a ‘foreign’ Linux distribution by any chance?

Re: installing libraries

2016-07-22 Thread Tobias Geerinckx-Rice
Vincent, On 2016-07-22 21:51, Vincent Legoll wrote: $ guix environment linux-libre --ad-hoc ncurses ... -- make ... (or drop the ‘-- ...’ for an interactive build shell) That will set LIBRARY_PATH (and everything else) up for you. That does not work, same error Which error, exactly?

Re: installing libraries

2016-07-22 Thread Vincent Legoll
> $ guix environment linux-libre --ad-hoc ncurses ... -- make ... > (or drop the ‘-- ...’ for an interactive build shell) > > That will set LIBRARY_PATH (and everything else) up for you. That does not work, same error There's no ldconfig, so in absence of LD_LIBRARY_PATH how do dynamic libraries

Re: installing libraries

2016-07-22 Thread Tobias Geerinckx-Rice
Vincent, On 2016-07-22 14:36, Vincent Legoll wrote: I'm trying to do a kernel "make menuconfig", so I have to install some packages, make, gcc, binutils, ncurses, glibc, linux-libre-headers... but ncurses despite being installed, is not picked up... vince@guixsd ~/tmp/build-linux$ export

Re: Newbie packagers

2016-07-22 Thread Ludovic Courtès
Vincent Legoll skribis: >>> 3 - I'd add the following to (unquote-splicing expr): >>> >>> `(1 ,x 4) ⇒ (1 (2 3) 4) >>> >>> to better demonstrate the effect of splicing >>> >>> and to (unquote expr) : >>> >>> `(1 2 (* 9 9) 3 4) ⇒ (1 2 (* 9 9) 3 4) >> >> I’d prefer

Re: Is there a way to see 'Globally-Installed Packages' from the CLI?

2016-07-22 Thread Ludovic Courtès
Chris Marusich skribis: > $ guix package --list-installed --profile=/var/guix/profiles/system The system (result of ‘guix system build’) has more than just a “profile” in the Guix sense. You need to do this instead: guix package -p /var/guix/profiles/system/profile -I

Re: Kernel config

2016-07-22 Thread Vincent Legoll
>> Something that I don't understand: >> >> root@guixsd ~# guix --version >> guix (GNU Guix) 20160722.06 >> root@guixsd ~# which guix >> /run/current-system/profile/bin/guix > > This one is recent, and the ‘local-file’ trick should work with it. Indeed, thanks >> vince@guixsd ~$ guix --version

Re: How do I control which guix 'system vm-image' puts into the image?

2016-07-22 Thread Ludovic Courtès
Hello! myglc2 skribis: > How do I control which version of guix is built into an image? The image contains the ‘guix’ package indirectly specified in the ‘operating-system’ configuration. Namely, the ‘services’ fields of your ‘operating-system’ declaration is (very likely) a

Re: Newbie packagers

2016-07-22 Thread Vincent Legoll
> I have no control over search engines. :-) Yep, that was just a lame excuse, sorry... ;-) >> 3 - I'd add the following to (unquote-splicing expr): >> >> `(1 ,x 4) ⇒ (1 (2 3) 4) >> >> to better demonstrate the effect of splicing >> >> and to (unquote expr) : >> >> `(1 2 (* 9 9) 3 4) ⇒ (1

Re: Newbie packagers

2016-07-22 Thread Ludovic Courtès
Vincent Legoll skribis: > quick ideas: > > 1 - the concept index has those: ! # ( . / maybe add ` ' , ,@ with > their aliases / long names alongside (quote, quasiquote, unquote, > unquote-splicing) Good idea. > 2 - they are well hidden in : > > The Guile Reference

Re: Newbie packagers

2016-07-22 Thread Vincent Legoll
>> A question remains, why do the configure flags need to be a quoted list ? > > It’s a list of arguments that gets passed to a function down the road. but as the list of arguments is already in a quoted list, it is quoted and not interpreted here. '(toto (titi)) => (toto (titi)) and not an

installing libraries

2016-07-22 Thread Vincent Legoll
Hello (again), I'm trying to do a kernel "make menuconfig", so I have to install some packages, make, gcc, binutils, ncurses, glibc, linux-libre-headers... but ncurses despite being installed, is not picked up... vince@guixsd ~/tmp/build-linux$ ls $LIBRARY_PATH/*ncurses*

Re: Newbie packagers

2016-07-22 Thread Ludovic Courtès
Vincent Legoll skribis: > Just to see if I understood properly... > > In the hello.scm example, there is : > > (arguments `(#:configure-flags '("--enable-silent-rules"))) > > 1 - can the quasiquote be replaced by a regular quote, because > unquote is not used ? Yes. >

Re: Is there a way to see 'Globally-Installed Packages' from the CLI?

2016-07-22 Thread Chris Marusich
Alex Kost writes: > myglc2 (2016-07-22 00:42 +0300) wrote: > >> See subject. In other words can I produce the list shown by 'M-x >> installed-system-packages' in the CLI? > > guix package --list-installed --profile=/run/current-system/profile When I run this, it works.

Re: change resolution (new style) + question about qxl driver

2016-07-22 Thread David Craven
I've been working on spice support. Appart from writing synopsis and adding descriptions there a couple of issues I've run into. Qxl driver: It fills my Xorg.0.log with: > qxl_kms_surface_create: Bad bpp: 1 (1) Spice vdagent/vdagentd: * Copy pasting works * Adjusting guest display resolution

Re: Is there a way to see 'Globally-Installed Packages' from the CLI?

2016-07-22 Thread Alex Kost
myglc2 (2016-07-22 00:42 +0300) wrote: > See subject. In other words can I produce the list shown by 'M-x > installed-system-packages' in the CLI? guix package --list-installed --profile=/run/current-system/profile -- Alex

Re: Newbie packagers

2016-07-22 Thread Chris Marusich
Vincent Legoll writes: > The big problem with the abbreviated forms is that they're not easily > googlable, if I knew their long names, I could've found them in online > doc... FYI, one of the best ways to find that information is to look it up in the manual by index

Re: Newbie packagers

2016-07-22 Thread Vincent Legoll
Just to see if I understood properly... In the hello.scm example, there is : (arguments `(#:configure-flags '("--enable-silent-rules"))) 1 - can the quasiquote be replaced by a regular quote, because unquote is not used ? I'd guess yes, now I'll try it... So, it seems like we can change the