Документ взят из кэша поисковой машины. Адрес оригинального документа : http://theory.sinp.msu.ru/pipermail/comphep-common/2006/000120.html
Дата изменения: Thu Apr 18 22:50:41 2013
Дата индексирования: Fri Feb 28 06:32:24 2014
Кодировка:
[Comphep-common] New error about cernlib

[Comphep-common] New error about cernlib

João Esteves joao.m.esteves at netcabo.pt
Fri May 26 01:38:42 MSK 2006


Hi

I understand  I had to install isajet and isatools. There is no error on 
lisajet now.
But the previous error on lg2c appears again. It seems that, on the previous 
compilation, it exited before encountered this.
I'm quite sure I've updated the $CLIBS variable.
Here is a copy and paste from "configure" file:

echo $CC     > CC
echo $CFLAGS > CFLAGS
echo $CLIBS  > -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ > CLIBS

After "./configure" I get:

Checking OS and C-compiler ...     OS=Linux, CC=gcc
Checking char type...signed.
Checking long type...long is 4 bytes.
Cheking X11 libs ...OK
Checking CERNlibs...basename: extra operand 
`/usr/lib/cernlib/2005/lib/libisajet758.so.2'
Tente `basename --help' para mais informação.
OK
./configure: line 325: -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/: No such 
file or directory.

Can you give some help on this? Maybe is something really trivial, but I don't 
see what the problem is.

Regards.
Joao



>
> The error disappeared, and I've updated also the CERNLIB path variable to
>
> CERNLIB=/usr/lib/cernlib/2005/lib
>
> This made the warning about cernlib to disappear also, but now, after
> "make" there is a new error:
>
> "make[1]: Entering directory `/root/comphep-4.4.3/src/plot'
> gcc -Wall -DNUM_DOUBLE -DCOMPHEP -o /root/comphep-4.4.3/tab_view.exe
> view_tab.o -L/root/comphep-4.4.3/lib -L/usr/lib/cernlib/2005/lib -lisajet
> -lmathlib -lX11 -lm -lnum -lserv
> /usr/bin/ld: cannot find -lisajet
> collect2: ld returned 1 exit status
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/root/comphep-4.4.3/src/plot'
> make: *** [compile] Error 2"
>
> I have installed in my system cernlib, cernlib-devel, cernlib-utils and
> cernlib-packlib, all version 2005-13.fc5.i386.
> I really need cernlib, because I want to do some calculations in RPVSSM.
>
> Thanks and regards.
> Joao
>
> > On Wed, 2006-05-24 at 20:15 +0100, João Esteves wrote:
> >> Hello:
> >>
> >> I'm trying to install CompHep 4.4.3 in Fedora 5 and I get 1 warning and
> >> one
> >> error.
> >> The warning appears after ./configure and is related with CERN library.
> >> I have
> >> cernlib installed and updated CERNLIB path variable in "configure"
> >> to /usr/bin, where I have cernlib.sh installed, but the warning
> >> continues.
> >>
> >> The error appears after "make" and it is the following:
> >>
> >> "/usr/bin/ld: cannot find -lg2c
> >> collect2: ld returned 1 exit status
> >> make: *** [link] Error 1
> >> [root at localhost comphep-4.4.3]# "
> >>
> >> Could you give some help on this, please?
> >>
> >> Regards.
> >> Joao
> >>
> >> _______________________________________________
> >> Comphep-common mailing list
> >> Comphep-common at theory.sinp.msu.ru
> >> http://theory.sinp.msu.ru/mailman/listinfo/comphep-common
> >
> > --
> > Alexander Kryukov <kryukov at theory.sinp.msu.ru>
> > SINP MSU
>
> _______________________________________________
> Comphep-common mailing list
> Comphep-common at theory.sinp.msu.ru
> http://theory.sinp.msu.ru/mailman/listinfo/comphep-common




More information about the Comphep-common mailing list