teuben / nemo

a Stellar Dynamics Toolbox (Not Everybody Must Observe)
https://astronemo.readthedocs.io
GNU General Public License v2.0
59 stars 42 forks source link

configure with pgplot detection now flawed #82

Open teuben opened 3 years ago

teuben commented 3 years ago

It should auto-detect pgplot, and if failing, fall back to ps. If ps or pgplot is set, enforce it. If with-pgplot-prefix=PGPLOT_DIR is set, use that, but fail, if not found.

It seem for both redhat (/usr/share/pgplot) and debian (/usr/lib/pgplot5) the default detections were missing.

We also need defaults for Mac on brew and port.

@ParkerTewell

jcldc commented 2 years ago

I struggled to fix some compilations issues on pgplot, but now it starts to work again ! At least I have xwin driver. It works on linux and mac. All problems came from the changement to gcc10 (see https://gcc.gnu.org/gcc-10/porting_to.html)

Here is a screenshot of pgdemo4 running on Macos (intel) and compiled using gcc-11 I have to figure out how to compile gidriv.f and ppdriv.f and it should be ok for nemo installation

image

teuben commented 2 years ago

what happened to "brew install pgplot" ?

jcldc commented 2 years ago

Actually it does install/work using macport. But it does not compile anymore from NEMO installation, neither from Linux or Mac.

teuben commented 2 years ago

Should also add that "giza" is now quite functional, sans the ease of opening different yapp=N/xs windows. --with-yapp=giza would be the configure option.