LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-01-2007, 01:30 PM   #1
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Rep: Reputation: 30
Mono issue with compilation


Hi!
Currently I'm trying to compile some plugins for Banshee, and the trying to configure them returns this error:
checking for MONO... configure: error: Package requirements (mono >= 1.1.13) were not met:

No package 'mono' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables MONO_CFLAGS
and MONO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

How can I fix this? I installed the latest mono packages, but it still doesn't seem to recognize it. Am i missing some package? I can post more error messages or anything.

Thanks,
--drew
 
Old 03-01-2007, 03:19 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,640
Blog Entries: 1

Rep: Reputation: 194Reputation: 194
The configure script is looking for a file with a .pc extension (probably something like mono.pc). Usually, this is installed in /usr/lib/pkgconfig or /usr/local/lib/pkgconfig unless you installed Mono with some 'non-standard' prefix. You can execute the configure script like this if you have a mono.pc file on your machine
Code:
PKG_CONFIG_PATH="/path/to/mono.pc" ./configure
Depending on how you installed mono, and I'm not familiar with the package management system for the distro you have listed (Elive), you may not have the *.pc file. If your distro is not source based, it likely won't provide "development" files when it installs a package. These types of distros (most in fact) will provide the development stuff in a seperate package. Look for a package called mono-dev or mono-devel or something similar and install that to get the *.pc file.

BTW, to be nit-picky and technical, you were configuring not compiling.
 
Old 03-02-2007, 01:19 PM   #3
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Original Poster
Rep: Reputation: 30
sorry, CONFIGURE :-D

well elive is debian 4.0
in /usr/lib/pkgconfig/ i have mono-cairo.pc, mono-cecil.pc, monodevelop.pc and monodoc.pc
i tried PKG_CONFIG_PATH="/usr/lib/pkgconfig/monodevelop.pc" ./configure,

but it still returns the same errors.. any ideas? and sorry bout the incorrect title, i realized it after i posted it!
 
Old 03-02-2007, 01:44 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,640
Blog Entries: 1

Rep: Reputation: 194Reputation: 194
It's the PATH to the pkg-config files, I can see that my post was confusing though. It would be
Code:
PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure
However, /usr/lib/pkgconfig is a standard directory that pkg-config looks in...you don't need to specify it. Soooooooo....

Let's start at the beginning. What version of Mono do you have installed? You need 1.1.13 or greater. The most recent version is 1.2.3.1.

I can never find the on-line Debian package database, but the Ubuntu database has mono.pc being provided by the package libmono-dev. The package called mono is just the CLI runtime stuff. See if there is a libmono-dev in the Debian repos and install that.

What package exactly are you trying to install? Worst case, I can download the source and look at the configure script to see exactly what it's looking for.
 
Old 03-02-2007, 05:04 PM   #5
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Original Poster
Rep: Reputation: 30
thanks!

here's the debian repository http://packages.debian.org/
I was just trying to get some unfinished plugins for Banshee, from http://banshee-project.org/PluginRepository
debian just moves so slow sometimes on updating their apps.

I don't know if I'll ever get them to work, and honestly its ok if they don't. you were correct, i needed libmono-dev package in order to configure, but now i'm just running into more dependency hell. So, if I don't get it soon then I'll just wait. But, thanks for the help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 06:42 AM
mono compilation failure tamtam Programming 1 04-16-2005 07:33 AM
FC3 hotplugging issue (kernel compilation?) god_is_good478 Linux - Newbie 2 01-03-2005 02:07 AM
Mono sound issue with KDE stabile007 Slackware 5 07-28-2004 08:39 AM
Compilation is a serious issue!!! nickolse Linux - Software 3 11-03-2003 01:32 AM


All times are GMT -5. The time now is 02:07 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration