Macaulay2 / homebrew-tap

The Macaulay2 tap for Homebrew
7 stars 6 forks source link

Error when calling Macaulay2 package #210

Closed raluvlad10 closed 7 months ago

raluvlad10 commented 7 months ago

I started encountering an error when attempting to call packages in Macaulay2. It used to work fine. However, since the last time it worked, I have updated my computer software. (I am currently using an M1 Mac, with macOS Sonoma 14.3.1.)

I reached out to the IT group at my local institution. A technician there said that he tried to install Homebrew and Macaulay2 on an otherwise empty Mac, and got the same error message. So he believes it's possible that this is an error of Macaulay2 with the newest macOS.

It looks like normaliz is installed in a directory that's not on my PATH. In particular, when attempting to call a package in Macaulay2, I get the following message:

error: could not find normaliz

Moreover, the command

/opt/homebrew/bin/normaliz --help

also gives an error message. See attached.

Macaulay2-error.pdf

mahrud commented 7 months ago

Try reinstalling normaliz:

brew remove --ignore-dependencies normaliz
brew install --build-bottle normaliz
raluvlad10 commented 7 months ago

Hi,

I ran the commands, and got the following error message.

On Fri, Mar 1, 2024 at 9:39 AM Mahrud Sayrafi @.***> wrote:

Try reinstalling normaliz:

brew remove --ignore-dependencies normaliz brew install --build-bottle normaliz

— Reply to this email directly, view it on GitHub https://github.com/Macaulay2/homebrew-tap/issues/210#issuecomment-1972752808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHFO7MUO52GF3OEBBVXQADDYWA5FHAVCNFSM6AAAAABEBLU5GWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSG42TEOBQHA . You are receiving this because you authored the thread.Message ID: @.***>

mahrud commented 7 months ago

You didn't provide an error message. I just uploaded a new version of normaliz and M2, try brew upgrade and let me know if this happens again.

raluvlad10 commented 7 months ago

It works now, thanks!