[Gambas-user] Gambas setup compile and install script.

Benoît Minisini g4mba5 at gmail.com
Wed Oct 14 14:37:26 CEST 2020

Le 14/10/2020 à 14:29, Bruce Steers a écrit :
>     1) I think that it should be able to install Gambas from the "tar.gz"
>     source archive downloadable from the web site too (it's just the one
>     generated by GitLab).
> Okay sure, will offer that option.
> Is it to either download the stable version or the latest beta commits?
> if that's the reason the script already installs git and i'd have to 
> also install curl or something and work on un-achivers.
> also I'd have to extract the websites download file name string from the 
> page as it changes.
> Or i could make the script use 
> https://gitlab.com/gambas/gambas/-/tree/stable as well as 
> https://gitlab.com/gambas/gambas/-/tree/master to offer the choice.
> Or was there another reason to use the tar ball?

The reason is people who do not want to install git on their system.

>     3) "sudo make install" already installs the icon, the desktop
>     launcher... If not, then "make install" should be fixed, instead of
>     having to do its job inside the script.
> I thought that the make install did do that.,
> it set up the menu when installlng on mint and i think debian. but not 
> on my raspberry PI
> Maybe i can leave a message and break out of the "say yes to all" bit at 
> the end, saying it's installed and the menu item "should" be there and 
> to check, and my script can try if the make installed didn't?

"make install" use the xdg commands too. So if yours work but not those 
inside the "Makefile.am" file, then they should be fixed.

>     4) The log of all commands must not be put in "/dev/null". We need
>     it to
>     understand what goes wrong if something goes wrong. Everything
>     should be
>     redirected to a temporary file, that would be available if there is an
>     error.
> My appologies, I had not considered you folks.
> i used it for the ./configure command only but redirected the standard 
> output not the error output. so i could only see the errors and not have 
> to scroll through miles of text looking.
> do you want the >std_output.log as well as 2>error.log 

Do as you like. We just need the full output of the process when 
something fails.


Benoît Minisini

More information about the User mailing list