我在安装 GENIE 生成器时收到了一些错误消息。我在用 :
ubuntu 18.0.4
gcc 7.3.0
ROOT v6.14.04
gsl v1.1
pythia6 v6.4.28
LHAPDF v5.9.1
log4cpp v1.1.3-1
libxml2 v2.9.2
路径设置和配置设置正在使用:
------------PATH-SETTING-------------
export GENIE=/home/feng/Desktop/genie/GENIE-master
export ROOTSYS=/home/feng/Desktop/Support/root_v6.14.04.source/ROOT
source /home/feng/Desktop/Support/root_v6.14.04.source/ROOT/bin/thisroot.sh
export PYTHONPATH=$PYTHONPATH:$ROOTSYS/lib
export PYTHIA6=/home/feng/Desktop/Support/pythia6428/lib
export LHAPATH=/home/feng/Desktop/Support/lhapdf_5.9.1.orig/LHAPDF
export LHAPDF_INC=/home/feng/Desktop/Support/lhapdf_5.9.1.orig/LHAPDF/include
export LHAPDF_LIB=/home/feng/Desktop/Support/lhapdf_5.9.1.orig/LHAPDF/lib
export LD_LIBRARY_PATH=/usr/lib:\LDLIBRARYPATH
export LD_LIBRARY_PATH=/home/feng/Desktop/Support/lhapdf_5.9.1.orig/LHAPDF/lib:\LDLIBRARYPATH
export LD_LIBRARY_PATH=/home/feng/Desktop/Support/pythia6428/lib:\LDLIBRARYPATH
export LD_LIBRARY_PATH=/home/feng/Desktop/Support/root_v6.14.04.source/ROOT/lib:\LDLIBRARYPATH
export LD_LIBRARY_PATH=/home/feng/Desktop/genie/GENIE-Generator_v2.10.0/lib:\LDLIBRARYPATH
---------------CONFIGURE-SETTING-------------
#!/bin/bash
./configure \
--enable-gsl \
--prefix=/home/feng/Desktop/genie/GENIE-master/GENIE \
错误信息如下。
** 构建 gevgen g++ -g -Wl,--no-as-needed -Wl,--no-undefined gEvGen.o -L/home/feng/Desktop/Support/root_v6.14.04.source/ROOT/lib -lGui -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTDataFrame -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -pthread -lm -ldl -rdynamic -lMinuit -lGeom -lEG -lEGPythia6 -lGenVector -L/home/feng/Desktop/Support/pythia6428/lib -lPythia6 -L/home/feng/Desktop/Support/lhapdf_5.9.1。orig/LHAPDF/lib -lLHAPDF -L/usr/lib/x86_64-linux-gnu -lxml2 -L/usr/local/lib -llog4cpp -lnsl -L/home/feng/Desktop/genie/GENIE-master/lib - lGMessenger -lGRegistry -lGAlgorithm -lGInteraction -lGHEP -lGBase -lGnumerical -lGUtils -lGPDG -lGBaryonResonance -lGEVGCore -lGEVGDrivers -lGNtuple -lGGeo -lGFluxDrivers -lGPDF -lGElFF -lGDecay -lGFragmentation -lGnuclear -lGLlewellynSmith -lGCrossSections -iGGBUU -lGCharm lGReinSehgal -lGQPM -lGBodekYang -lGEVGModules -lGQEL -lGRES -lGDIS -lGCoh -lGDfrc -lGMEC -lGnuE -lGNuGamma -lGHadronTransp -lGAlvarezRuso -lGBergerSehgal -lGSingleKaon -lGMuELoss -o /home/feng/Desktop/genie/GENIE-master/bin/格夫根-lGBergerSehgal -lGSingleKaon -lGMuELoss -o /home/feng/Desktop/genie/GENIE-master/bin/gevgen-lGBergerSehgal -lGSingleKaon -lGMuELoss -o /home/feng/Desktop/genie/GENIE-master/bin/gevgen
gEvGen.o:在函数“_GLOBAL__sub_I_gEvGen.cxx”中:
gEvGen.cxx:(.text.startup+0x40): 未定义对 `log4cpp::Appender::AppenderMapStorageInitializer::AppenderMapStorageInitializer()' 的引用
gEvGen.cxx:(.text.startup+0x47): 未定义引用`log4cpp::Appender::AppenderMapStorageInitializer::~AppenderMapStorageInitializer()'
collect2:错误:ld 返回 1 个退出状态
Makefile:85: 目标“/home/feng/Desktop/genie/GENIE-master/bin/gevgen”的配方失败
make[1]: *** [/home/feng/Desktop/genie/GENIE-master/bin/gevgen] 错误 1
make[1]: 离开目录 '/home/feng/Desktop/genie/GENIE-master/src/Apps'
Makefile:257:目标“应用程序”的配方失败
制作:*** [应用程序] 错误 2
我已经尝试过 GENIE 2.0.0、2.8.0、2.10.0。好像不是版本问题。
我不知道该怎么办 :(
请帮我。