SimpleIDE 0-9-45 Linux ...
Rsadeika
Posts: 3,837
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
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
Comments
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. 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.
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
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.
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
http://forums.parallax.com/showthread.php/153427-Why-isn-t-SimpleIDE-promoted-for-Spin-programming-on-the-Propeller-pages/page7#125
Yay!!
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.
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.
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
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.
Haha!! You mean like this??
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!
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.
Comparing files between Debian systems can probably be done easily by using the debsums program.
Thanks,
C.W.
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.
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"
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$
Ray
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"
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.
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
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.
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:)
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!!
FWIW, I've always installed my VMs from a DVD.
We all appreciate your staying power. Others may not be so generous.
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.
Ray
KDE is beautiful, but I've always had some little problem with it in every installation. Gnome just works.