giovedì 3 gennaio 2008

Gambas2, l'alternativa libera a Visual Basic per Linux

Gambas (http://gambas.sf.net) è un IDE per lo sviluppo in BASIC, per Linux. L'ambiente ricorda moltissimo il noto Visual Basic, e per molti comandi è compatibile con la sua sintassi, anche se la compatibilità al 100% non è il suo obbiettivo.


Perchè usare Gambas?

Con tutti i linguaggi che c'erano su Linux, perchè Gambas? La risposta è molto semplice. Sebbene Linux abbondi di linguaggi di programmazione, non abbonda affatto di ottimi ambienti di sviluppo e di facile uso. Gambas si propone di essere facile da usare e permette anche a chi ha poca esperienza con la programmazione di iniziare a scrivere programmi di una qualche utilità.

Dove trovare Gambas

Gambas può essere scaricato dal suo sito ufficiale http://gambas.sourceforge.net/download.htmlUbuntu Breezy 5.10, che potete scaricare da qui: http://www.ptlug.org/download/packages/gambas2_1.9.23-3_i386.deb (se l'installazione del pacchetto vi dicesse che non avete alcuni pacchetti che dipendono da esso installati, li potete trovare tutti nel repository di Ubuntu, quindi basta installare quelli che mancano). Personalmente consiglio la versione in sviluppo visto che comprende molti componenti essenziali che non si trovano nella versione stabile. dove trovate sia la versione stabile 1.0.14 che la versione in sviluppo 1.9.23. Sul sito troverete sia i sorgenti che i pacchetti già compilati per alcune distribuzioni. Ho personalmente provveduto alla preparazione del pacchetto per


Documentazione

La documentazione che potete trovare su Gambas è per adesso quasi interamente in inglese (a parte quelle che trovate tradotta su Gambas.it) ma è sicuramente un ottimo punto di partenza per iniziare a studiare il linguaggio:

  • A Beginner Guide To Gambas: si tratta di un manuale in formato PDF di circa 400 pagine dove potrete trovare una panoramica completa di tutto l'ambiente, dei controlli, del linguaggio, affrontando problematiche comuni della programmazione, comprendendo anche la gestione degli errori e la programmazione object-oriented.
  • Wiki ufficiale del progetto Gambas: si tratta della documentazione ufficiale del progetto ed è in formato Wiki, in modo che tutti gli sviluppatori possano di volta in volta dare il proprio contributo.
  • Network Programming with Gambas: Tutorial sulla programmazione Socket tramite Gambas.

Risorse Esterne

fonte: ptlug

Ubuntu The official packages are there:
http://packages.ubuntu.com/gutsy/devel/gambas2
But you will find more recent ones there:
http://danicafe.extreblog.com/200709118041_Gambas-packages-for-Ubuntu-Feisty-and-Guadalinex-v41.html

Distributions & Operating Systems

...or does Gambas compile on my system ?

Linux distributions (32 bits)

System Version Status Notes
ArkLinux 0.7.1 OK
Conectiva 10 OK
Debian Woody OK See the README.DEBIAN file in the source package.

Sarge / Sid OK
Fedora Core 3, 4, 5... OK
Gentoo 1.4 OK
Lindowsspire
? Some unresolved problems with QT styles.
Linex
OK
Mandriva 2005 / 2006 / 2007 / 2008 OK
QiLinux 1.2 OK
RedHat 9.0 OK But you must upgrade your Qt library or modify a Makefile.am by hand. See the file README.REDHAT in the source package.

8.0 OK But you must compile the Qt 3.2 library and maybe others. See the file README.REDHAT in the source package.
Slackware 10.1 OK Maybe a little elbow grease is needed...

10 OK

9.1 OK
SuSE 9.x / 10.x OK

9.0 OK Some problems with the way SuSE sets the LANGLC_* system environment variables. and
Xandros 2.0 OK
Ubuntu Dapper / Edgy / Feisty / Gutsy OK

Other Systems/Environments

System/Environment Status Notes
64 bits Linux Bad Gambas cannot work with 64 bits pointers at the moment..
FreeBSD OK Gambas is now part of the official FreeBSD ports.
WARNING: The development version does not compile yet.
Mac OS X / PowerPC Bad Gambas should compile. Anyway, it will crash because of bugs in endianness management. I need an ssh access to a PowerPC computer to fix that!
NetBSD Unknown Work in progress...
Solaris Unknown Gambas now compiles on this system but may not work. I'm waiting for news from users.
Windows Bad The stable version of the Gambas interpreter and compiler compile on CygWin but not the components. Note that programs without GUI can work.

If you succeeded in compiling and/or running Gambas on your system, or if you have problems, write to the mailing-list. I will add any information I receive in the previous table.

Download
READ THESE IMPORTANT NOTES AND THIS PAGE FIRST.

Current Developer Snapshot

You get it from the Subversion repository:

$ mkdir trunk $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ $ cd trunk $ ./reconf-all

Do not forget to install automake and autoconf, otherwise the ./reconf-all script will not work.

Stable Version Source Packages (ChangeLog)

Package Version Format
gambas-2.0.0.tar.bz2 2.0.0 tar.bz2

Gambas presentation

Here is the last presentation I made in Palermo. You can open it with OpenOffice, or use the PDF version with the PdfPresentation OpenGL example included in the Gambas sources.

Presentation Type
presentation-palermo-2007.pdf PDF
presentation-palermo-2007.odp OpenOffice

Binary Packages

NOTE: I didn't make the following packages, as I do not have the time and the knowledge to make them. So, if you have problems with them, contact their respective authors!

NOTE #2: The binary package specifications are located in the documentation wiki.


TiPI (Ti Potrebbe Interessare)
MyLINUXLinks


0 commenti:

Social Bookmarking
Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Linkarena Add to: Favoriten Add to: Seekxl Add to: Kledy.de Add to: Social Bookmarking Tool Add to: BoniTrust Add to: Power Oldie Add to: Bookmarks.cc Add to: Favit Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Folkd Add to: Yigg Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information