|
|
Home » Developing U++ » Releasing U++ » Missing dependency with Fedora 21 rpm ? (yum complains about missing dependency : libexpat-devel)
|
Re: Missing dependency with Fedora 21 rpm ? [message #44680 is a reply to message #44677] |
Tue, 19 May 2015 20:52   |
|
jibe wrote on Sun, 17 May 2015 21:58Hi,
I'm trying to install UPP on Fedora 21. I got a missing dependency for upp-devel-8355-4.1.noarch : it claims for libexpat-devel.
This seems hard to find... I found that it's provided by expat-devel, but finally, after installing this rpm, I have still the same missing dependency...
Any idea ?
Hi Jibe,
That is weird. The package was built using OBS, where the package expat-devel is available. Also, I found it using rpmfind.net, which claims it should be available in Fedora 21 (among others). I don't use Fedora personally, so I can't really test that If you can't find it in official repositories, the RPM can be downloaded from this rpmfind site and installed locally.
Please let me now if you find a solution, it might be helpful for someone else in the future.
Best regards,
Honza
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #44711 is a reply to message #44677] |
Mon, 01 June 2015 18:02   |
 |
jibe
Messages: 294 Registered: February 2007 Location: France
|
Experienced Member |
|
|
Hi, Honza,
Sorry to be so late to reply... I'm very busy with other things...
I found and installed this rpm (more exactly, the 64 bits version, as my Fedora is 64 bits). But the problem is, in fact, that it does not provide the libexpat-devel library that is needed by upp...
jibeI found that it's provided by expat-devel, but finally, after installing this rpm, I have still the same missing dependency...
I can find some libexpat-devel rpms, but none for Fedora, and all those I tried conflict with Fedora packages...
Is this package really needed ? I have no more CentOS/Scientific Linux, but I don't remember that I had this problem with those distros, and don't think that it was already installed...
I could recompile from the source, but libexpat-devel will need at least libexpat, so before I recompile several packages, I should like to be sure that it's really needed. And this will probably cause conflicts each time some Fedora packages will be updated...
|
|
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #44784 is a reply to message #44677] |
Thu, 25 June 2015 21:52   |
|
Hi Jibe,
I'm sorry, I must have missed your post from four weeks ago... 
I just searched the sources to figure out why is libexpat even needed and it looks like it is there only because it is dependency of fontconfig, which is needed pretty much for anything with GUI.
But I am not sure if there is really a need for the libexpat-dev package, it is possible that libexpat would be enough. I'll give it a better look in the morning.
Thanks for your patience, I don't have much time for this either... 
Honza
|
|
|
|
|
|
|
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #45141 is a reply to message #45140] |
Tue, 15 September 2015 13:33   |
|
Great news, that the dependencies are fixed!
The gdk-pixbuf.h problem is most probably caused by wrong path in build method. Other user already reported similar problem on manjaro linux. It is easy to fix, I just need to know the correct location of that file. Can you please run 'find /usr/include -name gdk-pixbuf.h' on your machine and send me the output (if any)?
Honza
|
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #45148 is a reply to message #45142] |
Wed, 16 September 2015 20:42   |
|
jibe wrote on Tue, 15 September 2015 15:19This file is here :
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h
...that is exactly the same place as on my Linux Mint that works well !
Thanks, it should be fixed now. I added the path to the default build method.
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #45150 is a reply to message #44677] |
Wed, 16 September 2015 21:35   |
 |
jibe
Messages: 294 Registered: February 2007 Location: France
|
Experienced Member |
|
|
Hi, Honza,
Thanks, but it's always the same...
What surprises me is that the yum update I just did now did not find anything to do. My last previous update was about 8 o'clock (French local time) this morning, when your post is dated 20:42 (again French local time) this evening...
My installed version (updated this morning) is 8931, and it is what I see in your repo this evening. Was I too fast and did not let you time to upgrade your repo ?
I'll try again tomorrow evening or on Friday.
[Updated on: Wed, 16 September 2015 21:37] Report message to a moderator
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #45151 is a reply to message #45150] |
Wed, 16 September 2015 21:55   |
|
I edited the file today, around noon I think (CEST too), but I'm not sure how long it took to rebuild. However I see the version 8931-2 in the repository now...
Also, you might need to copy the changed file from /usr/share/upp/GCC.bm to your ~/.upp/theide, it is not done automatically, only on first installation (to prevent overwriting your modifications).
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #45154 is a reply to message #44677] |
Thu, 17 September 2015 22:46   |
 |
jibe
Messages: 294 Registered: February 2007 Location: France
|
Experienced Member |
|
|
Hi, Honza,
I don't understand what happens with your repo... Here is what says yum :
# yum list theide
Modules complémentaires chargés : langpacks
Paquets installés (=installed packages)
theide.x86_64 8931-2.1 @home_dolik_rce_nightly
Paquets disponibles (=available packages)
theide.i686 8931-2.1 home_dolik_rce_nightly
This is what I got yesterday morning, so normally before your update, and it is the version that I see now in your repo. I did make a yum update yesterday evening after your post, and it complained that there is nothing to update...
Remember also that I mentioned that I was obliged to make a localinstall of some rpms (see my message #45140). I do not understand why the yum install cannot find those rpms ?
When I got the problem with pixbuf.h, I did not think to look at ~/.upp/theide/GCC.bm. The path was missing, so I added it this evening, and I was able to compile successfully the AddressBook.
So, I think that I can say that all is Ok with U++/Fedora21, except those curious things with yum and your repo. For now, those who want to install it will probably have to do what I explained in the first part of my message #45140.
|
|
|
Re: Missing dependency with Fedora 21 rpm ? [message #45155 is a reply to message #45154] |
Fri, 18 September 2015 20:52   |
|
Hi jibe,
Thanks for your summary.
I actually don't have a slightest idea about how the rpm repositories work It's all magic, done by OBS. I only use Debian and Arch, and I never noticed anything wrong with those repositories. So it might be some just some fluke in how OBS works (not very probable) or there is still something wrong with my packaging (much more probable ).
At least it now works for you. If anyone else is reading this and using the repository on any RPM-based distro, please let me know how it works for you...
Honza
|
|
|
Goto Forum:
Current Time: Sun Apr 27 15:25:26 CEST 2025
Total time taken to generate the page: 0.04001 seconds
|
|
|