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

Mon Feb 15, 2010 2:03 am
You have a lot to install before you can start compiling:

Run this in a terminal, then go for a coffee, because it will take a while.

sudo apt-get install kdelibs4-dev build-essential cmake


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

Mon Feb 15, 2010 2:30 am
what directory do I run it in?

owner@ubuntu:~$ or owner@ubuntu:~/Desktop$
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 2:38 am
That command can be run in any directory.


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

Mon Feb 15, 2010 2:53 am
Well it didnt take to long. It finished and I tried to run cmake again and this is what happened

Code: Select all
owner@ubuntu:~/Desktop$ cd kmymoney-plugins-0.3.1
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1$ cd build
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1/build$ cmake ..
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found KDE3 include dir: /usr/include/kde
-- Found KDE3 library dir: /usr/lib
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Could not find libical headers and library icalendarexport will not be compiled. If you do have libical development package installed use the LIBICAL_BASE cmake variable to point to the location where libical is installed
-- 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
CMake Error at po/CMakeLists.txt:3 (MESSAGE):
  Please install msgmerge binary
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 3:00 am
Run this in any directory:

sudo apt-get install libical-dev

Sorry it's taking so long, but I don't have your same distro, not even your same version of KDE, so I have to go with the error messages.


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

Mon Feb 15, 2010 3:04 am
Please dont apologize I appreiciate your patients and help.

I did the last instruction and got the following

Code: Select all
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1$ sudo apt-get install libical-dev
[sudo] password for owner:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libical-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 260kB of archives.
After this operation, 1,184kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com karmic/main libical-dev 0.43-3 [260kB]
Fetched 260kB in 0s (274kB/s)       
Selecting previously deselected package libical-dev.
(Reading database ... 166547 files and directories currently installed.)
Unpacking libical-dev (from .../libical-dev_0.43-3_i386.deb) ...
Setting up libical-dev (0.43-3) ...
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1$ cd build
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1/build$ cmake ..
-- Found KDE3 include dir: /usr/include/kde
-- Found KDE3 library dir: /usr/lib
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found Libical version 0.43
CMake Error at po/CMakeLists.txt:3 (MESSAGE):
  Please install msgmerge binary


-- Configuring incomplete, errors occurred!
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1/build$
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 4:56 am
You need to install the "gettext" or "gettext-tools" package ( its gettext-tools on my SUSE system )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 6:13 am
Ok it looks like I am finally making some head way. I installed get-text and then ran the cmake .. command (where I have been hitting a brick wall) when I did that some of the files began to unpack. This did not happen before. But I did end up with an error at the end. I am posting the entire result below. I am soooo close I can feel it :)

Code: Select all
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1/build$ cmake ..
-- Found KDE3 include dir: /usr/include/kde
-- Found KDE3 library dir: /usr/lib
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found Libical version 0.43
-- Configuring done
-- Generating done
-- Build files have been written to: /home/owner/Desktop/kmymoney-plugins-0.3.1/build
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1/build$ make
[  2%] Building CXX object icalendarexport/CMakeFiles/icalendarexport.dir/schedulestoicalendar.o
In file included from /usr/share/qt3/include/qwindowdefs.h:47,
                 from /usr/share/qt3/include/qobject.h:46,
                 from /usr/include/kde/klibloader.h:21,
                 from /usr/include/kde/kgenericfactory.h:22,
                 from /home/owner/Desktop/kmymoney-plugins-0.3.1/icalendarexport/schedulestoicalendar.cpp:21:
/usr/share/qt3/include/qstring.h: In member function ‘char QChar::latin1() const’:
/usr/share/qt3/include/qstring.h:197: warning: conversion to ‘char’ from ‘int’ may alter its value
/usr/share/qt3/include/qstring.h: In member function ‘void QChar::setCell(uchar)’:
/usr/share/qt3/include/qstring.h:222: warning: conversion to ‘ushort’ from ‘int’ may alter its value
/usr/share/qt3/include/qstring.h: In member function ‘void QChar::setRow(uchar)’:
/usr/share/qt3/include/qstring.h:223: warning: conversion to ‘ushort’ from ‘int’ may alter its value
/usr/share/qt3/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’:
/usr/share/qt3/include/qstring.h:267: warning: conversion to ‘ushort’ from ‘int’ may alter its value
/usr/share/qt3/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’:
/usr/share/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value
/usr/share/qt3/include/qstring.h:365: warning: conversion to ‘unsigned int:30’ from ‘uint’ may alter its value
In file included from /usr/share/qt3/include/qobject.h:48,
                 from /usr/include/kde/klibloader.h:21,
                 from /usr/include/kde/kgenericfactory.h:22,
                 from /home/owner/Desktop/kmymoney-plugins-0.3.1/icalendarexport/schedulestoicalendar.cpp:21:
