Open dddlcc opened 1 week ago
Is uHAL installed on that machine? If it's not please follow the installation instructions at https://ipbus.web.cern.ch/doc/user/html/software/install/yum.html (Note: For FW builds you only need uHAL, not the ControlHub)
Once uHAL is installed, then you need to add /opt/cactus/lib
to the LD_LIBRARY_PATH
environment variable, and add /opt/cactus/bin/uhal/tools
to PATH
(also mentioned at https://serenity.web.cern.ch/serenity/emp-fwk/firmware/instructions.html#build-tool )
Thx a lot for your reply. But I have installed the uhal several months ago. As the pictures show, the uahl is in /opt/cactus/bin/uhal/. And use ipbb -h ro check command. There is no "ipbus" command. Is there something I am wrong?
In this case, I think you must have a very old version of ipbb. Can you try exiting the ipbb environment (or opening a new terminal without sourcing ipbb), and then downloading a fresh copy of IPBB following the instructions at https://serenity.web.cern.ch/serenity/emp-fwk/firmware/instructions.html#prerequisites
okkkkk. It solved. Thank you very much for your patience. But I meet another problem: when I run the command "ipbb ipbus gendecoders", it gives error" ERROR: exception caught! stat: path should be string, bytes, os.PathLike or integer, not NoneType". But I am fully doing the operation in the instructinos. Do you know how to solve it?
I use ipbb to build the emp-firmware. command "ipbb ipbus gendecoders" shows there is no ipbus. My ipbb version is ipbb, version 0.5.2. How could I solve it? thx a lot