Re: [fluka-discuss]: flair-geoviewer

From: Raveendrababu Karnam <karnam_at_post.bgu.ac.il>
Date: Sun, 24 Feb 2019 00:22:44 +0200

Dear Dávid,

Thanks a lot for your suggestion. I have applied the patch file. It worked
flawlessly.


Best Regards,
Raveendra.

On Thu, Feb 21, 2019 at 9:13 PM Horváth Dávid <David.Horvath_at_eli-beams.eu>
wrote:

> 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
>
> E: david.horvath_at_eli-beams.eu
> T: +420 266 051 283
> M: Za Radnicí 835, 25241 Dolní Břežany, Czech Republic
>
>
> ________________________________________
> From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on
> behalf of Raveendrababu Karnam <karnam_at_post.bgu.ac.il>
> Sent: 21 February 2019 18:52:19
> To: fluka-discuss_at_fluka.org
> 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?
>
>
> [1]
> [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.cc > cell_line.d
> c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data
> pencilbeam.cc > pencilbeam.d
> c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data
> optimizer.cc > optimizer.d
> c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data
> pbmatrix.cc > pbmatrix.d
> c++ -MM -I../utils -I../math -I../graph -I../geometry -I../data roi.cc >
> roi.d
> 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/local/Softwares/flair-geoviewer/flair-geoviewer-2.3/optimizer'
> make: *** [makefile:286: optimizer/liboptimizer.a] Error 2
>
>
> Thanks & Regards,
> Raveendra.
>
>
>


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Sun Feb 24 2019 - 02:09:16 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 24 2019 - 02:09:22 CET