After installing those libraries, the executable should now run!
A similar procedure can be performed for Intel machines as well by replacing the "armhf" with "i386".
Thank you for posting this Bo, I had this issue several times and it was diffcult for me to find.
How could I find the corresponding date for: "The monday of 2 weeks ago" "The next sunday" "The last day of the current/next/prev month ?"
The monday of 2 weeks ago ... either now/weekday = 1 [now - 14][now - (6 + now/weekday)] The next sunday ... either now/weekday = 7 [now + 7][now + (7 - now/weekday)] The last day of the current/next/prev month ... http://www.rebol.org/view-script.r?script=date-time.r
Giuseppe, individual date calcs are relatively easy. Designing a dialect to interpret human expressions of them is more work, though still doable. I have a number of things that do part of it, but no complete, open system I can post.
Watch for boundary issues. Here are a couple helpers that show what I mean.
set 'last-day-of-month func [date /local d] [ d: date d/day: 1 d/month: d/month + 1 d: d - 1 d ]
set 'same-day-next-month func [date /local d] [ d: date d/month: d/month + 1 if d/day < date/day [d: d - d/day] d ]
Ashley, how if I need to calculate a generic monday of N weeks AGO or sunday of N weeks in the future ?