Hello, I have been trying to compile atk (part of Gnome, required by GTK). After a good amount of effort, I was able to execute its configure through
Quote:
./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/ATK/ PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/pkgconfig/
|
and
Quote:
export LD_LIBRARY_PATH=/media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/lib/
|
However, when I executed "make", it says:
Quote:
make all-recursive
make[1]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1'
Making all in atk
make[2]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1/atk'
GEN stamp-atkmarshal.h
/bin/bash: glib-genmarshal: command not found
make[2]: *** [stamp-atkmarshal.h] Error 127
make[2]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1'
make: *** [all] Error 2
|
So it cannot find this gen-marshall. So issued a
Quote:
sudo ln -s /media/34GB/Arquivos-de-Programas-Linux/Glib-2.28/bin/glib-genmarshal /usr/local/bin/
|
and repeated the "make". Now I am receiving:
Quote:
make
make all-recursive
make[1]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111'
Making all in atk
make[2]: Entering directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111/atk'
GEN stamp-atkmarshal.h
GEN stamp-atkmarshal.c
GEN s-enum-types-h
/bin/bash: line 1: glib-mkenums: command not found
make[2]: *** [s-enum-types-h] Error 127
make[2]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/34GB/Arquivos-de-Programas-Linux/atk-2.0.1111'
make: *** [all] Error 2
|
So this "glib-mkenums" is on the same place were "gen-marshall" is, on Glib-2.28/bin/. I guess I can create another symbolic link for it on /usr/local/bin. But if there is another Glib small program that will not be found by atk's Makefile? And another one after that? And many more after these?
So, what I am here to ask is: What are the options to make Atk's makefile to find all these small Glib programs? I prefer to not install Glib to system executable directories. In its place, I would rather link every little needed executable, but I was thinking if there is something LD_LIBRARY_PATH, to do Glib-2.28/bin to became a system wide directory to look for executables. Any other suggestion is welcome.