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

List:       kde-edu
Subject:    Re: Cantor 17.12 crashes working with R and Sage backends and is very slow with some other ones on A
From:       Fernando de Morais <fernandodemorais.jf () gmail ! com>
Date:       2018-01-15 4:57:42
Message-ID: CAFReGtkenBBJjY-Ly7C2t1xVJtWWmLbubLveQkoySgOjE4tzXg () mail ! gmail ! com
[Download RAW message or body]

Hello Alexander,

Alternatively, since you're going to compile from the sources anyway, you
> can 'git clone' Cantor's code from the official repository and compile it.


I completely forgot to do try this option. Sorry for that.

I tried to compile Cantor from git repository a couple of times, but I was
stopped by this errors:

Scanning dependencies of target cantor_juliaserver
[ 78%] Building CXX object
src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/juliaserver.cpp.o
/home/fernando/Downloads/cantor/src/backends/julia/juliaserver/juliaserver.cpp:
In member function ‘void JuliaServer::login(const QString&) const':
/home/fernando/Downloads/cantor/src/backends/julia/juliaserver/juliaserver.cpp:43:44:
error:
too many arguments to function ‘void jl_init()'
    jl_init(dir_path.toLatin1().constData());
                                           ^
In file included from
/home/fernando/Downloads/cantor/src/backends/julia/juliaserver/juliaserver.cpp:22:0:

/usr/include/julia/julia.h:1319:19: note: declared here
JL_DLLEXPORT void jl_init(void);
                  ^~~~~~~
make[2]: ***
[src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/build.make:63:
src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/juliaserver.
cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3477:
src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/all] Error
2
make: *** [Makefile:141: all] Error 2

I follow the instructions presented in the "How To Build and Install Cantor"
(excluding the -DCMAKE_INSTALL_PREFIX, because I did not make use of it)
section in git repo <https://github.com/KDE/cantor>.

The problem is on the Julia Server for Cantor, in this case. Maybe I did
something wrong?

Best Regards.

2018-01-14 16:08 GMT-03:00 Alexander Semke <alexander.semke@web.de>:

> Hi Fernando,
>
> On 14.01.2018 19:06, Fernando de Morais wrote:
>
> Hi Alexander,
>
> Many distribution provide additional packages containing the debug
>> symbols, e.g. 'cantor-debuginfo' and 'libcantorlibs17-debuginfo' on
>> openSUSE.
>>
>
> Unfortunately, for enable debug symbols options on packages in Arch Linux
> is necessary a complete rebuild change the -DCMAKE_BUILD_TYPE (for KDE
> applications, in this case). I follow the steps mentioned in Arch Wiki, but
> in every try I get the following result:
>
> ==> Compilando e instalando pacote
> ==> Criando o pacote: cantor 17.12.1-1 (dom jan 14 14:53:53 -03 2018)
> ==> Verificando as dependências de tempo de execução...
> ==> Verificando as dependências de tempo de compilação...
> ==> Obtendo fontes...
>  -> Baixando cantor-17.12.1.tar.xz...
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
>  Current
>                                 Dload  Upload   Total   Spent    Left
>  Speed
> 100   344  100   344    0     0    344      0  0:00:01 --:--:--  0:00:01
>   393
> 100 1039k  100 1039k    0     0   173k      0  0:00:06  0:00:06 --:--:--
>  168k
>  -> Baixando cantor-17.12.1.tar.xz.sig...
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
>  Current
>                                 Dload  Upload   Total   Spent    Left
>  Speed
> 100   488  100   488    0     0    488      0  0:00:01 --:--:--  0:00:01
>   598
>  -> Encontrado cantor-julia-0.6.patch
> ==> Validando source arquivos com sha256sums...
>    cantor-17.12.1.tar.xz ... Passou
>    cantor-17.12.1.tar.xz.sig ... Ignorada
>    cantor-julia-0.6.patch ... Passou
> ==> Verificando assinatura de arquivo fonte com gpg...
>    cantor-17.12.1.tar.xz ... FALHOU (chave pública desconhecida
> DBD2CE893E2D1C87)
> ==> ERRO: Uma ou mais assinaturas PGP não puderam ser verificadas!
> ==> ERRO: Makepkg não conseguiu compilar cantor.
>
> In every attempt, I try to remove this key (DBD2CE893E2D1C87), put it
> again on keys list, and refresh, but, again, I get the same result.
>
> This looks like an issue with the PGP-signature of the ARCH package. We
> cannot help here. You'll need to ask the maintainers of the package:
> https://www.archlinux.org/packages/extra/x86_64/cantor/
>
> Alternatively, since you're going to compile from the sources anyway, you
> can 'git clone' Cantor's code from the official repository and compile it.
> However, you'll need to manually install couple of devel-packages for the
> libraries used by Cantor...
>
>
> Regards,
> Alexander
>



