[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: Error compiling kate with python3
From:       J._Pablo_Martín_Cobos <goinnn () gmail ! com>
Date:       2013-03-23 23:41:22
Message-ID: CALNyWLHesVZTwSVb=0FpavfD6_zV+yp3=g9F64hKHhOKR+4T1w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Right now I found the error,

I had to install:

python3-pykde4-dbg
python3-pyqt4-dbg

I think that the get it page[1] should be updated (if you use python3)

--

REF's

1. http://kate-editor.org/get-it/

2013/3/24 Shaheed Haque <srhaque@theiet.org>

> I have these on my system:
>
> > locate sip.h
> /usr/include/python2.7/sip.h
> /usr/include/python2.7_d/sip.h
> /usr/include/python3.3dm/sip.h
> /usr/include/python3.3m/sip.h
>
> And they came from the following packages...
>
> > dpkg-query -S /usr/include/python2.7/sip.h
> python-sip-dev: /usr/include/python2.7/sip.h
> > dpkg-query -S /usr/include/python3.3dm/sip.h
> python3-sip-dev: /usr/include/python3.3dm/sip.h
>
> On 23 March 2013 19:33, J. Pablo Martín Cobos <goinnn@gmail.com> wrote:
> > With python2 (2.7) I don't get the error
> >
> > 2013/3/23 J. Pablo Martín Cobos <goinnn@gmail.com>
> >
> >> Hi,
> >>
> >> I don't know what is the error. I suposse that I have to install some
> >> library....
> >>
> >> -- Looking for fdatasync
> >> -- Looking for fdatasync - found
> >> -- Looking for ctermid
> >> -- Looking for ctermid - found
> >> -- remember to port kate/plugins/filetemplate to new knewstuff2
> >> -- Found PythonInterp: /usr/bin/python (found version "3.2.3")
> >> -- Found Python executable: /usr/bin/python
> >> -- Found Python version: 3.2.3
> >> -- Found Python library: /usr/lib/libpython3.2.so
> >> -- Found SIP version: 4.13.3
> >> -- Found PyQt4 version: 4.9.3
> >> -- Found PyKDE4 version 4.9.4 /usr/share/sip/PyKDE4
> >> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
> >> -- checking for module 'QJson>=0.5'
> >> --   found QJson, version 0.7.1
> >> -- Found QJSON: /usr/lib/x86_64-linux-gnu/libqjson.so
> >>
> >>
> >> ......
> >>
> >> In file included from
> >>
> /home/pmartin/kde2/kate/build/kate/plugins/pate/sip/./kate/sipkatepart0.cpp:24:0:
> >>
> >>
> /home/pmartin/kde2/kate/build/kate/plugins/pate/sip/./kate/sipAPIkate.h:28:17:
> >> error fatal: sip.h: No existe el archivo o el directorio
> >> compilación terminada.
> >> make[2]: ***
> >>
> [kate/plugins/pate/sip/CMakeFiles/python_module_PyKate4_kate.dir/./kate/sipkatepart0.o]
> >> Error 1
> >> make[1]: ***
> >> [kate/plugins/pate/sip/CMakeFiles/python_module_PyKate4_kate.dir/all]
> Error
> >> 2
> >> make: *** [all] Error 2
> >>
> >> The error are in spanish:
> >>
> >>     error fatal: sip.h: No existe el archivo o el directorio compilación
> >> terminada.
> >>     fatal error: sip.h: No such file or directory compilation
> terminated.
> >>
> >> Any idea?
> >>
> >> Best regards,
> >>
> >> --
> >>
> >> Pablo Martín
> >>
> >
> >
> >
> > _______________________________________________
> > KWrite-Devel mailing list
> > KWrite-Devel@kde.org
> > https://mail.kde.org/mailman/listinfo/kwrite-devel
> >
> _______________________________________________
> KWrite-Devel mailing list
> KWrite-Devel@kde.org
> https://mail.kde.org/mailman/listinfo/kwrite-devel
>

[Attachment #5 (text/html)]

Right now I found the error,<div><br></div><div>I had to \
install:</div><div><br></div><div>python3-pykde4-dbg</div><div>python3-pyqt4-dbg</div><div><br></div><div>I \
think that the get it page[1] should be updated (if you use python3)</div> \
<div><br></div><div>--</div><div><br></div><div>REF&#39;s</div><div><br></div><div>1. \
<a href="http://kate-editor.org/get-it/">http://kate-editor.org/get-it/</a></div><div><br><div \
class="gmail_quote">2013/3/24 Shaheed Haque <span dir="ltr">&lt;<a \
href="mailto:srhaque@theiet.org" \
target="_blank">srhaque@theiet.org</a>&gt;</span><br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have these on \
my system:<br> <br>
&gt; locate sip.h<br>
/usr/include/python2.7/sip.h<br>
/usr/include/python2.7_d/sip.h<br>
/usr/include/python3.3dm/sip.h<br>
/usr/include/python3.3m/sip.h<br>
<br>
And they came from the following packages...<br>
<br>
&gt; dpkg-query -S /usr/include/python2.7/sip.h<br>
python-sip-dev: /usr/include/python2.7/sip.h<br>
&gt; dpkg-query -S /usr/include/python3.3dm/sip.h<br>
python3-sip-dev: /usr/include/python3.3dm/sip.h<br>
<div><div class="h5"><br>
On 23 March 2013 19:33, J. Pablo Martín Cobos &lt;<a \
href="mailto:goinnn@gmail.com">goinnn@gmail.com</a>&gt; wrote:<br> &gt; With python2 \
(2.7) I don&#39;t get the error<br> &gt;<br>
&gt; 2013/3/23 J. Pablo Martín Cobos &lt;<a \
href="mailto:goinnn@gmail.com">goinnn@gmail.com</a>&gt;<br> &gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t know what is the error. I suposse that I have to install \
some<br> &gt;&gt; library....<br>
&gt;&gt;<br>
&gt;&gt; -- Looking for fdatasync<br>
&gt;&gt; -- Looking for fdatasync - found<br>
&gt;&gt; -- Looking for ctermid<br>
&gt;&gt; -- Looking for ctermid - found<br>
&gt;&gt; -- remember to port kate/plugins/filetemplate to new knewstuff2<br>
&gt;&gt; -- Found PythonInterp: /usr/bin/python (found version &quot;3.2.3&quot;)<br>
&gt;&gt; -- Found Python executable: /usr/bin/python<br>
&gt;&gt; -- Found Python version: 3.2.3<br>
&gt;&gt; -- Found Python library: /usr/lib/<a href="http://libpython3.2.so" \
target="_blank">libpython3.2.so</a><br> &gt;&gt; -- Found SIP version: 4.13.3<br>
&gt;&gt; -- Found PyQt4 version: 4.9.3<br>
&gt;&gt; -- Found PyKDE4 version 4.9.4 /usr/share/sip/PyKDE4<br>
&gt;&gt; -- Found PkgConfig: /usr/bin/pkg-config (found version &quot;0.26&quot;)<br>
&gt;&gt; -- checking for module &#39;QJson&gt;=0.5&#39;<br>
&gt;&gt; --   found QJson, version 0.7.1<br>
&gt;&gt; -- Found QJSON: /usr/lib/x86_64-linux-gnu/libqjson.so<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ......<br>
&gt;&gt;<br>
&gt;&gt; In file included from<br>
&gt;&gt; /home/pmartin/kde2/kate/build/kate/plugins/pate/sip/./kate/sipkatepart0.cpp:24:0:<br>
 &gt;&gt;<br>
&gt;&gt; /home/pmartin/kde2/kate/build/kate/plugins/pate/sip/./kate/sipAPIkate.h:28:17:<br>
 &gt;&gt; error fatal: sip.h: No existe el archivo o el directorio<br>
&gt;&gt; compilación terminada.<br>
&gt;&gt; make[2]: ***<br>
&gt;&gt; [kate/plugins/pate/sip/CMakeFiles/python_module_PyKate4_kate.dir/./kate/sipkatepart0.o]<br>
 &gt;&gt; Error 1<br>
&gt;&gt; make[1]: ***<br>
&gt;&gt; [kate/plugins/pate/sip/CMakeFiles/python_module_PyKate4_kate.dir/all] \
Error<br> &gt;&gt; 2<br>
&gt;&gt; make: *** [all] Error 2<br>
&gt;&gt;<br>
&gt;&gt; The error are in spanish:<br>
&gt;&gt;<br>
&gt;&gt;     error fatal: sip.h: No existe el archivo o el directorio compilación<br>
&gt;&gt; terminada.<br>
&gt;&gt;     fatal error: sip.h: No such file or directory compilation \
terminated.<br> &gt;&gt;<br>
&gt;&gt; Any idea?<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; Pablo Martín<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; KWrite-Devel mailing list<br>
&gt; <a href="mailto:KWrite-Devel@kde.org">KWrite-Devel@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/kwrite-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/kwrite-devel</a><br> &gt;<br>
_______________________________________________<br>
KWrite-Devel mailing list<br>
<a href="mailto:KWrite-Devel@kde.org">KWrite-Devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kwrite-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/kwrite-devel</a><br> \
</blockquote></div><br></div>



_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic