On 3/20/12 6:57 PM, Philip J. Moyer wrote: > On Tue, 20 Mar 2012, Alexander Hansen wrote: > >>> XBGM# work with Mac OS X 10.3 (Panther) and Mac OS X 10.4 (Tiger). >>> Install fink. >>> (Update fink to unstable) >>> Install mono 1.1.18 from fink or from the mono package. >>> Install gtk+ 2.6.10 or upper and gtk-sharp2 2.4.3 or upper from fink. >>> Download xbgm# from cvs or use the binary package. >> Don't necessarily believe what arbitrary websites say about >> installing via Fink. :-) > > Well, given that I haven't found anything -else- that can do what I > need (except perhaps Modio, and I have NO idea how I'd get that > working on a mac without building from scratch, if that's even > possible), I've gotta go with what I got. ;) > >>> The build portion appears to have executed just fine, but this >>> 'mdassembler' fails and therefore halts the entire install from that >>> point. I did some brief looking up online, and found that mscorlib.dll >>> appears to be a critical part of .NET, which fink is meant to >>> implement, >>> but I have no idea how to address or fix this error. >> >> /usr/bin/mdassembler isn't installed as part of the system on 10.6, >> nor is it installed by Fink. You're mixing a Fink build with a >> third-party (I'm guessing newer) Mono installation. >> >> You might try "fink install monodoc" so that Fink's mdassembler takes >> priority. > > ... that worked! It got past the problem with mdassembler, and > finished the gtk-sharp2 install just fine! Thanks!! :) > > AND, this helps with the script, since as it turns out I have two Mono > installs, one via fink, and one via direct that ended up in the > /Library/Frameworks directory... my bad. Changing the paths has > helped, to allow the program to start, but then I come across another > problem.... > >> Without seeing the script, it's hard to say for sure what's going on. > > The startup script, modified (whereas before it referred to /usr/bin > in places): > > -------------------------------------- > #!/bin/sh > export DYLIB_LIBRARY_PATH=/opt/local/lib:/sw/lib/:/sw/lib/mono/2.0 > date > > export MONO_PATH=$MONO_PATH:/sw/lib/mono/gtk-sharp-2.0 > > /sw/bin/mono xbgmsharp.exe > -------------------------------------- > > I changed the exported env. vars to now point to /sw 's mono > libraries, which at least allowed the program to -start-. (I'm not > sure what should replace /opt/local/lib, since that doesn't exist on > my mac) In turn, I get: > > bash-3.2$ sh ./xbgmsharp.mac.sh > : command not found line 3: date > : command not found line 4: > : command not found line 6: > XBGM#0.9.1.0-26_devglade > OSVersion: Unix 10.8.0.0 > OSVersion.Platform: 128 > OSVersion.Version: 10.8.0.0 > > Glade MyGui Init error: Path is empty > > And it just holds there at that point, not bringing up UI (started up > from X11 xterm). > > So I think I may be missing an environment variable somewhere, or some > other setup step that I can't think of right at the moment. Any > suggestions? > > In any case, thanks for the help you've given so far! I really > appreciate it! :) > > --- Philip > /opt/local is where Macports installs stuff by default; the script appears to be trying to allow users to mix Macports and Fink.
Maybe try running the script with "bash ./xbgmsharp.mac.sh", or even just "./xbgmsharp.mac.sh". It seems like something is getting unset, since the built-in "date" command isn't being found. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners