LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Empathy Recompile: configure Problem (https://www.linuxquestions.org/questions/fedora-35/empathy-recompile-configure-problem-828947/)

xlu2000 08-28-2010 12:56 AM

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.

knudfl 08-28-2010 02:11 AM

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
..

xlu2000 08-28-2010 12:15 PM

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 (Post 4080384)
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
..


knudfl 08-28-2010 12:48 PM

2 Attachment(s)
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 ! .. .. :)
..

xlu2000 08-29-2010 10:24 AM

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!

DrLove73 08-30-2010 07:17 AM

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.

xlu2000 08-30-2010 01:12 PM

I am not a user only. Compiling source is for R&D.

DrLove73 08-30-2010 06:58 PM

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.

xlu2000 08-31-2010 12:47 PM

Drlove73: But the maintainers are slow to reply.

xlu2000 08-31-2010 01:03 PM

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.

knudfl 08-31-2010 02:45 PM

1 Attachment(s)
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.
.....

xlu2000 08-31-2010 04:48 PM

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.

DrLove73 08-31-2010 05:33 PM

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.

xlu2000 08-31-2010 07:39 PM

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?

DrLove73 09-01-2010 04:42 AM

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.


All times are GMT -5. The time now is 04:40 AM.