From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a0c:d804:: with SMTP id h4mr5209501qvj.37.1629997045420; Thu, 26 Aug 2021 09:57:25 -0700 (PDT) X-Received: by 2002:a25:b18e:: with SMTP id h14mr6712080ybj.165.1629997045256; Thu, 26 Aug 2021 09:57:25 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 26 Aug 2021 09:57:24 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=188.150.24.77; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 188.150.24.77 References: <61eed3a6-901a-4356-a081-5a8717b93a59n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Ada Web Application question From: Joakim Strandberg Injection-Date: Thu, 26 Aug 2021 16:57:25 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:62551 List-Id: torsdag 26 augusti 2021 kl. 18:19:38 UTC+2 skrev bj=C3=B6rn lundin: > Den 2021-08-26 kl. 18:14, skrev Joakim Strandberg:=20 > > torsdag 26 augusti 2021 kl. 17:37:16 UTC+2 skrev bj=C3=B6rn lundin:=20 > >> Den 2021-08-26 kl. 17:31, skrev Joakim Strandberg:=20 > >>=20 > >>> But the installation had some issue:=20 > >>> make install=20 > >>>=20 > >>> The problem had to do with permissions. T=20 > >> sudo make install=20 > >> gives you root privilegies to install there=20 > >>=20 > >> you enter YOUR password when prompted. not root's=20 > >>=20 > >>=20 > >> --=20 > >> Bj=C3=B6rn=20 > >=20 > > Thanks Bj=C3=B6rn. I tried it first and when I did "sudo make install" = I got the error message "cannot find command gprinstall". Maybe I would nee= d to "cd /root" and then make sure the GNAT compiler is on the PATH for the= root user by editing the .bashrc file but I didn't do go down that path. S= till it's a good advice for somebody else who runs into the same problem. M= aybe it works for them. Strange it didn't work for me.=20 > >=20 > > Best regards,=20 > > Joakim=20 > > > ok I've got gprbuild problems once when I built AWS some years ago=20 > make went well but not install=20 >=20 > gprbuild not in path (or wrong gcc or whatever)=20 >=20 > so - another trick is=20 >=20 > sudo su -=20 > gives you root terminal. (still YOUR pwd to enter)=20 >=20 > export PATH to where it should be for root including gprinstall=20 > then=20 > make install=20 >=20 >=20 >=20 >=20 >=20 > --=20 > Bj=C3=B6rn Thanks Bj=C3=B6rn again. I reverted the change of ownershipt that I had don= e and tried "sudo su -" and discovered I had been editing bort .bashrc and = .profile in the root directory and was pointing out an older version of GNA= T, not Community Edition 2021. Fixing that made it possible to install AWA = withouth permission issues. It also made the error messages from Dynamo go = away. So thanks! It solved the problem. Best regards, Joakim