Newbie build GNOME 2.12 with JHBUILD from GNOME CVS



Hello guys.

I'm try achieve and build a gnome-2.12 version from GNOME CVS, I would
like to learn more about GNOME Developer and contribuite too.

My system configuration is:

$ cat /etc/debian_version
testing/unstable


$ uname --all
Linux laptop 2.6.12 #8 Mon Aug 1 20:22:40 BRT 2005 i686 GNU/Linux


$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Celeron (Coppermine)
stepping        : 10
cpu MHz         : 1096.605
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
bogomips        : 2170.88


$ free
             total       used       free     shared    buffers
cached
Mem:        223176     219204       3972          0      33316
63312
-/+ buffers/cache:     122576     100600
Swap:       497944      23252     474692


My JHBUILD configuration file:

Below i show my .jhbuildrc file too:

# edit this file to match your settings and copy it to ~/.jhbuildrc

# if you have a cvs account, uncomment this line
#cvsroots['gnome.org'] = ':pserver:user cvs gnome org:/cvs/gnome'

# what module set should be used.  The default at the moment is
'gnome28',
# but it can be any of the files in the modulesets directory, or even
# the URL of a module set file on a web server.
moduleset = 'gnome-2.12'

# A list of the modules to build.  Defaults to the Gnome Desktop and
# developer platform.
modules = [ 'meta-gnome-desktop' ]

# what directory should the source be checked out to?
checkoutroot = os.path.join(os.environ['HOME'], 'devel/gnome/cvs',
'gnome2')

# the prefix to configure/install modules to (must have write access)
prefix = '/opt/gnome2'

# extra arguments to pass to all autogen.sh scripts
# to speed up builds of gnome2, try '--disable-static --disable-gtk-doc'
#autogenargs=''

# set CFLAGS:
os.environ['CFLAGS'] = '-g -O2'

# On SMP systems you may use something like this to improve compilation
time:
# be aware that not all modules compile correctly with make -j2
#os.environ['MAKE'] = 'make -j2'

# a alternative install program to use.
# The included install-check program won't update timestamps if the
# header hasn't changed
os.environ['INSTALL'] = os.path.join(os.environ['HOME'], 'bin',
'install-check')

-------------

When i try run jhbuild, i get strange severals WARNINGS and ERRORS:


$ jhbuild update (its will download all modules from gnome cvs, and ok)
$ jhbuild build (several packages build ok, but any not)

Examples, here i show any WARNINGS from gtk-doc and libIDL:

*** Checking out gtk-doc *** [3/121]

cvs -z3 -q -d :pserver:anonymous anoncvs gnome org:/cvs/gnome update -dP
-A .
*** Configuring gtk-doc *** [3/121]

./autogen.sh --prefix /opt/gnome2  --disable-static --disable-gtk-doc
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of
AM_PATH_OAF
  run info '(automake)Extending aclocal'
    or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
    /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
    /usr/share/aclocal/glib.m4:8: warning: underquoted definition of
AM_PATH_GLIB
    /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition
of AM_PATH_GDK_PIXBUF
    checking for a BSD-compatible
install... /home/fmarostica/bin/install-check
    checking whether build environment is sane... yes

Configuring libIDL *** [5/121]

./autogen.sh --prefix /opt/gnome2  --disable-static --disable-gtk-doc
processing .
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of
AM_PATH_OAF
  run info '(automake)Extending aclocal'
    or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
    /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
    /usr/share/aclocal/glib.m4:8: warning: underquoted definition of
AM_PATH_GLIB
    /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition
of AM_PATH_GDK_PIXBUF
    Running ./configure --enable-maintainer-mode --prefix /opt/gnome2
--disable-static --disable-gtk-doc
    checking for a BSD-compatible
install... /home/fmarostica/bin/install-check
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk

OOOPS! What's?
warning: underquoted definition of AM_PATCH_OAF, AM_PATH_GTK,
AM_PATH_GLIB, AM_PATCH_GDK_PIXBUF.
How is way to fix it?

--------

*** Building gtk+ *** [19/121]

make
cd . && /bin/sh /home/fmarostica/devel/gnome/cvs/gnome2/gtk+/missing
--run autoheader
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
touch ./config.h.in

...
...
...

 gcc
-shared  .libs/gdk.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkimage.o .libs/gdkdisplaymanager.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrgb.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkenumtypes.o -Wl,--whole-archive x11/.libs/libgdk-x11.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/opt/gnome2/lib -Wl,--rpath -Wl,/home/fmarostica/devel/gnome/cvs/gnome2/gtk+/gdk-pixbuf/.libs -Wl,--rpath -Wl,/opt/gnome2/lib -lXrandr /opt/gnome2/lib/libXrender.so -lXinerama -L/opt/gnome2/lib /opt/gnome2/lib/libpangocairo-1.0.so /opt/gnome2/lib/libpango-1.0.so /usr/lib/libfreetype.so -lz /opt/gnome2/lib/libcairo.so /opt/gnome2/lib/libgobject-2.0.so /opt/gnome2/lib/libgmodule-2.0.so -ldl /opt/gnome2/lib/libglib-2.0.so -lm ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so  -Wl,-soname -Wl,libgdk-x11-2.0.so.0 -Wl,-version-script -Wl,.libs/libgdk-x11-2.0.ver -o .libs/libgdk-x11-2.0.so.0.703.3
 /usr/bin/ld: cannot find -lXrandr
 collect2: ld returned 1 exit status
 make[4]: ** [libgdk-x11-2.0.la] Erro 1
 make[4]: Leaving directory `/home/fmarostica/devel/gnome/cvs/gnome2/gtk
+/gdk'
 make[3]: ** [all-recursive] Erro 1
 make[3]: Leaving directory `/home/fmarostica/devel/gnome/cvs/gnome2/gtk