-- 
Atenciosamente,

*José Fernando de Morais Firmino.*
Graduando no Curso Superior de Tecnologia em Automação Industrial.
*IFPB,* Campus Cajazeiras.
Currículo Lattes: clique aqui <http://lattes.cnpq.br/0001199049062038>.
Diretório de Grupos de Pesquisa: clique aqui
<http://dgp.cnpq.br/dgp/espelhorh/0001199049062038>.
E-mail acadêmico: fernando.morais@academico.ifpb.edu.br

[Attachment #3 (text/html)]

<div dir="ltr">Hello Alexander,<div><br></div><div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">Alternatively, \
since you&#39;re going to compile from the sources anyway, you can &#39;git \
clone&#39; Cantor&#39;s code from the official repository and compile \
it.</span></blockquote><div><br></div><div>I completely forgot to do try this option. \
Sorry for that.</div><div><br></div><div>I tried to compile Cantor from git \
repository a couple of times, but I was stopped by this \
errors:</div><div><br></div><div><span style="font-family:monospace"><span \
style="font-weight:bold;color:rgb(255,84,255)">Scanning dependencies of target \
cantor_juliaserver</span><span style="color:rgb(0,0,0)"> </span><br>[ 78%] <span \
style="color:rgb(24,178,24)">Building CXX object \
src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/juliaserver.cpp.o</span><span \
style="color:rgb(0,0,0)"> </span><br><span \
style="font-weight:bold;color:rgb(0,0,0)">/home/fernando/Downloads/cantor/src/backends/julia/juliaserver/juliaserver.cpp:</span><span \
style="color:rgb(0,0,0)"> In member function ‘</span><span \
style="font-weight:bold;color:rgb(0,0,0)">void JuliaServer::login(const QString&amp;) \
const</span><span style="color:rgb(0,0,0)">': </span><br><span \
style="font-weight:bold;color:rgb(0,0,0)">/home/fernando/Downloads/cantor/src/backends/julia/juliaserver/juliaserver.cpp:43:44:</span><span \
style="color:rgb(0,0,0)"> </span><span \
style="font-weight:bold;color:rgb(255,84,84)">error: </span><span \
style="color:rgb(0,0,0)">too many arguments to function ‘</span><span \
style="font-weight:bold;color:rgb(0,0,0)">void jl_init()</span><span \
style="color:rgb(0,0,0)">' </span><br>         \
jl_init(dir_path.toLatin1().constData()<span \
style="font-weight:bold;color:rgb(255,84,84)">)</span><span \
style="color:rgb(0,0,0)">; </span><br>                                                \
<span style="font-weight:bold;color:rgb(255,84,84)">^</span><span \
style="color:rgb(0,0,0)"> </span><br>In file included from <span \
style="font-weight:bold;color:rgb(0,0,0)">/home/fernando/Downloads/cantor/src/backends/julia/juliaserver/juliaserver.cpp:22:0</span><span \
style="color:rgb(0,0,0)">: </span><br><span \
style="font-weight:bold;color:rgb(0,0,0)">/usr/include/julia/julia.h:1319:19:</span><span \
style="color:rgb(0,0,0)"> </span><span \
style="font-weight:bold;color:rgb(84,255,255)">note: </span><span \
style="color:rgb(0,0,0)">declared here </span><br> JL_DLLEXPORT void <span \
style="font-weight:bold;color:rgb(84,255,255)">jl_init</span><span \
style="color:rgb(0,0,0)">(void); </span><br>                                     \
<span style="font-weight:bold;color:rgb(84,255,255)">^~~~~~~</span><span \
style="color:rgb(0,0,0)"> </span><br>make[2]: *** \
[src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/build.make:63: \
src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/juliaserver.<br>cpp.o] \
Error 1 <br>make[1]: *** [CMakeFiles/Makefile2:3477: \
src/backends/julia/juliaserver/CMakeFiles/cantor_juliaserver.dir/all] Error 2 \
<br>make: *** [Makefile:141: all] Error 2<br></span></div></div><div><span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace">I follow the instructions presented in the \
&quot;</span><font face="monospace">How To Build and Install Cantor</font><span \
style="font-family:monospace">&quot; (excluding the  </span><span \
style="background-color:transparent;font-family:SFMono-Regular,Consolas,&quot;Liberation \
Mono&quot;,Menlo,Courier,monospace;font-size:13.6px;color:rgb(36,41,46)">-DCMAKE_INSTALL_PREFIX, \
because I did not make use of it</span><span style="font-family:monospace">) section \
in </span><a href="https://github.com/KDE/cantor" style="font-family:monospace">git \
repo</a><span style="font-family:monospace">.</span></div><div><span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace">The problem is on the Julia Server for Cantor, in this \
case. Maybe I did something wrong?</span></div><div><span \
style="font-family:monospace"><br></span></div><div><span \
style="font-family:monospace">Best Regards.</span></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">2018-01-14 16:08 GMT-03:00 Alexander \
Semke <span dir="ltr">&lt;<a href="mailto:alexander.semke@web.de" \
target="_blank">alexander.semke@web.de</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Fernando,<br>
    </p><div><div class="h5">
    <br>
    <div class="m_5804435761787557425moz-cite-prefix">On 14.01.2018 19:06, Fernando \
de Morais  wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Alexander,
        <div><br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span \
style="font-size:12.8px">Many distribution provide  additional packages containing \
                the debug symbols, e.g.
            &#39;cantor-debuginfo&#39; and &#39;libcantorlibs17-debuginfo&#39; on
            openSUSE.</span><br>
        </blockquote>
        <div><br>
        </div>
        <div>Unfortunately, for enable debug symbols options on packages
          in Arch Linux is necessary a complete rebuild change the
          -DCMAKE_BUILD_TYPE (for KDE applications, in this case). I
          follow the steps mentioned in Arch Wiki, but in every try I
          get the following result:</div>
        <div><br>
        </div>
        <div><span style="font-family:monospace"><span \
style="font-weight:bold;color:rgb(84,255,84)">==&gt; </span><span \
style="font-weight:bold;color:rgb(0,0,0)">Compilando e  instalando pacote</span><span \
style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(84,255,84)">==&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Criando o
              pacote: cantor 17.12.1-1 (dom jan 14 14:53:53 -03 2018)</span><span \
style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(84,255,84)">==&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Verificando as
              dependências de tempo de execução...</span><span \
style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(84,255,84)">==&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Verificando as
              dependências de tempo de compilação...</span><span \
style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(84,255,84)">==&gt;</span><span \
style="font-weight:bold;color:rgb(0,0,0)"> Obtendo  fontes...</span><span \
style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(84,84,255)">   -&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Baixando
              cantor-17.12.1.tar.xz...</span><span style="color:rgb(0,0,0)">
            </span><br>
              % Total       % Received % Xferd   Average Speed     Time       Time
                    Time   Current
            <br>
                                                                        <wbr>    \
Dload   Upload     Total  Spent       Left   Speed
            <br>
            100     344   100     344       0         0       344           0   \
                0:00:01
            --:--:--   0:00:01     393
            <br>
            100 1039k   100 1039k       0         0     173k           0   0:00:06
              0:00:06 --:--:--   168k
            <br>
            <span style="font-weight:bold;color:rgb(84,84,255)">   -&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Baixando
              cantor-17.12.1.tar.xz.sig...</span><span style="color:rgb(0,0,0)">
            </span><br>
              % Total       % Received % Xferd   Average Speed     Time       Time
                    Time   Current
            <br>
                                                                        <wbr>    \
Dload   Upload     Total  Spent       Left   Speed
            <br>
            100     488   100     488       0         0       488           0   \
                0:00:01
            --:--:--   0:00:01     598
            <br>
            <span style="font-weight:bold;color:rgb(84,84,255)">   -&gt;</span><span \
style="font-weight:bold;color:rgb(0,0,0)"> Encontrado  \
cantor-julia-0.6.patch</span><span style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(84,255,84)">==&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Validando
              source arquivos com sha256sums...</span><span style="color:rgb(0,0,0)">
            </span><br>
                  cantor-17.12.1.tar.xz ... Passou
            <br>
                  cantor-17.12.1.tar.xz.sig ... Ignorada
            <br>
                  cantor-julia-0.6.patch ... Passou
            <br>
            <span style="font-weight:bold;color:rgb(84,255,84)">==&gt;</span><span \
                style="font-weight:bold;color:rgb(0,0,0)"> Verificando
              assinatura de arquivo fonte com gpg...</span><span \
style="color:rgb(0,0,0)">  </span><br>
                  cantor-17.12.1.tar.xz ... FALHOU (chave pública
            desconhecida DBD2CE893E2D1C87)
            <br>
            <span style="font-weight:bold;color:rgb(255,84,84)">==&gt;
              ERRO:</span><span style="font-weight:bold;color:rgb(0,0,0)"> Uma ou \
                mais
              assinaturas PGP não puderam ser verificadas!</span><span \
style="color:rgb(0,0,0)">  </span><br>
            <span style="font-weight:bold;color:rgb(255,84,84)">==&gt;
              ERRO: </span><span style="font-weight:bold;color:rgb(0,0,0)">Makepkg \
não  conseguiu compilar cantor.</span><br>
            <span style="color:rgb(0,0,0)">
            </span><br>
          </span></div>
        <div>In every attempt, I try to remove this key (<span \
style="font-family:monospace">DBD2CE893E2D1C87</span>), put  it again on keys list, \
and refresh, but, again, I get the same  result.</div>
      </div>
    </blockquote></div></div>
    This looks like an issue with the PGP-signature of the ARCH package.
    We cannot help here. You&#39;ll need to ask the maintainers of the
    package:<br>
    <a class="m_5804435761787557425moz-txt-link-freetext" \
href="https://www.archlinux.org/packages/extra/x86_64/cantor/" \
target="_blank">https://www.archlinux.org/<wbr>packages/extra/x86_64/cantor/</a><br>  \
<br>  Alternatively, since you&#39;re going to compile from the sources
    anyway, you can &#39;git clone&#39; Cantor&#39;s code from the official
    repository and compile it.<br>
    However, you&#39;ll need to manually install couple of devel-packages
    for the libraries used by Cantor...<br>
    <br>
    <br>
    Regards,<br>
    Alexander<br>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div><div><div><div><div><div>Atenciosamente,<br></div><b>José Fernando de \
Morais Firmino.<br></b></div>Graduando no Curso Superior de Tecnologia em Automação \
Industrial.<br></div><span style="color:rgb(56,118,29)"><b>IFPB,</b></span> Campus \
Cajazeiras.<br></div>Currículo Lattes: <a \
href="http://lattes.cnpq.br/0001199049062038" target="_blank">clique \
aqui</a>.<br></div>Diretório de Grupos de Pesquisa: <a \
href="http://dgp.cnpq.br/dgp/espelhorh/0001199049062038" target="_blank">clique \
aqui</a>.<br></div>E-mail acadêmico: <a \
href="mailto:fernando.morais@academico.ifpb.edu.br" \
target="_blank">fernando.morais@academico.ifpb.edu.br</a><br><div><div><div><div><div><b></b></div></div></div></div></div></div></div>
 </div>



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

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