[Gambas-devel] Gambas 3 on Ubuntu

Ron ron at ...572...
Wed Jul 22 21:22:27 CEST 2009


David Villalobos Cambronero schreef:
>  http://gambas.sourceforge.net/en/main.html
>
>   
Ok, you are joking are you, I sure hope so?

At first I thought well ok must have missed a document overthere, but not.
Tried these steps before...

This is my result:
---
Done libtool downgrade to 1.5 (was already there because of gambas2)

apt-get install ... as mentioned on the ubuntu doc which is there (and 
currently unavail, thanks to the author ;-)

Get the source:

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

$ ./configure
....
....
config.status: creating Makefile
config.status: creating help/Makefile
config.status: creating config.h

************************************************************

ALL COMPONENTS WILL BE COMPILED

************************************************************

sudo make install

....
....
gb.desktop
gb.eval
gb.gtk
gb.gtk.ext
gb.gtk.svg
gb.gui
gb.image
gb.image.io
gb.net
gb.net.curl
gb.net.smtp
gb.opengl
gb.option
gb.pcre
gb.pdf
gb.qt
gb.qt.ext
gb.qt.kde
gb.qt.kde.html
gb.qt.opengl
gb.qt4
gb.qt4.ext
gb.qt4.opengl
gb.sdl
gb.sdl.sound
gb.v4l
gb.vb
gb.xml
gb.xml.rpc
gb.xml.xslt
Installing the components...
Compiling gb.eval.highlight...
OK
Installing gb.eval.highlight...
Compiling gb.settings...
OK
Installing gb.settings...
Compiling gb.info...
OK
Installing gb.info...
Compiling gb.form...
warning: cannot read component list file: gb.form.list
OK
Installing gb.form...
Compiling gb.form.dialog...
OK
Installing gb.form.dialog...
Compiling gb.form.mdi...
warning: cannot read component list file: gb.form.mdi.list
OK
Installing gb.form.mdi...
Compiling gb.db.form...
warning: cannot read component list file: gb.db.form.list
/home/ron/svn/gambas/trunk/comp/src/gb.db.form/.src/DataConnection.class:24: 
Unknown identifier: Connections
Installing gb.db.form...
Compiling gb.web...
OK
Installing gb.web...
Compiling gb.report...
OK
Installing gb.report...
Compiling gb.chart...
OK
Installing gb.chart...
Compiling gb.mysql...
OK
Installing gb.mysql...
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ron/svn/gambas/trunk/comp'
make[1]: Leaving directory `/home/ron/svn/gambas/trunk/comp'
Making install in app
make[1]: Entering directory `/home/ron/svn/gambas/trunk/app'
make[2]: Entering directory `/home/ron/svn/gambas/trunk/app'
Installing the development environment...
Compiling gambas3...
/home/ron/svn/gambas/trunk/app/src/gambas3/.src/Editor/Connection/FConnectionEditor.class:1393: 
Unknown identifier: DataSource
Compiling gambas-database-manager...
OK
Compiling gbs3...
/home/ron/svn/gambas/trunk/app/src/gbs3/MServerPage.module:15: Syntax error
Installing the scripter...
ln: creating symbolic link `/usr/local/bin/gbs3': File exists
Registering Gambas script mimetype
Registering Gambas server page mimetype
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ron/svn/gambas/trunk/app'
make[1]: Leaving directory `/home/ron/svn/gambas/trunk/app'
Making install in help
make[1]: Entering directory `/home/ron/svn/gambas/trunk/help'
Making install in help
make[2]: Entering directory `/home/ron/svn/gambas/trunk/help/help'
make[3]: Entering directory `/home/ron/svn/gambas/trunk/help/help'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/ron/svn/gambas/trunk/help/help'
make[2]: Leaving directory `/home/ron/svn/gambas/trunk/help/help'
make[2]: Entering directory `/home/ron/svn/gambas/trunk/help'
make[3]: Entering directory `/home/ron/svn/gambas/trunk/help'

Installing the gambas help files...
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/ron/svn/gambas/trunk/help'
make[2]: Leaving directory `/home/ron/svn/gambas/trunk/help'
make[1]: Leaving directory `/home/ron/svn/gambas/trunk/help'
Making install in examples
make[1]: Entering directory `/home/ron/svn/gambas/trunk/examples'
make[2]: Entering directory `/home/ron/svn/gambas/trunk/examples'

Installing the gambas examples...
Compiling Automation/KateBrowser/...
OK
Compiling Automation/Scripting/...
OK
Compiling Basic/Blights/...
OK
Compiling Basic/Collection/...
OK
Compiling Basic/DragNDrop/...
OK
Compiling Basic/Object/...
OK
Compiling Basic/Timer/...
OK
Compiling Control/Embedder/...
OK
Compiling Control/HighlightEditor/...
OK
Compiling Control/TextEdit/...
OK
Compiling Control/TreeView/...
OK
Compiling Database/Database/...
/usr/local/share/gambas3/examples/Database/Database/.src/FTest.class:24: 
Unknown identifier: DataSource
Compiling Database/DataReportExample/...
OK
Compiling Database/PictureDatabase/...
OK
Compiling Drawing/AnalogWatch/...
OK
Compiling Drawing/Barcode/...
OK
Compiling Drawing/Chart/...
OK
Compiling Drawing/Clock/...
OK
Compiling Drawing/Gravity/...
OK
Compiling Drawing/ImageViewer/...
OK
Compiling Drawing/OnScreenDisplay/...
OK
Compiling Drawing/Sensor/...
OK
Compiling Games/BeastScroll/...
OK
Compiling Games/Concent/...
OK
Compiling Games/DeepSpace/...
OK
Compiling Games/GameOfLife/...
OK
Compiling Games/RobotFindsKitten/...
OK
Compiling Games/Snake/...
OK
Compiling Games/Solitaire/...
OK
Compiling Misc/Console/...
OK
Compiling Misc/Evaluator/...
OK
Compiling Misc/Explorer/...
OK
Compiling Misc/Notepad/...
OK
Compiling Misc/PDFViewer/...
OK
Compiling Networking/ClientSocket/...
OK
Compiling Networking/DnsClient/...
OK
Compiling Networking/HTTPGet/...
OK
Compiling Networking/HTTPPost/...
OK
Compiling Networking/SerialPort/...
OK
Compiling Networking/ServerSocket/...
OK
Compiling Networking/UDPServerClient/...
OK
Compiling Networking/WebBrowser/...
OK
Compiling OpenGL/3DWebCam/...
OK
Compiling OpenGL/GambasGears/...
OK
Compiling OpenGL/PDFPresentation/...
OK
Compiling Printing/Printing/...
OK
Compiling Sound/CDPlayer/...
OK
Compiling Sound/MusicPlayer/...
OK
Compiling Video/MoviePlayer/...
OK
Compiling Video/MyWebCam/...
OK
Compiling Video/WebCam/...
OK

Installed without error, it seems! But errors above indicate something 
is a miss.

When I then try to start 'gambas3' I get:

$ gambas3
ERROR: #2 Cannot load class 'Project': Unable to load class file

So which document on the site you mentioned did I overlook?

Regards,
Ron_2nd.

>
> ----- Original Message ----
> From: Ron <ron at ...572...>
> To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
> Sent: Wednesday, July 22, 2009 9:06:01 AM
> Subject: [Gambas-devel] Gambas 3 on Ubuntu
>
>
> I would be happy to start testing with Gambas 3, port my project to it 
> and document the things I need to adjust.
>
> Does anybody has an uptodate apt-get install list to get it compiled on 
> Ubuntu Jaunty 9.04?
> I can't seem to find the right pre-req together.
>
> Thanks in advance.
>
> Regards,
> Ron_2nd.
>   





More information about the Devel mailing list