make giving errors while installing atk-2.12.0 in non standard directory
This is the error:-
make all-recursive make[1]: Entering directory `/home/user/sklinux/extract/atk-2.12.0' Making all in atk make[2]: Entering directory `/home/user/sklinux/extract/atk-2.12.0/atk' GEN stamp-atkmarshal.h /bin/sh: glib-genmarshal: command not found make[2]: *** [stamp-atkmarshal.h] Error 127 make[2]: Leaving directory `/home/user/sklinux/extract/atk-2.12.0/atk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/sklinux/extract/atk-2.12.0' make: *** [all] Error 2 I wanted to install software but I did not have root password After searching a lot I found that I can install softwares in a different place than default The software which I wanted to install required gtk+ . gtk+ required glib and atk-2.12.0 and other softwares I installed glib in /home/user/sklinux/linux by compiling from source and using make and make install Then I ran ./configure (in atk's folder) with --prefix=/home/user/sklinux/linux but it gave error that glib is not installed and that if it is installed specify the directory of some file in by PKG_CONFIG_PATH variable finally it gave another error then finally this command did it successfully ./configure --prefix=/home/user/sklinux/linux/ PKG_CONFIG_PATH=/home/user/sklinux/linux/lib/pkgconfig LD_LIBRARY_PATH=/home/user/sklinux/linux/lib/ I understand that glib-genmarshal is in /home/user/sklinux/linux/bin and not in /bin/sh which is the cause of error. How do i tell the same to my computer?? Please help me as fast as possible. |
Quote:
You need to make sure /home/user/sklinux/linux/bin is in your PATH. Code:
export PATH=/home/user/sklinux/linux/bin:$PATH |
Thank you very much.
It solved the problem. Does this command look for binaries in local directory before going to /bin? and was it looking in /bin(not in /bin/sh) |
Here's a discussion of the PATH env variable --> http://www.linfo.org/path_env_var.html. Lot's more free information available on the internet. Good luck.
|
All times are GMT -5. The time now is 08:05 PM. |