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

(ubuntu) pgplot giza upgrade issues #42

Open teuben opened 3 years ago

teuben commented 3 years ago

giza is advertised as a pgplot replacement. the good thing: it's all in C and you wouldn't depend on a Fortran-C interface. THe bad thing (for nemo): it doesn't work with yapp_giza (yet).

I normally "apt install pgplot5" and that works. I leave giza alone.

But then my ubuntu box has some dependency somewhere else, and my pgplot5 got deleted, to be replaced by the giza suite.

The apt-mark command can actually hold/unhold packages, but obviously it would be good to fix the reason why yapp_giza is not working.

teuben commented 2 years ago

The new yapp_giza.c is now more functional.

teuben commented 10 months ago

I keep running into my pgplot being re-linked to giza, which causes windows to flash up on the screen and disappear. giza sometimes gets installed "by accident", despite that I don't want it !

sudo apt remove libpgplot0 libcpgplot0

The following packages will be REMOVED: giza-dev libcpgplot0 libpgplot0 libpgsbox7 wcslib-dev

teuben commented 9 months ago

now I see to be removed:

    giza-dev libcpgplot0 libpgplot0 libpgsbox7 wcslib-dev

after which I needed to

   sudo apt install pgplot5

and already linked programs work again. It seem wcslib is the culprit, it forces giza to be installed and pgplot5 to be removed.

teuben commented 9 months ago

An alternative is

  mknemo pgplot

and possibly reconfigure with

  --enable-png

after which

  make build1

should either make commands like tabplot work, or else a new compile with

  mknemo tabplot

test with

   tabgen - | tabplot -