I am trying to instal flair 3.1-2 on MAC Os 10.14. I went through tutorial on http://flair.web.cern.ch/flair/download.html
When I try to run flair it does not work and when I go to folder I type ./flair I am logged out of the computer.
Could you please send me the line for the alias to flair that you’ve added to your .profile file?
in addition, and in order to check that everything is/is not ok, could you add your flair installation path to your message?
I found that all the time I am running FLUKA instead CERN FLUKA, so I do not have a /bin folder. But I have already registered for CERN one.
I renamed .bash_profile to .profile, thank you for the advice.
When I deleted a space between “flair =”, I can start the flair from every directory, but it still always log me out of the system, when I execute the command. FLAIR should be opened independently on FLUKA (it will just not find path to it). So it is not still working.
and send me the output of it? (if any…)
Is the logging out happening only when you type flair?
I’m wandering since it’s impossible that flair logs you out.
In my view, there are still some errors in your .profile configuration that confuse the system…
If you send me the output of the above mentioned command I might be able to help you.
Otherwise, you can attach your .profile such that I could have a look.
it produces no output. And actually it logged me out before and nothing else ever did it before. But when I did it (even through I previously opened the terminal many times) it started working. Now I can start the FLAIR I can see the interface but it still says:
w> Warning: Geometry Viewer not found
e> ERROR: No module named ‘geoviewer’
So I made this (as you just adviced to @Jason_O ):
This logging out stuff disappeared BUT I just restarted my PC and it is not working again. Instead of logging out, when I type “flair” it freezes the terminal and nothing happens for few minutes now. I can not even quit the process only thing I can do is CMD+Q quit the whole terminal
Concerning the geoviewer installation,
I see, from the txt file that you’ve attached, that you missed to install it.
So you have to type inside the geoviewer folder:
make install DESTDIR=< pathtoflair >
where < pathtoflair > for your case should be:
/Users/davidgancarcik/Downloads/flair-3.1
Now for the other issue, could you please uncomment any export command that you have in your .profile and keep only the alias for flair and then try again?
Please let’s go step by step:
for the logging out issue, is it ok now?
i.e. when you type flair, you’re still logged in?
Now for your other issue, I see, from your makeinfo.log file
that you’re using anaconda for python.
This might be tricky, and I’m guessing that the problem might be originating from there.
As it is advised in the flair’s website, you have to install and use (for flair and geoviewer)
versions of python3 provided by the macports.
Please follow the instructions for the installation as described in the website,
and install the packages under the “Optionally, but strongly recommended” section as well.
I reinstalled operating system and did everything again. Now I finally do not have a problem with opening flair. But I am still unable to install geoviewer. It says “Warning: Geometry Viewer not found”. I am sending output when I “Compile from source”
have you issued the command make install DESTDIR=PATH_FLAIR
in the geoviewer directory?
Replace PATH_FLAIR with the directory path where Flair was expanded.
I was not able to run FLAIR in OsX Mojave, so I just because of this updated to OsX Catalina. Because of this fact I could not find these headers. I tried to google what to do.
I found that this command should show me where the packages are now
xcrun --sdk macosx --show-sdk-path
and it answers:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
So I tried to change your command according to this response but I think it was unsuccessful.
So then I tried your commands and unfortunately it did not help. I am sending the output.