[Gambas-user] Executable location in package for gb.web.gui

Bruce Steers bsteers4 at gmail.com
Fri Jan 6 12:27:45 CET 2023


On Fri, 6 Jan 2023, 08:35 Safiur Rahman, <isafiur at gmail.com> wrote:

> Hi
>
> The default location of executable while packaging for ubuntu should be in
> /usr/lib/cgi-bin
>
> From ubuntu 20.04 and onwards this is the default location for chi scripts.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>

But not on all systems.
I like that it compiles to project directory.

If you go to the make executable dialog there is a "run command after"
option to run a shell script.
Just pop
"cp $(FILE) /usr/lib/cgi-bin"
In the textbox and the compiled exe will opt there.

Isn't /usr/lib a protected system folder that will need root pw each time?

My mint (Ubuntu) does not have a cgi-bin dir in /usr/lib so I do not know
where you got that "default"

I put mine in /var/www/html/cgi-bin not /usr/lib

It will be different for others.
Best keep the"default" location as project dir and if you want elsewhere cp
it there as mentioned above.

Respects
BruceS

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230106/7dd188fe/attachment.htm>


More information about the User mailing list