Date: Mon, 31 Mar 2014 12:15:35 -0500 From: Matthew Pherigo <hybrid120@gmail.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: lang/nimrod issue: missing forward slash Message-ID: <C0A51891-9BF5-44DF-A466-887FB3AAD153@gmail.com>
index | next in thread | raw e-mail
Hey all, I'm having a problem with lang/nimrod that's keeping me from doing any development at the moment. I think this is an issue created by the person who created the port (nimrod works fine on my arch linux VM), but I figured I'd check here in case anyone knows a fix. When I try to compile anything from nimrod, the paths calls the compiler with are incorrect. For example, here is the (successful) compilation output of a program that doesn't depend on any external Libs (besides system.nim): [matt@Chiyochan /usr/home/matt/MyProjects/Challenges-Nimrod/Mine]$ nimrod c -r hello2.nim usr/local/etc/nimrod.cfg(38, 11) Hint: added path: '/home/matt/.babel/libs/' [Path] Hint: used config file '/etc/nimrod.cfg' [Conf] Hint: system [Processing] Hint: hello2 [Processing] clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-Nimrod/Mine/nimcache/hello2.o usr/home/matt/MyProjects/Challenges-Nimrod/Mine/nimcache/hello2.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-Nimrod/Mine/nimcache/system.o usr/home/matt/MyProjects/Challenges-Nimrod/Mine/nimcache/system.c clang -o /usr/home/matt/MyProjects/Challenges-Nimrod/Mine/hello2 usr/home/matt/MyProjects/Challenges-Nimrod/Mine/nimcache/system.o usr/home/matt/MyProjects/Challenges-Nimrod/Mine/nimcache/hello2.o Hint: operation successful (7438 lines compiled; 3.469 sec total; 7.768MB) [SuccessX] /usr/home/matt/MyProjects/Challenges-Nimrod/Mine/hello2 What's your name? Matt Hi, Matt! [matt@Chiyochan /usr/home/matt/MyProjects/Challenges-Nimrod/Mine]$ However, when compiling a project that depends on external libraries, compilation completely fails: [matt@Chiyochan /usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc]$ nimrod c -r calc1.nim usr/local/etc/nimrod.cfg(38, 11) Hint: added path: '/home/matt/.babel/libs/' [Path] Hint: used config file '/etc/nimrod.cfg' [Conf] Hint: system [Processing] Hint: calc1 [Processing] Hint: strutils [Processing] Hint: parseutils [Processing] usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/calc1.nim(3, 11) Hint: 'c' is declared but not used [XDeclaredButNotUsed] usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/calc1.nim(3, 8) Hint: 'b' is declared but not used [XDeclaredButNotUsed] clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/calc1.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/calc1.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/system.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/system.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/strutils.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/strutils.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/parseutils.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/parseutils.c clang -o /usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/calc1 usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/parseutils.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/strutils.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/system.o usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/calc1.o clang: error: no such file or directory: 'usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/system.o' Error: execution of an external program failed This is driving me crazy! I can't find anything in my configuration file that has to do with these paths. Has anyone else encountered an issue like this? --Matthelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0A51891-9BF5-44DF-A466-887FB3AAD153>
