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=-1.9 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=c3=b6rn_Lundin?= Newsgroups: comp.lang.ada Subject: Re: Ada Web Application question Date: Thu, 26 Aug 2021 18:19:35 +0200 Organization: A noiseless patient Spider Message-ID: References: <61eed3a6-901a-4356-a081-5a8717b93a59n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 26 Aug 2021 16:19:36 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a3c54ae614c70792a8054f76ccc06b60"; logging-data="27789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3BWIKli5bFSUk1aGi4mJ2" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cancel-Lock: sha1:QzR0eaygg84Y9qdAYNE8lgKc37s= In-Reply-To: Content-Language: sv Xref: reader02.eternal-september.org comp.lang.ada:62550 List-Id: Den 2021-08-26 kl. 18:14, skrev Joakim Strandberg: > torsdag 26 augusti 2021 kl. 17:37:16 UTC+2 skrev björn lundin: >> Den 2021-08-26 kl. 17:31, skrev Joakim Strandberg: >> >>> But the installation had some issue: >>> make install >>> >>> The problem had to do with permissions. T >> sudo make install >> gives you root privilegies to install there >> >> you enter YOUR password when prompted. not root's >> >> >> -- >> Björn > > Thanks Björn. I tried it first and when I did "sudo make install" I got the error message "cannot find command gprinstall". Maybe I would need 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. Still it's a good advice for somebody else who runs into the same problem. Maybe it works for them. Strange it didn't work for me. > > Best regards, > Joakim > ok I've got gprbuild problems once when I built AWS some years ago make went well but not install gprbuild not in path (or wrong gcc or whatever) so - another trick is sudo su - gives you root terminal. (still YOUR pwd to enter) export PATH to where it should be for root including gprinstall then make install -- Björn