Re: [fluka-discuss]: flair-geoviewer

From: Horváth Dávid <>
Date: Thu, 21 Feb 2019 19:13:35 +0000

Dear Raveendra,

the error is caused by glibc 2.27, where the pow10() function was replaced with exp10().

You can manually edit the affected lines (7 lines in 4 files), or you can apply the patch attached to this email. Just copy it to the folder where you have the extracted flair-geoviewer's folder. (In your case: /home/local/Softwares/flair-geoviewer/) and use the following command:

patch -p0 < flair-geoviewer-2.3-glibc2.27.patch

After patching there should be any error during compilation. Also, instead of compiling flair-geoviewer manually, you can install the .rpm packages for flair and flair-geoviewer.

One more thing, the DESTDIR option for flair-geoviewer should be added only to the "make install" command.

Kind regards,
Dávid Horváth

Junior Researcher
Radiation Protection
ELI Beamlines

T: +420 266 051 283
M: Za Radnicí 835, 25241 Dolní Bøežany, Czech Republic

From: <> on behalf of Raveendrababu Karnam <>
Sent: 21 February 2019 18:52:19
Subject: [fluka-discuss]: flair-geoviewer

Dear Experts,

I am installing fluka, flair and flair-geoviewer on my fedora 29 linux system. I could successfully install both fluka and flair. But, while I do 'sudo make DESTDIR=/home/local/Softwares/flair-geoviewer/flair-geoviewer-2.3/', I am getting the error [1]. I have installed all the recommended pre-requisites. Could you kindly suggest what is going wrong here?

[local_at_localhost flair-geoviewer-2.3]$ sudo make DESTDIR=/home/local/Softwares/flair-geoviewer/flair-geoviewer-2.3/
make -C optimizer
make[1]: Entering directory '/home/local/Softwares/flair-geoviewer/flair-geoviewer-2.3/optimizer'
c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data > cell_line.d
c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data > pencilbeam.d
c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data > optimizer.d
c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data > pbmatrix.d
c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data > roi.d
c++ -c -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,
../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);
../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);
make[1]: *** [../<>: roi.o] Error 1
make[1]: Leaving directory '/home/local/Softwares/flair-geoviewer/flair-geoviewer-2.3/optimizer'
make: *** [makefile:286: optimizer/liboptimizer.a] Error 2

Thanks & Regards,

You can manage unsubscription from this mailing list at

Received on Thu Feb 21 2019 - 21:42:47 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 21 2019 - 21:42:51 CET