[Gambas-user] Installing a Gambas program independent of the distribution through DIR GB

craf prog at ...2177...
Thu Dec 10 03:59:19 CET 2009


Thank you very much, for your answer,Benoit.

Regards
-----Mensaje original-----
De: Benoît Minisini <gambas at ...1...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Para: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Asunto: Re: [Gambas-user] Installing a Gambas program independent of the
distribution through DIR GB
Fecha: Wed, 9 Dec 2009 20:16:06 +0100


> Hello Benoit.
> 
>  I'm trying to run Gambas on a computer that does not have the component
> packages, based on the help that you gave the user JGuardon, which
> wanted to run Gambas on a USB stick.
>  In one of the points of support, type:
> 
>  2)copy the installation directory Gambas in another folder. Let's name
> it "/my/Gambas/dir".
> 
> Question:
> 
> What installation directory is copied?. Those who are in usr/local/bin,
> usr/local/lib, usr/local/share?, Or the program directory is being
> created.

You must recreate the all hierarchy. For example, if the Gambas installation 
directory is /usr/local, you must copy in your directory all Gambas related 
files, following the same hierarchy:

bin/gb*
bin/gambas
lib/gambas2/*
share/gambas2/*
...


> 
>  At another point he said:
> 
> 3) Create a script like that:
> 
> #!/bin/sh
> export LD_LIBRARY_PATH=/my/ld/dir:$LD_LIBRARY_PATH
> export GB_DIR=/my/gambas/dir
> exec /my/application.gambas
> 
> Question:
> 
> This script, which must be saved to be executed?.

Of course. Otherwise you won't be able to run it!

Regards,




More information about the User mailing list