[Gambas-user] Problems with Gambas 3 installation on Kubuntu

Ron_1st ronstk at ...239...
Sat Feb 21 19:00:58 CET 2009


On Saturday 21 February 2009, Benoît Minisini wrote:
> > > On Friday 20 February 2009, Ron_1st wrote:
> > >
> > > Attached the logfiles.
> > > The mymake2.log is the reainder part because the gb.v4l problems.
> > > Forgotten to remark the wrong 'case undeclared_value' lines.
> >
> > I compare my "make install" output with yours. I replaced our respective
> > compilation directories by (GAMBAS)/trunk to see only the interesting
> > differences.
> >
> > Look in the joined make-install.diff file.
> >
> > The first difference is:
> >
> > --8<------------------------------------------------------------------
> >
> > @@ -373,13 +373,12 @@
> >  ----------------------------------------------------------------------
> >  make  install-data-hook
> >  make[5]: Entering directory `(GAMBAS)/trunk/main/lib/gui'
> >
> >  Creating the information files for gb.gui component...
> >  gb.gui
> > -gbi3: warning: component gb.qt not found
> >
> >  make[5]: Leaving directory `(GAMBAS)/trunk/main/lib/gui'
> >  make[4]: Leaving directory `(GAMBAS)/trunk/main/lib/gui'
> >  make[3]: Leaving directory `(GAMBAS)/trunk/main/lib/gui'
> >  Making install in image
> >  make[3]: Entering directory `(GAMBAS)/trunk/main/lib/image'
> >
> > --8<------------------------------------------------------------------
> >
> > I have a warning that is expected ("gbi3: warning: component gb.qt not
> > found"), as gb.qt is not yet compiled. You don't have the warning.
> >
> > So that means that gbi3 found a accurate gb.qt component already installed,
> > which is not possible if you have done the installation on a clean system.
> >
> > So my question is: are you really sure that what you sent me is a "make
> > install" output of a fresh installation, and that you removed from your OS
> > every file coming from a previous Gambas 3 installation?
> 
> Otherwise, I have enabled verbose output in gbi in revision #1884. Can you 
> send me a full output of "make install" with this revision, so that I can 
> compare the both verbose output of gbi, yours and mine?
> 
> Thanks in advance!
> 

Ok done the job for gambas-3 svn-1883.


First take note Charlie and me have the same errors
Both are using kubuntu 8.04 instead of 8.10 !!

I do not get the gbi3 warning about gb.qt you mention
> > So that means that gbi3 found a accurate gb.qt component already installed,
Do you know the filename? (gb.qt.component attached)
 
In <GAMBAS>/gb.qt/src/opengl gb.qt and ext no .info or .list files

List of all (almost) files of gambas3 for length
in trunk:ls -alAR > myallfiles.log (1.6MB)
ls -alAR > usr_local_share_gambas3_info.log
ls -alAR > usr_local_lib_gambas3.log
ls -alAR > usr_local_bin.log

gambas_done.txt is how I checked and clean the box for gambas2 and gambas3
Makefile is the /trunk/main/gbc/Makefile

Attached the log files

I hope next week to get some time on my work to use a fresh installed 
kubuntu 8.04

Best regards,

Ron_1st

-- 
 
-------------- next part --------------
# gb.gui.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.24 (1.1220.2.456 2007/06/24 02:25:32)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='gb.gui.so.0'

# Names of this library.
library_names='gb.gui.so.0.0.0 gb.gui.so.0 gb.gui.so'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=''

# Version information for gb.gui.
current=0
age=0
revision=0

# Is this an already installed library?
installed=no

# Should we warn about portability when linking against -modules?
shouldnotlink=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/lib/gambas3'
-------------- next part --------------
# gb.qt.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.24 (1.1220.2.456 2007/06/24 02:25:32)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='gb.qt.so.0'

# Names of this library.
library_names='gb.qt.so.0.0.0 gb.qt.so.0 gb.qt.so'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=' -L/usr/X11R6/lib /usr/lib/libqt-mt.la -ljpeg -lfreetype -laudio -lXt /usr/lib/libjpeg.la -lpng -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft /usr/lib/libfreetype.la -lz -lfontconfig -lXext -lX11 -lSM -lICE -ldl -lpthread'

# Version information for gb.qt.
current=0
age=0
revision=0

# Is this an already installed library?
installed=no

# Should we warn about portability when linking against -modules?
shouldnotlink=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/lib/gambas3'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myconf.log.zip
Type: application/x-zip
Size: 6196 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myinstall.log.zip
Type: application/x-zip
Size: 10203 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mymake.log.zip
Type: application/x-zip
Size: 33904 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0002.bin>
-------------- next part --------------
Steps done

mount extern hdd named here as 'exhdd'

cd src/gambas2/
make uninstall
move source tree to exhdd

cd src/gambas3/trunk1883
make uninstall
move all svn trunks to exhdd
  (for diff testing I keep a few versions)

move your delivered logfiles to exhdd

move /var/lib/mlocate to exhdd

check /etc/ld.so.cache for gb.qt
nothing found
check /etc/* for file contain gb.qt
nothing found

check for gb2 and gb3 related entities in 
/usr/bin 
/usr/include
/usr/lib /usr/lib64
/usr/share
nothing found

usr/local/*
usr/local/lib
deleted empty gambas2 and gambas3 (empty)

usr/local/share (icons 3x and info empty)
deleted empty gambas2 and gambas3

usr/local/share/icons/hicolor/64x64/mimetypes
deleted 6 entities

disabled every non relevant partitions/hdd
for speedup  next step

run updatedb

cd /home/ron/src/gambas3

svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/

....
Checked out revision 1884.
cd trunk

remarked the format lines in gb.v4l/src/gv4l2.c

root at ...1311...:/home/ron/src/gambas3/trunk# find / -iname gb.qt
/home/ron/src/gambas3/trunk/gb.qt
/home/ron/src/gambas3/trunk/gb.qt/src/gb.qt

root at ...1311...:/home/ron/src/gambas3/trunk# find / -iname gambas
/home/ron/Desktop/linux-prog/Progjes/Gambas
/home/ron/.kde/share/apps/kmail/mail/.sent-mail.directory/gambas
/home/ron/.kde/share/apps/kmail/mail/.inbox.directory/gambas
/var/lib/mysql/gambas

locate gambas
many but not related for compile (mail and at Desktop)

locate gb.q 
nothing
locate gb.qt
nothing

So system should be clean 

./reconf-all > myreconf.log 2>&1

./configure > myconf.log 2>&1

make > mymake 2>&1


In the mean time reading the myconf.log
#cat myconf.log | grep WARN
configure: WARNING: Unable to find file: libintl.so
configure: WARNING: Unable to find file: libiconv.so
configure: WARNING: *** foreign function interface is disabled
  OK you has explain it already

configure: WARNING: Unable to find file: libqte-mt.so
configure: WARNING: *** QT/Embedded component is disabled
  We already know

configure: WARNING: Unable to find file: CORBA.h
configure: WARNING: Unable to find file: libomniORB4.so
configure: WARNING: Unable to find file: libomniDynamic4.so
configure: WARNING: *** CORBA component is disabled
  Yes OK, should not be related 

configure: WARNING: *** Gnome desktop routines is disabled
  Oops, is this correct? Used in gb.gui?

configure: WARNING: *** QT4 OpenGL is disabled
  Can it have some connection to general qt related things?

I know warnings as above are normal not very important but you never know. :)

checking the maximum length of command line arguments... (cached) 98304
Seen in your log files a much bigger size, just information, not suspect ATM.

************************************************************
THESE COMPONENTS ARE DISABLED:
- gb.corba
- gb.qte
************************************************************

Just as your log look the same as mine does not mean they are right.
I just read again to search for points that make sence or not.


Reading the myinstall.log
===============
line#:909
Analyzing component gb.gtk
Loading native component: /usr/local/lib/gambas3/gb.gtk.so
Including gb.draw
/home/ron/src/gambas3/trunk/gb.gtk/src/gb.gtk/Action.class:16: Unknown identifier: Picture

  note1: I have seen in the makefile(s) the Action directory is deleted.
  note2: same for gb.qt at line#:1292 and gb.qt4 at line#:2123
===============
Line#:973
Analyzing component gb.net
Loading native component: /usr/local/lib/gambas3/gb.net.so
wrote /usr/local/share/gambas3/info/gb.net.info
wrote /usr/local/share/gambas3/info/gb.net.list
  note: yes gbi works as we know already :)
===============
Line#:1653
Analyzing component gb.xml.rpc
gbi3: warning: component gb.xml.rpc not found
OK
  Note: Ok you explain already this is OK here :)
===============

Line#:2008
Analyzing component gb.desktop
Loading native component: /usr/local/lib/gambas3/gb.desktop.so
wrote /usr/local/share/gambas3/info/gb.desktop.info
wrote /usr/local/share/gambas3/info/gb.desktop.list
/home/ron/src/gambas3/trunk/gb.desktop/src/gb.desktop/Form1.class:47: Unknown identifier: Button
  note: I'm not so happy with this one
===============

Line#:2262 :=) :=)
Running the informer again twice because of dependencies between information files

===============


Line#:2681
Installing the components...
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
/home/ron/src/gambas3/trunk/comp/src/gb.form/Balloon.class:5: Unknown identifier: Control
Installing gb.form...
/usr/bin/install: cannot stat `.info': No such file or directory
chmod: cannot access `/usr/local/share/gambas3/info/gb.form.info': No such file or directory
/usr/bin/install: cannot stat `.list': No such file or directory
chmod: cannot access `/usr/local/share/gambas3/info/gb.form.list': No such file or directory

Compiling gb.form.dialog...
warning: cannot read component list file: gb.form.list
/home/ron/src/gambas3/trunk/comp/src/gb.form.dialog/FDirDialog.class:51: Unknown identifier: DirChooser
Installing gb.form.dialog...


It's just all componnent using gb.form.list has the same problem here.
===================== 
Line#:2785
Installing the gambas examples... 
allmost all
  /usr/local/share/gambas3/examples/<some_group>/<some_example>/<some_name>.class:##: Unknown identifier: <some_control>

many times 
  warning: cannot read component list file: gb.form.list

Compiling Games/BeastScroll/...
OK
Compiling OpenGL/3DWebCam/...
OK
Compiling OpenGL/GambasGears/...
OK

Line#:2896
Compiling Video/WebCam/...
warning: cannot read component list file: gb.form.list
/usr/local/share/gambas3/examples/Video/WebCam/FDevice.class:314: Unknown identifier: Panel
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ron/src/gambas3/trunk/examples'
make[1]: Leaving directory `/home/ron/src/gambas3/trunk/examples'
make[1]: Entering directory `/home/ron/src/gambas3/trunk'
make[2]: Entering directory `/home/ron/src/gambas3/trunk'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ron/src/gambas3/trunk'
make[1]: Leaving directory `/home/ron/src/gambas3/trunk'




-------------- next part --------------
[Component]
Key=gb.qt
Author=Benoît Minisini
Implements=Form,EventLoop,ImageIO
Type=Form
Requires=gb.image

[Form]
Control=Label,TextLabel,Separator,PictureBox,MovieBox,ProgressBar
Control=Button,CheckBox,RadioButton,ToggleButton,ToolButton,Slider,ScrollBar
Control=ListBox,ComboBox,TextBox,SpinBox,TextArea
Control=ListView,TreeView,IconView,ColumnView,GridView

[Container]
Control=HBox,VBox,HPanel,VPanel,HSplit,VSplit,Panel,Frame,TabStrip,ScrollView,DrawingArea
Container=HBox,VBox,HPanel,VPanel,HSplit,VSplit,Panel,Frame,TabStrip,ScrollView,DrawingArea
MultiContainer=TabStrip

[Special]
Control=Embedder,TrayIcon
Virtual=TrayIcon

[Change]
Label=TextLabel
Button=ToggleButton,ToolButton
Slider=ScrollBar,SpinBox
TextBox=SpinBox,TextArea
ListView=TreeView,ColumnView
Panel=HBox,VBox,HPanel,VPanel,Frame,ScrollView
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myallfiles.log.zip
Type: application/x-zip
Size: 125279 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usr_local_share_gambas3_info.log
Type: text/x-log
Size: 5021 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usr_local_lib_gambas3.log.zip
Type: application/x-zip
Size: 2165 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usr_local_bin.log
Type: text/x-log
Size: 988 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.zip
Type: application/x-zip
Size: 9617 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090221/ec99ba29/attachment-0007.bin>


More information about the User mailing list