LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-28-2010, 12:56 AM   #1
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Rep: Reputation: 1
Empathy Recompile: configure Problem


Anyone recompiled Empathy on Fedora? I have problem of configure and make
as following:

checking for LIBEMPATHY... configure: error: Package requirements (
glib-2.0 >= 2.16.0
gobject-2.0
gio-2.0 >= 2.16.0
gio-unix-2.0 >= 2.16.0
libxml-2.0
telepathy-glib >= 0.7.31
libmissioncontrol >= 4.61
telepathy-farsight
farsight2-0.10
gstreamer-0.10
) were not met:

No package 'telepathy-glib' found
No package 'libmissioncontrol' found
No package 'telepathy-farsight' found
No package 'farsight2-0.10' found
No package 'gstreamer-0.10' 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 LIBEMPATHY_CFLAGS
and LIBEMPATHY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Thank you for help.
 
Old 08-28-2010, 02:11 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Welcome to LQ.

The easy install : # yum install empathy


Compiling : It all starts with # yum install <required>-devel

Or, if you don't know the package names :
# yum provides */glib-2.0 , # yum provides */libxml-2.0 , etc. etc.

And : # yum search telepathy-glib , etc.etc.
.... Then install, example : telepathy-glib-devel


But if you want further answer, please specify your Fedora version
and the empathy version, you want to install / compile.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..
 
Old 08-28-2010, 12:15 PM   #3
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
Yum is fine, but recompile the source code of Empathy...

Hi, I tried to use many versions of Fedora and Empathy. I want to compile the source code of empathy.

Even though Empathy has already installed as default application in OS, such as Fedora 12; there are the same error messages of configure. How does the default Empathy install and run well?




Quote:
Originally Posted by knudfl View Post
Welcome to LQ.

The easy install : # yum install empathy


Compiling : It all starts with # yum install <required>-devel

Or, if you don't know the package names :
# yum provides */glib-2.0 , # yum provides */libxml-2.0 , etc. etc.

And : # yum search telepathy-glib , etc.etc.
.... Then install, example : telepathy-glib-devel


But if you want further answer, please specify your Fedora version
and the empathy version, you want to install / compile.
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html
..
 
Old 08-28-2010, 12:48 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
The libraries installed, when you do # 'yum install empathy' are run time libraries
and cannot be used for './configure && make'.
The *-devel packages must be installed beforehand, like indicated in # 2 :

# yum install glib2-devel telepathy-glib-devel telepathy-farsight-devel \
farsight2-devel gstreamer-devel telepathy-mission-control-devel libxml2-devel
\ etc. etc.

'cat /etc/redhat-release' will show which Fedora. Please specify.
Version of empathy : Your answer is required.
..
Quote:
How does the default Empathy install and run well?
→ → It doesn't. Not alone. Please see the attached README.


Good luck ! .. ..
..
Attached Files
File Type: txt requires.log+spec.txt (1.6 KB, 8 views)
File Type: txt empathy-README.ConnectionManagers.txt (838 Bytes, 2 views)

Last edited by knudfl; 08-29-2010 at 01:39 AM.
 
1 members found this post helpful.
Old 08-29-2010, 10:24 AM   #5
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
Hi Knudfl,

"Yum *-devel" can solve some missed packages, and "./configure --prefix=/usr ==libexecdir=usr/lib" can solve some others.

I found that empathy-2.24.0 can be recomplied on Intel 32 and 64. The latest empathy versions haven't been for sure. At least I have a version for use.

Thank you very much!
 
Old 08-30-2010, 07:17 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
You CAN also shoot your self in the foot, but I wouldn't. I like my foot.

Installing from rpm's (yum) makes sure all dependancies are met, and all needed patches are applied. Sometimes there are 5-10 custom patches to the package for specific distro issues. Compiling from source just invites trouble and "It does not work" whining.
 
Old 08-30-2010, 01:12 PM   #7
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
I am not a user only. Compiling source is for R&D.
 
Old 08-30-2010, 06:58 PM   #8
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Then create source-rpm's. Create a spec file, or better yet use already created spec file and start from there.

Good thing can be to contact Fedora maintainers of Empathy.
 
Old 08-31-2010, 12:47 PM   #9
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
Drlove73: But the maintainers are slow to reply.

Last edited by xlu2000; 08-31-2010 at 01:04 PM.
 
Old 08-31-2010, 01:03 PM   #10
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
telepathay-mission-control installtion problem

knudle, are you there?

The error message is:
"No package 'libmissioncontrol' found"
This package is not the same as most other packages of installation. I couldn't install it correctly from the source.

Even though I did twice, the installation of source empathy is not repeatable.

