Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-19-2004, 04:22 PM   #1
Registered: Feb 2004
Distribution: Slackware 9.1, Slackware 9.0, FreeBSD 4.10-RELEASE, Dragon Lite, Slax
Posts: 70

Rep: Reputation: 15
GTK2 Install problems on Mandrake.

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/ -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!
Old 03-19-2004, 06:44 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some problem install wx-gtk2-2.5.2-1.i386.rpm south_river Linux - Software 0 07-24-2004 10:34 PM
failed dependency while trying to install gtk2-2.2.2-2.0 kinghari Linux - Newbie 2 10-17-2003 01:46 AM
GTK2 problems nocturnal Linux - Software 1 05-11-2003 09:26 AM
How to install gtk2 thme with no gnome? Bogdan Linux - Software 3 04-16-2003 06:07 PM
installing gtk2, having problems with libraries wr3ck3d Linux - Software 3 03-09-2003 07:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration