Pango make problems
I'm trying to install GNOME 2.6 on Mandrake 10.
I configure pango with "./configure --prefix=/opt/local" and everything goes ok. But when I run make I get message: /home/vladoboss/gnome/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/vladoboss/gnome/pango-1.4.0/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vladoboss/gnome/pango-1.4.0' make: *** [all] Error 2 [vladoboss@vladoboss pango-1.4.0]$ What could be a problem? |
Have you installed other things you're trying to link against in /opt/local? If so, try setting the variable
export LDFLAGS="-L/opt/local/lib" |
That didn't help :-(
And yes I have installed all previous packeges which were required by order given in GNOME instalation manual. I stuck with pango, and cannot continue with other packages without it. |
Which version of glib are you compiling pango against, and where did you install it?
|
glib is version 2.4.1, which is coming in GNOME 2.6 package, and it is installed in /opt/local/lib. I'm installing GNOME 2.6 in /opt/local
When I install Mandrake 10 I didn't install Gnome 2.4 , maybe this is a problem, some application maybe is missing although I doubt. The message didn't tell me that anything is missing?! |
No, Gnome isn't the problem. I have Gnome installed and I get your error if I follow your steps. I installed glib-2.4.0 (I haven't got 2.4.1 yet) in /opt/local , then I set
export PFG_CONFIG_PATH=/opt/local/lib/pkgconfig export LD_LIBRARY_PATH=/opt/local/lib then I cd'd into the pango folder and did ./configure --prefix=/opt/local configure went fine but make gave the same error as you. So I deleted the pango source, untared a clean one and did it again but this time, as well as PFG_CONFIG_PATH and LD_LIBRARY_PATH , this time I set the variable I told you about before export LDFLAGS="-L/opt/local/lib" That fixed it. This time pango built cleanly. If you close the terminal it forgets the varibles so you need to set them again, each itme you start work. If you're going to do the whole of Gnome, you might want to put Code:
export PFG_CONFIG_PATH=/opt/local/lib/pkgconfig |
YEAH, THAT WORKS!!! THANK YOU OOOOH... MASTER :-)
|
All times are GMT -5. The time now is 05:16 AM. |