IRC channel logs


back to list of logs

<civodul>i browsed cmake's source code (yuk!) but didn't find any definite answer
<civodul>it would need a bit of printfs in there to see what's going on
<a_e>Hm, but nix must have solved the problem. I would like to know what is done there!
<civodul>Nixpkgs has a wrapper for gcc itself
<civodul>in addition to the ld wrapper
<civodul>so i'm not sure if "solved" is the right term ;-)
<civodul>but anyway, those wrappers probably handle what cmake fails to do
<a_e>I just sent a reply to the list...
<a_e>Time to go. Bye!
<viric>civodul: about linking, you have to know that cmake sets its own rpath
<viric>unless you specify a particular flag
<viric>and it relinks for install
<viric>there is a trick in nixpkgs about that
<civodul>viric: where's the trick? :-)
<civodul>in Guix we set CMAKE_INSTALL_RPATH or whatever it's called
<civodul>but the thing ends up passing "-rpath :::::::::", literally
<civodul>which doesn't work
<viric>something like that
<viric>I can't remember
<viric>I don't know your issue at all though
<civodul>the main issue is the bug above: the fact that cmake passes a bogus -rpath flag
<viric>ah then it's that.
<viric>it's in the cmake setup hook
<viric>(that's my bet. It can be anything else too :)
<viric>Bone, mi iras dormi!
<viric>Bona nuèch!
<civodul>bona nuèch! :-)
<davexunit>this is off-topic, but does anyone know how to make autoconf test for the presence of a library when said library doesn't provide a .pc file?
<davexunit>I'm trying to improve the build system for a project of mine that I would like to package for guix.
<mark_weaver>davexunit: one option is AC_CHECK_LIB. See section 5.4 of the autoconf manual.
<davexunit>mark_weaver: thanks. seems like an obvious name, now.
<mark_weaver>davexunit: np! I'm fairly clueless about autoconf, I confess. I just found it in the "existing tests" chapter. You might want to ask civodul for better advice tomorrow :)
<davexunit>AC_CHECK_LIB([freeimage], [FreeImage_GetVersion],, [AC_MSG_ERROR([freeimage not found.])])
<davexunit>works enough for me
*civodul has just tested the fancy boot screen :-)
<davexunit>oooh :)
*civodul managed to get a mention of Guix at \\o/
<davexunit>civodul: awesome!
<davexunit>that's a good new page
<davexunit>civodul: so, guile-sdl's test suite requires X. I guess I should just disable them for the guix package, eh?
<civodul>davexunit: you mean the X server?
<civodul>i think jmd once packaged something that required an X server for its tests
<civodul>i forgot the details, but jmd is here to help ;-)
<davexunit>civodul: yeah.
*civodul has to go
<davexunit>it needs to be running. guile-sdl opens windows and displays the guile logo a lot :P
<civodul>ah, ok
<civodul>the guile logo :-)
<iyzsong>davexunit: morning, and I'll go sleep :)
<jmd>davexunit: I used the xfvb server as a native-input.
<davexunit>jmd: thanks, I will try that.
<davexunit>I was wondering how difficult that would be to use
<jmd>Have a look at the definition of gtksourceview
*davexunit tries to figure out how to make guile-sdl install to {$prefix}/share/guile/site/2.0 instead of {$prefix}/share/guile/site
<davexunit>got guile-sdl to install to the right location. and I got the xserver running for the tests.
<davexunit>5/9 tests fail, though. :(
<roptat>hello! I just installed the gnu operating system and I would like to have a graphical interface. I installed xorg-server, xf86-video-ati and slim. I cannot find what package contains startx (or xinit) and I am unable to reconfigure the system
<roptat>I get: guix system: error: failed to load operating system file '/etc/config.scm': (unbound-variable #f "Unbound variable: ~S" (%base-file-systems) #f)
<roptat>I am not a guile expert, so I don't know what this means. What am I doing wrong?
<davexunit>roptat: this is a known issue with 0.7, I'm looking for the mailing list post that addresses it
<davexunit>roptat: you will need to download the latest source code via git, build it, and run guix pull.
<davexunit>once your system is up-to-date, and past this issue, you can handle the x-server
<davexunit>roptat: you want to start the sli
<davexunit>you will want to start the slim service
<davexunit>and use that to launch x
<roptat>yes, I read it on the documentation. No startx?
<davexunit>you could write your own script to do it, but this is what we provide.
<davexunit>the slim service calls startx
<roptat>ok, I will try this as soon as I build the newer revision
<davexunit>hmmmm, using 'guix environment' with guile projects is proving tough
<davexunit>my project uses a dynamic-link call, and guile cannot find the lib :(
<davexunit>needed to set LD_LIBRARY_PATH
<davexunit>wish that could be done automatically somehow...