[Gambas-user] Question about gambas2/3 on pandaboard and ubuntu 12.04 rc/beta

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Mar 14 13:03:14 CET 2012


Download latest Gambas 3 source, and delete all Gambas related binaries.

sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
/usr/local/bin/gbi3
sudo rm -rf /usr/local/lib/gambas3
sudo rm -rf /usr/local/share/gambas3


Try to compile with (you might need to change "Desktop"):
( ./reconf-all && ./configure -C && make && sudo make install ) >
~/Desktop/compile.log 2>&1

Then send compile.log, maybe there is some hints what is going on.
Do you have problems generally with Qt3/Qt4?

Jussi



On Tue, Mar 13, 2012 at 23:54, Raimondo Giammanco <giamma at ...2790...> wrote:

> Hello,
>
>  I have a pandaboard and had gambas2 happily running on ubuntu 11.04.
>
>  From the moment I had the idea of updating to 11.10, I started having
> problems (described below), and I even tried 12.04 rc but still no go.
>
>  On ubuntu 12.04:
> Linux hostname 3.2.0-1407-omap4 #10-Ubuntu SMP PREEMPT Fri Mar 2 11:17:15
> UTC 2012 armv7l armv7l armv7l GNU/Linux
>
> installed packages:
> ii  gambas2                            2.23.1-1ubuntu3
> Complete visual development environment for Gambas
> ii  gambas2-dev                        2.23.1-1ubuntu3
> Gambas compilation tools
> ii  gambas2-doc                        2.23.1-1ubuntu3
> Gambas documentation
> ii  gambas2-gb-chart                   2.23.1-1ubuntu3
> The Gambas charting component
> ii  gambas2-gb-compress                2.23.1-1ubuntu3
> The Gambas compression component
> ii  gambas2-gb-compress-bzlib2         2.23.1-1ubuntu3
> The Gambas bzlib2 component
> ii  gambas2-gb-compress-zlib           2.23.1-1ubuntu3
> The Gambas zlib compression component
> ii  gambas2-gb-crypt                   2.23.1-1ubuntu3
> The Gambas crypt encription component
> ii  gambas2-gb-db                      2.23.1-1ubuntu3
> Gambas database access common libraries
> ii  gambas2-gb-db-firebird             2.23.1-1ubuntu3
> The Firebird driver for the Gambas database component
> ii  gambas2-gb-db-form                 2.23.1-1ubuntu3
> Gambas database bound controls
> ii  gambas2-gb-db-mysql                2.23.1-1ubuntu3
> The MySQL driver for the Gambas database component
> ii  gambas2-gb-db-odbc                 2.23.1-1ubuntu3
> The Gambas ODBC driver database component
> ii  gambas2-gb-db-postgresql           2.23.1-1ubuntu3
> The PostgreSQL driver for the Gambas database component
> ii  gambas2-gb-db-sqlite3              2.23.1-1ubuntu3
> The Gambas sqlite3 driver database component
> ii  gambas2-gb-desktop                 2.23.1-1ubuntu3
> Gambas Portland project compatibility component
> ii  gambas2-gb-form                    2.23.1-1ubuntu3
> A gambas native form component
> ii  gambas2-gb-form-dialog             2.23.1-1ubuntu3
> A gambas native mdi form component
> ii  gambas2-gb-form-mdi                2.23.1-1ubuntu3
> A gambas native mdi form component
> ii  gambas2-gb-gtk                     2.23.1-1ubuntu3
> The Gambas gtk component
> ii  gambas2-gb-gtk-ext                 2.23.1-1ubuntu3
> The Gambas extended gtk GUI component
> ii  gambas2-gb-gtk-svg                 2.23.1-1ubuntu3
> The Gambas SVG importing component
> ii  gambas2-gb-gui                     2.23.1-1ubuntu3
> The graphical toolkit selector component
> ii  gambas2-gb-image                   2.23.1-1ubuntu3
> A Gambas image effects component
> ii  gambas2-gb-info                    2.23.1-1ubuntu3
> A Gambas information component
> ii  gambas2-gb-net                     2.23.1-1ubuntu3
> The Gambas networking component
> ii  gambas2-gb-net-curl                2.23.1-1ubuntu3
> The Gambas advanced networking component
> ii  gambas2-gb-net-smtp                2.23.1-1ubuntu3
> Gambas component to use smtp protocol
> ii  gambas2-gb-opengl                  2.23.1-1ubuntu3
> The OpenGL component for Gambas
> ii  gambas2-gb-pcre                    2.23.1-1ubuntu3
> The Gambas regexp component
> ii  gambas2-gb-pdf                     2.23.1-1ubuntu3
> The Gambas pdf component
> ii  gambas2-gb-qt                      2.23.1-1ubuntu3
> The Gambas Qt GUI component
> ii  gambas2-gb-qt-ext                  2.23.1-1ubuntu3
> The Gambas extended Qt GUI component
> ii  gambas2-gb-qt-opengl               2.23.1-1ubuntu3
> OpenGL with QT toolkit Gambas component
> ii  gambas2-gb-report                  2.23.1-1ubuntu3
> Gambas report component
> ii  gambas2-gb-sdl                     2.23.1-1ubuntu3
> The Gambas SDL component
> ii  gambas2-gb-sdl-sound               2.23.1-1ubuntu3
> The Gambas SDL component
> ii  gambas2-gb-settings                2.23.1-1ubuntu3
> Gambas utilities class
> ii  gambas2-gb-vb                      2.23.1-1ubuntu3
> The Gambas to Visual Basic(tm) compatibility component
> ii  gambas2-gb-web                     2.23.1-1ubuntu3
> Gambas CGI for web applications component
> ii  gambas2-gb-xml                     2.23.1-1ubuntu3
> Gambas XML component
> ii  gambas2-gb-xml-rpc                 2.23.1-1ubuntu3
> Gambas RPC component
> ii  gambas2-gb-xml-xslt                2.23.1-1ubuntu3
> Gambas XSLT component
> ii  gambas2-ide                        2.23.1-1ubuntu3
> Visual development environment for the Gambas programming language
> ii  gambas2-runtime                    2.23.1-1ubuntu3
> The Gambas runtime
>
> problem invoking gambas2: the gui does not open.
>
> strace gambas2 hangs at:
>
> lstat64("/usr/lib/gambas2/gb.**qt.gambas", {st_mode=S_IFREG|0755,
> st_size=14477, ...}) = 0
> open("/usr/lib/gambas2/gb.qt.**gambas", O_RDONLY) = 7
> fstat64(7, {st_mode=S_IFREG|0755, st_size=14477, ...}) = 0
> mmap2(NULL, 14477, PROT_READ, MAP_PRIVATE, 7, 0) = 0xb6501000
> lstat64("/usr/lib/gambas2/gb.**form.gambas", {st_mode=S_IFREG|0755,
> st_size=1048842, ...}) = 0
> open("/usr/lib/gambas2/gb.**form.gambas", O_RDONLY) = 8
> fstat64(8, {st_mode=S_IFREG|0755, st_size=1048842, ...}) = 0
> mmap2(NULL, 1048842, PROT_READ, MAP_PRIVATE, 8, 0) = 0xb610f000
> brk(0x269000)                           = 0x269000
>
>
>
> So what I did I tried to compile gambas3 (3.0.0) locally, but I have the
> same, it hangs at gb.form.gambas:
>
> .....
> mprotect(0xb5668000, 4096, PROT_READ)   = 0
> brk(0x9ba000)                           = 0x9ba000
> open("/home/giamma/local/lib/**gambas3/gb.qt4.gambas", O_RDONLY) = 4
> fstat64(4, {st_mode=S_IFREG|0755, st_size=15785, ...}) = 0
> mmap2(NULL, 15785, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb678d000
> open("/home/giamma/local/lib/**gambas3/gb.form.gambas", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0755, st_size=643375, ...}) = 0
> mmap2(NULL, 643375, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb55bc000
> brk(0x9db000)                           = 0x9db000
>
>
> Do you think this is an ubuntu problem or is it upstream? I had to add a
> #include<GLES/gl.h> in gambas3-3.0.0/gb.qt4/src/**opengl/CGLarea.cpp, I
> do not know if this is related somehow.
>
> Regards
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> 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