[Gambas-user] Compiling gambas on lenny/squeeze, also wheeze

PICCORO McKAY Lenz mckaygerhard at ...626...
Fri Sep 13 18:00:13 CEST 2013


This are the necesary minimal instruction for made squeeze good packages,
in response of:
From: Willy Raets <willy at ...2734...>

> Subject: Re: [Gambas-user] Gambas-user Digest, Vol 88, Issue 12
>
ok i'll do, response in englys for u, but install instructions please use
translate:

Sorry i'm hurry i'll made a post later with better instrucctions, but these
explain much better dependences for debian rather than wiki

PART 1 REQUIREMENTS :==================

1) Please sure can be Backported these packages before:
* gstreamer 0.10.31, gstreamermm-0.10; (only for squeeze and lenny)
* mariadb 5.3.X or 5.5 for gb.db.mysql
* debhelper 8  (only on lenny, squeeze and wheeze already hav)
* automake 1.10/1.11 (only on lenny, squeeze and wheeze already hav)
* libtool 2.X (only on lenny, squeeze and wheeze already hav)
* llvm-3.1/llvm-3.2 (the llvm in wheeze or squeeze are too old)

NOTE: for lenny u must copy the pkg files from mesa devel, if not the
detection using pkg-config of opengl related will not work

2) So install:

debhelper,
autoconf,
automake,
libtool,
pkg-config,            need for detection before compiling time

libpq-dev (from backports),  for bg.postgres support
libmariadbclient-dev,            from u backported for db.mysql support
unixodbc-dev,                      for gb.odbc support
libsqlite0-dev, libsqlite3-dev   for gb.sqlite support

llvm-3.1                              for gb virtual env compiler enabled

libv4l-dev (from backports),    for v4l component
libglew1.5-dev or libglew-dev
libqt4-dev, libqt4-opengl-dev,   for qt4 related such
libcurl4-openssl-dev,              for curl component
libxml2-dev, libxslt1-dev,         for parsing and settings
libssl-dev,                            for ssl related support

zlib1g-dev, libbz2-dev,          for gb.compresion module support

libpcre3-dev,                     reg parser support on search
libgtk2.0-dev,                     for GTK forms integration gui
libxt-dev, mesa-common-dev, (from backports)

libsdl-sound1.2-dev, libsdl-mixer1.2-dev,            for sound related
libsdl-image1.2-dev, libsdl-gfx1.2-dev, libsdl-ttf2.0-dev,   for img related


libjpeg-dev, libpng12-dev, libimlib2-dev, librsvg2-dev,  for Image related
libpoppler-dev (this already have the private headers),

gettext,                               ??? why if docs are on gabmasdoc org
libxtst-dev,
libffi-dev,
libdbus-1-dev,
libgtkglext1-dev,
linux-libc-dev,
libgsl0-dev,
libncurses5-dev,
libgmime-2.4-dev

libgstreamermm-0.10-dev /must be backported with gstreamer 0.10.31+,benoit
said compiles but dont work for me),

PART 2 COMPILING & INSTALL ==================

1) descargar from http://sourceforge.net/projects/gambas/files/gambas3/

2) ve al directorio donde esta el tarball y descomprime, debe quedar un
directorio del tipo gambas-X.Y.Z

3) ejecutar ./reconf-all

4) esto crea archivos de coniguracion, ahora ejecutar ./configure & amke &
make install

PART 2.OPTIONAL MADE DEB PACKAGES ==============

en el directorio ejecutar dh_make --createorig -s esto creara dos
directorios, uno con una exte4nsio ".orig" y otro igual al original,

en el igual al original se encontrara un directorio "debian" ve al archivo
"rules" y escribe justo en la linea "dh" agregando "--with autoreconf"

despues escribir dos lineas mas abajo "override_dh_auto_configure:" y en la
siguiente tabular a 8 espacios escribiendo "dh_auto_configure -- -C "

salirse al directorio raiz de las fuetnes y ejecutar debuild o
dpkg-buildpackage y listo.

NOTA: este es el metodo unix que instalara todo en /usr/local para el
metodo debian, usar los repos de venenux, descargar el dsc, y seguir como
cualqueir compilado de paquetes debian



More information about the User mailing list