LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-07-2011, 11:07 AM   #1
bernardomh
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Rep: Reputation: 0
missing the mono.pc file CentOS Mortadelo


Hello everyone, i'm trying to install Mortadelo on a CentOS server, however after uncompressing the files and typing ./configure, i get the following error
checking for mono.pc... configure: error: missing the mono.pc file, usually found in the mono-devel package.

When i try to install that package it is not found, i also tried installing libmono-dev but that was also unsuccessful, where's the mono.pc file?
 
Old 01-07-2011, 11:34 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
The epel repo carries both mono-core and mono-devel.
 
Old 01-07-2011, 12:03 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,923

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
# yum provides */mono.pc

mono-devel :
/usr/lib/pkgconfig/mono.pc

The EPEL repo https://fedoraproject.org/wiki/EPEL

https://fedoraproject.org/wiki/EPEL/FAQ#howtouse
..
 
Old 01-10-2011, 10:44 AM   #4
bernardomh
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the replies! I already had installed mono-core and mono-devel, however the ./configure command returned the stated error.
I added the epel repo, removed the mono-devel package i had installed and reinstalled it. The error persists.
I verified in the /usr/lib/pkconfig folder and the mono.pc file is there, but when i run ./configure i get the same error, any suggestions?
 
Old 01-11-2011, 03:59 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,923

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Mortadelo : Where did you get the source package ?
Please provide a direct link.

I tried with this :
http://gitorious.org/mortadelo
git clone git://gitorious.org/mortadelo/mainline.git
No luck on CentOS 5.5 - 32bits, but OK on a newer Linux.

About the prerequisites :

# yum install \
mono-nunit mono-nunit-devel gtk-sharp2-devel \
mono-devel mono-core gtk-sharp2 gettext-devel

I have no issues with "configure: error: missing the mono.pc",
and can run make, 99%, until the binary mortadelo.exe fails.
..

Last edited by knudfl; 01-11-2011 at 04:00 AM.
 
Old 01-11-2011, 10:06 AM   #6
bernardomh
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Dear knudfl, i downloaded the source package from
Code:
 http://www.gnome.org/~federico/hacks/mortadelo/mortadelo-0.3.tar.gz
I verified the prerequisites you posted and this is what i got:

Code:
SSH Secure Shell 3.2.9 (Build 283)
[root@monitor ~]# yum install mono-nunit-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirrors.xmission.com
 * base: mirror.hosef.org
 * epel: www.gtlib.gatech.edu
 * extras: mirror.steadfast.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.chpc.utah.edu
1281 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mono-nunit-devel.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit-devel
--> Finished Dependency Resolution
mono-nunit-devel-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-devel-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-devel-1.2.6-6.1.el5.i386 (epel)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@monitor ~]# yum install \ 
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirror.web-ster.com
 * base: mirror.hosef.org
 * epel: www.gtlib.gatech.edu
 * extras: mirror.clarkson.edu
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.highspeedweb.net
1281 packages excluded due to repository priority protections
Setting up Install Process
No package   available.
Nothing to do
[root@monitor ~]# mono-nunit mono-nunit-devel gtk-sharp2-devel \ 
-bash: mono-nunit: command not found
[root@monitor ~]# mono-devel mono-core gtk-sharp2 gettext-devel
-bash: mono-devel: command not found
[root@monitor ~]# yum install \ yum install mono-nunit mono-nunit-devel gtk-sharp2-devel mono-devel mono-core gtk-sharp2 gettext-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirror.vcu.edu
 * base: pubmirrors.reflected.net
 * epel: mirror.vcu.edu
 * extras: holmes.umflint.edu
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.finalasp.com
1281 packages excluded due to repository priority protections
Setting up Install Process
No package  yum available.
No package install available.
Package mono-devel-1.0.6-1.el5.rf.i386 already installed and latest version
[root@monitor ~]# yum install mono-nunit mono-nunit-devel gtk-sharp2-devel mono-
devel mono-core gtk-sharp2 gettext-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirror.vcu.edu
 * base: mirror.hosef.org
 * epel: mirrors.solfo.com
 * extras: holmes.umflint.edu
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.rackspace.com
1281 packages excluded due to repository priority protections
Setting up Install Process
Package mono-devel-1.0.6-1.el5.rf.i386 already installed and latest version
Package mono-core-1.0.6-1.el5.rf.i386 already installed and latest version
Package gtk-sharp2-2.10.0-6.el5.centos.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gettext-devel.i386 0:0.14.6-4.el5 set to be updated
--> Processing Dependency: cvs for package: gettext-devel
---> Package gtk-sharp2-devel.i386 0:2.10.0-6.el5.centos set to be updated
---> Package mono-nunit.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono(System.Xml) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(mscorlib) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(System) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit
--> Processing Dependency: glib2-devel for package: mono-nunit
---> Package mono-nunit-devel.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit-devel
--> Running transaction check
---> Package cvs.i386 0:1.11.22-7.el5 set to be updated
---> Package glib2-devel.i386 0:2.12.3-4.el5_3.1 set to be updated
---> Package mono-nunit.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono(System.Xml) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(mscorlib) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(System) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit
---> Package mono-nunit-devel.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit-devel
--> Finished Dependency Resolution
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono(System.Xml) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono(System) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
mono-nunit-devel-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-devel-1.2.6-6.1.el5.i386 (epel)
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono(mscorlib) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono(System.Xml) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono(mscorlib) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono(System) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-devel-1.2.6-6.1.el5.i386 (epel)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@monitor ~]# clear
[root@monitor ~]# clear
[root@monitor ~]# yum install mono-nunit mono-nunit-devel gtk-sharp2-devel mono-devel mono-core gtk-sharp2 gettext-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirror.steadfast.net
 * base: mirror.hosef.org
 * epel: fedora.mirrors.pair.com
 * extras: mirror.ash.fastserv.com
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.rackspace.com
1281 packages excluded due to repository priority protections
Setting up Install Process
Package mono-devel-1.0.6-1.el5.rf.i386 already installed and latest version
Package mono-core-1.0.6-1.el5.rf.i386 already installed and latest version
Package gtk-sharp2-2.10.0-6.el5.centos.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gettext-devel.i386 0:0.14.6-4.el5 set to be updated
--> Processing Dependency: cvs for package: gettext-devel
---> Package gtk-sharp2-devel.i386 0:2.10.0-6.el5.centos set to be updated
---> Package mono-nunit.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono(System.Xml) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(mscorlib) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(System) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit
--> Processing Dependency: glib2-devel for package: mono-nunit
---> Package mono-nunit-devel.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit-devel
--> Running transaction check
---> Package cvs.i386 0:1.11.22-7.el5 set to be updated
---> Package glib2-devel.i386 0:2.12.3-4.el5_3.1 set to be updated
---> Package mono-nunit.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono(System.Xml) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(mscorlib) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono(System) = 2.0.0.0 for package: mono-nunit
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit
---> Package mono-nunit-devel.i386 0:1.2.6-6.1.el5 set to be updated
--> Processing Dependency: mono-core = 1.2.6-6.1.el5 for package: mono-nunit-devel
--> Finished Dependency Resolution
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono(System.Xml) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono(System) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
mono-nunit-devel-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-devel-1.2.6-6.1.el5.i386 (epel)
mono-nunit-1.2.6-6.1.el5.i386 from epel has depsolving problems
  --> Missing Dependency: mono(mscorlib) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono(System.Xml) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono(mscorlib) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono(System) = 2.0.0.0 is needed by package mono-nunit-1.2.6-6.1.el5.i386 (epel)