I have two suggestions:
1. Find out and link the lib files with the default empathy.
2. Rewrite the makefile of empathy.

Anyone has comments how to do it? Many thanks.
 
Old 08-31-2010, 02:45 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
I don't see anything unusual.

'./configure' with no prefix will install the files to /usr/local/.

And : ""No package 'libmissioncontrol' found"" means no file by name
'libmissioncontrol.pc' in /usr/lib/pkgconfig/, i.e "package" means <name>.pc .

Solution : The first command is ..
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/
..... Then './configure'.

The export command will set '/usr/local/lib/pkgconfig' first in the search path.
Be aware, that the export command is temporary, will reset to /usr/lib:/lib: ,
when you exit the terminal.
.....
Attached Files
File Type: txt telepathay-mission-control.txt (676 Bytes, 1 views)

Last edited by knudfl; 08-31-2010 at 02:55 PM.
 
Old 08-31-2010, 04:48 PM   #12
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
Hi knudfl,

"libmissioncontrol" is different with other normal packages. There is no package of libmissioncontrol or telepathy-mission-control (locate libmissioncontrol or locate telepathy-mission-control). And the new package of telepathy-mission-control couldn't be installed.

Could you try what I am doing? So you can see what's wrong there(empathy-2.24.0). The recompiled empathy will be installed a new item in menu "Applications->internet". Thanks a lot.
 
Old 08-31-2010, 05:33 PM   #13
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
You should do your research better!

Empathy 2.24 was used in Fedora 10, 2.26 in Fedora 11, 2.28 in Fedora 12 and 2.30 in Fedora 13. telepathy-mission-control was used last time in Fedora 11 (F9, F10, F11) and was abandoned later on.

When you use Empathy source from Fedora 10, then you should also use all dependencies from the same Fedora version, not mix and match.

This is EXACTLY WHY I told you to use src rpm's.
 
Old 08-31-2010, 07:39 PM   #14
xlu2000
Member
 
Registered: Aug 2010
Posts: 49

Original Poster
Rep: Reputation: 1
Drlove73,

I did empathy-2.24.0 twice. Once it is in Fedora-11x64. Another should be in Fedora-12x32, but not sure it is fedora-12 or 13.

Can you explain or link to a website about how to do source rpm?

I just wonder how to use the lib resource from the default empathy. The default empathy can be installed and removed from Yum, nor is the recompiled.

By the way, my research is for innovation. Empathy is an application for use. Are you a Phd in computer science/engineering?
 
Old 09-01-2010, 04:42 AM   #15
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
I am not Phd, I finished secondary education (professional school, 4 years, smaller building designer/construction manager) and left architecture college when economic crises in my country exploded in 1993. But I am member of Mensa (top 1%). Last 10 years I am IT specialist (programmer for 4 years, network/wireless admin/designer for 10, WISP for 6, ....) and last 4 years I work only on, and learn about, Linux. As you can see by my reputation points, I gathered a large amount of knowledge.

To learn about source rpm's read http://www.rpm.org/max-rpm/

To find (s)rpm's use http://rpm.pbone.net/ and filter by Fedora version (advanced rpm search).

Empathy 2.24 is from Fedora 10. Current Empathy source is 2.31.

Next to binary rpm's, All rpm based distro's publish source rpm's also. They can be used to change and recompile source rpm on new distribution (like RHEL/CentOS) or version if there are no dependency problems.

Would you ever use engine from older automobile model version and try to shove it inside brand new model chasis? You would not.

So select one Fedora version and use all dependencies packages from that version also. second link with help you with to find and download it. Do not mix versions from varios versions since most likely you will have dependency issues due to ever changing source of many packages.

Download srpm's, install them and recompile them. rpmbuild command will help you. Once you prepare for compiling, you will be able to edit source (tar.gz's) as you see fit.

I used this process to recompile 50+ packages from various Fedora versions to CentOS 5.x. You will have a lot to learn but once you do you will have much more understanding of RPM package manager and why mix and match is a bad thing.

Last edited by DrLove73; 09-01-2010 at 04:48 AM.
 
  


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
LXer: How to use Empathy Messenger LXer Syndicated Linux News 1 04-06-2010 08:41 PM
empathy chat room lonewitch Linux - Newbie 1 12-18-2009 07:52 AM
connecting with empathy satet Linux - Newbie 2 11-05-2009 08:22 AM
Empathy Logs me out of Facebook Rockgod1969 Linux - Software 1 08-24-2009 08:35 AM
Empathy decodedthought Fedora 4 01-20-2009 08:35 AM


All times are GMT -5. The time now is 04:47 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