is there a command that we can run to load all dependencies

Thomas Baumgart thb at net-bembel.de
Sat Nov 9 12:03:49 GMT 2019


Hi all,

On Samstag, 9. November 2019 03:42:50 CET Jesus Varela wrote:

> That would be cool. When I get home tonight I will checkout the scripts.
> 
> I use Fedora too. I figured for every distro it would be the different. My
> limited understanding is that each distro has a package management system.
> Maybe there is an API we can call to bring down the missing dependencies
> automatically for developers?
> 
> It seems like the there is already a way to identify the missing pieces and
> now we just need an API that can be used to invoke the OS' package
> management system.
> 
> I don't know if the dependencies would be different enough that we would
> need something different for every distro and DE combo. I hope not but I
> don't know. I know that KMyMoney seems to behave a little different between
> x11 and Wayland but not sure if that is a QT issue, Fedora or KMyMoney
> issue.
> 
> I will check out the scripts. Thank to all of you for the insight.

due to this question coming up from time to time, I wrote a little script that runs through the 
sources and collects information about the (devel-) packages used. There is no guarantee 
that the output is complete, but it gives a good start.

The script works/should work with RPM based distros but can be extended to support 
other package management software (e.g. apt). I have only tested in on openSUSE. I'll add 
it to the repo in the contrib directory shortly. Here's the list of packages for openSUSE 15.1 
on my box:


akonadi-server-devel-18.12.3-lp151.3.4.1.x86_64 

Regards

Thomas


> 
> JV
> 
> On Fri, Nov 8, 2019, 18:40 Brendan Coupe <brendan at coupeware.com> wrote:
> > I think the problem with your idea is that every distro is different.
> > I have struggled with the same thing for almost 15 years so I
> > understand your frustration.
> > 
> > I have written scripts to make it easy to compile KMM from git or from
> > released source code and to switch between various compiled versions.
> > If you are interested you can download them here:
> > 
> > https://drive.google.com/drive/folders/1sfo2HgzaCCSb3d7pjl3To50yoQT5BaXM
> > 
> > Unfortunately they do not help with dependencies but maybe a similar
> > approach could be used to handle dependencies in the popular distros.
> > I'd be willing to work on Fedora. A clean VM is all that is needed to
> > test the scripts.
> > 
> > ----
> > Brendan Coupe
> > 
> > On Fri, Nov 8, 2019 at 5:24 PM Jesus Varela <jvapr27 at gmail.com> wrote:
> > > Yes...seems that way. I installed Plasma but still the same compile
> > 
> > errors came up due to missing dependencies. I ran the commands from Andrew
> > and it helped but still some errors. I used ccmake to disable the
> > aqbanking
> > like you guys showed me before. Finally I needed one more -devel version
> > of
> > a module and Bam! It worked!
> > 
> > > I still think we should makes something that would load the missing
> > 
> > -devel dependencies, pull them from a repo if needed.
> > 
> > > Thanks,
> > > 
> > > JV
> > > 
> > > On Fri, Nov 8, 2019, 10:27 Jack <ostroffjh at users.sourceforge.net> wrote:
> > >> On 2019.11.07 18:51, jvapr27 at gmail.com wrote:
> > >> > Wow thanks!
> > >> > 
> > >> > I will try this.. were you using Gnome or Plasma as the DE?
> > >> > 
> > >> > I figure that those using Plasma probably have an easier time than
> > >> > those using Gnome.. but just guessing.
> > >> > 
> > >> > I might reinstall Plasma if it will make life easier. For your
> > >> > assistance!
> > >> > 
> > >> > thank to you all,
> > >> > 
> > >> > JV
> > >> > 
> > >> > On Thu, 2019-11-07 at 11:25 -0500, Andrew Ho wrote:
> > >> > > dnf install qt5-qtbase-private-devel -y
> > >> 
> > >> I assume you are asking Andrew, but using Plasma instead of Gnome
> > >> simply means more of the dependencies will likely already be
> > >> installed.  However, they will be the regular versions, not the -devel
> > >> versions needed to compile KMM, so you would still need to install
> > >> those separately.
> > >> 
> > >> Jack

-- 

Regards

Thomas Baumgart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20191109/e21e9ade/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20191109/e21e9ade/attachment-0001.sig>


More information about the KMyMoney-devel mailing list