[Mono-osx] Re questing tool attention for OS X
Chuck Esterbrook
chuck.esterbrook at gmail.com
Sat Nov 28 13:33:02 EST 2009
Thanks for the tip. I tried it and get:
$ export AS="as -arch i386"
$ mkbundle -o hello hello.exe --deps
OS is: Darwin
Sources: 1 Auto-dependencies: True
embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
embedding: /Library/Frameworks/Mono.framework/Versions/2.6/lib/mono/2.0/mscorlib.dll
Compiling:
as -arch i386 -o temp.o temp.s
cc -g -o hello -Wall temp.c `pkg-config --cflags --libs mono` temp.o
Package mono was not found in the pkg-config search path.
Perhaps you should add the directory containing `mono.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mono' found
temp.c:2:36: error: mono/metadata/assembly.h: No such file or directory
temp.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘assembly_bundle_hello_exe’
temp.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘assembly_bundle_mscorlib_dll’
temp.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
temp.c:21: error: ‘NULL’ undeclared here (not in a function)
temp.c: In function ‘mono_mkbundle_init’:
temp.c:25: warning: implicit declaration of function
‘mono_register_bundled_assemblies’
temp.c:25: error: ‘bundled’ undeclared (first use in this function)
temp.c:25: error: (Each undeclared identifier is reported only once
temp.c:25: error: for each function it appears in.)
temp.c: In function ‘main’:
temp.c:117: warning: implicit declaration of function ‘mono_set_dirs’
[Fail]
I think this is the conflict between Mono pkg-config and MacPorts pkg-config.
-Chuck
On Sat, Nov 28, 2009 at 10:17 AM, Duane Wandless <duane at wandless.net> wrote:
> Regarding the mkbundle error, try:
> export AS="as -arch i386"
> mkbundle....
>
>
>
> On Sat, Nov 28, 2009 at 12:56 PM, Stifu <stifu at free.fr> wrote:
>>
>> Hello,
>>
>> About MonoDevelop not working, telling you you don't have Mono 2.4 or
>> later,
>> this can happen if you have multiple versions of Mono installed. You could
>> double check it's not the case.
>>
>>
>> Chuck Esterbrook wrote:
>> >
>> > Hi,
>> >
>> > Poking around the web, I found "monodoc"
>> > (http://www.mono-project.com/Monodoc), but it doesn't appear to be
>> > available for Mac.
>> >
>> > I saw someone reference "mdb" in IRC, but that's missing too.
>> >
>> > There is also "mkbundle", which is present, but not working:
>> >
>> > $ mkbundle -o hello hello.exe --deps
>> > OS is: Darwin
>> > Sources: 1 Auto-dependencies: True
>> > embedding: /Users/chuck/Scrap/dev/sharp/hello.exe
>> > embedding:
>> >
>> > /Library/Frameworks/Mono.framework/Versions/2.4.2.3/lib/mono/2.0/mscorlib.dll
>> > Compiling:
>> > as -o temp.o temp.s
>> > temp.s:2:unknown section type: symbol_stubs
>> > temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
>> > temp.s:3082:unknown section type: symbol_stubs
>> > temp.s:3082:Rest of line ignored. 1st junk character valued 112 (p).
>> > [Fail]
>> >
>> > That's all on Mono 2.4.2.3 on OS X 10.6.1.
>> >
>> > I just installed Mono 2.6 preview 1 with no improvement.
>> >
>> > Then I tried MonoDevelop for the first time. It won't launch because
>> > it claims that I don't have Mono 2.4 or later (obviously I do). There
>> > is a MonoDevelop preview download listed with the Mono 2.6 preview,
>> > but it's MonoDevelop 2.0 instead of 2.2.
>> >
>> > Mono works great for me on Mac in terms of compilers and non-GUI
>> > libraries. But the other tools seem non-existant or broken.
>> >
>> >
>> > Are there any insights from Mono project folks such as "get monodoc
>> > here" or "change mkbundle options to this"?
>> >
>> > If I need to fill out bug reports, let me know.
>> >
>> >
>> > -Chuck
>> > _______________________________________________
>> > Mono-osx mailing list
>> > Mono-osx at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-osx
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Requesting-tool-attention-for-OS-X-tp26555333p26555390.html
>> Sent from the Mono - OSX mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
More information about the Mono-osx
mailing list