I am not sure how to locate the command you are refering to. I don’t seem to have any files called .profile.
I also installed VirtualBox today and Ubuntu 18.04. I followed the “Only once instructions” and everything seems to have installed. When I open flair I can click the geometry tab and now see interactive blank viewpanels. However, when I try to include a simple geometry it once again crashes with
Segmentation fault (core dumped)
Is there a better chance of success troubleshooting this installation with the VM and Ubuntu?
the .profile file is a file (hidden) in your home directory.
Could you please type:
less ~/.profile
and send me the output?
PS. I would keep the discussion of this thread only for the MacOs case,
since for the VirtualBox installation the cause of the problem might be total different.
Your .profile is exactly as it should be and as I expected.
The problem, from what I can guess,
is that during compilation the correct macport python version is not loaded.
Could you please, in a new terminal, type:
sudo port select --set python3 python37
which python3
If the output of the last will be: opt/local/bin/python3
then, in the same terminal enter the folder where geoviewer was expanded and type:
make clean; make -j DEBUG=yes > newmakeproc.log; make install DESTDIR=PATH_FLAIR
and then try opening flair again and see if everything is ok.
In case of failure again, send us the output file newmakeproc.log
This is normal, since - for reason that we have to figure out -
the system insists on using a python version NOT installed via macports.
Did you try to install a python3 version by NOT using macports?
Especially using DMG installers from python.org?
because if yes this could explain the problem…
the answer is yes.
as described in the installation instructions,
you have to use the python3 version provided by macports.
sure, you can have different ones installed,
BUT flair requires python3 provided by macports (mainly for simplicity)
So please remove any python3 versions that exist under:
/Library/Frameworks/Python.framework/Versions/
i.e.:
sudo port select --set python3 python38
which python3
Now the output of the above should be different than before and equal to:
/opt/local/bin/python3
If yes, then (and always under the same terminal tab) proceed as described before:
make clean; make -j DEBUG=yes > macportpython.log; make install DESTDIR=PATH_FLAIR