[Gambas-user] Installed Gambas3 using the current version of Debian Wheezy

gambas3 at ...3385... gambas3 at ...3385...
Tue Oct 28 01:59:07 CET 2014


 

Reported by ptaylor2... at ...626... [5], Oct 24 (2 days ago) 

I am
having a issue with compiling the current version of Gambas on the
current version of Debian wheezy. I read through all the messages posted
in the mailist and that all the required library files are installed.

I
also tried installing all the different distribution available from the
web site. Maybe someone can please tell me how I can fix this issue?

I
ran this to install it from the source code.

./reconf-all &&
./configure -C && make && sudo make install

Compiling
Multimedia/WaveGenerator/...
gbc: error: Component not found:
gb.media
Compiling Multimedia/WebCam/...
OK
Compiling
Networking/ClientSocket/...
OK
Compiling
Networking/DnsClient/...
OK
Compiling
Networking/HTTPGet/...
OK
Compiling Networking/HTTPPost/...
OK
Compiling
Networking/POPMailbox/...
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/Md2Model/...
OK
Compiling
OpenGL/NeHeTutorial/...
OK
Compiling
OpenGL/NeHeTutorialShell/...
OK
Compiling
OpenGL/PDFPresentation/...
OK
Compiling
OpenGL/TunnelSDL/...
OK
Compiling Printing/Printing/...
OK
Compiling
Printing/ReportExample/...
OK
Compiling Web/SmallWiki/...
OK
make[2]:
Nothing to be done for `install-data-am'.
make[2]: Leaving directory
`/home/phil/install3/trunk/examples'
make[1]: Leaving directory
`/home/phil/install3/trunk/examples'
Making install in .
make[1]:
Entering directory `/home/phil/install3/trunk'
make[2]: Entering
directory `/home/phil/install3/trunk'

||
|| Unable to compile
gb.media.form
||

make[2]: Nothing to be done for
`install-data-am'.
make[2]: Leaving directory
`/home/phil/install3/trunk'
make[1]: Leaving directory
`/home/phil/install3/trunk'
root at ...57...:/home/phil/install3/trunk# 


Oct 24 (2 days ago) Delete comment [6] #1 [7] ptaylor2... at ...626... [5]


Here is update on what I did

I followed the steps here
http://howtogambas.org/data/attachment.php?id=43&keep_session=1518467502&for_session=1e00d6bc86700b41f2c357a3cabba0a1
[1]

sudo apt-get update
sudo apt-get install build-essential autoconf
libbz2-dev libfbclient2 libmysqlclient-dev unixodbc-
dev libpq-dev
libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libldap2-dev
libcurl4-
gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev
libsdl-mixer1.2-dev libsdl-image1.2-
dev libsage-dev libxml2-dev
libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-
dev
libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev
libesd0-dev
libdirectfb-dev libaa1-dev libxtst-dev libffi-dev
kdelibs5-dev firebird-dev libqt4-dev libglew-dev
libimlib2-dev
libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev
linux-libc-dev
libgsl0-dev libncurses5-dev libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev libcairo2-
dev libgmime-2.6-dev
llvm-3.1-dev

./reconf-all
./configure -C
make
sudo make install

I got
the error message included above.

 Oct 25 (2 days ago) Delete comment
[6] #2 [8] ptaylor2... at ...626... [5] 

I was able to load gambas3 from
from the debian file list but when I try and run it I am getting
this.

gambas3
ERROR: #2: Cannot load class '.Table.Fields': Cannot load
parent class: Cannot load class '.SubCollection': Unable to load class
file

 Oct 25 (2 days ago) Project Member #3 [9] tabo... at ...626... [10]


These errors are really weird.

We need your compile logs, as per
http://gambaswiki.org/wiki/doc/report#t3 [2]. Please drop the "-C"
switch from the ./configure call when you do that.

Also note that the
book you are referring to was last updated in Sep 2013. Its author,
however, updated the official Debian installation page in the wiki only
two months ago: http://gambaswiki.org/wiki/install/debian [3].

 Oct 25
(2 days ago) Delete comment [6] #4 [11] ptaylor2... at ...626... [5] 

