kazuakiyama / homebrew-pgplot

A homebrew formula for Caltech's PGPLOT, deprecated from brew-core
8 stars 4 forks source link

PGPlot error #1

Closed ecylchang closed 1 year ago

ecylchang commented 2 years ago

Hello,

I was installing pgplot on my computer with comment "brew install kazuakiyama/pgplot/pgplot".

However, there is an error during the installation. the error message says "No such file or directory - pgwin_server"

My computer is Mac OS Monterey 12.4 and M1 Pro chip.

Also I have installed the XQuarz on my computer.

Do you have any idea how to solve this, or do you know where I could download the PGPlot source code?

Thanks.

kazuakiyama commented 2 years ago

Hi,

Sorry that it didn’t work for you. I don’t know how to fix it as I haven’t tested yet in any of MacOS with M1 or M2 chips or MacOS with intel’s chips later than Catalina. Do you know in general PGPLOT works with these latest macOS with M chips if manually installed? This may give a clue to how to fix this brew formula for the latest macOS.

On Jun 28, 2022, at 5:49 AM, Yu-Ling Chang @.***> wrote:

Hello,

I was installing pgplot on my computer with comment "brew install kazuakiyama/pgplot/pgplot".

However, there is an error during the installation. the error message says "No such file or directory - pgwin_server"

My computer is Mac OS Monterey 12.4 and M1 Pro chip.

Also I have installed the XQuarz on my computer.

Do you have any idea how to solve this, or do you know where I could download the PGPlot source code?

Thanks.

— Reply to this email directly, view it on GitHub https://github.com/kazuakiyama/homebrew-pgplot/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEOOOBPX4JWJ763EMNGHJM3VRLDDBANCNFSM52BRAQOQ. You are receiving this because you are subscribed to this thread.

rmutel commented 1 year ago

I have the same error. I wonder if there's been any resolution.

kazuakiyama commented 1 year ago

Hi, I recently upgraded my macOS to Monterey, and just found that indeed there is an issue with the installation in Monterey even on intel's chip. I won't have time now for competing projects and I don't use PGPLOT (and difmap) anymore. Anyway I will see it when I have time sometime this month. In the meantime, you can check what's wrong by following what the brew formula does. The brew formula just applies some patches and compiles the library in a standard way. Let me know if you identify the origin.

kazuakiyama commented 1 year ago

@rmutel @ecylchang Hi I found what was the issues. It is related to a recent upgrade in the Xcode and associated c compilers. https://trac.macports.org/ticket/61343

I modified the formula to add a new patch to fix these issues. Can you check if you can install it?

rmutel commented 1 year ago

Hi Kazu,

It worked perfectly, thanks so much for your help! I haven't used homebrew very much, so it would have been a nasty business to solve.

Now on to difmap...

Robert

p.s. Say Hi to Colin.

On Thu, Dec 1, 2022 at 11:30 AM Kazu Akiyama @.***> wrote:

@rmutel https://github.com/rmutel @ecylchang https://github.com/ecylchang Hi I found what was the issues. It is related to a recent upgrade in the Xcode and associated c compilers. https://trac.macports.org/ticket/61343

I modified the formula to add a new patch to fix these issues. Can you check if you can install it?

— Reply to this email directly, view it on GitHub https://github.com/kazuakiyama/homebrew-pgplot/issues/1#issuecomment-1334113317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AET7PTKCJIM4VOGCJSFKODTWLDODZANCNFSM52BRAQOQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Robert Mutel Professor of Astronomy http://astro.physics.uiowa.edu/faculty/robert_mutel_4.html (Emeritus) Department of Physics and Astronomy http://astro.physics.uiowa.edu University of Iowa 319-335-1950

Caelum videre iussit, et erectos ad sidera tollere vultus. He bid them look at the sky and lift their faces to the stars. --Ovid, Metamorphoses 1. 85-8

rmutel commented 1 year ago

FYI: Difmap installed perfectly from the brew command. This is the first time I've been aware of a successful install of difmap on a Mac without hours of tangled library/path issues. I've used difmap quite often and find it very handy for quick display/editing/mapping of VLBI data, much more pleasant than AIPS. It runs lightning fast on my M1 MB Air.

Thanks again,

Robert

On Thu, Dec 1, 2022 at 8:30 PM Robert Mutel @.***> wrote:

Hi Kazu,

It worked perfectly, thanks so much for your help! I haven't used homebrew very much, so it would have been a nasty business to solve.

Now on to difmap...

Robert

p.s. Say Hi to Colin.

On Thu, Dec 1, 2022 at 11:30 AM Kazu Akiyama @.***> wrote:

@rmutel https://github.com/rmutel @ecylchang https://github.com/ecylchang Hi I found what was the issues. It is related to a recent upgrade in the Xcode and associated c compilers. https://trac.macports.org/ticket/61343

I modified the formula to add a new patch to fix these issues. Can you check if you can install it?

— Reply to this email directly, view it on GitHub https://github.com/kazuakiyama/homebrew-pgplot/issues/1#issuecomment-1334113317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AET7PTKCJIM4VOGCJSFKODTWLDODZANCNFSM52BRAQOQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Robert Mutel Professor of Astronomy http://astro.physics.uiowa.edu/faculty/robert_mutel_4.html (Emeritus) Department of Physics and Astronomy http://astro.physics.uiowa.edu University of Iowa 319-335-1950

Caelum videre iussit, et erectos ad sidera tollere vultus. He bid them look at the sky and lift their faces to the stars. --Ovid, Metamorphoses 1. 85-8

-- Robert Mutel Professor of Astronomy http://astro.physics.uiowa.edu/faculty/robert_mutel_4.html (Emeritus) Department of Physics and Astronomy http://astro.physics.uiowa.edu University of Iowa 319-335-1950

Caelum videre iussit, et erectos ad sidera tollere vultus. He bid them look at the sky and lift their faces to the stars. --Ovid, Metamorphoses 1. 85-8

kazuakiyama commented 1 year ago

Glad that helps! I'm no longer actively using DIFMAP as EHT collaborations use newer imaging techniques, but please ping me when you see my formula is outdated and doesn't catch up with the latest version. I'd be happy to update the formula for you.