I have installed flair in a Mac High Sierra and Geoviewer following the instructions Official flair site. I have installed flair-3.0. flair-viewer-3.0 and Fluka in three independent folders. Fluka is running OK, however when I run flair the following error messages appear:
Warning: Geometry Viewer not found
e> ERROR: No module named ‘geoviewer’
Fontconfig warning: ignoring UTF-8: not a valid region tag
yes, I have compiled and installed Geoviewer from source following the instructions in the section Compile from source.
But maybe I haven’t understood the last instruction when it is said that
“replace PATH_FLAIR with the directory path where Flair was expanded.”
Hi Julia,
you need to replace the string PATH_FLAIR with the directory where you have expanded the flair tarfile.
For example, in my case, it would be $ > make install DESTDIR=/Users/luillo/git-repo/flair/flair
Thanks Luigi, I have followed the instructions and I have installed Geoviewer. At the end I have replaced the string PATH_FLAIR with the directory where I have expanded the flair tarfile.
I have the same message when I run flair:
Warning: Geometry Viewer not found
e> ERROR: No module named ‘geoviewer’
Fontconfig warning: ignoring UTF-8: not a valid region tag
When I compile flair with make -j 8, the following warning appears:
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
Dear Julia,
you don’t need to compile flair but only geoviewer.
The error Geometry Viewer not found means that the command make install DESTDIR=PATH_FLAIR
was not successful or that there was a problem in the geoviewer compilation.
Could you possibly check that geoviewer.so exists both in the geoviewer directory and in the flair directory?
Finally, the message ld: warning: text-based stub file ... is a warning, so it can be ignored.
I guess that it’s caused by an old version of the Command Line Tools installed on you Mac.
You may try to reinstall:
Can you change the line 224 of the rules.mk file located in the geoviewer module folder from # LDFLAGS = -dynamiclib
to SOFLAGS = -dynamiclib
and recompile again?
After this change, you should enter the folder where the geoviewer was expanded and type: make clean make
and afterwards, make install DESTDIR=PATH_FLAIR changing the PATH_FLAIR with the directory name where flair was expanded.