IRC channel logs
2017-12-04.log
back to list of logs
<dsmith-work>daviid: Sorry I couldn't respond the other day. Day job keeps be busy and focused. <daviid>I found that it was the usual lib depending on a lib not available problem ... <dsmith-work>Heh. Or in the wrong place. Or finding the wrong version first. <daviid>but the user had both guix and debian guile, and wrong path, so libvigra_c was compiled using the guix tools, and for some reason the guile from debian was running, so it cold not find libjpeg ... <jeko>Dears, I have trouble to set a project with multiple modules (written by myself) <jeko>I have a gtd-txt module, which needs todo-txt module <jeko>they are in the same directory <jeko>(my project directory root) <jeko>when I want to compile gtd-txt, I get : "ERROR: no code for module (cybo todo-txt)" <rekado>ko: what does your GUILE_LOAD_PATH environment variable look like? <jeko>Is it right if I do an "echo $GUILE_LOAD_PATH" in cli ? <rekado>Guile looks for modules in directories that are listed in GUILE_LOAD_PATH <jeko>Alright. I thought I had to put (use-module (cybo todo-txt)) and the magic should happen ^^" <rekado>if you have a gtd-txt module and the name is “(gtd-txt)” then you need to add the directory containing the file “gtd-txt.scm” to GUILE_LOAD_PATH <rekado>the same goes for “(cybo todo-txt)” – this should be a file cybo/todo-txt.scm <rekado>and the cybo directory should be in a directory that’s listed on GUILE_LOAD_PATH <jeko>There are cybo/todo-txt.scm and cybo/gtd-txt.scm <jeko>Ok cybo has to be set in guile load path <jeko>Do I have to do it in the hard way like with env variables ? Or can I do it in a file (say the entry file of my software) ? <daviid>jeko: look for that va name in the manual ... you'll find all possible ways to solve this <jeko>daviid: Alright, will try some