Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, I'm using Ubuntu 10.04 and when using tomboy-latex0.5 from apt I have this bug where I have to first deactivate + activate the plugin to make it work, all ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    4

    trying to build tomboy-latex 0.6

    Hello,
    I'm using Ubuntu 10.04 and when using tomboy-latex0.5 from apt I have this bug where I have to first deactivate + activate the plugin to make it work, all the time. So I tried to build it myself but after running ./configure and make I get this error:

    error CS0246: The type or namespace name `Gtk' could not be found. Are you missing a using directive or an assembly reference?
    Try using -pkg:gtk-sharp

    well I guess that i have to somehow tell mcs to use -pkg:gkt-sharp but I have no idea how to do that using make.

  2. #2
    Linux Newbie unlimitedscolobb's Avatar
    Join Date
    Jan 2008
    Posts
    120
    Quote Originally Posted by TurYai View Post
    error CS0246: The type or namespace name `Gtk' could not be found. Are you missing a using directive or an assembly reference?
    Try using -pkg:gtk-sharp

    well I guess that i have to somehow tell mcs to use -pkg:gkt-sharp but I have no idea how to do that using make.
    According to what is gtk-sharp? - Ubuntu Forums , you need to have gtk-sharp2 installed. Are you sure you have it?

    I'd expect that bringing all dependencies in order should solve your problem, because it is unlikely that the authors of the source code expected the end-user tinkering with autoconf configuration files.

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    4
    Nope I tried that but still no luck

  4. #4
    Linux Newbie unlimitedscolobb's Avatar
    Join Date
    Jan 2008
    Posts
    120
    I tried to install Tomboy-Latex in my Ubuntu Karmic virtual machine.

    Quote Originally Posted by TurYai View Post
    I'm using Ubuntu 10.04 and when using tomboy-latex0.5 from apt I have this bug where I have to first deactivate + activate the plugin to make it work, all the time.
    I experience this, too.

    Quote Originally Posted by TurYai View Post
    So I tried to build it myself but after running ./configure and make I get this error:
    To avoid compiling, I went to Tomboy-LaTeX - LaTeX math plugin for Tomboy - Reitwiessner.de and downloaded the latest version (0.6) of the plugin as Latex.dll. I put the file under ~/.config/tomboy/addins/ , as suggested here: Tomboy/Directories - GNOME Live! . The plugin showed up on the "Add-ins" page of the "Preferences" dialog, in the "Tools" section under the name "LaTeX Math Formulas", version 0.6.

    I started Tomboy from the command line to see some (possible) debug output. I opened a new note and typed in the following:
    Code:
    \[
    e^{i\pi} = -1
    \]
    Then I navigated around the node using arrow keys. In the terminal I launched Tomboy from I could see the following:
    Code:
    [INFO]: Latex: Creating image for \[
    e^{i\pi} = -1
    \]...
    Which proved that the plugin works. Nevertheless, I was not able to see the image. Note that I have dvipng installed, as suggested on the Tomboy-LaTeX plugin page. Also note that I did see the image when I used the old tomboy-latex from Ubuntu repositories.

    If you can repeat the same steps and get the same result, this is probably a bug and you may want to ask the developer about it (Their E-mail address is written in tiny letters at the bottom of the Tomboy-LaTeX page, in the copyright section). Also, your best bet with having the plugin compiled correctly is asking them, too.

    You might want to look at Tomboy/HowToCreateAddins - GNOME Live! , but I didn't try it myself, so this information might be useless.

  5. #5
    Linux Newbie unlimitedscolobb's Avatar
    Join Date
    Jan 2008
    Posts
    120
    Quote Originally Posted by unlimitedscolobb View Post
    To avoid compiling, I went to Tomboy-LaTeX - LaTeX math plugin for Tomboy - Reitwiessner.de and downloaded the latest version (0.6) of the plugin as Latex.dll.
    Well, my curiosity beat me and I decided to take a try at compiling the plugin.

    I downloaded the latest sources from the link I mentioned above. Then I installed mono-2.0-devel. This gave me the gmcs compiler (note that "g"), which seems to be the up-to-date compiler (CSharp Compiler - Mono -- they are even going to deprecate mcs soon). I tried to ./configure and got

    Code:
    checking for mcs... no
    configure: error: Can't find "mcs", the mono compiler in your PATH
    I created a symbolic link mcs->gmcs to fool the configure script:
    Code:
    $ cd /usr/bin
    $ sudo ln -s gmcs mcs
    Then I ran ./configure again and it worked nicely. I ran make to get a Latex.dll file under ./src/ . I copied it manually to ~/.config/tomboy/addins/ and proceeded exactly as I did with the Latex.dll I downloaded from the Tomboy-LaTeX home page. Unfourtunately, I got the same result.

    If you can reproduce this, please do tell the author, or, in the worst case, report here and I'll tell them myself.

  6. #6
    Just Joined!
    Join Date
    May 2010
    Posts
    4
    Thank you for the replies, lately I didn't have the time to check the forum. I tried using the Latex.dll (should have done so earlier xD ) after getting the same error with mono-2.0-devel installed and that worked for me
    So for me there's no more need to compile though I'm still curious why it didn't work...

  7. #7
    Just Joined!
    Join Date
    May 2010
    Posts
    4
    @unlimitedscolobb: I tested your latex code. The reason why it's not working is because this release won't allow a linebreak after the \[
    Also I found a very annoying bug. When pressing backspace or delete before/after the latex-image tomboy will crash and won't show by restarting it, so I had to restart the X Server to make it work again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...