Google Groups Home
Help | Sign in
Nemerle 0.9.3 on MacOSX 10.5.2
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
shad0an  
View profile
 More options Apr 15, 5:43 pm
From: shad0an <shad...@gmail.com>
Date: Tue, 15 Apr 2008 14:43:20 -0700 (PDT)
Local: Tues, Apr 15 2008 5:43 pm
Subject: Nemerle 0.9.3 on MacOSX 10.5.2
I was able to successfully configure and install nemerle, but I seem
unable to actually use it.  I keep getting these errors when running
ncc (aka mono ncc.exe):

--------------------------------------------------------------------
Cerberus:~ visage$ ncc

** (/usr/local/bin/ncc.exe:6192): WARNING **: The following assembly
referenced from /usr/local/bin/ncc.exe could not be loaded:
     Assembly:   Nemerle    (assemblyref_index=3)
     Version:    0.9.3.0
     Public Key: e080a9c724e2bfcd
System error: Unknown error: 0

** (/usr/local/bin/ncc.exe:6192): WARNING **: Could not load file or
assembly 'Nemerle, Version=0.9.3.0, Culture=neutral,
PublicKeyToken=e080a9c724e2bfcd' or one of its dependencies.

Unhandled Exception: System.IO.FileNotFoundException: Could not load
file or assembly 'Nemerle, Version=0.9.3.0, Culture=neutral,
PublicKeyToken=e080a9c724e2bfcd' or one of its dependencies.
File name: 'Nemerle, Version=0.9.3.0, Culture=neutral,
PublicKeyToken=e080a9c724e2bfcd'
--------------------------------------------------------------------

Any ideas?  Thanks!
Corey


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ķaмȋļ ๏ Şκaļşκȋ  
View profile
(1 user)  More options Apr 16, 3:41 am
From: "Ķaмȋļ ๏ Şκaļşκȋ" <kamil.skal...@gmail.com>
Date: Wed, 16 Apr 2008 09:41:07 +0200
Local: Wed, Apr 16 2008 3:41 am
Subject: Re: [nem-forum] Nemerle 0.9.3 on MacOSX 10.5.2
Are you sure the Nemerle.dll is properly installed into the GAC?

--
Kamil Skalski
http://nazgul.omega.pl

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shad0an  
View profile
 More options Apr 16, 8:30 am
From: shad0an <shad...@gmail.com>
Date: Wed, 16 Apr 2008 05:30:11 -0700 (PDT)
Local: Wed, Apr 16 2008 8:30 am
Subject: Re: Nemerle 0.9.3 on MacOSX 10.5.2
Ah, I think I see what was going wrong.  While the install script
claimed it installed the Nemerle dlls, it seems that it wasn't in the
right place.  I installed the dlls by hand (gacutil -i) and everything
works well.  The script was installing to /usr/lib/mono/gac when it
should have been installing to /Library/Frameworks/Mono.framework/
Versions/1.9/lib/mono/gac.

All is well!  Thanks for the tip!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shad0an  
View profile
 More options Apr 16, 8:32 am
From: shad0an <shad...@gmail.com>
Date: Wed, 16 Apr 2008 05:32:14 -0700 (PDT)
Local: Wed, Apr 16 2008 8:32 am
Subject: Re: Nemerle 0.9.3 on MacOSX 10.5.2
Except...

Now I get this error:

Cerberus:Nemerle visage$ ncc -o viterbi.exe viterbi.n
error: cannot find assembly `Nemerle'

It would seem I have to install other things as well.  Perhaps I can
define the install location in the config file?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shad0an  
View profile
 More options Apr 16, 12:11 pm
From: shad0an <shad...@gmail.com>
Date: Wed, 16 Apr 2008 09:11:15 -0700 (PDT)
Local: Wed, Apr 16 2008 12:11 pm
Subject: Re: Nemerle 0.9.3 on MacOSX 10.5.2
And just to complete the thought -- after much exploration, I found
the solution here: http://nemerle.org/mailman/pipermail/bugs/2006-November/002855.html

In short, these are the steps that must be taken to get Nemerle to
work correctly with Mono installed as the framework on MacOSX:

./configure  --prefix=/Library/Frameworks/Mono.framework/Home \
                   --libdir=/Library/Frameworks/Mono.framework/
Libraries;

make
make install

ln -s /Library/Frameworks/Mono.framework/Commands/ncc /usr/bin/ncc;
ln -s /Library/Frameworks/Mono.framework/Commands/ncc.exe
/usr/bin/ncc.exe;
ln -s /Library/Frameworks/Mono.framework/Commands/nemish /usr/bin/
nemish;
ln -s /Library/Frameworks/Mono.framework/Commands/nemish.exe
/usr/bin/nemish.exe;


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google