<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-forward-container">-------- Weitergeleitete
Nachricht --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Betreff:
</th>
<td>Re: Interested in contributing to KtoBlzCheck</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Datum: </th>
<td>Fri, 21 Feb 2020 14:31:57 +0100</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Von: </th>
<td>Ralf Habacker <a class="moz-txt-link-rfc2396E" href="mailto:ralf.habacker@freenet.de"><ralf.habacker@freenet.de></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">An: </th>
<td>Prasun Kumar <a class="moz-txt-link-rfc2396E" href="mailto:prasun.code@gmail.com"><prasun.code@gmail.com></a></td>
</tr>
</tbody>
</table>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Am 21.02.20 um 14:01 schrieb Prasun
Kumar:<br>
</div>
<blockquote type="cite"
cite="mid:CAM9DqsJqGE2qLZ8Xq8tuCMXwVX=Pxw4Vq4SO40_xo5hPs0grMA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div>Yes, it works perfectly now. Thanks.</div>
<div>Can you suggest the way forward to get involved in this
project? I would like to contribute to this project </div>
</div>
</blockquote>
<p>You should get familiar (if not present) with<br>
</p>
<p>- cmake (mostly by working on concret tasks)<br>
</p>
<p>- c++ programming, (this could for example be done by
inspecting present code)</p>
<p>- Integrated development environments (QtCreator or KDevelop)</p>
<p>- build tool chains gcc, make, binutils<br>
</p>
<p>- UML Modelling tools for example <a
class="moz-txt-link-freetext" href="https://umbrello.kde.org/"
moz-do-not-send="true">https://umbrello.kde.org/</a>, with
which you can import c++ code and inspect and/or design new
classes</p>
<p>Concrete tasks to learn from:<br>
</p>
<p>1. try to integrate generating sqlite database from
<a class="moz-txt-link-freetext"
href="https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata/germany?h=4.8"
moz-do-not-send="true">https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata/germany?h=4.8</a></p>
<p>2. replace the code, which uses the bank data text file with
code that uses the new sqlite database<br>
</p>
<p>3. write/refactor unit tests for the new code<br>
</p>
<p>4. It may required to refactor/simplify the cmake build system
while working on it<br>
</p>
<p>5. add additional countries to the generated sqlite database
(see
<a class="moz-txt-link-freetext"
href="https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata?h=4.8"
moz-do-not-send="true">https://cgit.kde.org/kmymoney.git/tree/kmymoney/plugins/ibanbicdata?h=4.8</a>)</p>
<p>6. extend ktoblzcheck code to use the additional countries</p>
<p>7. write/refactor unit tests for the new code</p>
<p>8. update ktoblzcheck documentation<br>
</p>
<p>Some generic rules:</p>
<p>1. Use a git repo for development to track changes (private
clone of ktoblzcheck on sf.net)<br>
</p>
<p>2. Make single commits for each task or step, no commits with
tons of collected change. You can reorganize (rebase) or squash
commits later <br>
</p>
<p>1. On extending classes, make sure, that code will work cross
platform e.g. do not use hardcoded pathes. <br>
</p>
<p>Regards</p>
<p>Ralf <br>
</p>
<blockquote type="cite"
cite="mid:CAM9DqsJqGE2qLZ8Xq8tuCMXwVX=Pxw4Vq4SO40_xo5hPs0grMA@mail.gmail.com"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 21 Feb 2020 at
15:38, Ralf Habacker <<a
href="mailto:ralf.habacker@freenet.de"
moz-do-not-send="true">ralf.habacker@freenet.de</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Am 21.02.20 um 10:46
schrieb Prasun Kumar:<br>
> Dear Sir,<br>
> I ran it after doing sudo make install from the build
directory. To <br>
> investigate I rebuilt it install it to another
directory by using <br>
> the -DCMAKE_INSTALL_PREFIX flag with cmake. <br>
<br>
Can you show the output of the make install command ? From
it the <br>
location where the shared library libktoblzcheck.so.1 could
be extracted.<br>
<br>
> When I ran from the <br>
> <install-dir>/bin it gave the same error.<br>
<br>
The installed library is probably located in
<install-dir>/lib (see my <br>
comment above to get the exact location)<br>
Then you can run ktoblzcheck with<br>
<br>
LD_LIBRARY_PATH=<install-dir>/lib
<install-dir>bin/ktoblzcheck<br>
<br>
> Could this be an error in the makefile <br>
It may be related to the cmake RPATH handling (see <br>
<a
href="https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling</a>)
<br>
and needs to be inspected and if useful a related patch need
to be <br>
applied to ktoblzcheck.<br>
<br>
> or somewhere in the linking of the static library?<br>
libktoblzcheck is a shared library.<br>
<br>
<br>
> The output of the command strace -e trace=file
ktoblzcheck is :<br>
> <br>
> <br>
> execve("/usr/local/bin/ktoblzcheck", ["ktoblzcheck"],
0x7ffd7dd9f1a0 /* <br>
This indicates that you installed in /usr/local prefix<br>
<br>
> 64 vars */) = 0<br>
...<br>
<br>
> openat(AT_FDCWD, "/usr/lib/x86_64/libktoblzcheck.so.1",
<br>
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)<br>
> stat("/usr/lib/x86_64", 0x7ffe082e8970) = -1 ENOENT (No
such file or <br>
> directory)<br>
> openat(AT_FDCWD, "/usr/lib/libktoblzcheck.so.1",
O_RDONLY|O_CLOEXEC) = <br>
> -1 ENOENT (No such file or directory)<br>
> stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=20480,
...}) = 0<br>
> ktoblzcheck: error while loading shared libraries:
libktoblzcheck.so.1: <br>
> cannot open shared object file: No such file or
directory<br>
> +++ exited with 127 +++<br>
<br>
This indicates that /usr/local/libxxx is not in the system
search path <br>
for shared libraries.<br>
<br>
if you configure ktoblzcheck with<br>
<br>
cmake -DCMAKE_INSTALL_PREFIX=/usr
<ktoblzcheck-source-dir><br>
<br>
and install it with<br>
<br>
sudo make install<br>
<br>
then it should work out of the box.<br>
<br>
Ralf<br>
<br>
> <br>
> <br>
> On Fri, 21 Feb 2020 at 14:15, Ralf Habacker <<a
href="mailto:ralf.habacker@freenet.de" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a> <br>
> <mailto:<a href="mailto:ralf.habacker@freenet.de"
target="_blank" moz-do-not-send="true">ralf.habacker@freenet.de</a>>>
wrote:<br>
> <br>
> Am 21.02.20 um 08:53 schrieb Prasun Kumar:<br>
> > Dear Sir,<br>
> Hi,<br>
> <br>
> > The tool runs fine when I execute it from the<br>
> <build-directory>/bin/.<br>
> This is expected.<br>
> <br>
> > But it gives the same error when I run the
installed version<br>
> <br>
> How you you get the installed version ?<br>
> <br>
> By the package manager of your distribution and
then did run<br>
> <br>
> ktoblzcheck<br>
> <br>
> from command line ?<br>
> <br>
> or did you run after building<br>
> <br>
> sudo make install<br>
> <br>
> from the ktoblzcheck build dir ?<br>
> <br>
> <br>
> > ("ktoblzcheck: error while loading shared
libraries:<br>
> > libktoblzcheck.so.1: cannot open shared
object file: No such file or<br>
> > directory".) from any other directory.<br>
> What did you exactly did run - show me the result
from the following<br>
> command line<br>
> <br>
> strace -e trace=file ktoblzcheck<br>
> <br>
> Ralf<br>
> <br>
> ><br>
> > On Fri, 21 Feb 2020 at 12:43, Ralf Habacker<br>
> <<a href="mailto:ralf.habacker@freenet.de"
target="_blank" moz-do-not-send="true">ralf.habacker@freenet.de</a>
<mailto:<a href="mailto:ralf.habacker@freenet.de"
target="_blank" moz-do-not-send="true">ralf.habacker@freenet.de</a>><br>
> > <mailto:<a
href="mailto:ralf.habacker@freenet.de" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a><br>
> <mailto:<a
href="mailto:ralf.habacker@freenet.de" target="_blank"
moz-do-not-send="true">ralf.habacker@freenet.de</a>>>>
wrote:<br>
> ><br>
> > Am 21.02.20 um 00:10 schrieb KDE
Community Wiki:<br>
> > > Dear Sir,<br>
> > Hi Prasun,<br>
> ><br>
> > > I am Prasun from India and I want
to contribute to KtoBlzCheck<br>
> > project in GSoC.<br>
> > Nice to hear.<br>
> ><br>
> > > After building from source,<br>
> > There is not enough information to give
detailed hints, so I<br>
> tried<br>
> > building and running this tool from git
master<br>
> > (<a
href="https://sourceforge.net/p/ktoblzcheck/bugs/new/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://sourceforge.net/p/ktoblzcheck/bugs/new/</a>)
and it<br>
> worked out of<br>
> > the box.<br>
> ><br>
> > > there is an error while running the
tool. The error is:<br>
> > "ktoblzcheck: error while loading shared
libraries:<br>
> > libktoblzcheck.so.1: cannot open shared
object file: No such<br>
> file or<br>
> > directory".<br>
> > Do you followed the building guide<br>
> > <a
href="https://sourceforge.net/p/ktoblzcheck/code/ci/master/tree/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://sourceforge.net/p/ktoblzcheck/code/ci/master/tree/</a>><br>
> ><br>
> > > I would greatly appreciate if you
could help me in<br>
> resolving this<br>
> > issue.<br>
> > In case you followed the building guide
and there are still<br>
> errors<br>
> > please open a ticket at<br>
> <a
href="https://sourceforge.net/p/ktoblzcheck/bugs/new/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://sourceforge.net/p/ktoblzcheck/bugs/new/</a><br>
> ><br>
> > Regards<br>
> > Ralf<br>
> ><br>
> <br>
</blockquote>
</div>
</blockquote>
</div>
</body>
</html>