IRC channel logs
2014-11-08.log
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>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... <viric>civodul: about linking, you have to know that cmake sets its own rpath <viric>unless you specify a particular flag <viric>there is a trick in nixpkgs about that <civodul>in Guix we set CMAKE_INSTALL_RPATH or whatever it's called <civodul>but the thing ends up passing "-rpath :::::::::", literally <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>it's in the cmake setup hook <viric>(that's my bet. It can be anything else too :) <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.])]) *civodul has just tested the fancy boot screen :-) <davexunit>civodul: so, guile-sdl's test suite requires X. I guess I should just disable them for the guix package, eh? <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>it needs to be running. guile-sdl opens windows and displays the guile logo a lot :P <iyzsong>davexunit: morning, and I'll go sleep :) <jmd>davexunit: I used the xfvb server as a native-input. <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. <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 <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. <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>wish that could be done automatically somehow...