LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GTK and Dependencies... What is this, a Business? (https://www.linuxquestions.org/questions/linux-software-2/gtk-and-dependencies-what-is-this-a-business-251920/)

Kane635 11-06-2004 05:33 PM

GTK and Dependencies... What is this, a Business?
 
root@ubuntu:/usr/src/atk-1.6.1 # ls
aclocal.m4 atk-zip.sh config.status INSTALL mkinstalldirs
atk atk-zip.sh.in config.sub install-sh NEWS
atk.pc AUTHORS configure libtool po
atk.pc.in ChangeLog configure.in ltmain.sh README
atk.spec config.guess COPYING Makefile stamp-h1
atk.spec.in config.h depcomp Makefile.am tests
atk-uninstalled.pc config.h.in docs Makefile.in
atk-uninstalled.pc.in config.log gtk-doc.make missing
root@ubuntu:/usr/src/atk-1.6.1 # pwd
/usr/src/atk-1.6.1
root@ubuntu:/usr/src/atk-1.6.1 # make
make all-recursive
make[1]: Entering directory `/usr/src/atk-1.6.1'
Making all in atk
make[2]: Entering directory `/usr/src/atk-1.6.1/atk'
..//usr/src/glib-2.4.7/gobject/glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: line 1: ..//usr/src/glib-2.4.7/gobject/glib-genmarshal: No such file or directory
make[2]: *** [stamp-atkmarshal.h] Error 127
make[2]: Leaving directory `/usr/src/atk-1.6.1/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/atk-1.6.1'
make: *** [all] Error 2
root@ubuntu:/usr/src/atk-1.6.1 #

Just compiling ATK here... PKG_CONFIG_PATH=/usr/src/glib-2.4.7

foo_bar_foo 11-06-2004 09:31 PM

the only thing atk needs is glib
i'm wondering why you point it to /usr/src/glib-2.4.7
did you not install glib-2.4.7 ????? but just compile it in it's source directory
PKG_CONFIG_PATH needs to point to /SomeInstallPrefix/lib/pkgconfig
I'm kind of wondering how you got this to configure this way ?

Kane635 11-07-2004 12:45 PM

No, it should point to the location of the glib-2.0.pc files directory. Which is, /usr/src/glib-2.4.7
Any help anyone?:confused: :confused: :confused: :confused: :confused:

foo_bar_foo 11-07-2004 08:15 PM

glib-2.0.pc
installs to
/prefix/lib/pkgconfig

:(

you have to actually explain what you have done and if you installed glib-2.4.7
and if so exactly how and with exact package names and commands before anyone can help you..
we are short on our claravoiant capacities today..
glib src tarball comes with "glib-2.0.pc.in" which is a script used to dynamically create glib-2.0.pc at compile time AND THEN INSTALL IT in /prefix/lib/pkgconfig default is /usr/local/lib/pkgconfig

Kane635 11-07-2004 08:24 PM

Thank you, guess what returns what? :-D
root@ubuntu:/home/kane # locate glib-2.0.pc
/usr/src/glib-2.4.7/glib-2.0.pc.in
/usr/src/glib-2.4.7/glib-2.0.pc
/usr/local/lib/pkgconfig/glib-2.0.pc
root@ubuntu:/home/kane #


/usr/local/lib/pkgconfig/glib-2.0.pc
I'll update PKG_CONFIG_PATH and find out what happens. Btw, I installed from source.
./configure
make
make install


All times are GMT -5. The time now is 06:19 AM.