OAGtclsh Issue with SmoothDist6s

Moderators: cyao, soliday

Post Reply
Billy_Kyle
Posts: 4
Joined: 02 Oct 2018, 16:01

OAGtclsh Issue with SmoothDist6s

Post by Billy_Kyle » 08 Dec 2020, 14:54

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.

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

Re: OAGtclsh Issue with SmoothDist6s

Post by soliday » 08 Dec 2020, 15:38

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

Billy_Kyle
Posts: 4
Joined: 02 Oct 2018, 16:01

Re: OAGtclsh Issue with SmoothDist6s

Post by Billy_Kyle » 10 Dec 2020, 06:59

This solved my issue, thank you so much!

Adam_Dixon
Posts: 16
Joined: 05 Nov 2021, 08:33

Re: OAGtclsh Issue with SmoothDist6s

Post by Adam_Dixon » 06 Aug 2024, 08:43

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

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

Re: OAGtclsh Issue with SmoothDist6s

Post by soliday » 14 Aug 2024, 15:01

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.

Adam_Dixon
Posts: 16
Joined: 05 Nov 2021, 08:33

Re: OAGtclsh Issue with SmoothDist6s

Post by Adam_Dixon » 15 Aug 2024, 02:42

This has worked for me, thanks for the help!

Post Reply