Re: pango compile error



On Mon, 2004-07-05 at 11:23, Paul Rivera wrote:
> Hi! I tried glib-2.4.0 and still got the same error:
> 
> /home/paulr1984/Downloads/gtk/pango-1.4.0/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_instance_get_private'
> /home/paulr1984/Downloads/gtk/pango-1.4.0/pango/.libs/libpangoft2-1.0.so: undefined reference to `g_type_class_add_private'
> /home/paulr1984/Downloads/gtk/pango-1.4.0/pango/.libs/libpango-1.0.so: undefined reference to `g_unichar_get_mirror_char'
> collect2: ld returned 1 exit status
> make[4]: *** [pango-querymodules] Error 1
> make[4]: Leaving directory `/home/paulr1984/Downloads/gtk/pango-1.4.0/pango'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/paulr1984/Downloads/gtk/pango-1.4.0/pango'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/paulr1984/Downloads/gtk/pango-1.4.0/pango'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/paulr1984/Downloads/gtk/pango-1.4.0'
> make: *** [all] Error 2
> 
> I have to use glib version 2.4.0 or greater.  I haven't tried 2.4.1 yet but I have a good hunch that it too will give me a compilation error.  Anymore ideas?  You might want to check this page out: http://www.mail-archive.com/gtk-list%40gnome.org/msg15845.html
> 
> I don't really understand how he did it.  Thanks for replying.

You have multiple versions of Glib installed which is pretty difficult
to deal with.

I would suggest either:

 - Use a build script like jhbuild or garnome which properly
   encapsulates the new build and runtime environments.
 - Replace your system library instead of installing into a separate
   location (best to to use packages built for your system if relevant)

Dealing with multiple libraries yourself requires a good knowledge of
ld, ld.so and libtool and a lot of patience.

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part



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