LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GTK2 Install problems on Mandrake. (https://www.linuxquestions.org/questions/linux-software-2/gtk2-install-problems-on-mandrake-159926/)

danny_beta_read 03-19-2004 03:22 PM

GTK2 Install problems on Mandrake.
 
Hey,
I am trying to install Mono (a VB.NET compiler) on my Mandrake 9.2 computer, but it complains I don't have GTK2. I tried installing GTK+, but I'm not sure if thats what I need, and I couldn't get it to install... If anyone could tell me where to get GTK2, and how to install GTK+, I would appreciate it.
Heres the GTK+ Install errors:
When I go to install Glib 2.4 (one of the required components) I get this:
[root@localhost glib-2.4.0]# make
cd . && /bin/sh ./config.status glibconfig.h
config.status: executing glibconfig.h commands
config.status: glibconfig.h is unchanged
echo timestamp > stamp-gc-h
make all-recursive
make[1]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0'
Making all in .
make[2]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0'
make[2]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0'
Making all in m4macros
make[2]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/m4macros'
Making all in glib
make[2]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/glib'
Making all in libcharset
make[3]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/glib/libcharset'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/glib/libcharset'
make[3]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/glib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/glib'
make[2]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/glib'
Making all in gobject
make[2]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/gobject'
make glib-genmarshal
make[3]: Entering directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/gobject'
make[3]: `glib-genmarshal' is up to date.
make[3]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
./glib-genmarshal: eval: line 1: syntax error near unexpected token `('
./glib-genmarshal: eval: line 1: `(cd /root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/gobject; { test -z "${LIBRARY_PATH+set}" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z "${COMPILER_PATH+set}" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z "${GCC_EXEC_PREFIX+set}" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z "${LD_RUN_PATH+set}" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin"; export PATH; gcc -g -O2 -Wall -o $progdir/$file glib-genmarshal.o ../glib/.libs/libglib-2.0.so -Wl,--rpath -Wl,/root/Desktop/Mono -Wl,--rpath -Wl,(VB.NET)/GTK+2.4/glib-2.4.0/glib/.libs -Wl,--rpath -Wl,/usr/local/lib)'
make[2]: *** [stamp-gmarshal.h] Error 1
make[2]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/Mono (VB.NET)/GTK+2.4/glib-2.4.0'
make: *** [all] Error 2
[root@localhost glib-2.4.0]#
And then when I try to install Pango 1.4.0, it says I don't have Glib 2.4 installed. I have tried the lpconfig command (or whatever it is, I cannot remember), with no luck. Help is greatly needed!:newbie: :Pengy:

Andrew Benton 03-19-2004 05:44 PM

Are you sure it needs gtk-2.4? Could you not just load gtk of your Mandrake CD's? It'll be called something like libgtk+2.0_0-dev.


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