Re: [fluka-discuss]: Error while installing FLUKA in Fedora 28

From: Horváth Dávid <David.Horvath_at_eli-beams.eu>
Date: Wed, 1 Aug 2018 18:53:41 +0000

Dear Jyoti,


please try to install the precompiled version of geoviewer. Download the flair-geoviewer-2.3-0.x86_64.rpm package from the website (assuming 64bit OS), and run the following command:


rpm -ivh flair-geoviewer-2.3-0.x86_64.rpm


Kind regards,

David Horvath

________________________________
From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of Saurabh Mukherjee <sxm3816_at_gmail.com>
Sent: 01 August 2018 19:57:46
To: Andrea Fontana
Cc: Jyoti; fluka-discuss
Subject: Re: [fluka-discuss]: Error while installing FLUKA in Fedora 28

Hi all
 I had the same problem. The errors are same as -
http://www.fluka.org/FLUKA/web_archive/earchive/new-fluka-discuss/12084.html

My solution was also similar as the link above- i installed Fedora26 (in virtual Box) and running FLAIR in it.
I paste below the terminal output to the make command (for flair geoviewer).

[mukherjee_at_localhost flair-geoviewer-2.3]$ make
make -C optimizer
make[1]: Entering directory '/home/mukherjee/Downloads/flair-geoviewer-2.3-0(1)/flair-geoviewer-2.3/optimizer'
c++ -c roi.cc -m64 -DUNIX -O4 -funroll-loops -g -DNDEBUG -D_DEBUG=0 -DTHREAD -Wall -Wcast-align -Wcast-qual -Wextra -Wformat -Wpointer-arith -Wredundant-decls -Wshadow -Wno-write-strings -fwrapv -fstack-protector -fpic -I../utils -I../math -I../graph -I../geometry -I../data -fstrict-aliasing
In file included from ../data/eventbin.h:43,
                 from roi.h:19,
                 from roi.cc:11:
../data/usrbin.h: In member function 'double Usrbin::get(double, double, double, bool*) const':
../data/usrbin.h:221:9: error: 'pow10' was not declared in this scope
     v = pow10(v);
         ^~~~~
../data/usrbin.h:221:9: note: suggested alternative: 'powl'
     v = pow10(v);
         ^~~~~
         powl
../data/usrbin.h: In member function 'double Usrbin::get(int, bool*) const':
../data/usrbin.h:228:9: error: 'pow10' was not declared in this scope
     v = pow10(v);
         ^~~~~
../data/usrbin.h:228:9: note: suggested alternative: 'powl'
     v = pow10(v);
         ^~~~~
         powl
make[1]: *** [../rules.mk:209<http://rules.mk:209>: roi.o] Error 1
make[1]: Leaving directory '/home/mukherjee/Downloads/flair-geoviewer-2.3-0(1)/flair-geoviewer-2.3/optimizer'
make: *** [makefile:286: optimizer/liboptimizer.a] Error 2
[mukherjee_at_localhost flair-geoviewer-2.3]$ make install
mkdir -p /usr/local/flair
mkdir -p /usr/local/flair/fonts
install -m 644 geoviewer.so /usr/local/flair
install: cannot stat 'geoviewer.so': No such file or directory
make: *** [makefile:344: install] Error 1
[mukherjee_at_localhost flair-geoviewer-2.3]$

sincerely
saurabh

On Wed, Aug 1, 2018 at 9:37 PM, Andrea Fontana <andrea.fontana_at_pv.infn.it<mailto:andrea.fontana_at_pv.infn.it>> wrote:
Dear Jyoti,
   did you try to install Flair and the Geoviewer from the .tar files?
If you follow the instructions in the README files (and if you have
the pre-requisite software installed) you will compile Flair and the
Geoviewer from the source files. With the rpm you are installing a
pre-built binary.

Please try: in Fedora 28 it should work.

Kind regards,
Andrea


Il 31/07/2018 07:48, Jyoti ha scritto:
Dear FLUKA Experts

While installing FLUKA in Fedora 28, I am facing problem while installing the geoviewer file.
I gave the command:
rpmbuild --rebuild flair-geoviewer-2.3-0.src.rpm
The following error is displayed:
RPM build errors:
    user bnv does not exist - using root
    group dr does not exist - using root
    user bnv does not exist - using root
    group dr does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.cC2oQI (%build)

Kindly tell me how to resolve this issue.

With Regards
Jyoti Garg

--
========================================================================
Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail: andrea.fontana_at_pv.infn.it<mailto:andrea.fontana_at_pv.infn.it>
Via Bassi 6                           web   : www.pv.infn.it/~fontana<http://www.pv.infn.it/~fontana>
27100 PAVIA, Italy
========================================================================
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Aug 01 2018 - 22:01:42 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 01 2018 - 22:01:52 CEST