Re: [gnome-love] Newbie build GNOME 2.12 with JHBUILD from GNOME CVS



Hi,

Welcome to Gnome, glad you're joining.  One thing you'll want to be
aware of, though, is that you absolutely should not cc so many lists. 
Be very careful when cc'ing multiple lists as it is usually incorrect
and often considered rude when so; you're just a newbie so you'll be
given slack, but please take note for future reference.  Also, it's
good to find out the purpose of a list before emailing it, see
http://mail.gnome.org/mailman/listinfo/.  In particular, your email is
off-topic for all those lists except gnome-love.

Answers below, but for anyone that replies, please pull off all
mailing lists except gnome-love in the cc...

On 8/11/05, Fernando Alencar Maróstica <famarost unimep br> wrote:
> 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:

<snip>

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

<snip>

> 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

Everyone gets those warnings.  Ignore them.  Experts with sufficient
knowledge of autofoo wizardry will eventually fix them for us.  At
least, that's what I do and assume, and it works for me.

> 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

same as above--just ignore them, it doesn't hurt.

>     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

That's odd...why don't you have gawk installed?

> --------
> 
> *** 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

again, ignore these warnings.

>  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

You need to get libXrandr.so installed.  On Fedora/RedHat the package
that provides this is xorg-x11-devel (xorg-x11-devel-6.8.2-1.EL.13.6
on the particular machine I'm on at the moment).  The debian package
name will probably be a little different.

> $ dpkg -l | grep -i xrand

> 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

These look like you ought to have the right stuff; what files do these
packages provide?


Cheers,
Elijah



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