[Gambas-user] How to compile & install Gambas on a specific distribution

ron ronstk at ...239...
Sat May 5 19:31:56 CEST 2007


On Friday 04 May 2007 21:05, Benoit Minisini wrote:
> Hi,
> 
> I have created new pages on the wiki (http://gambasdoc.org/help/install), 
> where anybody will be able to explain how to compile & install Gambas on its 
> own Linux distribution.
> 
> These pages can be used too for distribution specific notes.
> 
> I took the explanation of Gareth Bult for Ubuntu 7.04 and put it there. I 
> created a page for Mandriva too, but it is void at the moment. I will fill it 
> if I have time.
> 
> Feel free to create the pages for your own distribution. Users having problem 
> to install Gambas will thank you for the whole eternity for your help.
> 
> Regards,
> 

Just a small part of my retry (could not resists)
After apt-get the list Gareth Bult provided I did:

  ron at ...1693...:~/src/gambas2-1.9.48$ ./reconf
  /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
    run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal

Not sutre what to do with his and followed with:

  ron at ...1693...:~/src/gambas2-1.9.48$ ./configure -C > conf1.ron

  .... lot of test etc
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating config.h
  config.status: executing depfiles commands

  **********************************
  THESE COMPONENTS ARE DISABLED:
  - gb.qt.kde
  - gb.qte
  **********************************
So good sofar, but the gb.qt.kde is need.

from src/gambas2-1.9.48/gb.qt.kde/config.log

  configure:21829: checking for QT meta-object compiler result: /usr/bin/
  configure:21933: checking for QT component headers result: /usr/include/qt3/
  configure:22041: checking for QT component libraries result: /usr/lib/
  configure:22210: checking for KDE 3.x component headers result: no
  configure:22318: checking for KDE 3.x component libraries result: no
  configure:22448: WARNING: *** KDE 3.x component is disabled creating ./config.status

Using adept from the kubuntu distribution and som logic I decided i need kdelibs4-dev

  root at ...1693...:/home/ron/src/gambas2-1.9.48/gb.qt.kde# apt-get install kdelibs4-dev
  ...
  Get:1 http://nl.archive.ubuntu.com edgy/main libarts1-dev 1.5.4-0ubuntu1 [1200kB]
  Get:2 http://security.ubuntu.com edgy-security/main kdelibs4-dev 4:3.5.5-0ubuntu3.4 [1344kB]
  ...
  Setting up libarts1-dev (1.5.4-0ubuntu1) ...
  Setting up kdelibs4-dev (3.5.5-0ubuntu3.4) ...

ron at ...1693...:~/src/gambas2-1.9.48$ ./reconf
ron at ...1693...:~/src/gambas2-1.9.48$ ./configure -C > conf1.ron

  config.status: executing depfiles commands
  **********************************
  THESE COMPONENTS ARE DISABLED:
   - gb.qte
  **********************************

Looks much better now, gb.qte is a special for QT embeded wich I do not have/want.

root at ...1693...:/home/ron/src/gambas2-1.9.48# make
  mumble mumble, something is working hard :)
  ...
  make[2]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-1.9.48'
  make[1]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-1.9.48'
  root at ...1693...:/home/ron/src/gambas2-1.9.48# 

??? looks good :)

root at ...1693...:/home/ron/src/gambas2-1.9.48# make install
 All was fine. :)

Stupid me, as root (just for the records)
root at ...1693...:/home/ron/src/gambas2-1.9.48# gambas2
  X Error: BadDevice, invalid or uninitialized input device 156 (known from wacom driver, OK)
  X Error: BadDevice, invalid or uninitialized input device 156

  In popup window
    This application has raised an unexpected
    error and must abort.
    [13] Null object.
    Project.RefreshBreakpointPicture.3380

Changed to user ron
ron at ...1693...:/home/ron/src/gambas2-1.9.48# gambas2

Bingo: thank you Gareth.

The full working log about the process is in the archive file.
Also the logic to determine kdelibs4-dev specific instead of 
the more logical kdebase-devel.

kdebase-bin and kdebase-data should allready be installed by requirements of Kubuntu.
libarts1-dev is a requirement of kdelibs4-dev and not in the list from Gareth 


Conclusion:
For kubuntu the list of Gareth is OK
  Add only a "apt-get install kdelibs4-dev" for 'normal' dependency
  to install the really need headers for kde (this works for me ATM)
or
  Add only a "apt-get install kdebase-dev" for 'super' dependency
  to install the full developer programs and all headers for kde.

kdebase-bin and kdebase-data should allready be installed on kubuntu by requirements of kubuntu.
libarts1-dev is a requirement of kdelibs4-dev and not in the list from Gareth 

Maybe Gareth can have a look to simple merge or make 2 new sets 
I'm less professional for management of this 

-----------
Happy Ron.








-------------- next part --------------
A non-text attachment was scrubbed...
Name: kubuntu-install-gambas.txt.tar.gz
Type: application/x-tgz
Size: 5469 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20070505/cff9042d/attachment.bin>


More information about the User mailing list