Shop OBEX P1 Docs P2 Docs Learn Events
SimpleIDE 0-9-45 Linux ... — Parallax Forums

SimpleIDE 0-9-45 Linux ...

RsadeikaRsadeika Posts: 3,837
edited 2014-02-28 08:13 in Propeller 1
how do you get it to run? At the moment, on my Debian 64-bit box setup, I have had no success in getting this to work. It seems too install without any errors, but when I type sudo ./simpleide or double click on the icon, nothing happens. So, I just move back too my windows box and work with SimpleIDE there, no problems what so ever. Kind of makes you wonder as to why anybody would bother with trying a Linux install?

Actually I would like to get SimpleIDE to work on my Debian box, preferably not a VM session, so if anybody has a working setup for 0-9-45, if you could outline the steps you took to get it to work, I would greatly appreciate that.

Ray
«1345

Comments

  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 04:52
    Ray,
    how do you get it to run?
    Very easily.

    Can you download and try the build for 64 bit Debian 7 that I have posted here: https://dl.dropboxusercontent.com/u/81267937/SimpleIDE-0-9-47.x86_64.debian-linux.tar.bz2 Be sure to read the setup instructions they are a bit different from the Parallax version.

    It would be great to see how this goes. Best to run from the command line so we can see any error output. Be sure to remove any /opt/simpleide stuff first. We don't want it picking up old Qt libs from there.

    The Parallax build is is only for 32 bit machines. Even when I have installed what is required to run 32 bit binaries on a 64 bit Debian it still does not run. Something is very broken there.
    Kind of makes you wonder as to why anybody would bother with trying a Linux install?
    Don't forget this is all still quite new and has not been tested extensively. Debian, Ubuntu, Fedora, Suse packages have not been made. I'm sure Jazzed would like some help with that. I'm not really into it as building and installing from source is easier than making deb package for me.

    Given the difficulty I have had installing IDEs to Windows in the past this is a walk in the park.

    Oh and don't start me on the "Death to MS and Windows lock in" rant. We want to be independent.
  • RsadeikaRsadeika Posts: 3,837
    edited 2014-02-23 05:20
    Thanks Heater., I will give it a try, but my intent with this thread is too give a heads up to Parallax that there install version is not working for some people, maybe a lot of people. I also do not think that a lot of potential users here will want to compile there own personal versions (just in case you decide to leave). So, maybe somebody out there has the magic for getting the Parallax SimpleIDE 0-9-45 to install and work without too many hassles.

    On reflection, when I installed Qt5, I thought that was a straight forward installation, just download the file, double click on the Icon, and you are off. Sure would be nice if the Parallax version of 0-9-45 was that simple, download, double click on the Icon, and ... And better yet, maybe 'sudo apt-get install simpleide' for Debian systems and whatever it takes for the other versions of Linux.

    Ray
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 05:31
    Ray,

    I do agree Parallax has some work to do here. To be fair they do state that the Linux download is for 32 bit machines. I suspect that their package is failing because it was done on a Mac. I have seen a lot of weird stuff going on when archives get created on a mac and used on Linux recently.

    I also agree that users should not be expected to compile the thing.

    I would not get hung up on that 0.9.45 package. Things are developing all the time. 45 is is just a moment in time.

    A Debian package would be great. These things are a lot of work. Then you need an Ubuntu package, a Fedora package etc etc.

    A Qt style installer would also be great. It's also a lot of work. Jazzed is already quite busy enough developing the actual SimpleIDE code I imagine.
  • RsadeikaRsadeika Posts: 3,837
    edited 2014-02-23 05:53
    ...To be fair they do state that the Linux download is for 32 bit machines. ...
    I have been spoiled by windows, you can run 32-bit packages on 64-bit machines, but that is a different matter. So, why doesn't Linux do the same thing? This not to start a OS war, just trying too figure out why Linux does not handle it like windows handles it?

    I was thinking about that 32-bit issue, I will have to see if I have another box available too install a 32-bit Debian system and give SimpleIDE a try, and see if there are any installation issues. And as a final note, who uses 32-bit installs anymore?

    Ray
  • fridafrida Posts: 155
    edited 2014-02-23 06:19
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-02-23 07:15
    I just installed Heater.'s 0-9-47 build on my 64 bit Linux Mint 16 distribution. It installed and worked like a champ by following the simple instructions in INSTALL.txt. I didn't need to load any additional software or mess around with anything.

    Yay!!
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 07:28
    Ray,
    I have been spoiled by windows, you can run 32-bit packages on 64-bit machines...So, why doesn't Linux do the same thing?....just trying too figure out why Linux does not handle it...?
    I have been spoiled by Debian. Debian runs 32 bit software just fine.Normally this is not necessary as pretty much everything you need is available for 32 and 64 bit machines. For this reason it is not enabled by default.
    $ dpkg --add-architecture i386
    $ apt-get update
    $ apt-get install whatever:i386
    
    The above will get you most 32 bit software working. Where "whatever" is an app or the libraries some program depends on.
    ...who uses 32-bit installs anymore?
    I have a couple of machines with 32 bit installs. Mostly becausue I want my dev box to have the same OS as our 32 bit x86 and ARM embedded system targets. Probably not strictly necessary but mostly who needs 64 bits anyway?


    Aside: I had to chuckle at the "spoiled by Windows" part. It was 10 years after the arrival of the 32 bit i386 that MS managed to put out an OS that was not 16 bit! We were sure spoiled by not having to use MS at the time.
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 07:31
    mindrobots,

    Great, We have a winner.

    I'm really curious to know why other are having such a hard time. We need to know what the hold ups are before there is any chance of fixing them.
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-02-23 08:00
    Heater,

    It is curious. I really rarely have installation issues on the Linux systems I've set up. For me Windows has always seemed less forgiving (but that's not the topic here).

    This is a several month old installation of Linux Mint 16. I'm not sure how old or if there is a file or directory date I could check that would accurately tell me.

    It's a true LINUX box, not a VM under something else. There appear to have been some issues with VM's which would be not be a 'guest' distro issue, more of a VM or "host" driver issue.

    I install a lot of software to play with (helps with my Attention Deficit issues...or helps cause them). You and I may have inadvertently installed something that caused a package to be loaded as part of its dependencies that others haven't. Since SimpleIDE isn't packaged a a true installable package (Deb, RH or whatever), it doesn't have a dependency list.

    I have a netbook with an old Ubuntu that I can wipe and put a fresh Mint (or something else if it makes more sense) and give us a fresh isolated platform to play with. (actually, I have two but one only has 1GB of RAM so it would be a test only installation.

    Debian can probably be easily covered with a Pi and Raspian?
    Ubuntu is popular but I'd rather not promote it.
    Fedora is doable.
    Mint is doable
    What else are out there as mainstream distro's? A pure, fresh Debian?

    Between thinking about this last night,a a buggered up stack experiment on my P2 and a strange nightmare I had about a pre-emptive Multi-Tasking P2, I didn't sleep well.......but at least it wasn't work keeping me awake!!

    So, what virgin install would you like to try on my Netbook?

    I have a USB with Linux Mint on it, so that's quickest and easiest.....but anything is possible with a couple downloads
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 08:13
    mindrobots,
    ...it doesn't have a dependency list....
    I was wondering about this. Either guys don't have the same packages installed as we do and something is missing. Or conversely they have something installed that has buggered up Debians dependencies. I have seen the later happen a couple of times when installing non-debian software.

    Either way we would expect some error message when trying to run the thing. Something about missing libraries or wrong versions.

    Now oddly, that Parallax package fails for me. There error given claims that the binary I'm trying to run cannot be found. But it's there, it's executable, it has the right permissions, it's an elf 32 bit executable. Very weird. I'll try it on a 32 bit Debian back at the office tomorrow.

    As for which distro you should experiment with next. It's up to you but I'd guess something RedHat/Fedora based would be a good idea.
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-02-23 08:34
    Heater. wrote: »
    Now oddly, that Parallax package fails for me. There error given claims that the binary I'm trying to run cannot be found. But it's there, it's executable, it has the right permissions, it's an elf 32 bit executable. Very weird. I'll try it on a 32 bit Debian back at the office tomorrow.

    Haha!! You mean like this??
    rapost@c3po /opt/simpleide/bin $ ls -l
    total 18588
    -rwxr-xr-x 1 root root   639556 Feb 23 09:45 ctags
    -rw-r--r-- 1 root root    88852 Feb 23 09:45 libaudio.so.2
    -rw-r--r-- 1 root root  2635364 Feb 23 09:45 libQtCore.so.4
    -rw-r--r-- 1 root root 11144412 Feb 23 09:45 libQtGui.so.4
    -rwxr-xr-x 1 root root  1109428 Feb 23 09:45 libquazip.so.1
    -rwxr-xr-x 1 root root  3397055 Feb 23 09:45 SimpleIDE
    -rwxr-xr-x 1 root root       84 Feb 23 09:45 simpleide.sh
    -rw-r--r-- 1 root root      124 Feb 23 09:45 template.sh
    rapost@c3po /opt/simpleide/bin $ sudo /opt/simpleide/bin/SimpleIDE
    sudo: unable to execute /opt/simpleide/bin/SimpleIDE: No such file or directory
    rapost@c3po /opt/simpleide/bin $ ls -l /opt/simpleide/bin/SimpleIDE
    -rwxr-xr-x 1 root root 3397055 Feb 23 09:45 /opt/simpleide/bin/SimpleIDE
    
    

    We must be running on the same system! Granted, I have a 64 bit distribution but all indications are I have the 32 bit support installed. The beahvior of the Parallax package totally threw me for a loop (interruptable, of course). As soon as I started giving this, I quickly gave up on the Parallax package until I had a true 32 bit system.

    We can somehow probably list the installed packages from a good system and a bad system and then diff them but that sounds like too much work! :smile:

    Maybe one netbook will get a 64 bit Fedora to test your package and the other will get a 32 bit something to test the Parallax package.
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 08:44
    Yep, that's the error. I still haven't worked out how that is possible. I have seen something similar when a tar ball was made on a Mac and moved to a Linux box.

    Comparing files between Debian systems can probably be done easily by using the debsums program.
  • ctwardellctwardell Posts: 1,716
    edited 2014-02-23 09:00
    What folder are you putting the tar ball in before extracting it?

    Thanks,

    C.W.
  • jazzedjazzed Posts: 11,803
    edited 2014-02-23 09:08
    Hey guys. Sorry that things have not worked out for the 64bit packages yet. The current package was built on Mint 16 i686 if that makes any difference.

    When I build new packages, I assume you'll want to test them. I need a good idea of what we need to build.

    I can build for these flavors now: x86_64: Debian 6, Fedora 16 or 17, Suse 12 i686: various Debian, Mint, Ubuntu

    Before the x86_64 packages from the VMs I have were good enough. Now with the ActivityBot and the new FTDI chip, I have to build from more recent installations.

    Do you have any suggestions? I planned to build Debian, Fedora, Suse, and Ubuntu like before.
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-02-23 09:11
    I put it in my home directory...well, actually the tar ball was in my download directory and the I extracted it via Nemo (graphical file manager) into my home directory.

    I did this for both the Parallax package and the Heater package.....everything was identical except the 32 bit versus 64 bit and the "./setup.sh install" versus the "./setup.sh $USER"
  • ctwardellctwardell Posts: 1,716
    edited 2014-02-23 09:29
    Heater,

    This is in reply to your questions from the PropIDE thread:

    Output from install and the tests you asked for:

    Found /opt/parallax/bin

    On first run ./simpleide will install ~/Documents/SimpleIDE .
    Remove ~/Documents/SimpleIDE to get a new copy of the workspace.
    Previous users should remove ~/.config/ParallaxInc/SimpleIDE.conf .

    Setup complete. To run program use: ./simpleide
    chris@debian:~/Downloads/SimpleIDE-0-9-47$ ./simpleide
    chris@debian:~/Downloads/SimpleIDE-0-9-47$ /home/chris/Downloads/SimpleIDE-0-9-47/bin//SimpleIDE: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/chris/Downloads/SimpleIDE-0-9-47/bin//SimpleIDE)
    /home/chris/Downloads/SimpleIDE-0-9-47/bin//SimpleIDE: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/chris/Downloads/SimpleIDE-0-9-47/bin/libquazip.so.1)
    cd bin
    chris@debian:~/Downloads/SimpleIDE-0-9-47/bin$ ls
    ctags libQtCore.so.4 libquazip.so libquazip.so.1.0 SimpleIDE
    libaudio.so.2 libQtGui.so.4 libquazip.so.1 libquazip.so.1.0.0 template.sh
    chris@debian:~/Downloads/SimpleIDE-0-9-47/bin$ ./simpleide
    bash: ./simpleide: No such file or directory
    chris@debian:~/Downloads/SimpleIDE-0-9-47/bin$ dpkg-query -l 'libc-bin'
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-==============-============-============-=================================
    ii libc-bin 2.13-38+deb7 amd64 Embedded GNU C Library: Binaries
    chris@debian:~/Downloads/SimpleIDE-0-9-47/bin$
  • RsadeikaRsadeika Posts: 3,837
    edited 2014-02-23 09:53
    I tried the "frida" method, and that did nothing. Next I tried the Heater. compiled version, and below is what I get when I do a ./simpleide, no joy yet. Boy, this is all over the place, if some Arduino users are looking in, they are probably smilling and thinking that they made the right choice, sorry too say.

    Ray
    ray@raymini:~/Downloads/SimpleIDE47$ ./simpleide
    ray@raymini:~/Downloads/SimpleIDE47$ /home/ray/Downloads/SimpleIDE47/bin//SimpleIDE: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/ray/Downloads/SimpleIDE47/bin//SimpleIDE)
    /home/ray/Downloads/SimpleIDE47/bin//SimpleIDE: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/ray/Downloads/SimpleIDE47/bin/libquazip.so.1)
  • jazzedjazzed Posts: 11,803
    edited 2014-02-23 10:06
    Ugh.

    Come on Ray, that just isn't being helpful. Clearly there is an issue. The linux stuff is just not finished yet.

    Consider responding to my post above. That would be helpful!

    There are a few ways to do this.

    1. Build packages for each platform.
    2. Create a Linux flavor dependent packager for use with apt-get, rpm, yum, yast, etc....
    3. Allow only building from source.

    Levels of difficulty.

    1. Fairly easy - known to work with versions, etc....
    2. Difficult for the distributor ... interpret every system's version of an installer
    3. Difficult for the user ... not very likely to be appreciated by "beginners"
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 10:14
    Ray,

    Thanks for the info. And that in the other thread. I have to ponder on it a bit. All very odd.

    Let's not confuse Arduino with Propeller with Simple IDE with various Debian and other operating systems. They are not related. As I said this stuff is all very new and there will be wrinkles that we need to find and iron out. Jazzed has done a great job in getting us this far. As has the propgcc team and a host of others. We should offer encouragement not disparagement. By trying it out and reporting results we are all on the same team.
  • RsadeikaRsadeika Posts: 3,837
    edited 2014-02-23 10:24
    Come on Ray, that just isn't being helpful. Clearly there is an issue. The linux stuff is just not finished yet.
    Yea, I know, but I just had to say it. At least I am not running to the Radio Shack store and buying an Arduino, still sticking with the Propeller.

    I think what I may do next is try building a SimpleIDE from source, since I have Qt5 installed. That should be as simple as downloading the source, opening up the project, and doing a build, correct? If I do not getting anything working with that, then I give up, and try to think of a way to run propgcc from within Propeller IDE, since that happens too work.

    As for the other suggestions that jazzed made, not sure how answer that, I just might get tired of Debian and move on to Fedora or move on to ...

    Ray
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 10:28
    Jazzed,

    There is something broken about Ray's Debian installation. libc verstion 2.14 should not enter the picture. It is not a version that belongs in any release of Debian past or future. We see that things go OK on other Debian 7 64 bit installations so I don't think you should worry about it so much.

    I, however, am fascinated to know what is up there....
  • ctwardellctwardell Posts: 1,716
    edited 2014-02-23 10:32
    Heater. wrote: »
    Jazzed,

    There is something broken about Ray's Debian installation. libc verstion 2.14 should not enter the picture. It is not a version that belongs in any release of Debian past or future. We see that things go OK on other Debian 7 64 bit installations so I don't think you should worry about it so much.

    I, however, am fascinated to know what is up there....

    Same issue on mine.

    Mine was done from the netinst that downloads a lot of it during the install, maybe that is picking up something new?

    I'm in the process of building a new VM from DVD instead of the net install.

    C.W.
  • RsadeikaRsadeika Posts: 3,837
    edited 2014-02-23 10:38
    There is something broken about Ray's Debian installation.
    Does Debian have a "self-heal" aspect, besides a new install.:-) When I installed this, I started with a live disc, and then a full installation from the the live session. I have not seen any messages that are telling me anything has gone wrong, or telling me to just do a new install. This is starting to remind me of the early Windows install sessions, you had too do quite a few before you got it right.

    Ray
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 10:39
    Ray,

    You are of course welcome to run to RS and buy an Arduino. Although if you want easy I would suggest getting an Espruino and programming it directly on the chip in JavaScript. You are also welcome to join the team, in a small way, and help out get this working. Which, of course, we would prefer.

    Building SimpleIDE from source is not exactly quite so simple. At least you have to build propgcc first. Pretty much all the instructions you need to do it are in the source code repositories though. SimpleIDE does not use Qt5 yet.

    Moving to Fedora or ... is only compounding the headaches. Like leaving your wife for you mistress:)
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-02-23 10:39
    Heater. wrote: »
    Jazzed,

    There is something broken about Ray's Debian installation. libc verstion 2.14 should not enter the picture. It is not a version that belongs in any release of Debian past or future. We see that things go OK on other Debian 7 64 bit installations so I don't think you should worry about it so much.

    I, however, am fascinated to know what is up there....


    Something seems even stranger here. 4 different computers (yours, mine, Ray's and Chris'), presumably 4 different distributions (at least as far as what additional stuff has been installed). All are trying to run the SimpleIDE you built for 64bit. Yours works, mine works, but Ray's and Chris' get the SAME GLIBC_21.4 error?

    Did you and I somehow pick up a GLIBC_2.14 with something else we installed? Is it a completely spurious message? This gets curiouser and curiouser!!
  • jazzedjazzed Posts: 11,803
    edited 2014-02-23 10:43
    Heater, thanks for your encouragement.

    FWIW, I've always installed my VMs from a DVD.
    Rsadeika wrote: »
    Yea, I know, but I just had to say it. At least I am not running to the Radio Shack store and buying an Arduino, still sticking with the Propeller.

    We all appreciate your staying power. Others may not be so generous.
    Rsadeika wrote: »
    I think what I may do next is try building a SimpleIDE from source, since I have Qt5 installed. That should be as simple as downloading the source, opening up the project, and doing a build, correct?

    Not necessarily. Currently SimpleIDE requires Qt library 4.8.0 ... 4.8.3 would require some project file changes. Qt 5.2.1 would require lots of include and other changes. Just stick with building PropelleIDE for now.
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 10:46
    Ray,
    Does Debian have a "self-heal" aspect, besides a new install.
    Yes. Sort of. Thing is we are talking about libc here. This is fundamental to every program in the OS and most applications. I don't want to suggest a "fix" unless I know it works.
  • RsadeikaRsadeika Posts: 3,837
    edited 2014-02-23 10:49
    Building SimpleIDE from source is not exactly quite so simple.
    Okay, thanks for the info, I think I will put that off for another time. Now, I guess I will have to make some time and download the three DVD's necessary for a "real" install, hopefully that will turn things around. Next question, KDE or Gnome? I am working with Gnome at the moment.

    Ray
  • Heater.Heater. Posts: 21,230
    edited 2014-02-23 10:50
    mindrobots,
    Did you and I somehow pick up a GLIBC_2.14...
    I thought about that. As far as I can tell I still have 2.13 installed. Indeed curiouser and curiouser.
  • jazzedjazzed Posts: 11,803
    edited 2014-02-23 10:53
    Rsadeika wrote: »
    Next question, KDE or Gnome? I am working with Gnome at the moment.

    KDE is beautiful, but I've always had some little problem with it in every installation. Gnome just works.
Sign In or Register to comment.