Re: Error in kdb tools

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Error in kdb tools

Jaroslaw Staniek-3

On 10 November 2016 at 19:23,
​​
priyanshu jain <[hidden email]> wrote:
Hi,

I tried to build kdb but there are error showing in sdc.py file in kdb/tools I did changes in this file and everything goes right and kdb build successfully so what should I do.

 Thanks Ppriyanshu,

Could you please paste the exact error you get with all the context -- entire build log is best; you can't attach large files here but maybe you can paste at https://paste.kde.org. BUILDDIR/CMakeFiles/CMakeError.log is also a good start.

What's your python version?
 

here is a diff
sdc.diff

Regards,



--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
Reply | Threaded
Open this post in threaded view
|

Re: Error in kdb tools

Jaroslaw Staniek-3


On 10 November 2016 at 19:23, priyanshu jain <[hidden email]> wrote:
>
> Hi,
>
> I tried to build kdb but there are error showing in sdc.py file in kdb/tools I did changes in this file and everything goes right and kdb build successfully so what should I do.


Congrats Priyanshu, you have your first achievement:

https://community.kde.org/Kexi/Season#Achievements
 
>



--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek
Reply | Threaded
Open this post in threaded view
|

Re: Error in kdb tools

Jaroslaw Staniek-3
In reply to this post by Jaroslaw Staniek-3


On 10 November 2016 at 20:00, priyanshu jain <[hidden email]> wrote:
Could you please paste the exact error you get with all the context -- entire build log is best; you can't attach large files here but maybe you can paste at https://paste.kde.org. BUILDDIR/CMakeFiles/CMakeError.log is also a good start.

CMakeError.log is not here because after correcting error build completed successfully.
but I have command line log.
kdb-error.log is before correct build log
 kdb-cmake.log is after

and last cmakecoutput.log


​Sorry, the page https://community.kde.org/KDb/Buildwas outdated. Now it's updated. Changes I made:


​I did this after I noticed ​you used this command:

   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=DebugFull ...

... while -DCMAKE_INSTALL_PREFIX=/usr Should not be used, use the variant #2 from the instruction or you can break your system sooner or later by overwriting files by mistake :)

... and -DCMAKE_BUILD_TYPE=DebugFull does not exist in CMake now, it'd enough to use -DCMAKE_BUILD_TYPE=Debug.


​Also ​kreport and kproperty shall be built the same way as kdb, if this helps you.​
And use the same {kdb-install-prefix} for all of them, otherwise:
- kreport won't find kproperty, which it requires
- kexi won't find all three modules



and 1 other thing is that in successful build there were error also in sdc.py file as I mentioned in  kdb-cmake.log file
What's your python version?
My default python version is 3 but I made virtual python environment and made python 2 default but same error persisted. 

Regards, 
 



--
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek