comp.lang.ada
 help / color / mirror / Atom feed
From: Joakim Strandberg <joakimds@kth.se>
Subject: Re: Ada Web Application question
Date: Thu, 26 Aug 2021 09:57:24 -0700 (PDT)	[thread overview]
Message-ID: <ec8eef46-e6ca-4ffa-808d-355f797d477dn@googlegroups.com> (raw)
In-Reply-To: <sg8euo$r4d$1@dont-email.me>

torsdag 26 augusti 2021 kl. 18:19:38 UTC+2 skrev björn lundin:
> 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

Thanks Björn again. I reverted the change of ownershipt that I had done 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 GNAT, 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

      reply	other threads:[~2021-08-26 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 15:31 Ada Web Application question Joakim Strandberg
2021-08-26 15:37 ` Björn Lundin
2021-08-26 16:14   ` Joakim Strandberg
2021-08-26 16:19     ` Björn Lundin
2021-08-26 16:57       ` Joakim Strandberg [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox