Shop OBEX P1 Docs P2 Docs Learn Events
SPIN on Linux? - Page 2 — Parallax Forums

SPIN on Linux?

2»

Comments

  • kitsunekitsune Posts: 22
    edited 2013-04-05 01:09
    Thanks, heater. I just installed "SimpleIDE-0-8-5-1.i686-debian-linux.tar.bz2". Still no joy, still getting the "Cannot mix incompatible QT libraries" message.
    Guess I was much luckier with BST than you. As I mentioned above, the information on http://gpio.kaltpost.de/?page_id=1378 was instrumental in getting it to work.
  • SRLMSRLM Posts: 5,045
    edited 2013-04-05 02:38
    kitsune wrote: »
    I know, SimpleIDE expects a Qt version >=4.8 which is not compatible with Ubuntu 10.04 if I am not mistaken. That is quite painful. I will stick to BST because I want to spend my time writing Propeller code instead of struggling with IDE installation issues. But maybe somebody can tell me if there is an easy workaround?

    This probably isn't what you want to hear, but IMHO you can't be productive as a programmer without the latest tools. And 10.04 is ancient by today's standards. For the programs that I use frequently, I have the latest versions: either a nightly build, or a very recent download. It's a bit scary to set up the first time, but after that you have the latest and greatest.

    BTW, upgrading Ubuntu is fairly easy, as long as you haven't gone all over your filesystem and made hacks. You simply copy all the files and folders in your home directory (including the hidden ones) to an external hard drive, install the newest Ubuntu, and copy the files back. All your program settings are preserved, and you just need to go into Synaptics and check the programs that you want. You can even save the markings.

    Ubuntu 13.04 comes out in 20 days.
  • Heater.Heater. Posts: 21,230
    edited 2013-04-05 03:30
    Blimey, Ubutu is hard work in that case. I thought it was supposed to be the simple option among Linux distros.

    On Debian I just do "apt-get update", "apt-get upgrade" and it keeps rolling along over the years. I use the unstable branch to be nearer the cutting edge but not so near as to be untrustable. Every now and then I get into "apt-get distupgrade" when they make a new release.

    As for dev tools. A lot of what I use gets built from sources as the Debian packages are always to old for me.
  • kitsunekitsune Posts: 22
    edited 2013-04-05 05:26
    SRLM wrote: »
    This probably isn't what you want to hear, but IMHO you can't be productive as a programmer without the latest tools.
    You are right, that's not what I wanted to hear. To me, the continuous battle to keep up with "the latest tools" is mostly a nuisance. IMHO, this is more a matter of personal preference, not an absolute dictum.
  • prof_brainoprof_braino Posts: 4,313
    edited 2013-04-05 06:05
    kitsune wrote: »
    You are right, that's not what I wanted to hear. To me, the continuous battle to keep up with "the latest tools" is mostly a nuisance. IMHO, this is more a matter of personal preference, not an absolute dictum.

    Rule of thumb: "Avoid extra work without a compelling valid reason". Or "Don't do nuthin' unless you gotta'".

    If its a battle, you might be going about it the wrong way. Minor bug fixes, they can wait, unless the minor bug annoys you in particular. Major changes, as in the tool won't work without an update, maybe its time to update.
  • jazzedjazzed Posts: 11,803
    edited 2013-04-05 07:01
    Whoo Hoo! It works!

    It needed my username added to the dialout group.

    This wasn't in the instructions, was it? Is this peculiar to Ubuntu 12.04?

    Glad it works.

    Actually there was/is a note about adding username to dialout on the Linux download page, but it would only work on SUSE. I'll fix that today.

    @kitsune the problem we are facing has to do with the SimpleIDE setup script short-cutting the Linux package install process. Linux does not have a single installer process for all flavors, so I created a script that would serve most needs. At the moment the script puts things in a self-contained directory and sets LD_LIBRARY_PATH to SimpleIDE's library path.

    To have an install that will work for everyone I'll need to make packages for all the Linux flavors. Sorry, but I'm not in a position to make any install packages at the moment - maybe someone could volunteer to help in that regard.
  • kitsunekitsune Posts: 22
    edited 2013-04-05 07:11
    @jazzed:
    Thanks for explaining the reasons behind the issue I was describing.
  • prof_brainoprof_braino Posts: 4,313
    edited 2013-04-05 08:02
    jazzed wrote: »
    Actually there was/is a note about adding username to dialout on the Linux download page

    Yeah, on that page, the very first link takes us to another page, which I foolishly followed, and missed all the instructions on the rest of the page! And the install.txt and the User Guide were just enough to make me have the questions I posted. Maybe simply removing that "noise" link would address this. Following the correct instructions certainly would have made a difference.

    Anyway I updated the first post on this thread to point to my setup notes. That page targets loading the propforth kernel, but maybe showing a generic spin file can load is a good first test to show the tool is set up correctly. First time I tried to set up SimpleIDE I could not determine if the tool was set up correctly, or if there was some other problem. At the time, I was not so familliar with Linux or GCC tool chain. This would be typical of all first time users.
  • jazzedjazzed Posts: 11,803
    edited 2013-04-05 08:42
    EDIT - Got it to work - Here's my notes (and review comments) for setting up SimpleIDE on Ubuntu 12.04. ....

    Nice job writing this up. https://code.google.com/p/propforth/wiki/LinuxPropforth#OPTION:_WORKS_GREAT!_-_SimpleIDE
  • SRLMSRLM Posts: 5,045
    edited 2013-04-05 09:12
    Heater. wrote: »
    Blimey, Ubutu is hard work in that case. I thought it was supposed to be the simple option among Linux distros.

    On Debian I just do "apt-get update", "apt-get upgrade" and it keeps rolling along over the years. I use the unstable branch to be nearer the cutting edge but not so near as to be untrustable. Every now and then I get into "apt-get distupgrade" when they make a new release.

    As for dev tools. A lot of what I use gets built from sources as the Debian packages are always to old for me.

    I discovered yesterday that there is an option for upgrading major versions without having to do a complete wipe. So, I suppose you could do that. I'll still upgrade via a complete wipe, though: it's how I remove all the clutter that I don't want. And this new version of Ubuntu promises to have better performance and other "under the hood" goodies.

    19 days.
  • prof_brainoprof_braino Posts: 4,313
    edited 2013-04-06 07:28
    How to launch simpleIDE from and icon? I didn't see one added to the Application menu. Usually I just drag from the applications menu to the quick launch area (whatever its called) on the gnome applet banner. Can this be done for simpleIDE?
  • kitsunekitsune Posts: 22
    edited 2013-04-06 08:34
    For Ubuntu 12.04, you may wish to install something that helps you create launchers. I just played with Arronax ( http://www.florian-diesch.de/software/arronax/ ) to create a launcher for SimpleIDE. There are other options (including manual ones which I am not familiar with) as well.
Sign In or Register to comment.