Version: unspecified (using KDE 4.4.4) OS: Linux Hi, I compiled the above version for openSUSE 11.3, KDE 4.4.4 (release 2) and OS Linux 2.6.34-12. Program compiled and is running but the greeting banner shows "KMyMoney 4" and in the initial screen there are only three icons on the left hand side, Home, Scheduled transactions and Payees. Other icons have question marks displayed. Is this a bug or a compilation problem ? Reproducible: Always Expected Results: All icons displayed.
There are a number of possibilities: 1. You compiled with the wrong installation prefix 2. You don't have the oxygen icons installed, which are used by the application. 3. You didn't install the application after compiling 4. All of the above Why didn't you use the version found in the Packman repositories? Isn't there one for 11.3? Regards, Alvaro
Alvaro, thank you for your prompt reply. Yes unfortunately there does not appear to be a compilation for openSUSE 11.3. I did compile new versions before without any problems, for openSUSE 11.2. I do have a issue with your suggestion that the problem is in the compilation. I have three icons and rest is missing. I would expect to have non if there was a compilation error or missing icons. I do have oxygen-icon-theme and oxygen-icon-theme-scalable 4.4.4-1.4 installed. Also I do not understand your point 1. Can you please expand ? Kind regards Vladimir. On 18/07/10 12:13, Alvaro Soliverez wrote: > https://bugs.kde.org/show_bug.cgi?id=245023 > > > Alvaro Soliverez<asoliverez@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > Resolution| |WORKSFORME > > > > > --- Comment #1 from Alvaro Soliverez<asoliverez gmail com> 2010-07-18 13:13:22 --- > There are a number of possibilities: > 1. You compiled with the wrong installation prefix > 2. You don't have the oxygen icons installed, which are used by the > application. > 3. You didn't install the application after compiling > 4. All of the above > > Why didn't you use the version found in the Packman repositories? Isn't there > one for 11.3? > > Regards, > Alvaro >
Sure. My icons look fine, as well as many others. Even on OpenSuse 11.3. That's how I know it's not a code problem, and I suspect a build or install problem. Now, as to why you may see some icons, and not others. Here's why: Home, scheduled transactions, and payees are part of the standard set of icons. You will most likely have those icons in any theme that follows freedesktop.org standard. The rest of the icons are custom kmymoney icons or most specialized icons that may not be available in every theme. So, please provide the command you used for compiling and installing, from scratch, so we can sort out where the problem is. Thanks!
Thank you Alvaro. Following was my procedure: - downloaded kmymoney-3.98.1.tar.bz2 and decompressed into /opt. - changed directory to /opt and logged in as su - run cmake /opt/kmymoney-3.98.1 - run make (no options) - run make install (no options) - exit from su - run kmymoney and received following messages: vlada@asus:/usr/local/bin> kmymoney kmymoney(5009)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "KMyMoneyPlugin" not found reading file start parsing file startDocument reading accounts reading transactions reading securities reading currencies reading prices reading reports endDocument vlada@asus:/usr/local/bin> OR - run /opt/kmymoney-3.98.1/kmymoneykmymoney and received identical messages as above I do note that KMyMoneyPlugIn is not found but plugin subdirectory and plugin files are present. Is here where the custom icons are? However, with the exception of missing icons software appears to run OK. Regards Vladimir. On 18/07/10 23:28, Alvaro Soliverez wrote: > https://bugs.kde.org/show_bug.cgi?id=245023 > > > > > > --- Comment #3 from Alvaro Soliverez<asoliverez gmail com> 2010-07-19 00:28:19 --- > Sure. My icons look fine, as well as many others. Even on OpenSuse 11.3. That's > how I know it's not a code problem, and I suspect a build or install problem. > > Now, as to why you may see some icons, and not others. Here's why: > Home, scheduled transactions, and payees are part of the standard set of icons. > You will most likely have those icons in any theme that follows freedesktop.org > standard. The rest of the icons are custom kmymoney icons or most specialized > icons that may not be available in every theme. > > So, please provide the command you used for compiling and installing, from > scratch, so we can sort out where the problem is. Thanks! >
You usually wouldn't compile as root user, and it is advised to compile out-of-tree. The README.cmake file has more instructions on how to compile. Also, you are missing the install prefix setting, which is most likely your problem in this case. uncompress the tar, somewhere on your home folder, or where you have rights as a regular user. cd to that folder mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr make make su - root make install
Alvaro,thank you. Just completed compilation as per your suggestion and the icons are all there. So as you said it was a compilation error. May I ask you to explain to me why my procedure did not work? Most of my applications are installed as I outlined (most of them without cmake) and they all worked up to now. Regards Vladimir. On 19/07/10 10:41, Alvaro Soliverez wrote: > https://bugs.kde.org/show_bug.cgi?id=245023 > > > > > > --- Comment #5 from Alvaro Soliverez<asoliverez gmail com> 2010-07-19 11:41:14 --- > You usually wouldn't compile as root user, and it is advised to compile > out-of-tree. The README.cmake file has more instructions on how to compile. > Also, you are missing the install prefix setting, which is most likely your > problem in this case. > > uncompress the tar, somewhere on your home folder, or where you have rights as > a regular user. > cd to that folder > mkdir build > cd build > cmake .. -DCMAKE_INSTALL_PREFIX=/usr > make > make > su - root > make install >
Without the correct install prefix, icons and other stuff is located in a folder where it cannot be located by the application when it's running. Sometimes, it wouldn't even run, or like in your case, the application icons wouldn't show.
Please note that you probably still have an incorrect installation of KMM under /usr/local from your earlier tries. The best way to clean this up is run your original process again, but do a "sudo make uninstall" First, you could do "make -n uninstall" to be sure it is going to remove the older copy. It is not absolutely essential to remove the other copy, but it will eventually cause confusion, as you probably won't remember where those files came from.
Jack thank you for the reminder. Fortunately unistalling is part of my routine and so I hope all will be now OK. I think that I must read up on the use of cmake command. Regards Vladimir. On 19/07/10 13:48, Jack wrote: > https://bugs.kde.org/show_bug.cgi?id=245023 > > > Jack<ostroffjh@users.sourceforge.net> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |ostroffjh@users.sourceforge > | |.net > > > > > --- Comment #8 from Jack<ostroffjh users sourceforge net> 2010-07-19 14:48:38 --- > Please note that you probably still have an incorrect installation of KMM under > /usr/local from your earlier tries. The best way to clean this up is run your > original process again, but do a "sudo make uninstall" First, you could do > "make -n uninstall" to be sure it is going to remove the older copy. > > It is not absolutely essential to remove the other copy, but it will eventually > cause confusion, as you probably won't remember where those files came from. >