IRC channel logs

2017-12-04.log

back to list of logs

<spk121>"
<dsmith-work>{appropriate time} Greetings, Guilers
<str1ngs>hello
<cmaloney>\\o
<OrangeShark>hello
<daviid>hello guilers!
<jeko>Hi Guilers !
<dsmith-work>daviid: Greetings
<dsmith-work>daviid: Sorry I couldn't respond the other day. Day job keeps be busy and focused.
<daviid>dsmith-work: no problem
<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.
<dsmith-work>ldd and strace to the rescue!
<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?
<rekado>jeko: ^
<jeko>Is it right if I do an "echo $GUILE_LOAD_PATH" in cli ?
<rekado>yes
<jeko>Well....it is empty.
<rekado>okay.
<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
<jeko>exactly
<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
<daviid>*variable name
<jeko>daviid: Alright, will try some