[fluka-discuss]: Problem installing geoviewer for flair

From: Mattias Lantz <Mattias.Lantz_at_physics.uu.se>
Date: Fri, 13 Mar 2015 11:38:40 +0100

Dear Vasili and other flair experts,

I have issues with installing the latest version of flair.
I run on Ubuntu 11.04 (old!) and usually install flair using the .tgz
packages.

So I follow the instructions in the /flair/README.txt file, i.e.:
     tar xzvf flair-2.1-1.tgz
followed by installation to the /usr/local/flair folder, i.e.:
     cd flair-2.1
sudo make install install-bin install-mime

Then:
     tar xzvf flair-geoviewer-2.1-1.tgz
     cd flair-geoviewer
     make
     make install

The last command gives the following output:
     mkdir -p /usr/local/flair
     mkdir -p /usr/local/flair/fonts
     install -m 644 geoviewer.so /usr/local/flair
     install: cannot remove `/usr/local/flair/geoviewer.so': Permission
denied
     make: *** [install] Error 1

If I instead do:
     sudo make install
the result is:
     mkdir -p /usr/local/flair
     mkdir -p /usr/local/flair/fonts
     install -m 644 geoviewer.so /usr/local/flair
     for f in AUTHORS BUGS ChangeLog README; do \
             install -m 644 $f /usr/local/flair/$f.geoviewer; \
         done
     for f in fonts/*.tga;do \
             install -m 644 $f /usr/local/flair/fonts; \
         done


Running the script check_fluka.sh return no complaints, here is the part
about geoviewer:
     Checking flair-geoviewer
         flair version ok (same or higher than 1.1-2)
         flair-geoviewer version 2.1-1
         flair and geoviewer version match

But when starting flair there is a warning message:
     Warning: Geometry Viewer not found

     Error: No module named geoviewer

And geoviewer is certainly not installed when trying to find it in flair.


Any hints on where I go wrong? I have tried removing everything and
installing from scratch again, including fluka, but the result is always
the same.

Best wishes,
Mattias Lantz

-- 
Mattias Lantz - Researcher
??? ?????
Department of Physics and Astronomy
Division of Applied Nuclear Physics
Uppsala University, Box 516
SE - 751 20, Uppsala, Sweden
phone:  +46-(0)18-471-3754
cell:   +46-(0)730-454-384
fax:    +46-(0)18-471-5999
email:  mattias.lantz_at_physics.uu.se
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Mar 13 2015 - 13:24:57 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 13 2015 - 13:25:00 CET