[Gambas-user] Cannot compile

Ron_1st ronstk at ...239...
Thu Jul 23 19:15:11 CEST 2009


On Thursday 23 July 2009, craf wrote:
> -----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.

One big note.
Thats wrong to do this way.
If you start edit the working examples you lose you valuable good information.


More correct is to copy the examples directory to you home and then do chown and chmod 

> 
> 
> 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
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 


Best regards,

Ron_1st

-- 

111.111111 x 111.111111 = 12345.678987654321

-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
---
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
---
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 




More information about the User mailing list