[g-a-devel]Fwd: Re: building gnome-2



Is there anybody who could help me, telling me what may cause this kind of 
errors or giving me a "fresh" gnome-2.0 precompiled archive?
Thanks.

Adi.

----------  Forwarded Message  ----------
Subject: Re: building gnome-2
Date: Thu, 28 Feb 2002 07:49:00 -0700
From: Marc Mulcahy <marc mulcahy sun com>
To: Adi Dascal <ad baum ro>, "BAUM GNOME Development list" 
<gnome-baum-dev basso sfbay sun com>


Adi,

Send a report to gnome-accessibility-devel with the details.  Hopefully it
will go to a broader audience and someone can help you.  I've never seen
errors like the ones you report.

The ORBit2 errors sound like your version of glib isn't up to date.

Marc

At 04:16 PM 2/28/2002 +0200, Adi Dascal wrote:
>On Thursday 28 February 2002 01:51, you wrote:
>Hi All, Hi Marc
>         I followed exactly the order that you indicated me in building
> gnome-2.0
>from scratch (not on top of some old libraries), but the problem is still at
>libglade. First of all there is no config.h.in in that module so there is no
>template for symbol HAVE_LC_MESSAGES. I tryed to use one from a
>libglade-1.99.8.tar.gz (which I've downloaded from
>ftp.gnome.org/pub/GNOME/pre-gnome2/latest/sources/) but the error the same.
>
>Building libgnome from the ftp.gnome.org I received the same error as I
>mantioned in the first mail with the subject "building gnome-2":
>
>libglade-scan.o: In function `output_widget_args':
>libglade-scan.o(.text+0xb90): undefined reference to `gtk_object_query_args'
>collect2: ld returned 1 exit status
>Compilation of scanner failed
>make[2]: *** [scan-build.stamp] Error 1
>make[2]: Leaving directory
>`/home/adi/2DO/work2002/month02/work28_02/sources/libglade-1.99.8/doc'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory
>`/home/adi/2DO/work2002/month02/work28_02/sources/libglade-1.99.8'
>make: *** [all] Error 2
>
>Another problem, that I have, is with ORBit2 ( it does not depend on
> libglade so I tryed to compile it , after building/installing linc and
> libIDL from the CVS). This is the error that i get:
>
>bit-idl-c-typecode.c:76: undefined reference to `g_string_printf'
>/home/adi/2DO/work2002/month02/work28_02/sources/temp/ORBit2/src/idl-compile
>r/orbit-idl-c-typecode.c:82:
>
>undefined reference to `g_string_printf'
>orbit-idl-c-marshal.o: In function `c_marshal_datum':
>/home/adi/2DO/work2002/month02/work28_02/sources/temp/ORBit2/src/idl-compile
>r/orbit-idl-c-marshal.c:124:
>
>undefined reference to `g_string_printf'
>orbit-idl-c-marshal.o:/home/adi/2DO/work2002/month02/work28_02/sources/temp/
>ORBit2/src/idl-compiler/orbit-idl-c-marshal.c:204:
>
>more undefined references to `g_string_printf' follow
>/opt/gnome-2.0/lib/libIDL-2.so: undefined reference to `g_ascii_table'
>/opt/gnome-2.0/lib/libIDL-2.so: undefined reference to `g_ascii_strcasecmp'
>collect2: ld returned 1 exit status
>make[3]: *** [orbit-idl-2] Error 1
>make[3]: Leaving directory
>`/home/adi/2DO/work2002/month02/work28_02/sources/temp/ORBit2/src/idl-compil
>er' make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory
>`/home/adi/2DO/work2002/month02/work28_02/sources/temp/ORBit2/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory
>`/home/adi/2DO/work2002/month02/work28_02/sources/temp/ORBit2'
>make: *** [all-recursive-am] Error 2
>
>I would really appreciate it if you would send us a gnome-2 precompiled
>because we are stalled with programming and testing some of our components.
>( I made some "hacks" because Bill told me, some time ago, that the
> libraries are not changed, just the version. The "hacks" helped us but now
> gtk-demo is crashing : maybe in time some of the libraries were changed ).
>
>I would like to clarify the problem with the build, too (with libglade and
>ORBit2) but please help us first with the gnome-2 precompiled archive.
>Thanks a lot .
>
>Adi Dascal

