Error in make in EvtGen [message #10426] |
Thu, 18 March 2010 13:54 |
manoj.jadhav
Messages: 41 Registered: February 2010 Location: Mumbai, India
|
continuous participant |
From: *162.23.19.static-mumbai.vsnl.net.in
|
|
hello all,
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 Jadhav
I.I.T.Bombay
Mumbai
|
|
|
|
Re: Error in make in EvtGen [message #10449 is a reply to message #10427] |
Mon, 22 March 2010 10:47 |
manoj.jadhav
Messages: 41 Registered: February 2010 Location: Mumbai, India
|
continuous participant |
From: 203.78.217*
|
|
hi,
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 Jadhav
I.I.T.Bombay
Mumbai
|
|
|
|
|
|
Error in "make bin" in EvtGen [message #10511 is a reply to message #10457] |
Tue, 06 April 2010 14:11 |
Aleksandra Biegun
Messages: 64 Registered: May 2007 Location: Groningen
|
continuous participant |
From: *KVI.nl
|
|
Dear All,
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":
~/fair/trunk/pgenerators/EvtGen> make bin
gcc -L. -L/home/biegun/fair/cernlib_ab2005/lib/ -L/opt/exp_soft/panda/fairroot/fairsoft/cern/clhep/lib -L/opt/exp_soft/panda/fairroot/fairsoft/tools/root/lib -lRIO -lSQL -lNet -o testEvtGen testEvtGen.o -lEvtGen -lEvtGenModels -lEvtGenBase -lCLHEP -lpythia6205 -lpdflib804 -lpacklib -lmathlib -lphotos202 -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -ldl -lg2c -lnsl -lm -lMathCore -lThread
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l d: cannot find -lSQL
collect2: ld returned 1 exit status
make: *** [bin] Error 1
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 Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
|
|
|
|
|
Re: Error in "make bin" in EvtGen [message #10514 is a reply to message #10513] |
Tue, 06 April 2010 14:33 |
Aleksandra Biegun
Messages: 64 Registered: May 2007 Location: Groningen
|
continuous participant |
From: *KVI.nl
|
|
Hi guys,
thanks for your reply.
I did like Stefano suggested, and now I have a problem with pythia6205, i.e.
~/fair/trunk/pgenerators/EvtGen> make bin
gcc -L. -L/home/biegun/fair/cernlib_ab2005/lib/ -L/opt/exp_soft/panda/fairroot/fairsoft/cern/clhep/lib -L/opt/exp_soft/panda/fairroot/fairsoft/tools/root/lib -lRIO -lNet -o testEvtGen testEvtGen.o -lEvtGen -lEvtGenModels -lEvtGenBase -lCLHEP -lpythia6205 -lpdflib804 -lpacklib -lmathlib -lphotos202 -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -ldl -lg2c -lnsl -lm -lMathCore -lThread
/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
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l d: cannot find -lpythia6205
collect2: ld returned 1 exit status
make: *** [bin] Error 1
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 Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
|
|
|
|
Re: Error in "make bin" in EvtGen [message #10516 is a reply to message #10515] |
Tue, 06 April 2010 17:38 |
Aleksandra Biegun
Messages: 64 Registered: May 2007 Location: Groningen
|
continuous participant |
From: *KVI.nl
|
|
Hi Stefano,
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 Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
|
|
|
|
Re: Error in make in EvtGen [message #10518 is a reply to message #10517] |
Fri, 09 April 2010 13:03 |
manoj.jadhav
Messages: 41 Registered: February 2010 Location: Mumbai, India
|
continuous participant |
From: 203.78.217*
|
|
hello all,
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 Jadhav
I.I.T.Bombay
Mumbai
|
|
|
Re: Error in make in EvtGen [message #10519 is a reply to message #10518] |
Fri, 09 April 2010 13:25 |
manoj.jadhav
Messages: 41 Registered: February 2010 Location: Mumbai, India
|
continuous participant |
From: *162.23.19.static-mumbai.vsnl.net.in
|
|
hello all,
Now problem has been solved by setting path CERN_ROOT in .bashrc .
With Regards,
Manoj Jadhav
I.I.T.Bombay
Mumbai
|
|
|
|
|