[Gtk-sharp-list] Gtk-sharp RedHat Linux installation

Chris Howie cdhowie at gmail.com
Wed Oct 7 20:27:31 EDT 2009


On Wed, Oct 7, 2009 at 8:12 PM,  <chuchiehliu at micron.com> wrote:
> Thanks for your help. I am new to Linux and mono world.

Welcome.  We all start somewhere.  :)

> (1) If I did a "sudo -s" and execute the ./configure --prefix=/usr/local.  The following is what I got from console.  My "where mono" is at /usr/local/bin/mono and thus add prefix as above.  There is an error from console " Requested 'gtk+-2.0 >= 2.12.0' but version of GTK+ is 2.10.4".  I am asking my Linux admin on this and not sure whether we can upgrade GTK+ (I am not sure where it come from? GNU installation?).  Is there a way to get around it (use GTK+ 2.10.4 instead of >= 2.12.0)?  Should I try older version of gtk-sharp?

You would need to use an older Gtk# if you cannot use a newer GTK+.

> (2) If I login as myself and do a "./configure --prefix=/usr/local", the following is what I got from console.  It sure looks like I have some permission issue.
>
> chuchiehliu at lnxeng02:[/tmp/mono/gtk-sharp-2.12.9] {3} % ./configure --prefix=/usr/local
> ./configure: line 1739: config.log: Permission denied
> ./configure: line 1749: config.log: Permission denied

This is because you ran ./configure as root earlier, so the log file
is now owned by root and your user can't touch it.  If I were in your
shoes I would remove the whole /tmp/mono/gtk-sharp-2.12.9 directory
(as root, so you have permissions) and then extract it as a normal
user.  (Also, I would not use /tmp for this -- it gets wiped when you
reboot.  I'd create a "src" directory in my home directory and compile
stuff in there.)

Good luck!

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Gtk-sharp-list mailing list