Problem while installing xchm
hi nice ppl
i want to install xchm(to read chm files),when installing xchm it requested wxwidgets while the configure program and it also requested GTK+ the same thing with GTK+(configure) showed amessage like that: Quote:
pls any ideas or suugestions are welcome many thanks |
Quote:
Run set and see if you have PKG_CONFIG_PATH if it does not contain /usr/lib/X11R6/lib/pkgconfig you'll want to add that in your .bash_profile, but to start you can just do export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R6/lib/pkgconfig more than likely that will fix the problem. |
hi again
ok i did what u said(rane tha set command) but i did not find the PKG_CONFIG_PATH so what shall i do now please? thanks |
Quote:
For the time being, type: export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig and try it again. Then use a text editor on your .bash_profile and put the line above into it (if it works). That way it will be set from then on. (NOTE: Make sure that X11R6 is actually in the usr directory) |
hi
1st i want just to tell you that i do not have the pkgconfig directory in /usr/X11R/lib it exists in /usr/lib and /usr/local/lib so i typed export PKG_CONFIG_PATH=/usr/lib/pkgconfig then editing the .bash_profile then ./configure for gtk+ i got the same error message so please any solution ? thanks in advance |
hi kind ppl
please any other solutions thanks |
You put usr/lib in, but not usr/local/lib
find / -name glib* and see if it may be in the usr/local/lib... if so that also needs to be in your PKG_CONFIG_PATH |
could you please clarify wht exactly i shall do?
thanks |
type export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
|
hi again
ok i did what you said,thanks,every thing was right. now i moved to install the atk which is also requiered bt the GTK+, while the configure program i got an error : Quote:
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local the problem is that when i installed glib-2.12.0 in /usr/local: ./configure --prefix=/usr/local when i look for it in the /usr/local using either(the locate or find commands)i do not find it(glib-2.12.0) so what is the solution? thank you so much |
find / -name glib*.pc
as root If you come up with two glib.pc files do an ls -la on them both to see which is older(on your system) , I think the main problem is that you installed an older version of glib over an already existing version of glib. The thing is if you had not installed glib again and just set the pkg-config-path, everything would probably be fine now, but now we have to clean up our mess :P Also do a set and see if you have LD_LIBRARY_PATH as we might just skip over the PKG_CONFIG_PATH on this one. As a side note, make sure you add the PKG_CONFIG_PATH line from above to your .bash_profile, so that it is loaded everytime you restart. |
for LD_LIBRARY_PATH i did not find it with the set command(please what's its goal). but i configured the /etc/ld.so.conf added the /usr/local/lib path, then moving to to pango(also needed by GTK+) so it needs the fontconfig.pc i installed it, then moved to cairo(also requested by GTK+).the pblm i had is that i tough that installing glib-2.12.0 so i should find glib-2.12.0.pc,in fact it is glib-2.0.pc
so now during the cairo configure i got message: Quote:
many thanks |
What distro are using, out of curiousity, that you are installing all of this by hand?
I'm not going to give you a solution to this one, you have to locate the x11.pc, how have we done that so far? How have we loaded that path? See if that fixes the rest of the problems, although you will probably also have to install libpng... a never ending list of dependencies for this one. |
hi
i'm using mandrake 10.1 about x11.pc i did not find it? so please what shall i do? |
Quote:
also, you man need to install the X11 development libraries. Is there a reason you are installing all of these the way you are. doesn't mandrake use rpm? If so, why not use rpm with dependency checking. Holy hell it would save a lot of hassle. why not do urpmi xchm |
All times are GMT -5. The time now is 01:02 AM. |