Page 1 of 1

OAGtclsh Issue with SmoothDist6s

Posted: 08 Dec 2020, 14:54
by Billy_Kyle
Hi there,

I recently upgraded to Ubuntu 20.04 from a clean install, and have up to now had no issue with my reinstall of elegant as far as running simulations is concerned. However upon attempting to use the companion script smoothDist6s, I am receiving the following error:

/usr/bin/smoothDist6s: 3: exec: oagtclsh: not found

I attempted to build oagtclsh with the "... build the OAG Tcl/Tk programs and creat. an rpm?" option in the Build-AOP-RPMs.sh found on the APS installation page, but this doesn't seem to have alleviated the issue encountered by smoothDist6s.

Re: OAGtclsh Issue with SmoothDist6s

Posted: 08 Dec 2020, 15:38
by soliday
On Ubuntu 20.04, when I run "sudo alien -i OAGTclTk-1.26-1.ubuntu.20.04.x86_64.rpm"
it creates a simlink from /usr/bin/oagtclsh that points to /usr/bin/tclsh

Re: OAGtclsh Issue with SmoothDist6s

Posted: 10 Dec 2020, 06:59
by Billy_Kyle
This solved my issue, thank you so much!

Re: OAGtclsh Issue with SmoothDist6s

Posted: 06 Aug 2024, 08:43
by Adam_Dixon
Hi,

I am having the same issue since upgrading from ubuntu 20.04 to 22.04. I have downloaded the RPMs for 22.04, but I get an error when trying to install the OAG rpm. The elegant and sdds RPMs installed without any issues.

Here is the error:
Unpacking of 'OAGTclTk-1.28-1.ubuntu.22.04.x86_64.rpm' failed at /usr/share/perl5/Alien/Package/Rpm.pm line 168.

Any help would be appreciated!

Thanks,
Adam

Re: OAGtclsh Issue with SmoothDist6s

Posted: 14 Aug 2024, 15:01
by soliday
I played around with it trying to get it to work with alien. I can get it to get past that problem but it refuses the run the internal script to setup the symlinks. The only thing that seems to really work is to not use alien at all. Instead run:

sudo rpm -ivh <rpmfile>

This will install it and setup the symlinks properly.

Re: OAGtclsh Issue with SmoothDist6s

Posted: 15 Aug 2024, 02:42
by Adam_Dixon
This has worked for me, thanks for the help!