Last Saturday, I was in an intensely FOSSible mood. I had just gotten rid of the Control systems paper and was struggling to get back control of my life, fighting for my MUKTI as one might very well say. Well, suddenly I realised how much I had lost touch with my once fabled programming skills, how even the best(albeit, only among schoolmates) can rust out in this blisteringly moving world and be swept away into oblivion. So, indulging in glorious self-pity, even more so when I discussed my dying C skills with Debayan <here>, I decided to move to the other end of the Free Software world, that of the user. So, I set off to find the most practical softwares an Electronics Engineer could possibly need, and start using them. Even then, I was under Debayan's tutelage, who introduced me to uclinux, which I didn't really get very enthusiastic about. So he recommended GNUSIM8085, an 8085 microprocessor simulator, which was of more immediate use to me. In these days of one click installs, no-one even miles close to me in LAZINESS likes to compile from source. In fact, when I was more into coding, many of my programs used to lie around uselessly for the simple reason that I was too lazy to debug them. People used to even say my coding was sub-par, with my football sized ego(back then) coming to my rescue, making me challenge them to stupid stuff like algo design. But although my ego has long left my side, unfortunately, or maybe not so unfortunately, my laziness hasn't. Still in the lack of other options I decided to do something I typically do once in like a quarter. So I set about the job. But it was not meant to be as easy a road as it could have been. First this dependency missing then another. Then somehow I managed to load a package already around because I wasn't paying attention. After all this when the magic word "done" appeared on my screen I wanted to jump up in ecstacy. Settling down, I rushed to /usr/bin to try it out. Then, I realised, that I had never even done make install. Routing myself back to the installation folder, I carried out my duties. Then, finally heaving a sigh of relief, I went back to the binaries when I was greeted by the best message of all : Display cannot be opened. :-( I seriously considered applying for euthanasia, but as it was already 5:15 am by then, and I had an exam the following Monday, the plans were overwhelmed by melatonin(for the uninitiated, it is our biological clock hormone!) and I dozed off. The next morning, or rather afternoon(my morning), I had a brainstorm of sorts and without rhyme or reason, delved back into the installation folder. There I noticed a copy of the binary resting in peace. For the lack of better things to do, I clicked it, and bingo! Here finally, was the first Free tronicate software, up and running in my teenie weenie little netbook. My entire effort was logged by the inimitable myself using CTRL+C CTRL+V, the greatest computer shortcut ever envisaged. It is as follows:
kkn@linux-vnz8:~/Desktop/gnusim8085-1.3.5> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
....
......
(gnusim8085:8374): Gtk-WARNING **: cannot open display: :0.0
linux-vnz8:/usr/bin #
Here's a shot of when I started:
And here is the working version:
2 comments:
I appreciate your hack!
Use pastebin or upload log to somewhere. What is point of posted entire feat here?
Can you please explain what problem you are trying to solve here, or that the problem was in fact with gnusim8085 (because you said 'GNUSIM unscrewed')?
Considering that I am one of the upstream authors, I am very much interested to know what the problem is.
Post a Comment