[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] New egg for astronomical calculations
From: |
Rob Altenburg |
Subject: |
Re: [Chicken-users] New egg for astronomical calculations |
Date: |
Sat, 21 Jan 2017 18:37:39 -0500 |
Thanks Mario,
Yep, there was a typo in my release-info that I fixed locally but hadn’t pushed
to GitHub.
It should work now.
I had a little trouble getting the test-new-egg working because it wanted the
openssl egg and
there is apparently an issue with a deprecated openssl library on macOS. I
tried it
on my debian machine though and it worked fine.
The constellation function is from v0.16 of libnova, so apt-get doesn’t install
the current
version. I was aware this was an issue and was debating if I should make ephem
backward
compatible or just document the issue.
(v0.16 is here: git://git.code.sf.net/p/libnova/libnova libnova-libnova)
—
Rob
> On Jan 21, 2017, at 3:28 AM, Mario Domenech Goulart <address@hidden> wrote:
>
> Hi Rob,
>
> On Fri, 20 Jan 2017 22:15:11 -0500 Rob Altenburg <address@hidden> wrote:
>
>> This egg contains bindings to the libnova library which is "a general
>> purpose, double precision, Celestial Mechanics, Astrometry and
>> Astrodynamics library" available under the GNU LPGL.
>>
>> See: https://github.com/RobAltenburg/ephem
>>
>> There is no documentation in the wiki yet, but I’ll work on that.
>>
>> Working on this egg has been a learning process. I’m sure there is
>> much room for improvement.
>> I started this with a limited use in mind: I wanted to see a map of
>> how Pluto has traveled since its discovery.
>> That map is here: https://i.redd.it/bx92vo8mey8y.png (The code to draw
>> the map was done in scheme too).
>
> Whoa, that's nice. Thanks for sharing your code.
>
> I faced two problems:
>
> * The URI for the egg tarball in ephem.release info points a resource
> that does not exist.
>
> I'd suggest using https://github.com/mario-goulart/test-new-egg
>
> Just install it and run:
>
> $ test-new-egg
> https://raw.githubusercontent.com/RobAltenburg/ephem/master/ephem.release-info
>
> * What's the required libnova version? On my system I have 0.14.0 and
> the egg compilation fails with:
>
> error: libnova/constellation.h: No such file or directory
>
> The Debian package for that version doesn't contain that
> constallation.h.
>
> All the best.
> Mario
> --
> http://parenteses.org/mario
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users