I
did not compile it I installed it using apt-get install filename. I can
I figure out how to fix this issue please?

 Oct 25 (2 days ago) Project
Member #5 [12] tabo... at ...626... [10] 

Wait... Your first two messages
clearly state (and show!) that you tried to compile Gambas from source.
[ As a side note, you shouldn't try this as root, as your first messages
shows you did. ]

I can't help you if you don't say what you are doing.
If you only want Gambas to run on your system, you should install binary
packages from your distribution. The necessary commands should be here:
http://gambaswiki.org/wiki/install/debian [3].

 Oct 25 (2 days ago)
Delete comment [6] #6 [13] ptaylor2... at ...626... [5] 

The first time I
tried to compile gambas but it failed then I installed it on debian
using the apt-get install gambas3.

 Oct 25 (2 days ago) Project Member
#7 [14] tabo... at ...626... [10] 

Hmm, I guess you didn't uninstall your
failed compilation attempt? It *may* be that the Gambas interpreter from
your distribution loads components from your
compilation attempt (and
that they're incompatible). This could explain the
error in your comment
#2.

Try this:
 1. Go to the directory you tried to *compile* Gambas
from. If you don't have it
 anymore, get the source archive again and
run
 $ ./reconf-all && ./configure
 there. No make or make install
needed this time.
 2. As root, do
 # make uninstall
 3. Reinstall Gambas
via apt-get.

 Oct 25 (2 days ago) Delete comment [6] #8 [15]
ptaylor2... at ...626... [5] 

I did that then I typed 

apt-get remove
gambas3
apt-get install gambas3

When I try and exec the program I get
this:

gambas3
/usr/bin/env: gbr3: No such file or directory

 Yesterday
(18 hours ago) Delete comment [6] #9 [16] ptaylor2... at ...626... [5] 

I
checked the gambas3-dev??.deb file for Debian Wheezy and their is no
file gbr3 in the debian package. How can I fix this issue please?


Today (16 hours ago) Project Member #10 [17] tabo... at ...626... [10] 

I
have no idea about Debian packages (or Gambas packages in general). I
came here to answer your questions about *compilation* of Gambas.

If
you are really sure that you picked the correct packages, the
installation went properly and want a quick fix you can add gbr3 on your
own. It is just a symlink to the interpreter. As root, do:

 # ln -s
gbx3 /usr/bin/gbr3

*But* I recommend you instead come to the mailing
list[0]. There are Debian users who can maybe help you.

[0]
https://lists.sourceforge.net/lists/listinfo/gambas-user [4]




Links:
------
[1]
http://howtogambas.org/data/attachment.php?id=43&keep_session=1518467502&for_session=1e00d6bc86700b41f2c357a3cabba0a1
[2]
http://gambaswiki.org/wiki/doc/report#t3
[3]
http://gambaswiki.org/wiki/install/debian
[4]
https://lists.sourceforge.net/lists/listinfo/gambas-user
[5]
https://code.google.com/u/105015131119699565715/
[6]
https://code.google.com/p/gambas/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Opened%20Modified%20Version%20Type%20Status%20Priority%20Summary%20GUI%20Desktop%20Arch%20Reporter%20Owner&groupby=&sort=&id=572#
[7]
https://code.google.com/p/gambas/issues/detail?id=572#c1
[8]
https://code.google.com/p/gambas/issues/detail?id=572#c2
[9]
https://code.google.com/p/gambas/issues/detail?id=572#c3
[10]
https://code.google.com/u/102019053183405509569/
[11]
https://code.google.com/p/gambas/issues/detail?id=572#c4
[12]
https://code.google.com/p/gambas/issues/detail?id=572#c5
[13]
https://code.google.com/p/gambas/issues/detail?id=572#c6
[14]
https://code.google.com/p/gambas/issues/detail?id=572#c7
[15]
https://code.google.com/p/gambas/issues/detail?id=572#c8
[16]
https://code.google.com/p/gambas/issues/detail?id=572#c9
[17]
https://code.google.com/p/gambas/issues/detail?id=572#c10



More information about the User mailing list