lang/nimrod issue: missing forward slash

Tijl Coosemans tijl at coosemans.org
Mon Mar 31 20:14:58 UTC 2014


On Mon, 31 Mar 2014 14:08:55 -0500 Matthew Pherigo wrote:
>> On Mar 31, 2014, at 1:11 PM, Tijl Coosemans <tijl at coosemans.org> wrote:
>>> On Mon, 31 Mar 2014 12:15:35 -0500 Matthew Pherigo wrote:
>>> 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):
>> 
>> Can you make these example program available somewhere so I can try to
>> reproduce this?
> 
> The programs themselves don't make any difference. But, here they are.
> The first one is simply
> echo("Hello, world!")
> 
> The program that has external dependencies is a very incomplete calculator
> program, as follows:
> 
> import strutils
> var a, b, c: float
> var buf: string
> echo("Enter your first number! \n> ")
> buf = readLine(stdin)
> a = ParseFloat(buf)

It seems that nimrod currently requires procfs to be mounted.  I've
attached a patch to avoid that.  You can place it in lang/nimrod/files
and then rebuild the port.  You should also be able to remove
/etc/nimrod.cfg then.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-lib-pure-os.nim
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140331/ac370c6b/attachment.ksh>


More information about the freebsd-questions mailing list