[Gtk-sharp-list] Compiling GTK 0.11 on Windows 2000.

Daniel Morgan danielmorgan@verizon.net
Wed, 22 Oct 2003 13:07:37 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C3989D.77520FE0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

MessageYou will also need libglade 2.0.1 or newer.
You can get it at

ftp://ftp.gnome.org/mirror/gnome.org/desktop/2.2/2.2.2/sources/

You will have to build it yourself.

I don't know what's needed from here, but definitley libglade's .pc file is
needed.

Make sure you have PKG_CONFIG_PATH set to where your .pc files are, such as:

export PKG_CONFIG_PATH=/cygdrive/c/Mono-0.28/lib/pkgconfig

And have the prefix line in each .pc file set to your Mono prefix, such as:
prefix=/cygdrive/c/Mono-0.28

It also helps to set your PATH and LD_LIBRARY_PATH in the windows control
panel.
PATH
C:\Mono-0.28\bin;C:\Mono-0.28\lib
LD_LIBRARY_PATH
C:\Mono-0.28\lib

When using ./autogen.sh, use --prefix with pointing to your Mono prefix,
such as:
./autogen.sh --prefix=/cygdrive/c/Mono-0.28

Make sure the registry keys for gtk is pointing to your Mono prefix.

  -----Original Message-----
  From: gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com]On Behalf Of Paul Paximadis
  Sent: Wednesday, October 22, 2003 4:05 AM
  To: gtk-sharp-list mailing list
  Subject: [Gtk-sharp-list] Compiling GTK 0.11 on Windows 2000.


  Hi,

  I am currently trying to compile/build GTK 0.11 on widows 2000.

  I downloaded/installed cygwin( including base / development ).
  I downloaded/installed GTK-Runtime-Environment-2.2.4.exe ( for windows )
and the development package.
  I have mono install at c:\program files\mono...
  Download source for gtk-sharp 0.11 and extracted in cygwin.

  I then ran ./autogen.sh --prefix='c:\program files\mono0.25'

  Install aborts with message that I do not have GTK+ > 2.0 installed.(
update pkgconfig etc.. )

  Have I got the correct GTK+ ( ie. the windows version )?
  How do I let cygwin where GTK+ is ?
  Am I missing some steps here ?

  Any help would be appreciated.

  Thanks in advance,
  Paul





------=_NextPart_000_0005_01C3989D.77520FE0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
will also need libglade 2.0.1 or newer.</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
can get it at </FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2><A=20
href=3D"ftp://ftp.gnome.org/mirror/gnome.org/desktop/2.2/2.2.2/sources/">=
ftp://ftp.gnome.org/mirror/gnome.org/desktop/2.2/2.2.2/sources/</A></FONT=
></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
will have to build it yourself.&nbsp;</FONT></SPAN><SPAN=20
class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
don't know what's needed from here, but definitley libglade's .pc file =
is=20
needed.</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>Make=20
sure you have PKG_CONFIG_PATH set to where your .pc files are, such=20
as:</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003>export=20
PKG_CONFIG_PATH=3D/cygdrive/c/Mono-0.28/lib/pkgconfig</SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>And=20
have the prefix line in each .pc file set to your Mono prefix, such=20
as:</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2>prefix=3D/cygdrive/c/Mono-0.28</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>It=20
also helps to set your PATH and LD_LIBRARY_PATH in the windows control=20
panel.</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2>PATH</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2>C:\Mono-0.28\bin;C:\Mono-0.28\lib</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2>LD_LIBRARY_PATH</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2>C:\Mono-0.28\lib</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>When=20
using ./autogen.sh, use --prefix with pointing to your Mono prefix, such =

as:</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2>./autogen.sh=20
--prefix=3D/cygdrive/c/Mono-0.28</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =
size=3D2>Make=20
sure the registry keys for gtk is pointing to your Mono=20
prefix.</FONT></SPAN></DIV>
<DIV><SPAN class=3D378445116-22102003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  gtk-sharp-list-admin@lists.ximian.com=20
  [mailto:gtk-sharp-list-admin@lists.ximian.com]<B>On Behalf Of </B>Paul =

  Paximadis<BR><B>Sent:</B> Wednesday, October 22, 2003 4:05 =
AM<BR><B>To:</B>=20
  gtk-sharp-list mailing list<BR><B>Subject:</B> [Gtk-sharp-list] =
Compiling GTK=20
  0.11 on Windows 2000.<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2>Hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>I am =
currently=20
  trying to compile/build GTK 0.11 on widows 2000.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2>I&nbsp;downloaded/installed cygwin( including base / =
development=20
  ).</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>I=20
  downloaded/installed GTK-Runtime-Environment-2.2.4.exe ( for windows ) =
and the=20
  development package.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>I =
have mono=20
  install at c:\program files\mono...</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial =
size=3D2>Download source=20
  for gtk-sharp 0.11 and extracted in cygwin.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>I =
then ran=20
  ./autogen.sh --prefix=3D'c:\program =
files\mono0.25'</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial =
size=3D2>Install aborts=20
  with message that I do not have GTK+ &gt; 2.0 installed.( update =
pkgconfig=20
  etc.. )</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>Have =
I got the=20
  correct GTK+ ( ie. the windows version )?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>How =
do I let=20
  cygwin where GTK+ is ?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial =
size=3D2>Am&nbsp;I missing=20
  some steps here ?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial size=3D2>Any =
help would be=20
  appreciated.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial =
size=3D2>Thanks in=20
  advance,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2>Paul</FONT></SPAN></DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D636470007-22102003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0005_01C3989D.77520FE0--