/usr/share/qt3/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)’:
/usr/share/qt3/include/qevent.h:432: warning: conversion to ‘unsigned char’ from ‘uint’ may alter its value
/usr/share/qt3/include/qevent.h: In member function ‘void QDropEvent::setAction(QDropEvent::Action)’:
/usr/share/qt3/include/qevent.h:523: warning: conversion to ‘unsigned char’ from ‘uint’ may alter its value
In file included from /usr/include/kde/kmymoney/mymoneyaccount.h:37,
                 from /usr/include/kde/kmymoney/imymoneystorage.h:37,
                 from /usr/include/kde/kmymoney/mymoneyfile.h:35,
                 from /home/owner/Desktop/kmymoney-plugins-0.3.1/icalendarexport/schedulestoicalendar.cpp:29:
/usr/include/kde/kmymoney/mymoneymoney.h: At global scope:
/usr/include/kde/kmymoney/mymoneymoney.h:60: error: ‘uint64_t’ does not name a type
/home/owner/Desktop/kmymoney-plugins-0.3.1/icalendarexport/schedulestoicalendar.cpp: In function ‘icalrecurrencetype scheduleToRecurenceRule(const MyMoneySchedule&)’:
/home/owner/Desktop/kmymoney-plugins-0.3.1/icalendarexport/schedulestoicalendar.cpp:99: warning: conversion to ‘short int’ from ‘int’ may alter its value
/home/owner/Desktop/kmymoney-plugins-0.3.1/icalendarexport/schedulestoicalendar.cpp:175: warning: conversion to ‘short int’ from ‘int’ may alter its value
make[2]: *** [icalendarexport/CMakeFiles/icalendarexport.dir/schedulestoicalendar.o] Error 1
make[1]: *** [icalendarexport/CMakeFiles/icalendarexport.dir/all] Error 2
make: *** [all] Error 2
owner@ubuntu:~/Desktop/kmymoney-plugins-0.3.1/build$


BTW how will the check printing function show on kmymoney? Will it be a new icon on the left menu bar or on the top?
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 6:40 am
Please note the the last post showing errors I got had to do with the icalendar. I am concerned with the ability to print checks from kmymoney. That is what I want to do. I dont see any errors with regard to that.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 8:54 am
In the build forlder run:

ccmake ..

You should have an option to disable the calendar plugin there.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 10:49 am
The easiest way of installing the check printing plugin on Ubuntu is to use clay's PPA located at https://edge.launchpad.net/~claydoh/+archive see this message viewtopic.php?f=69&t=18719#p23855


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
louisroux
Registered Member
Posts
44
Karma
0
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 2:25 pm
this is what I get when I run ccmake .. I do not see any option to disable the calendar. Also, if I disable it will that allow the print check to run? And I do have a calendar on my version of kmymoney now on the "schedule transactions" tab, will disabling it interfere with that or is this something different?

Code: Select all
CMAKE_BACKWARDS_COMPATIBILITY    2.4                                         
 CMAKE_BUILD_TYPE                                                             
 CMAKE_INSTALL_PREFIX             /usr/local                                   
 EXECUTABLE_OUTPUT_PATH                                                       
 GETTEXT_MSGFMT_EXECUTABLE        /usr/bin/msgfmt                             
 GETTEXT_MSGMERGE_EXECUTABLE      /usr/bin/msgmerge                           
 KDE3_BUILD_TESTS                 OFF                                         
 KDE3_DCOPIDL2CPP_EXECUTABLE      /usr/bin/dcopidl2cpp                         
 KDE3_DCOPIDL_EXECUTABLE          /usr/bin/dcopidl                             
 KDE3_INCLUDE_DIR                 /usr/include/kde                             
 KDE3_KCFGC_EXECUTABLE            /usr/bin/kconfig_compiler                   
 KDE3_KDECORE_LIBRARY             /usr/lib/libkdecore.so                       
 KDECONFIG_EXECUTABLE             /usr/bin/kde-config                         
 KMYMONEY_LIBRARY                 /usr/lib/libkmm_mymoney.so                   
 KMYMONEY_PLUGIN_LIBRARY          /usr/lib/libkmm_plugin.so                   
 LIBICALSS_LIBRARY                /usr/lib/libicalss.so                       
 LIBICAL_LIBRARY                  /usr/lib/libical.so                         

KMYMONEY_PLUGIN_LIBRARY: Path to a library.                                     
Press [enter] to edit option                         CMake Version 2.6 - patch 4
Press [c] to configure
Press [h] for help         Press [q] to quit without generating
Press [t] to toggle advanced mode (Currently Off)
cristian.onet
KDE Developer
Posts
253
Karma
2
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 2:42 pm
Please try to install the plugins from the above mentioned PPA.


cristian.onet, proud to be a member of KDE forums since 2008-Oct.
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS

Re: Check Printing on Kmymoney

Mon Feb 15, 2010 3:04 pm
Cristian checked the PPA, and you should have it all there.

For that, you should first uninstall kmymoney, follow the instructions to add the PPA, and then install KMyMoney and the plugins from there.

It will be a whole lot easier than compiling the plugins from scratch.


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

Mon Feb 15, 2010 3:06 pm
Ok I installed those plugins, copied and pasted and all that good stuff. Whats next? How do I get it to work?


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]