install ONLY these packages via port: gcc10, pkgconfig, python310, py310-tkinter, py310-matplotlib
(detailed instructions from Flair download page, section Mac OsX)
comment the conda initialisation in your $HOME/.zshrc file
open a new Terminal
delete the old Flair and Geoviewer
download Flair and GeoViewer from the Flair download page, section TAR source code
compile/install GeoViewer, detailed the instructions in Flair download page, section Compile from source)
Inside Flair directory, run Flair with the following command: PYTHON=/opt/local/bin/python3 ./flair
Hi, Dear Luigi in meanwhile I unstalled ports I hit an updating for my mac and before finishing, restarted and install new updates. after that, I think macport doesn’t work properly and I try to install some ports but I tackle new errors, by the way, I decided to reinstall Catalina again.
I do everything that you wrote for me in the last massage, thank you again and I will come back early.
I’m afraid that the compilation flags you used do not work: they produce a geoviewer.so library with no X window module. This explains why you do not see any geometry viewer in Flair.
Thankfully, this helped to pinpoint the issue to a problem in the compilation of geoviewer.
Please run these commands in Geoviewer folder: make clean make >& comp.txt
The last command produces a file named comp.txt.
Could you possibly send it to me?
As follow-up of an off-line discussion, it turns out that the problem is due to compilation optimisation of clang (the concerned flag is yet to be identified).
A compilation in debug mode of GeoViewer module is a temporary workaround:
make clean
make DEBUG=yes
make install DESTDIR=<path to Flair folder>