From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 17:15:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 049E1A34 for ; Mon, 31 Mar 2014 17:15:38 +0000 (UTC) Received: from mail-oa0-x22a.google.com (mail-oa0-x22a.google.com [IPv6:2607:f8b0:4003:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1380BAD for ; Mon, 31 Mar 2014 17:15:37 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i4so9737277oah.1 for ; Mon, 31 Mar 2014 10:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:message-id:date:to :content-transfer-encoding:mime-version; bh=XGQQlsIkhUpInMuhuQqBahC1HKKWVhPrA32uLrxrDiU=; b=YgfmpiXlfekh01OfOVORpS+JvRa59WPr1nx8td3xEmXTlyyrmj8NZlWVKGdF5WSnqY g4kHTb4jsrsdf410hGwMlHgOsbH26Y46cYAnjnh7JfXfGbH7WDPVCLMDPfX0UcuSLB+r iF89PtqmOsOZjpNs7V8Q6zy7/KfNEGhuomePDCLiA/IktSEcJn09SdXMprVZ+5Hq9mu/ pKaUfUGcMdQbxfsD5aGMxtGzYh79tAcyIsWPSMpxFaVP0aJX9mYf2fB++AY5v6uvd9MA Cq0ElmiUE6gQ6EHsTmH/xbU1HL507zfJGni1Gzi2izMiA6Xe7WQKFB4wd6qU4WArD5dW PTTg== X-Received: by 10.182.148.106 with SMTP id tr10mr2891047obb.65.1396286136614; Mon, 31 Mar 2014 10:15:36 -0700 (PDT) Received: from [192.168.1.64] (pool-71-170-112-253.dllstx.fios.verizon.net. [71.170.112.253]) by mx.google.com with ESMTPSA id gm2sm25237295obb.3.2014.03.31.10.15.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 10:15:36 -0700 (PDT) Subject: lang/nimrod issue: missing forward slash From: Matthew Pherigo Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (11D167) Message-Id: Date: Mon, 31 Mar 2014 12:15:35 -0500 To: "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 17:15:38 -0000 Hey all, I'm having a problem with lang/nimrod that's keeping me from doing any devel= opment at the moment. I think this is an issue created by the person who cre= ated the port (nimrod works fine on my arch linux VM), but I figured I'd che= ck here in case anyone knows a fix. When I try to compile anything from nimrod, the paths calls the compiler wit= h 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/e= tc/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-N= imrod/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-N= imrod/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/MyPr= ojects/Challenges-Nimrod/Mine/nimcache/hello2.o=20 Hint: operation successful (7438 lines compiled; 3.469 sec total; 7.768MB) [= SuccessX] /usr/home/matt/MyProjects/Challenges-Nimrod/Mine/hello2=20 What's your name?=20 Matt Hi, Matt! [matt@Chiyochan /usr/home/matt/MyProjects/Challenges-Nimrod/Mine]$ However, when compiling a project that depends on external libraries, compil= ation completely fails: [matt@Chiyochan /usr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc]$ n= imrod c -r calc1.nim=20 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) Hin= t: '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-N= imrod/Numbers/calc/nimcache/calc1.o usr/home/matt/MyProjects/Challenges-Nimr= od/Numbers/calc/nimcache/calc1.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-N= imrod/Numbers/calc/nimcache/system.o usr/home/matt/MyProjects/Challenges-Nim= rod/Numbers/calc/nimcache/system.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-N= imrod/Numbers/calc/nimcache/strutils.o usr/home/matt/MyProjects/Challenges-N= imrod/Numbers/calc/nimcache/strutils.c clang -c -w -I/usr/local/lib/nimrod -o usr/home/matt/MyProjects/Challenges-N= imrod/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 u= sr/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 u= sr/home/matt/MyProjects/Challenges-Nimrod/Numbers/calc/nimcache/calc1.o=20 clang: error: no such file or directory: 'usr/home/matt/MyProjects/Challenge= s-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 tha= t has to do with these paths. Has anyone else encountered an issue like this= ? --Matt=