Error: Missing Dependency: mono-core = 1.2.6-6.1.el5 is needed by package mono-nunit-devel-1.2.6-6.1.el5.i386 (epel)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@monitor ~]#
I think i've gotta change my mono version and fix those dependencies.
Do you think it's actually possible to get Mortadelo running?
Thanks a lot.
 
Old 01-11-2011, 11:39 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,923

Rep: Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587Reputation: 2587
Quote:
Do you think it's actually possible to get Mortadelo running ?
Sorry, not on CentOS5. Suggest : Use the upcoming CentOS 6.0.


Notes from today ....

mortadelo.spec for Suse ( a file modified for CentOS + Fedora is attached.)
https://build.opensuse.org/package/v...f9bab2fe4ab462

And http://gozer.ncc.com/person/federico...html?start=128
> http://www.gnome.org/~federico/hacks...elo-0.3.tar.gz
> > mortadelo-0.3.tar.gz

Also required : # yum install intltool


Still no luck with CentOS 5 : A later gtk-sharp is required.
And it is not possible to get or to build on CentOS 5.
I also tried with a later mono*** from the Karanbir repo
> kbsingh-CentOS-Extras.repo .

The mortadelo error is :
./main-window.cs(927,38): error CS0117:
`Gtk.AboutDialog' does not contain a definition for `ProgramName'
..
Attached Files
File Type: txt mortadelo.spec.txt (1.0 KB, 0 views)
File Type: txt kbsingh-CentOS-Extras.repo.txt (664 Bytes, 0 views)
 
Old 01-11-2011, 11:57 AM   #8
bernardomh
LQ Newbie
 
Registered: Nov 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I solved the missing mono.pc error, however i got
Code:
Compilation failed: 1 error(s), 0 warnings
make: *** [mortadelo.exe] Error 1
I'll give up trying, thanks a lot for your efforts and suggestions, do you know any Sysinternals alternative for CentOS?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Sox to Make a File Mono stf92 Slackware 5 12-03-2010 10:43 PM
A question on Mono and file path kevkim55 Linux - General 6 03-03-2010 10:03 PM
Mono 1.1.12 - Install older mono to co-exist with current version ryerke Linux - Software 4 03-02-2010 08:54 PM
Custom CentOS 5 Install with ks.cfg file and centOS all in one linux_newb Linux - Server 1 01-14-2010 06:13 PM
Install Mono on CentOS 5.4 without blowing ISPConfig 3 gr33d Linux - Software 3 11-17-2009 09:17 PM


All times are GMT -5. The time now is 07:45 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration