Diferencias entre las revisiones 17 y 18
Versión 17 con fecha 2008-08-07 16:32:31
Tamaño: 3247
Editor: JuanjoAmor
Comentario:
Versión 18 con fecha 2008-08-07 16:43:52
Tamaño: 3728
Editor: JuanjoAmor
Comentario:
Los textos eliminados se marcan así. Los textos añadidos se marcan así.
Línea 92: Línea 92:

Ahora en el fichero $HOME/.jhbuildrc se verifican las variables recomendadas:

{{{
  makeclean = 'yes'
  alwaysautogen = True
  checkout_mode = 'clobber'
  os.environ['CFLAGS'] = '-g3 -O0 -fprofile-arcs -ftest-coverage'
  os.environ['CXXFLAGS'] = '-g -O0 -fprofile-arcs -ftest-coverage'
  os.environ['CPPFLAGS'] = '-g -O0 -fprofile-arcs -ftest-coverage'

  # Uncomment this if you are using gcc 4.1 (not tested with gcc 4.0)
  # os.environ['LDFLAGS'] = '-lgcov'
}}}

Build brigade en la T200

Software instalado

Entorno

  • User: gslave, ZFS: /export/backups/gslave, con la estructura de directorios tal y como dice en el documento arriba citado, es decir:

   $ mkdir -p ~/gnome

   # Directories for the actual build process (<work>)
   $ mkdir -p ~/gnome/work/src
   $ mkdir -p ~/gnome/work/bin
   $ mkdir -p ~/gnome/work/slaves

   # Directory to keep downloaded sources (<sources>)
   $ mkdir ~/sources

gslave@gnomehispano $ cd sources/Twisted-2.5.0/zope.interface-3.3.0
gslave@gnomehispano $ python ./setup.py build

...

gslave@gnomehispano $ python ./setup.py install --home=~

...
  • Parece que se instaló sin errores.
  • Instalamos ahora el buildbot.

gslave@gnomehispano $ cd sources/buildbot-0.7.5
gslave@gnomehispano $ python ./setup.py build
running build
running build_py
...
copying and adjusting bin/buildbot -> build/scripts-2.5
changing mode of build/scripts-2.5/buildbot from 644 to 755

gslave@gnomehispano $ python ./setup.py install --home=~

...

creating /export/home/gslave/lib/python/buildbot/test/subdir
copying buildbot/test/subdir/emit.py -> /export/home/gslave/lib/python/buildbot/test/subdir
running install_egg_info
Writing /export/home/gslave/lib/python/buildbot-0.7.5-py2.5.egg-info

gslave@gnomehispano $
  • Parece que también se ha instalado sin errores.
  • Instalación de jhbuild (para hacer el checkout hemos tenido que instalar svn y todas las dependencias, usando software de sunfreeware.com).

gslave@gnomehispano $ svn co http://svn.gnome.org/svn/jhbuild/trunk ./jhbuild
...
A    jhbuild/NEWS
 U   jhbuild
Checked out revision 1911.

gslave@gnomehispano $ 
  • El siguiente paso será compilar e instalar jhbuild, aunque parece que falla:

gslave@gnomehispano $ gmake -f Makefile.plain 
Run "make install" to install.
gslave@gnomehispano $ gmake -f Makefile.plain  install
/bin/sh: test: unknown operator ==
gmake: *** [install] Error 1
  • Parece que invoca al shell de SVR4 en lugar del de GNU (BASH). Para forzar a que use la BASH le añadimos al Makefile.plain una línea "SHELL = /usr/bin/bash" al principio e instalamos de nuevo. El resultado parece ok:

gmake -f Makefile.plain install
Creating /export/home/gslave/bin/jhbuild
Creating /export/home/gslave/.local/share/applications/jhbuild.desktop
install -m 755 install-check /export/home/gslave/bin/install-check
install-check installed as /export/home/gslave/bin/install-check

Ahora en el fichero $HOME/.jhbuildrc se verifican las variables recomendadas:

  makeclean = 'yes'
  alwaysautogen = True
  checkout_mode = 'clobber'
  os.environ['CFLAGS'] = '-g3 -O0 -fprofile-arcs -ftest-coverage'
  os.environ['CXXFLAGS'] = '-g -O0 -fprofile-arcs -ftest-coverage'
  os.environ['CPPFLAGS'] = '-g -O0 -fprofile-arcs -ftest-coverage'

  # Uncomment this if you are using gcc 4.1 (not tested with gcc 4.0)
  # os.environ['LDFLAGS'] = '-lgcov'

Administradores/T200/BuildBrigade (última edición 2008-12-04 08:49:12 efectuada por anónimo)