Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Each new user of a new system uncovers a new class of bugs. -- Kernighan


devel / comp.lang.ada / Ada Web Application question

SubjectAuthor
* Ada Web Application questionJoakim Strandberg
`* Re: Ada Web Application questionBjörn Lundin
 `* Re: Ada Web Application questionJoakim Strandberg
  `* Re: Ada Web Application questionBjörn Lundin
   `- Re: Ada Web Application questionJoakim Strandberg

1
Ada Web Application question

<61eed3a6-901a-4356-a081-5a8717b93a59n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5726&group=comp.lang.ada#5726

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:4a04:: with SMTP id m4mr4790415qvz.42.1629991876203; Thu, 26 Aug 2021 08:31:16 -0700 (PDT)
X-Received: by 2002:a25:582:: with SMTP id 124mr5701610ybf.462.1629991875928; Thu, 26 Aug 2021 08:31:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.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 08:31:15 -0700 (PDT)
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
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <61eed3a6-901a-4356-a081-5a8717b93a59n@googlegroups.com>
Subject: Ada Web Application question
From: joaki...@kth.se (Joakim Strandberg)
Injection-Date: Thu, 26 Aug 2021 15:31:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 37
 by: Joakim Strandberg - Thu, 26 Aug 2021 15:31 UTC

Hi!

Three weeks ago Ada Web Application version 2.3.0 was released and today I thought I'd give it a go. I am on Ubuntu 20.04. Following the instructions at https://github.com/stcarrez/ada-awa:

These steps went well:
git clone --recursive https://github.com/stcarrez/ada-awa.git
cd ada-awa
git checkout tags/2.3.0

sudo apt-get install unzip liblzma-dev libcurl4-openssl-dev
....
sudo apt-get install postgresql-client libpq-dev

../configure --prefix=/usr/local
make

But the installation had some issue:
make install

The problem had to do with permissions. The root user was the owner of /usr/local and I changed the owner of the directory to my own user (I am the only one using my laptop) and then the installation went well. Perhaps it would have been wiser to choose another installation directory? in any case, I am wondering about the dynamo command. It doesn't seem to work. When executing "dynamo help" it outputs:

error: Cannot load configuration file generator.properties
error: Cannot read external commands
Dynamo Ada Generator 1.2.2 - Revision 1095, Stephane Carrez
....

What does one need to do to silence the error messages? Some environment variable I have forgotten to set?

Best regards,
Joakim

Re: Ada Web Application question

<sg8cfa$7rk$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5727&group=comp.lang.ada#5727

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: b.f.lun...@gmail.com (Björn Lundin)
Newsgroups: comp.lang.ada
Subject: Re: Ada Web Application question
Date: Thu, 26 Aug 2021 17:37:14 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <sg8cfa$7rk$1@dont-email.me>
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 15:37:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a3c54ae614c70792a8054f76ccc06b60";
logging-data="8052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fdSzKew1EFkn92h6gn+57"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0)
Gecko/20100101 Thunderbird/78.13.0
Cancel-Lock: sha1:G1zIgb9ES/5cdXRhXTzd7kY+gpA=
In-Reply-To: <61eed3a6-901a-4356-a081-5a8717b93a59n@googlegroups.com>
Content-Language: sv
 by: Björn Lundin - Thu, 26 Aug 2021 15:37 UTC

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

Re: Ada Web Application question

<a7e8574f-d7bc-4e6d-835b-48c7cfe28621n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5728&group=comp.lang.ada#5728

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:d804:: with SMTP id h4mr4995418qvj.37.1629994454886;
Thu, 26 Aug 2021 09:14:14 -0700 (PDT)
X-Received: by 2002:a25:5ec5:: with SMTP id s188mr4010870ybb.465.1629994454679;
Thu, 26 Aug 2021 09:14:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.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:14:14 -0700 (PDT)
In-Reply-To: <sg8cfa$7rk$1@dont-email.me>
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> <sg8cfa$7rk$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a7e8574f-d7bc-4e6d-835b-48c7cfe28621n@googlegroups.com>
Subject: Re: Ada Web Application question
From: joaki...@kth.se (Joakim Strandberg)
Injection-Date: Thu, 26 Aug 2021 16:14:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 24
 by: Joakim Strandberg - Thu, 26 Aug 2021 16:14 UTC

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

Re: Ada Web Application question

<sg8euo$r4d$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5729&group=comp.lang.ada#5729

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: b.f.lun...@gmail.com (Björn 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
Lines: 44
Message-ID: <sg8euo$r4d$1@dont-email.me>
References: <61eed3a6-901a-4356-a081-5a8717b93a59n@googlegroups.com>
<sg8cfa$7rk$1@dont-email.me>
<a7e8574f-d7bc-4e6d-835b-48c7cfe28621n@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: <a7e8574f-d7bc-4e6d-835b-48c7cfe28621n@googlegroups.com>
Content-Language: sv
 by: Björn Lundin - Thu, 26 Aug 2021 16:19 UTC

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

Re: Ada Web Application question

<ec8eef46-e6ca-4ffa-808d-355f797d477dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5730&group=comp.lang.ada#5730

  copy link   Newsgroups: comp.lang.ada
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: i2pn2.org!i2pn.org!aioe.org!feeder5.feed.usenet.farm!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: <sg8euo$r4d$1@dont-email.me>
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> <sg8cfa$7rk$1@dont-email.me> <a7e8574f-d7bc-4e6d-835b-48c7cfe28621n@googlegroups.com> <sg8euo$r4d$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ec8eef46-e6ca-4ffa-808d-355f797d477dn@googlegroups.com>
Subject: Re: Ada Web Application question
From: joaki...@kth.se (Joakim Strandberg)
Injection-Date: Thu, 26 Aug 2021 16:57:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 57
 by: Joakim Strandberg - Thu, 26 Aug 2021 16:57 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor