[Gambas-user] Cannot compile

craf prog at ...2177...
Thu Jul 23 18:17:02 CEST 2009


-----Mensaje original-----
De: Fred Ellis <mr_e at ...2237...>
Reply-to: mailing list for gambas users
<gambas-user at lists.sourceforge.net>
Para: gambas-user at lists.sourceforge.net
Asunto: [Gambas-user] Cannot compile
Fecha: 23 Jul 2009 14:30:47 -0000



This is my first post here, and I'm new to programming.



I saw Gambas and thought I'd investigate as something to try to learn.



I'm using Gambas2 on Linux (PCLOS 2009.1), however Ive hit trouble right at the start.



If I load Gambas2 and open the installed examples, I'm told they are read-only and when I click run, they compile and run as expected.

 

It is a permissions issue.

Open the console and type what is in bold below: 

pepe at ...651...:~$ cd  /usr/local/share/gambas2/ 

then enter the following: 

pepe at ...651...:~$ sudo chown -R
username.username /usr/local/share/gambas2/examples/ 

The username should you have to enter linux.This changes the owner of
the folder to your root user.


However, if I move any of them to my home directory and try to compile and run them, all I see is a message in the bottom left saying "compiling project <whatever project I try>" but nothing runs. Similar if I try to make executable, it prompts for a name and I get a similar message to that above, but nothing happens. Nothing runs and no file appears to be created.



However, If I make the folder in my home, my moved copy, effectively read only by changing the permissions of owner for the folder from 'can view and modify content' to 'can view content', I'm then told that the project is read only (expected) and then if I try to compile it seems to work OK.  



But now, I guess as its read only, there is no make executable option.



I also tried the simple 'hello world' example entering it all from scratch, and the same thing happens. I cannot get it to compile and run.



I guess I'm doing something daft as a new user, but, any ideas anyone?



Thanks.




------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



More information about the User mailing list