+/gdk'
 make[2]: ** [all] Erro 2
 make[2]: Leaving directory `/home/fmarostica/devel/gnome/cvs/gnome2/gtk
+/gdk'
 make[1]: ** [all-recursive] Erro 1
 make[1]: Leaving directory `/home/fmarostica/devel/gnome/cvs/gnome2/gtk
+'
 make: ** [all] Erro 2
 *** error during stage build of gtk+: could not build module ***
[19/121]

   [1] rerun stage build
   [2] ignore error and continue to install
   [3] give up on module
   [4] start shell
   [5] go to stage force_checkout
   [6] go to 
choice:

----------

I think that i have all packages required for build gnome-2.12. But, i
dont make build it why!
:(

$ dpkg -l | grep -i xrand

ii  gnome-randr-applet            0.2-1                      Simple
gnome-panel front end to the xrandr e
ii  libxrandr-dev                 6.8.2.dfsg.1-4             X Window
System Resize, Rotate and Reflectio
ii  libxrandr2                    6.8.2.dfsg.1-4             X Window
System Resize, Rotate and Reflectio


dpkg -l | grep -i automake

 ii  autobook                      1.4.3-unofficial-1         GNU
Autoconf, Automake and Libtool Book
 ii  automake1.4                   1.4-p6-9                   A tool for
generating GNU Standards-complian
 ii  automake1.6                   1.6.3-12                   A tool for
generating GNU Standards-complian
 ii  automake1.7                   1.7.9-7                    A tool for
generating GNU Standards-complian
 ii  automake1.8                   1.8.5-3                    A tool for
generating GNU Standards-complian
 ii  automake1.9                   1.9.6-1                    A tool for
generating GNU Standards-complian


$ dpkg -l | grep -i autoconf

ii  autoconf                      2.59a-3                    automatic
configure script builder
ii  autoconf-doc                  2.59-2                     automatic
configure script builder documenta


dpkg -l | grep -i python

ii  libxml2-python2.3             2.6.20-1                   Python 2.3
bindings for the GNOME XML librar
ii  python                        2.3.5-3                    An
interactive high-level object-oriented la
ii  python-gnome2                 2.10.0-2                   Python
bindings for the GNOME desktop enviro
ii  python-gnome2-extras          2.10.0-4                   Python
bindings for the GNOME desktop enviro
ii  python-gtk2                   2.6.2-1                    Python
bindings for the GTK+ widget set
ii  python-newt                   0.51.6-28                  A NEWT
module for Python
ii  python-numeric                23.8-3                     Numerical
(matrix-oriented) Mathematics for
ii  python-xml                    0.8.4-1                    XML tools
for Python [dummy package]
ii  python2.1                     2.1.3dfsg-1                An
interactive high-level object-oriented la
ii  python2.2                     2.2.3dfsg-2                An
interactive high-level object-oriented la
ii  python2.3                     2.3.5-6                    An
interactive high-level object-oriented la
ii  python2.3-gnome2              2.10.0-2                   Python
bindings for the GNOME desktop enviro
ii  python2.3-gnome2-extras       2.10.0-4                   Python
bindings for the GNOME desktop enviro
ii  python2.3-gtk2                2.6.2-1                    Python
bindings for the GTK+ widget set
ii  python2.3-libxml2             2.6.20-1                   Python 2.3
bindings for the GNOME XML librar
ii  python2.3-numeric             23.8-3                     Numerical
(matrix-oriented) Mathematics for
ii  python2.3-pyorbit             2.0.1-2                    A Python
language binding for the ORBit2 COR
ii  python2.3-xml                 0.8.4-1                    XML tools
for Python (2.3.x)
ii  python2.4                     2.4.1-3                    An
interactive high-level object-oriented la
ii  python2.4-minimal             2.4.1-3                    A minimal
subset of the Python language (ver


$ dpkg -l | grep -i gettext

ii  gettext                       0.14.5-2                   GNU
Internationalization utilities
ii  gettext-base                  0.14.5-2                   GNU
Internationalization utilities for the b
ii  liblocale-gettext-perl        1.05-1                     Using libc
functions for internationalizatio


$ dpkg -l | grep -i libtool

ii  libtool                       1.5.6-6                    Generic
library support script


# update-alternatives --config automake

There are 5 alternatives which provide `automake'.

  Selection    Alternative
  -----------------------------------------------
   +    1        /usr/bin/automake-1.4
   *    2        /usr/bin/automake-1.9
        3        /usr/bin/automake-1.6
        4        /usr/bin/automake-1.7
        5        /usr/bin/automake-1.8

Press enter to keep the default[*], or type selection number: 2

------------

What's missing?
How i fixed error in gtk+ build?


Best Regards.
Fernando Alencar Maróstica.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]