Not available on Mac anymore

117 views
Skip to first unread message

Pawel K

unread,
Jan 4, 2022, 1:47:34 PM1/4/22
to astrometry
When I type "brew install astrometry-net", I get this:

"Error: astrometry-net: no bottle available!

You can try to install from source with:

  brew install --build-from-source astrometry-net

Please note building from source is unsupported. You will encounter build

failures with some formulae. If you experience any issues please create pull

requests instead of asking for help on Homebrew's GitHub, Twitter or any other

official channels."

Is it not available for the newest Monterey OS anymore?

Thanks

Dustin Lang

unread,
Jan 4, 2022, 2:23:19 PM1/4/22
to Pawel K, astrometry
Hi,
Did you try
brew install --build-from-source astrometry-net
?
cheers,
--dustin

--
You received this message because you are subscribed to the Google Groups "astrometry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astrometry+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/astrometry/488c7333-d224-4a05-851e-26a74b0df86dn%40googlegroups.com.

Dustin Lang

unread,
Jan 4, 2022, 2:27:03 PM1/4/22
to Pawel K, astrometry

Pawel K

unread,
Jan 4, 2022, 4:47:51 PM1/4/22
to astrometry
This is weird because I was using it in Monterey beta...

I tried building it with the command provided by you above but it doesn't seem to work well for me.
Do you know if I can use Catalina bottle somehow?

Dustin Lang

unread,
Jan 5, 2022, 8:44:19 AM1/5/22
to Pawel K, astrometry
Hi,

I'm not in charge of the Homebrew formula any more, so I'm not sure about any of that -- and I still run Catalina on my mac.

Can you please send the result from trying to build from source?  I believe the Homebrew "bottle" production is all automated, so if it doesn't work for you, I doubt that a bottle will magically appear!

cheers,
--dustin




Pawel K

unread,
Jan 8, 2022, 2:46:45 AM1/8/22
to astrometry
After installing from source it doesn't work correctly.

Example:

Pawels-Mac-mini Unprocessed % solve-field --downsample 2 --continue --corr none --match none --solved none --new-fits none --rdls none --index-xyls none --temp-axy  m45.jpeg

Reading input file 1 of 1: "m45.jpeg"...

jpegtopnm: WRITING PPM FILE

Read file stdin: 5804 x 3784 pixels x 1 color(s); maxval 255

Using 8-bit output

Extracting sources...

Downsampling by 2...

simplexy: found 9673 sources.

Solving...

Reading file "/tmp/tmp.axy.ftzXAO"...

Scale range -inf to -inf is invalid: min must be >= 0, max must be >= min.

engine-main.c:324:main: Failed to read job file "/tmp/tmp.axy.ftzXAO"

solve-field.c:518:run_engine engine failed.  Command that failed was:

  /opt/homebrew/bin/astrometry-engine /tmp/tmp.axy.ftzXAO

 ioutils.c:568:run_command_get_outputs Command failed: return value 255

Pawels-Mac-mini Unprocessed % 



Dustin Lang

unread,
Jan 8, 2022, 9:42:21 AM1/8/22
to Pawel K, astrometry
Hi,

Thanks for trying that.  Can I get you to try

brew install --HEAD e--build-from-source astrometry-net


thanks,
--dustin


Pawel K

unread,
Jan 8, 2022, 1:53:43 PM1/8/22
to astrometry
I think you've put "e" in there by accident, so I did this:

Pawels-Mac-mini Unprocessed % brew install --HEAD --build-from-source astrometry-net

Error: No head is defined for astrometry-net


Dustin Lang

unread,
Jan 8, 2022, 4:55:36 PM1/8/22
to Pawel K, astrometry
I just tagged version 0.88 of astrometry.net and submitted a pull request for Homebrew --

You can try copy-pasting the updated URL and shasum from
into your local homebrew file:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/astrometry-net.rb

And then "brew install -s astrometry-net"

cheers,
--dustin


Pawel K

unread,
Jan 8, 2022, 5:03:57 PM1/8/22
to astrometry
There is no such file at this dir, should I create it?
Also can you tell me what exactly I should put into this file?

Thanks!

Dustin Lang

unread,
Jan 8, 2022, 5:14:46 PM1/8/22
to Pawel K, astrometry
No, maybe your homebrew is installed somewhere different... maybe try doing "which brew" (for me: /usr/local/bin/brew) and look around relative to that?

Or just wait a day or two for the homebrew formula to get updated.  I think new bottles will be available then, so no need to build from source.

cheers,
--dustin

Dustin Lang

unread,
Jan 9, 2022, 8:46:38 AM1/9/22
to Pawel K, astrometry
The Homebrew formula has been updated and it now has a bottle for Monterey.  Please let me know if it works for you now after doing a "brew update; brew install astrometry-net".

Thanks,
--dustin

Pawel K

unread,
Jan 9, 2022, 4:25:06 PM1/9/22
to astrometry
Everything works perfectly now.

Thanks a lot!

Reply all
Reply to author
Forward
0 new messages