>
>PS : I made some comments on what you said in the previous mail's body (
>after Adi)
>
> > It's hard to say what's causing the failures--  all I can really do is
> > give you some hints.
> >
> > 1. when you check out modules from cvs, use:
> > cvs -z3 co <module>
> > where <module> is the name of whatever you want to check out.  If you use
> > the update command , I've found that you may not always get all new
> > files.
>
>Adi : this is how I'm doing it.
>
> > 2. Before you build a module, ensure that you run the autogen.sh script
> > to ensure that all the auto-generated files are up-to-date.  this will
> > also verify that all the libraries on your system are compatible with the
> > module you are attempting to build.
>
>Adi : right. This is the way I'm doing it.
>
> > 3. If you re-build a module lower in the stack, like glib, you have to
> > re-build everything which depends on it, which in the case of glib, means
> > nearly everything.
>
>Adi : the modules that are written in the *.pc at Requiers. I follow this
>rule all the time.
>
> > 4. You have to make sure you build things in the correct order.  The page
> > in Ireland with the official build order list is down, so  I'm doing this
> > from memory, but you should get errors if you run autogen.sh before
> > building each module if the order is wrong.
> >
> > intltool
> > gnome-common
> > glib
> > atk
> > pango
> > gtk+
> > gnome-xml
> > libxslt
> > libglade
> > linc
> > ORBit2
> > bonobo-activation
> > libbonobo
> > gconf
> > gnome-mime-data
> > gnome-vfs
> > libgnome
> > libart_lgpl
> > libgnomecanvas
> > gail
> > libzvt
> > libbonoboui
> > at-spi
> > libgnomeui
> > gnome-desktop
> > gnome-session
> > libcapplet
> > gnome-panel
> > gnome-applets
> > gnome-utils
> >
> > I may have missed something-- but if you are always sure to run
> > ./autogen.sh before building each module, the errors should tell you what
> > is missing.
> >
> > Also, it can sometimes be useful to clear the directory containing gnome
> > and re-install everything periodically to get rid of old headers and
> > libraries.
> >
> > If your troubles with updating your GNOME cvs repository regularly are
> > due to internet connectivity problems, then we may want to have a
> > different discussion about possibly finding you a CVS mirror which is
> > nearer your location, or coming up with some other solution.
> >
> > HTH
> >
> > Marc
> >
> > At 06:57 PM 2/27/2002 +0200, Adi Dascal wrote:
> > >Hi all, Hi Marc
> > >
> > >         I tryed to build gnome-2 with garnome-0.7
> > >("GARNOME" GNOME 2 distribution
> > >http://www.gnome.org/~jdub/garnome/)
> > >and this is what I've got :
> > >
> > >libglade-scan.lo: In function `output_widget_args':
> > >libglade-scan.lo(.text+0xcc0): undefined reference to
> > > `gtk_object_query_args' collect2: ld returned 1 exit status
> > >Compilation of scanner failed
> > >make[3]: *** [scan-build.stamp] Error 1
> > >make[3]: Leaving directory
> > >`/home/adi/2DO/work2002/month02/work26_02/garnome-0.7.0/gnome/libglade/w
> > >or k/libglade-1.99.7/doc' make[2]: *** [all-recursive] Error 1
> > >make[2]: Leaving directory
> > >`/home/adi/2DO/work2002/month02/work26_02/garnome-0.7.0/gnome/libglade/w
> > >or k/libglade-1.99.7' make[1]: *** [all] Error 2
> > >make[1]: Leaving directory
> > >`/home/adi/2DO/work2002/month02/work26_02/garnome-0.7.0/gnome/libglade/w
> > >or k/libglade-1.99.7' make: *** [build-work/libglade-1.99.7/Makefile]
> > > Error 2
> > >
> > >         Building without this tool, from CVS, I received error at
> > > libglade, too.
> > >I'm puzzled because you told us in a previous mail that you was able to
> > > do the build on a ReHat 7.1.
> > >         Would you explain me how you did it, please? It would help us a
> > > lot. Thanks.
> > >
> > >Best regards,
> > >Adi Dascal
> > >BAUM Engineering, Romania

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



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