GSI Forum - RDF feed
https://forum.gsi.de/index.php
Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10426&th=2768#msg_10426
I have installed pandaroot & set the environment in pandaroot/buildPanda by command . ./config.sh and tried to test EvtGen package
pandaroot/pgenerators/EvtGen
by . configure
when I do make, I am facing following error:
...................
For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
/bin/sh: Syntax error: Bad fd number
make: *** [ar] Error 2
..........................
so please help me out.]]>manoj.jadhav2010-03-18T12:54:18-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10427&th=2768#msg_10427
EvtGen is a headache since the success of its compilation and building depends strongly on the system and compilers you are using. In particular, it is often found complicated to build it on newer systems using gfortran. There are however some tricks and installation tips, which you can find and read on
I would suggest to follow the steps indicated on this Wiki.
Greetings,
Johan.]]>Johan Messchendorp2010-03-18T14:38:34-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10449&th=2768#msg_10449
I have compile with your given site but not successful
Here I am not able to understand this error massage
......................
/bin/sh: Syntax error: Bad fd number
make: *** [ar] Error 2
...................
As far as I understand this /bin/sh is an executable file & we can't read it, so I am not able to understand from where this error is coming?]]>manoj.jadhav2010-03-22T09:47:52-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10450&th=2768#msg_10450
Johan.]]>Johan Messchendorp2010-03-22T10:01:47-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10451&th=2768#msg_10451
The solution should be to remove the /bin/sh file, or better to rename it, and to link the bash to sh.
ln -s /bin/bash /bin/sh
This should fix the problem, we had already this problem two years ago and we have fixed it in this way (even if I was not able to find the old thread in the forum)]]>StefanoSpataro2010-03-22T10:20:52-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10457&th=2768#msg_10457
After make bin I am facing the error which is attached bellow as nohup.out file,
I think there is some linking problem but not able to troubleshoot it.
with regards,]]>manoj.jadhav2010-03-23T09:36:57-00:00Error in "make bin" in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10511&th=2768#msg_10511
has anyone compiled the EvtGen with the new fairsoft?
I would be interested in getting the compiled version
for 64-bit machine and with gcc version 4.3.2.
I am trying compile EvtGen following the instructions
on the wiki and my problem starts when I do "make bin":
I remember that some time ago we could set this flag -lSQL
when we did ". configure", but now this is not the case any more.
I see that all 3 flags: deflinkopt="-lRIO -lSQL -lNet"
are inside the "configure" script, but "-lSQL" not seen in my case.
Could anyone help me with that, please.
Regards,
Ola.
]]>Aleksandra Biegun2010-04-06T12:11:59-00:00Re: Error in "make bin" in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10512&th=2768#msg_10512
as a workaround I edited configure by hand. Then config.mk does not contain -lSQL any more.
Cheers
Olaf.
]]>Olaf Hartmann2010-04-06T12:18:47-00:00Re: Error in "make bin" in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10513&th=2768#msg_10513
in the comfig.mk remove -lSQL, then redo "make" and "make bin" (maybe, before make you have to do a "make clean")]]>StefanoSpataro2010-04-06T12:19:19-00:00Re: Error in "make bin" in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10514&th=2768#msg_10514
thanks for your reply.
I did like Stefano suggested, and now I have a problem with pythia6205, i.e.
Apparently I do not have that library where it should be:
which: no lpythia6205 in (/opt/exp_soft/panda/fairroot/fairsoft/tools/root/bin:/opt/exp_soft/pand a/fairroot/fairsoft/basics/cmake/bin:/home/biegun/bin:/usr/local/bin:/us r/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib /mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin:/opt/exp_soft/bin/svn)
Hmmm...
?
]]>Aleksandra Biegun2010-04-06T12:33:02-00:00Re: Error in "make bin" in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10515&th=2768#msg_10515
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l d: skipping incompatible /home/biegun/fair/cernlib_ab2005/lib//libpythia6205.a when searching for -lpythia6205
]]>StefanoSpataro2010-04-06T12:55:15-00:00Re: Error in "make bin" in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10516&th=2768#msg_10516
indeed, I had wrong libraries.
But also have done the configure with double "gfortran" aguments
insted of "gcc" and "g77".
Anyway, now it works!
Thanks!!
Greetings,
Ola.
]]>Aleksandra Biegun2010-04-06T15:38:18-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10517&th=2768#msg_10517
I made a few small modification in the configuration/Makefile of EvtGen:
1) removed the -lSQL flag in the "configure" file (I expect most of us are using the new fairsoft anyway).
2) when running "configure", I added an additional question, asking for the linker program to use for making the bins. This to avoid the "make gfortran the gcc compiler trick".
3) the EvtGen page on the panda wiki has been adapted accordingly.
Greets,
Johan.]]>Johan Messchendorp2010-04-06T17:41:50-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10518&th=2768#msg_10518
In EvtGen, after make bin it shows error
..........................................
usr/bin/ld: cannot find -l-l
collect2: ld returned 1 exit status
..........................................
I am not able to understand why this error is coming. So please help me in this regards.]]>manoj.jadhav2010-04-09T11:03:50-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=10519&th=2768#msg_10519
Now problem has been solved by setting path CERN_ROOT in .bashrc .
With Regards,]]>manoj.jadhav2010-04-09T11:25:05-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=12138&th=2768#msg_12138
Making EvtGen using gcc-4.6.x fails with the error:
EvtStreamInputIterator.hh:26:11: error: 'ptrdiff_t' does not name a type
Unfortunately I do not have write access in that file, in order to update the repos.
Can someone please do this?
Kind wishes,
m.]]>M.Babai2011-06-27T08:09:32-00:00Re: Error in make in EvtGen
https://forum.gsi.de/index.phpindex.php?t=rview&goto=12140&th=2768#msg_12140
j.]]>Johan Messchendorp2011-06-27T08:46:58-00:00