在安装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,-不需要-Wl,-未定义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 -lGeomy -lGeomP -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 -lGCharm -lGElGlGlGlGlGlGlGlGlQL -GlGlSQY -lGMEC -lGNuE -lGNuGamma -lGHadronTransp -lGAlvarezRuso -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:目标“应用”的配方失败
make:*** [apps]错误2
我尝试了GENIE 2.0.0,2.8.0,2.10.0。似乎没有版本问题。
我不知道该怎么办:(
请帮助我。