[ Home | Forums | About | Sponsors ]
  Welcome, Guest. Please Login or Register
Google
 
Web gotmono.com
  Signup for free on our forum and benefit from new features!
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
(Read 516 times)
GoPlayer
YaBB Newbies
*
Offline


Posts: 3

mono & gtk# on mac OS X
Feb 17th, 2005, 9:46am
 
Hello,
I wonder if anyone can help me installing gtk# on a mac (mac OS 10.3.8). I've spent far too much time (days) wrestling with fink, trying to follow the instructions on http://www.mono-project.com/using/macos.html. I'm stuck on the step 5:
---
Install the following fink packages (you can keep using Apple X11, just read this document:

   fink install pango1-xft2 pango1-xft2-dev pango1-xft2-shlibs gtk+2 gtk+2-dev gtk+2-shlibs libart2 libart2-shlibs libgnomecanvas2 libgnomecanvas2-dev libgnomecanvas2-shlibs libgnomeui2 libgnomeui2-dev libgnomeui2-shlibs libgnomeprintui2.2 libgnomeprintui2.2-dev libgnomeprintui2.2-shlibs libglade2 libglade2-shlibs libgda libgda-dev libgda-shlibs librsvg2 librsvg2-shlibs gtkhtml3 gtkhtml3-dev gtkhtml3-shlibs vte vte-dev vte-shlibs xft2-dev libgnomedb libgnomedb-dev libgnomedb-shlibs

*NB: Select the SSL or non-ssl deps as required
---
First of all the following error was reported:
<<<      error "`ft2build.h' hasn't been included yet!">>>
So I looked around and found a workaround at http://lists.ibiblio.org/pipermail/sm-discuss/2004-December/008746.html.
However since then it's been one problem after another. Some packages seem to be dependent on freetype2, "fink list freetype2" gives me : <<<
Information about 4678 packages read in 12 seconds. i   freetype2                         2.1.3-23
                TrueType font rendering library, version 2 (dummy) i   freetype2-dev            
      2.1.3-23                  TrueType font rendering library, version 2, headers
    freetype2-hinting                 2.1.3-23                  TrueType font rendering library,
version 2 (dummy)
    freetype2-hinting-dev             2.1.3-23                  TrueType font rendering library,
version 2, headers
    freetype2-hinting-shlibs          2.1.3-23                  TrueType font rendering library,
version 2, shared libs
i   freetype2-shlibs                  2.1.3-23                  TrueType font rendering library,
version 2, shared libs
>>>
At the moment I have a really encouraging error on step 5 (the big fink install) : <<< fink needs help picking an alternative to satisfy a virtual dependency. The candidates:

(1)      python: Interpreted, object-oriented language
(2)      python-nox: Interpreted, object-oriented language

Pick one: [1]
Failed: Can't resolve dependency "gcc3.3" for package "libgnomeui2-2.6.1.1-8" (no matching packages/versions found)
>>>
"Encouraging" is meant ironically, as previously fink got much farther thru the install before crashing. Now it hardly starts! So at present I'm trying to install gcc3.3, and that doesn't work, it ends with: <<<checking for sys/stat.h... (cached) yes checking for direct.h... no checking for malloc.h... (cached) no checking for langinfo.h... yes checking for thread.h... no checking for pthread.h... yes checking for CHAR_BIT... yes checking byte ordering... unknown
configure: error: *** unable to determine endianness
Configure in /Users/technique/Desktop/mono/installs/gcc3.3/gcc failed, exiting>>> I have a file named /usr/bin/gcc3, but it's gcc3.1 :  <<<MAC:/usr/bin technique$ ./gcc3 -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1256, based on gcc version 3.1 20021003 (prerelease)>>>
PAIN !
To end on a good note, installing mono itself (1.0.5) has been easy, my console HelloWorld/test app is fine.
But I want to do GUI...
Thanks anyway
Back to top
 
 
IP Logged
 
GoPlayer
YaBB Newbies
*
Offline


Posts: 3

Re: mono & gtk# on mac OS X
Reply #1 - Feb 21st, 2005, 7:40am
 

Update: the problems with gcc3 were resolved by downloading patches for gcc from developer.apple.com
But I'm still stuck on the fink install, with error :
/usr/X11R6/include/freetype2/freetype/freetype.h:30:2: warning: #warning "`ft2build.h' hasn't been
included yet!"
/usr/X11R6/include/freetype2/freetype/freetype.h:31:2: warning: #warning "Please always use macros
to include FreeType header files."
/usr/X11R6/include/freetype2/freetype/freetype.h:32:2: warning: #warning "Example:"
/usr/X11R6/include/freetype2/freetype/freetype.h:33:2: warning: #warning "  #include <ft2build.h>"
/usr/X11R6/include/freetype2/freetype/freetype.h:34:2: warning: #warning "Source Mage has included
this for you, but please fix it"
fcfreetype.c:60:31: freetype/ftmodule.h: No such file or directory
make[2]: *** [fcfreetype.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of make failed, exit code 2
Failed: compiling fontconfig2-dev-2.2.0-3 failed

Only the last 6 lines seem to be problematical, the warnings are due to the patch I applied previously.
Back to top
 
 
IP Logged
 
GoPlayer
YaBB Newbies
*
Offline


Posts: 3

Re: mono & gtk# on mac OS X
Reply #2 - Feb 21st, 2005, 7:45am
 
Re-reading the above: Mac OS 10.3.8 (a smiley seem's to've invited itself in my post...)
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print
 

Copyright © 2003-2008, The Mono Community
Website Design donated by IdeaZone.ca