Installation on Fedora 34

Moderators: cyao, soliday

Post Reply
okayasu
Posts: 1
Joined: 15 Dec 2021, 08:44

Installation on Fedora 34

Post by okayasu » 20 Dec 2021, 03:29

I'm trying to install Elegant on Fedora 34, which is mounted on VMware Workstation 16 Player.
During the Build-AOP-RPMs script, I got error messages;
------------------------------------------------------------------------
Building SDDS RPM package. This may take a minute.
Building target platforms: x86_64
Building for target x86_64
install: cannot stat 'mecho': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.5KNeWR (%install)
Bad exit status from /var/tmp/rpm-tmp.5KNeWR (%install)
New RPM file in ~/rpmbuild/RPMS/x86_64
Cleaning up
Building SDDS DEV RPM package. This may take a minute.
Building target platforms: x86_64
Building for target x86_64
install: cannot stat 'base.h': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.Kqz4mj (%install)
Bad exit status from /var/tmp/rpm-tmp.Kqz4mj (%install)
New RPM file in ~/rpmbuild/RPMS/x86_64
Cleaning up
Building SDDS EPICS RPM package. This may take a minute.
no files matched glob pattern "/home/okayasu/elegant/oagsoftware/epics/extensions/bin/linux-x86_64/*"
while executing
"glob $oagsoftware/epics/extensions/bin/$env(EPICS_HOST_ARCH)/* "
invoked from within
"if {$Build(SDDSEPICS)} {
puts "Building SDDS EPICS RPM package. This may take a minute."

eval exec $sudo wget -q https://ops.aps.anl.gov/..."
(file "Build-AOP-RPMs.tcl" line 1493)
------------------------------------------------------------------------
Refering the previous post;
viewtopic.php?f=11&t=1203&p=4975&hilit=mecho#p4975
I individually installed SDDSToolkit, but it did not work.
Also, some post suggests that installation directory should be somewhere under the home directory,
not network mounted drive.
Thus I tried this way, but did not solve this issue.

If someone know the solution, please tell me.
Also any suggestions are very welcome.

Best regards,
Okayasu

soliday
Posts: 366
Joined: 28 May 2008, 09:15

Re: Installation on Fedora 34

Post by soliday » 21 Dec 2021, 19:11

There are prebuilt RPM packages for Fedora 34 you can download from the Software page. Building it yourself shouldn't be needed unless you plan to use a custom version of MPI for elegant. There was an issue with running this from outside of your home directory. I just fixed this. There is another issue with building the SDDS RPM along with the other RPMs. I will fix this soon, but for now build it separately.

soliday
Posts: 366
Joined: 28 May 2008, 09:15

Re: Installation on Fedora 34

Post by soliday » 21 Dec 2021, 19:18

Also, you should only need three of the packages: SDDS, OAG Tcl/Tk, and Elegant. The others are not used with Elegant.

Post Reply