This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Check Printing on Kmymoney

Tags: None
(comma "," separated)
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 1:10 am
Your distro does not have this plugin in a packaged form, so you have to compile it from scratch :(

You have to download the plugin source ( a compressed .tar.gz file)
Uncompress the file in a folder
Then in that folder create a folder called build
Now you have to open a terminal and go that build folder
once you are in the folder, type:
cmake .
make
sudo make install

Report back with any problems.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 2:59 am
Again, Im new to this. I created a folder in the newly extracted files called build. Then I opened the terminal and put in the following

cd kmymoney-plugins-build

it then put me in the following:

owner@ubuntu:~/kmymoney-plugins-builds$

I assume that is the new directory I need to be in?? then I type in cmake as you instructed and it then scrolls through a series of what looks like command lines and I end up back at the owner@ubuntu:~/kmymoney-plugins-builds$ prompt. I then type in make as instructed and this is what I get.

make: *** No targets specified and no makefile found. Stop.

Then right back to the owner@ubuntu:~/kmymoney-plugins-builds$ promt.

I hope this helps, Im trying to be as detailed as possible. Thanks for your help.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 9:11 am
I have read this thread again. For myself, I will summarize:

a) you're using KDE 3.5.10
b) you're using KMyMoney 1.0.2 from a binary package
c) you want to get the check printing plugin working
d) you're new to this (i.e. you need detailed instructions)

a) and b) are the base for this. For c) you need the sources which you can get at http://cheepee.homedns.org/~cristi/kmym ... .1.tar.bz2
. More info about KMyMoney plugins is listed at http://kmymoney2.sourceforge.net/plugins.html . Unpack tha tar-ball with the following command:

Code: Select all
tar -xvjf kmymoney-plugins-0.3.1.tar.bz2


Using the following commands, you can start building it.
Code: Select all
cd kmymoney-plugins-0.3.1
mkdir build
cd build
cmake ..
make


The cmake .. step (don't forget the two dots) requires a whole lot of files to be present on your system. Don't worry, cmake checks for them to be there. If they are not, you will see a bunch of error messages. Mostly it checks for the tools required to build the plugins and some necessary descriptions we developers call header files (they end in .h).

If you see problems, please consult this forum. Don't forget to drop the error message so that we can give you some advice.

Hope this helps to get you started.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 3:45 pm
ipwizard, thank you for the detailed instructions. I did just as you instructed, and when I go through the first 3 steps of the building commands the following is what I see on my terminal:

owner@ubuntu:~/kmymoney-plugins-0.3.1/build$

Is that correct? If so, notice bellow what takes place next


When I apply step number 4 "cmake.." it respons with the following:

cmake..: command not found :((

Then it returns me to owner@ubuntu:~/kmymoney-plugins-0.3.1/build$
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 5:32 pm
Time to look for the package that contains cmake. Since you're on ubuntu, try

sudo aptitude install cmake

Hopefully this is the correct command (I am not a ubuntu/debian expert if it comes to packages)


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 5:57 pm
Did that and it ran through a series of commands and look like it was unpacking cmake. But after that I had the same problem?????
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 6:05 pm
I looked very closely: Did you notice the blank between 'cmake' and '..'? It has to be there. I am just mentioning it, because your error messages don't show it.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 6:38 pm
Actually yes but when I do that the following error comes up

CMake Error: The source directory "/home/owner/kmymoney-plugins-0.3.1" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
owner@ubuntu:~/kmymoney-plugins-0.3.1/build$

and I did the sudo command in this build directory
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 6:47 pm
That is weird. Here's what I see with a fresh downloaded and extracted tar-ball:

Code: Select all
thb@dollo:~/devel/kmm_plugins/kmymoney-plugins-0.3.1> ls
AUTHORS         COPYING              INSTALL     README
cmake           extract-messages.sh  po          reconciliationreport
CMakeLists.txt  icalendarexport      printcheck
thb@dollo:~/devel/kmm_plugins/kmymoney-plugins-0.3.1> mkdir build
thb@dollo:~/devel/kmm_plugins/kmymoney-plugins-0.3.1> cd build
thb@dollo:~/devel/kmm_plugins/kmymoney-plugins-0.3.1/build> cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
:
:
:
-- Found KDE3 dcopidl2cpp preprocessor: /opt/kde3/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /opt/kde3/bin/kconfig_compiler
-- Found Libical version 0.44
-- Looking for include files HAVE_LIBINTL_H
-- Looking for include files HAVE_LIBINTL_H - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thb/devel/kmm_plugins/kmymoney-plugins-0.3.1/build



ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 6:54 pm
Ok I did a fresh download and then extracted with your instructions

tar -xvjf kmymoney-plugins-0.3.1.tar.bz2

but this is what I get

owner@ubuntu:~$ tar -xvjf kmymoney-plugins-0.3.1.tar.bz2
tar: kmymoney-plugins-0.3.1.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
owner@ubuntu:~$
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sat Feb 13, 2010 7:38 pm
which usually means, that the file is not there. Where did you download it to? Use 'ls' to check for its presence.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sun Feb 14, 2010 12:39 am
I downloaded to my desktop, then I right click and chose "extract here" then opened my terminal.

Im sorry, but how do I do an "Is"?

Im just confused as to why this is becoming so hard to do.
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sun Feb 14, 2010 7:45 am
Check the previous entry viewtopic.php?f=69&t=85763&start=10#p147540 which shows the output of 'ls' right here on my system. You need a console window to do all that.

p.s. It's not hard once you know all the little steps. Some call this the learning curve :)


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Sun Feb 14, 2010 5:43 pm
Is the console different from the terminal?

Also, I checked your input for the "is" command but Im still not sure what to do. Do I just copy and paste what is showing on your system?
User avatar
ipwizard
KDE Developer
Posts
1359
Karma
6
OS

Re: Check Printing on Kmymoney

Sun Feb 14, 2010 6:38 pm
Console is identical to Terminal in this case.

What you see is the output of the ls command. So you simply type in 'ls' at the so called command prompt (which happens to be

thb@dollo:~/devel/kmm_plugins/kmymoney-plugins-0.3.1>

in my case and then you can compare the output on your system against the one I dropped as example. I just wanted to make sure that you have the CMakeLists.txt file. If you want, you can copy/paste the output of your commands here for further analysis. It would be helpful to wrap them inside a code block (use the button labeled Code located over the edit window of this forum).


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.4 64bit, KF5


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]