Mono Install Bug (Found when using Eclipse)
I got this error after installing the Mono framework on MacOS X 10.5.6 and trying to set up a new project with eclipse.
NAnt 0.86 (Build 0.86.2898.0; beta1; 12/08/2007)
Copyright (C) 2001-2007 Gerry Shawhttp://nant.sourceforge.net
For more information regarding the cause of the build failure, run the build again in debug mode.
Try ‘nant -help’ for more information
BUILD FAILED
Failed to initialize the ‘Mono 3.5 Profile’ (mono-3.5) target framework.
Function call failed.
Expression: ${not pkg-config::exists(‘mono’)}
^^^^^^^^^^^^^^^^^^^^^^^^^^‘pkg-config’ failed to start.
ApplicationName=’pkg-config’, CommandLine=’–exists mono’, CurrentDirectory=’/Library/Frameworks/Mono.framework/Versions/2.4/share/NAnt/bin/’
A few google searches suggested that this might be because pkg-config wasn’t installed – but it’s included in the Mono distribution. I finally realized the symlink wasn’t being created in by the Mono installer. Running the below command fixed everything.
sudo ln -s /Library/Frameworks/Mono.framework/Commands/pkg-config /usr/bin/pkg-config
4 Responses to Mono Install Bug (Found when using Eclipse)
Leave a Reply Cancel reply
Recent Comments
- Anil on MySQL Triggers Tutorial
- Ashish on MySQL Triggers Tutorial
- David on iCal Agenda
- jon on IP address geolocation SQL database
- pim on IP address geolocation SQL database
- jnns on Redis Wildcard Delete
- K.C. Murphy on iCal Agenda
- BA on Experts Exchange should be removed from Google search results
- Andrew on Executing multiple curl requests in parallel with PHP and curl_multi_exec
- Stu on Executing multiple curl requests in parallel with PHP and curl_multi_exec
Recent Posts
- New Project: Jester
- Open New Terminal Tip
- Installing MySQLdb on MacOS Lion
- Headless VM Server Using Ubuntu 11.10
- Get rid of Facebook’s Awful Ticker
- Api Tester now hosted on Github
- Trac .11 jQuery bug
- Multiple Filetypes in Vim
- Git Tip: Setting Up Your Remote Server
- Install issue pymongo on OSX (setuptools out of date)
Categories
- amazon (1)
- answerbag (6)
- apache (9)
- apple (8)
- awk (2)
- bbedit (2)
- c++ (3)
- chrome (2)
- cluster (1)
- cocoa (1)
- collective intelligence (1)
- curl (3)
- db2 (1)
- demand media (1)
- ebay (1)
- eclipse (4)
- erlang (13)
- facebook (1)
- fortran (1)
- gen_server (1)
- git (5)
- google (4)
- haddad (1)
- hdf5 (1)
- html (1)
- innodb (1)
- itunes (1)
- java (2)
- jester (1)
- kvm (1)
- launchbar (1)
- leex (1)
- letsgetnuts.com (1)
- libvirt (1)
- links (6)
- linux (27)
- lucene (1)
- mac (16)
- memcached (1)
- misconception (1)
- mobile (1)
- mono (1)
- mssql (1)
- munin (1)
- mysql (31)
- numpy (1)
- oracle (1)
- php (23)
- puppet (4)
- pyparsing (1)
- pytables (1)
- python (11)
- q&a (1)
- quicksilver (1)
- rant (6)
- readynas (1)
- redis (2)
- regex (1)
- replication (1)
- search (1)
- shitty code (1)
- solr (3)
- spaces (1)
- sshfs (1)
- stored procedure (1)
- svn (5)
- textmate (2)
- tips (22)
- trac (1)
- tutorial (4)
- ubuntu (3)
- Uncategorized (4)
- unix (1)
- vim (3)
- virtual box (6)
- vmware (1)
- weird (3)
- wikipedia (1)
- windows (1)
- xcode (1)








Thanks Jon! Your fix solved the same exact problem I was having with Emonic, Mono, and Eclipse. When I could not solve this problem before your post on May 8th. So I started to dual boot Windows and Mac on my Macbook and “started” to get frustrated. Today, I had some time off and decided to try fixing this problem again. Found your blog post as the sixth Google search result and now my problem is solved. Thanks again and have a safe 4th of July.
-> Armon
thank you so much for the fix… i searched a lot online but did not find any direct solution.. your one command fixed everything ..
awesome…
Once again, thank you for the fix, I wish I could bump it to the top of google search as it’s the best
No problem – happy to help!