[Gambas-user] Install problem of 1.9.47 on SUSE 10.2

ron ronstk at ...239...
Sun Feb 18 08:10:52 CET 2007


On Sunday 18 February 2007 00:50, Charlie Reinl wrote:
> Salut Dominique,
>
> I'v read you mail several times, but now I think I'v understood your
> problem.
>
> You look for the gambas application, right ?
>
> Just open a terminal and type 'gambas2.gambas' and the gambas IDE will
> start.
>
> After you can look where it is placed and create your a link on your
> desktop. (/usr/local/bin/gambas2.gambas)

SuSE intercept something at ./configure  

If you did not use './configure -C --prefix=/usr/local' your best place is to 
look in '/opt/gambas' for SuSE, in my case with SuSE 8.2 till 9.2 using
only './configure -C'

SuSE			prefix		nothing
/opt/gambas/bin	/usr/local/bin	/usr/bin

In '/usr/bin' there should be a symlink named 'gambas' or 'gambas2' so
entering in console 'gambas2' should be sufficient.

>
> Even if you don't have all these components.
> You don't need all components, which come with gambas.
>
> Amicalment
> Charlie
>

in attachment a little how-to to add the desktop file and mimetype
It's my old one for SuSE, now using kubuntu and still no 'gambas :(

Ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbr2.desktop
Type: application/x-desktop
Size: 308 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20070218/ecb5d836/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-gambas2.desktop
Type: application/x-desktop
Size: 125 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20070218/ecb5d836/attachment-0001.bin>
-------------- next part --------------
On Monday 01 May 2006 17:32, Leonardo Miliani wrote:
> I would like to ask why I have problems running Gambas executables on my 
> Suse 9.3 & KDE 3.5.2
> 
> When I write a program with Gambas 2 and I create the executable file 
> (Project/Create executable), after that if I click on the generated file 
> from a Konqueror window the program doesn't start (of course, I 
> specified to open it with gb2x),  But if I open a console and I try to 
> type the name of the program,  it starts with no problems....
> Is there any option to specify from Konqueror to get the Gambas 
> executable running?
> 

I did add it to suse9.2 with KDE 3.5.2

Got to Personal Settings
Select KDE Components->File Associations

Press Add...
Select Group:Applications
Type name:x-gambas2

At General tab Click Add...
Enter :*.gambas

Enter in the Description box :Gambas2 executable

At Application Preference Order
click Add..
enter as application gbr2
(do nor browse the tree)
press OK

Select under Application Preference Order your entered app.
click Edit

Go to General tab and enter something usefull

At Application tab
Name:gbr2 (if not there)
Command:gbr2 (if not there)

By supported filetypes there should be
  Application/x-gambas2 
  Gambas Executable


==================================
or you can do next:

in the two .desktop files
replace '/home/ron/.kde/' eventualy to '/opt/kde3/' for system wide. (SuSE)
but check the content in the files for correct paths.

You can put gbr2.dexktop in
/home/ron/.kde/share/applnk/.hidden

You can put x-gambas2.desktop in
/home/ron/.kde/share/mimelnk/application/x-gambas2.desktop

run from commandline: kbuildsycoca
Now it should be working

A click on the 'yourproject.gambas' should start 'yourproject'
==================================

Hope this will help you

Ron 


More information about the User mailing list