NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

View: New views
6 Messages — Rating Filter:   Alert me  

NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

by David Benn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm trying to use NAnt 0.86 beta1 under Mac OS 10.5.4 with mono 1.9.1(_3) and from nant I see this:

---
NAnt 0.86 (Build 0.86.2898.0; beta1; 8/12/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net


BUILD FAILED

Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.

   Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.

For more information regarding the cause of the build failure, run the build again in debug mode.

Try 'nant -help' for more information
---

I have tried looking for solutions on the Nant FAQ etc and am not getting anywhere.

Using -debug doesn't shed too much more light on this.

I note that I have:

/Library/Frameworks/Mono.framework/Versions/1.9.1/share/NAnt/bin/lib/mono/2.0
/Library/Frameworks/Mono.framework/Versions/1.9.1/share/NAnt/bin/lib/net/2.0

but certainly no 3.5

Any suggestions welcome. 

Regards,

David Benn
0407 261163

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

Re: NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

by gertdriesen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hey David,

 

The problem here is that NAnt uses pkg-config to discover the directory where Mono is installed, and it cannot find it.

 

You can check this for yourself by running ‘pkg-config --modversion mono’

 

Do you have Mono development packages installed?

 

Gert

 

From: nant-users-bounces@... [mailto:nant-users-bounces@...] On Behalf Of David Benn
Sent: vrijdag 8 augustus 2008 7:34
To: nant-users@...
Subject: [NAnt-users] NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

 


I'm trying to use NAnt 0.86 beta1 under Mac OS 10.5.4 with mono 1.9.1(_3) and from nant I see this:

---
NAnt 0.86 (Build 0.86.2898.0; beta1; 8/12/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net


BUILD FAILED

Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.

   Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.

For more information regarding the cause of the build failure, run the build again in debug mode.

Try 'nant -help' for more information
---

I have tried looking for solutions on the Nant FAQ etc and am not getting anywhere.

Using -debug doesn't shed too much more light on this.

I note that I have:

/Library/Frameworks/Mono.framework/Versions/1.9.1/share/NAnt/bin/lib/mono/2.0
/Library/Frameworks/Mono.framework/Versions/1.9.1/share/NAnt/bin/lib/net/2.0

but certainly no 3.5

 

Any suggestions welcome. 

 

Regards,

 

David Benn

0407 261163

 

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)

 

 



 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

Re: NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

by David Benn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Gert

I see this:

pkg-config --modversion mon
Package mon was not found in the pkg-config search path.
Perhaps you should add the directory containing `mon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mon' found

I do have Mono and the MonoDevelop IDE installed however.

/Library/Frameworks/Mono.framework/

So, this is telling me that I need to add to PKG_CONFIG_PATH?

Regards,

David

On 08/08/2008, at 4:04 PM, Gert Driesen wrote:

pkg-config --modversion mon

Regards,

David Benn
0407 261163

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

Re: NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

by David Benn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Specifically, PKG_CONFIG_PATH needs /Library/Frameworks/Mono.framework//Versions/1.9.1/lib/pkgconfig/mono.pc added to it?

I can see mono.pc but not mon.pc. How about dotnet.pc?

On 08/08/2008, at 4:22 PM, David Benn wrote:

Hi Gert

I see this:

pkg-config --modversion mon
Package mon was not found in the pkg-config search path.
Perhaps you should add the directory containing `mon.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mon' found

I do have Mono and the MonoDevelop IDE installed however.

/Library/Frameworks/Mono.framework/

So, this is telling me that I need to add to PKG_CONFIG_PATH?

Regards,

David

On 08/08/2008, at 4:04 PM, Gert Driesen wrote:

pkg-config --modversion mon

Regards,

David Benn
0407 261163

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

Regards,

David Benn
0407 261163

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

Re: NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

by gertdriesen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

David,

 

You only need to the add Library/Frameworks/Mono.framework//Versions/1.9.1/lib/pkgconfig to PKG_CONFIG_PATH.

 

Gert

 

From: nant-users-bounces@... [mailto:nant-users-bounces@...] On Behalf Of David Benn
Sent: vrijdag 8 augustus 2008 9:00
To: David Benn
Cc: nant-users@...; Gert Driesen
Subject: Re: [NAnt-users] NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

 

Specifically, PKG_CONFIG_PATH needs /Library/Frameworks/Mono.framework//Versions/1.9.1/lib/pkgconfig/mono.pc added to it?

 

I can see mono.pc but not mon.pc. How about dotnet.pc?

 

On 08/08/2008, at 4:22 PM, David Benn wrote:



Hi Gert

 

I see this:

 

pkg-config --modversion mon

Package mon was not found in the pkg-config search path.

Perhaps you should add the directory containing `mon.pc'

to the PKG_CONFIG_PATH environment variable

No package 'mon' found

 

I do have Mono and the MonoDevelop IDE installed however.

 

/Library/Frameworks/Mono.framework/

 

So, this is telling me that I need to add to PKG_CONFIG_PATH?

 

Regards,

 

David

 

On 08/08/2008, at 4:04 PM, Gert Driesen wrote:



pkg-config --modversion mon

 

Regards,

 

David Benn

0407 261163

 

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)

 

 



 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

 

Regards,

 

David Benn

0407 261163

 

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)

 

 



 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users

Re: NAnt 0.86 fails with error re: Mono 3.5 on Mac OS 10.5

by David Benn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for that Gert. It works fine now.
 
On 08/08/2008, at 4:49 PM, Gert Driesen wrote:

PKG_CONFIG_PATH

Regards,

David Benn
0407 261163

"The real voyage of discovery consists not in seeking new landscapes but in having new eyes." (Marcel Proust)





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@...
https://lists.sourceforge.net/lists/listinfo/nant-users
LightInTheBox - Buy quality products at wholesale price!