<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello,<br>
    <br>
    yes, I can compile Cantor now including the cantor plugins.<br>
    <br>
    I can reproduce the bug, that I want to fix.<br>
    <br>
    The only strange thing:<br>
    If I enter "sin(x)" into an empty sage worksheet, I get:<br>
    <br>
    <style type="text/css">p, li { white-space: pre-wrap; }</style>
    <table style="border-style: none; margin: 5px 0px 0px;" border="1"
      cellspacing="10">
      <tbody>
        <tr>
          <td>
            <p style="margin: 0px; text-indent: 0px;">sin(x)</p>
          </td>
        </tr>
        <tr>
          <td>
            <p style="margin: 0px; text-indent: 0px;" align="justify">\begin{eqnarray*}\newcommand{\Bold}[1]{\mathbf{#1}}\sin\left(x\right)\end{eqnarray*}</p>
          </td>
        </tr>
      </tbody>
    </table>
    So the latex source code is shown, instead of the formula.<br>
    <br>
    This does not happen, if I open old worksheets.<br>
    Strange.<br>
    <br>
    On the command line I get the following messages:<br>
    <br>
    ufechner@dell-laptop:~$ cantor<br>
    cantor(6620)/kdecore (KLibrary) findLibraryInternal: plugins should
    not have a 'lib' prefix: "libcantorpart.so"<br>
    Object::disconnect: Unexpected null parameter<br>
    cantor(6620)/kdeui (kdelibs): Attempt to use QAction "" with
    KXMLGUIFactory! <br>
    Bus::open: Can not get ibus-daemon's address. <br>
    IBusInputContext::createInputContext: no connection to ibus-daemon <br>
    <br>
    Regards:<br>
    <br>
    Uwe<br>
    <br>
    On 18.04.2011 22:45, Aleix Pol wrote:
    <blockquote
      cite="mid:BANLkTinchSBcJJ2TjPEUxqK7Nmh+x4+oWw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div>
        <div class="gmail_quote">On Mon, Apr 18, 2011 at 10:42 PM, Uwe
          Fechner <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:u.fechner@tudelft.nl">u.fechner@tudelft.nl</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div text="#000000" bgcolor="#ffffff">
              <div class="im"> Hi,<br>
                <br>
                same questions:<br>
                - do I really need to specify a CMAKE_INSTALL_PREFIX?<br>
                  (compiling and running Cantor works fine, only the
                plugins are not found)<br>
                - if I have to, which one would you suggest?<br>
                <br>
                ccmake doesn't give any information (only the message:
                EMPTY CACHE)<br>
                <br>
                I am using ubuntu 10.10 with the newest, backported kde
                packages.<br>
                <br>
                One more error message:<br>
                make testsage gives the following messages:<br>
                <br>
                ufechner@dell-laptop:~/cantor/cantor/build$ make
                testsage<br>
                [  0%] Built target testsage_automoc<br>
                [  0%] Built target cantorlibs_automoc<br>
                [ 90%] Built target cantorlibs<br>
                [ 95%] Building CXX object
                src/backends/sage/CMakeFiles/testsage.dir/testsage.o<br>
                In file included from
                /home/ufechner/cantor/cantor/src/backends/sage/testsage.cpp:21:<br>
                /home/ufechner/cantor/cantor/src/backends/sage/testsage.h:24:
                fatal error: backendtest.h: Datei oder Verzeichnis nicht
                gefunden<br>
                compilation terminated.<br>
                make[3]: ***
                [src/backends/sage/CMakeFiles/testsage.dir/testsage.o]
                Fehler 1<br>
                make[2]: ***
                [src/backends/sage/CMakeFiles/testsage.dir/all] Fehler 2<br>
                make[1]: ***
                [src/backends/sage/CMakeFiles/testsage.dir/rule] Fehler
                2<br>
                make: *** [testsage] Fehler 2<br>
                <br>
                <br>
                Regards:<br>
                <br>
                Uwe<br>
                <br>
              </div>
              <div>
                <div class="h5"> On 18.04.2011 20:42, Aleix Pol wrote:
                  <blockquote type="cite"> Probably you didn't specify
                    the correct CMAKE_INSTALL_PREFIX. You can check the
                    value by using ccmake.
                    <div><br>
                    </div>
                    <div>You have to make sure cantor is installed
                      together with the rest of KDE. (or to make the
                      appropiate changes to your installation).</div>
                    <div><br>
                    </div>
                    <div>Aleix<br>
                      <br>
                      <div class="gmail_quote">On Mon, Apr 18, 2011 at
                        8:36 PM, Uwe Fechner <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:u.fechner@tudelft.nl"
                            target="_blank">u.fechner@tudelft.nl</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:
                          0pt 0pt 0pt 0.8ex; border-left: 1px solid
                          rgb(204, 204, 204); padding-left: 1ex;">
                          <div> On 18.04.2011 20:14, Aleix Pol wrote:<br>
                            &gt; You need to install kdelibs development
                            packages first. The name<br>
                            &gt; depends on your distro.<br>
                            &gt;<br>
                            &gt; Aleix<br>
                            <br>
                          </div>
                          Hi Aleix,<br>
                          <br>
                          the following command did help to fix the
                          compilation problem:<br>
                          sudo apt-get install kdelibs5-dev<br>
                          <br>
                          (strange: why is it kdelibs5-dev for kde 4.x?)<br>
                          <br>
                          Now I have the next problem:<br>
                          I can compile and install cantor, but there
                          are no plugins.<br>
                          I compiled and installed the sage plugin with:<br>
                          <br>
                          make cantor_sagebackend<br>
                          sudo make install<br>
                          <br>
                          But this did not help.<br>
                          <br>
                          How can I install the sage backend?<br>
                          <br>
                          (Sage is installed and did work with the
                          debian packages of cantor,<br>
                          but I removed them, to use the code, that I
                          compiled myself.)<br>
                          <div>
                            <div><br>
                              Regards:<br>
                              <br>
                              Uwe Fechner<br>
                              <br>
                              ----------------------------------------<br>
                              Uwe Fechner, M.Sc.<br>
                              Delft University of Technology<br>
                              Faculty of Aerospace Engineering/ASSET<br>
                              Kluyverweg 1,<br>
                              2629 HS Delft, The Netherlands<br>
                              Phone: <a moz-do-not-send="true"
                                href="tel:%2B31-15-27-88902"
                                value="+31152788902" target="_blank">+31-15-27-88902</a><br>
                              <br>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <div>Just configure the builddir by using "cmake &lt;path to
        source&gt; -DCMAKE_INSTALL_PREFIX=/usr"
        <div><br>
        </div>
        <div>Aleix<br>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
kde-edu mailing list
<a class="moz-txt-link-abbreviated" href="mailto:kde-edu@mail.kde.org">kde-edu@mail.kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kde-edu">https://mail.kde.org/mailman/listinfo/kde-edu</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
----------------------------------------
Uwe Fechner, M.Sc.
Delft University of Technology
Faculty of Aerospace Engineering/ASSET
Kluyverweg 1,
2629 HS Delft, The Netherlands
Phone: +31-15-27-88902</pre>
  </body>
</html>