Since you have gal installed to /usr/lib, evolution is pulling in that
gal instead of the one in /opt/gnome/lib.

The only way to fix this is to install both evolution-1.0.3 and
evolution-HEAD (and their dependencies) to different directories, not
using /usr as the prefix for anything.

Jeff

On Wed, 2002-04-17 at 10:43, James D Strandboge wrote:
> I have been trying to get cvs head evolution compiled for a couple of
> days.  My goal is to run a stable evolution from my distribution
> (debian) and a cvs version for development.  Here is what I did:
> 
> First, I set my build environment to:
> 
> export PATH=/opt/gnome/bin:$PATH
> export LD_LIBRARY_PATH=/opt/gnome/lib:$LD_LIBRARY_PATH
> export CFLAGS="-I/opt/gnome/include"
> export LDFLAGS="-L/opt/gnome/lib"
> export GNOME_PATH=/opt/gnome
> export ACLOCAL_FLAGS="-I /opt/gnome/share/aclocal"
> export CVSROOT=':pserver:[EMAIL PROTECTED]:/cvs/gnome'
> 
> I then:
> compiled gnome from source and installed into /opt/gnome
> compiled cvs gal, gtkhtml and soup and installed into /opt/gnome (eg
> ./autogen.sh --prefix=/opt/gnome && make && sudo make install)
> 
> I verified that all the libraries are indeed using my new gnome
> installation (/opt/gnome) rather than the debian one.  I had to set
> --with-gnome=/opt/gnome for gtkhtml and --with-glib-prefix=/opt/gnome
> for soup.
> 
> Long story short, tried compiling evolution (./autogen.sh
> --prefix=/opt/gnome && make && sudo make install), and it is finding my
> libraries in /opt/gnome according to configure and the build, but get
> these errors during the build:
> 
> ... many, many of these messages ...
> /opt/gnome/lib/libgal.a(e-vscrolled-bar.o): In function
> `e_vscrolled_bar_get_type':
> e-vscrolled-bar.o(.text+0x0): multiple definition of
> `e_vscrolled_bar_get_type'
> ../../e-util/.libs/libeutil.al(e-vscrolled-bar.o)(.text+0x0): first
> defined here
> /opt/gnome/lib/libgal.a(e-vscrolled-bar.o): In function
> `e_vscrolled_bar_new':
> e-vscrolled-bar.o(.text+0x5a0): multiple definition of
> `e_vscrolled_bar_new'
> ../../e-util/.libs/libeutil.al(e-vscrolled-bar.o)(.text+0x5a0): first
> defined here
> /opt/gnome/lib/libgal.a(e-vscrolled-bar.o): In function
> `e_vscrolled_bar_set_adjustment':
> e-vscrolled-bar.o(.text+0x1b34): multiple definition of
> `e_vscrolled_bar_set_adjustment'
> ../../e-util/.libs/libeutil.al(e-vscrolled-bar.o)(.text+0x1b34): first
> defined here
> /opt/gnome/lib/libgal.a(e-vscrolled-bar.o): In function
> `e_vscrolled_bar_get_adjustment':
> e-vscrolled-bar.o(.text+0x1a80): multiple definition of
> `e_vscrolled_bar_get_adjustment'
> ../../e-util/.libs/libeutil.al(e-vscrolled-bar.o)(.text+0x1a80): first
> defined here
> collect2: ld returned 1 exit status
> make[3]: *** [libevolution-importer.la] Error 1
> make[3]: Leaving directory
> `/mnt/nfs/stor2/james/src/evolution/evolution/shell/importer'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/mnt/nfs/stor2/james/src/evolution/evolution/shell'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/mnt/nfs/stor2/james/src/evolution/evolution'
> make: *** [all-recursive-am] Error 2
> 
> Not sure how to proceed at this point.  I am using the recommended gal,
> but evolution isn't happy with it.  Any ideas?
> 
> Jamie Strandboge
> 
> -- 
> Email:        [EMAIL PROTECTED]
> GPG/PGP ID:   26384A3A
> Fingerprint:  D9FF DF4A 2D46 A353 A289  E8F5 AA75 DCBE 2638 4A3A
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
[EMAIL PROTECTED]  - www.ximian.com


_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to