Tuscola IL
The collected works of jns
There's was a sub-reddit for most other operating systems, Irix was missing, so i created one:
http://www.reddit.com/r/irix
- Now we are no longer under-represented
- added links to nekochan.
hamei wrote:geo wrote: hi jns! you can put this on your profile location through User Control Panel
95% chance it's an aspiring spammer, geo.
Nah, I just don't post on forums that much I have an octane I'm in love with
guardian452 wrote:
what is this, facebook for nerds ?
It's not quite as all-information-grabbing, creepy-privacy-invading, your-family-is-on-it-and-will-annoy-you as facebook. So I'll go with no.
More like a modern-style giant forum, but with voting, and a way to create your own front page based on your topics of interest,.... or something....
Hi,
I managed to compile rxvt-unicode (aka urxvt) for Irix (it's not yet in nekoware).
It took quite a bit of patching and messing around to get the latest version to compile.
The patched source is here: http://linkerror.com/programs/rxvt-unicode-irix.tar.bz2
It's not really pretty, lots of platform-specific tests were hacked around and are now irix-specific -
I also edited the configure script directly here and there, so if you run autogen.sh it will be overwritten.
It can be compiled with following configure options:
You might run into an issue with perl :
If that happens during the make process, just cd into the source directory, copy paste the last g++ command, and remove the -woff 1184,1552 - it should finish fine, then cd .. and re-run make, and it should continue happily. (Thankfully this is just one file)
If you don't want perl, you can also get around it with --disable-perl passed to ./configure - but perl plugins is kind of a major feature of urxvt, so it's nice to have.
Since the build is still rather hairy, I also made a tarball with the compiled binary (basically everything it installs into /usr/local)
You can download this here: http://linkerror.com/programs/rxvt-unic ... ry.tar.bz2
This also includes the tabbedex perl extension (it allows you to name your tabs) - which doesn't come with urxvt by default.
Here is an example of the resources you can put in ~/.Xdefaults to configure your urxvt with tabs and what not:
http://www.linkerror.com/stuff/Xdefaults.txt
If someone has more time than me, maybe a more polished tardist can be made
----
urxvt is a terminal emulator with support for 256 colors, unicode, and perl extensions.
Some of the nice perl extensions it ships with provide support for url matching, url logging, and tabs.
Obligatory screenshot:
http://www.linkerror.com/stuff/urxvt-on ... h-perl.png
I managed to compile rxvt-unicode (aka urxvt) for Irix (it's not yet in nekoware).
It took quite a bit of patching and messing around to get the latest version to compile.
The patched source is here: http://linkerror.com/programs/rxvt-unicode-irix.tar.bz2
It's not really pretty, lots of platform-specific tests were hacked around and are now irix-specific -
I also edited the configure script directly here and there, so if you run autogen.sh it will be overwritten.
It can be compiled with following configure options:
Code:
./configure --disable-lastlog --disable-xim
You might run into an issue with perl :
Code:
gcc: error: unrecognized command line option '-woff'
gcc: error: 1184,1552: No such file or directory
gcc: error: 1184,1552: No such file or directory
If that happens during the make process, just cd into the source directory, copy paste the last g++ command, and remove the -woff 1184,1552 - it should finish fine, then cd .. and re-run make, and it should continue happily. (Thankfully this is just one file)
If you don't want perl, you can also get around it with --disable-perl passed to ./configure - but perl plugins is kind of a major feature of urxvt, so it's nice to have.
Since the build is still rather hairy, I also made a tarball with the compiled binary (basically everything it installs into /usr/local)
You can download this here: http://linkerror.com/programs/rxvt-unic ... ry.tar.bz2
This also includes the tabbedex perl extension (it allows you to name your tabs) - which doesn't come with urxvt by default.
Here is an example of the resources you can put in ~/.Xdefaults to configure your urxvt with tabs and what not:
http://www.linkerror.com/stuff/Xdefaults.txt
If someone has more time than me, maybe a more polished tardist can be made
----
urxvt is a terminal emulator with support for 256 colors, unicode, and perl extensions.
Some of the nice perl extensions it ships with provide support for url matching, url logging, and tabs.
Obligatory screenshot:
http://www.linkerror.com/stuff/urxvt-on ... h-perl.png
vishnu wrote:
Does your version have "up arrow" (to repeat the last command) and backspace working correctly? Because I've been trying to figure that our for years, on mine up arrow just prints random characters and backspace goes forward unless I've got the control key down.
Yep, works fine.
jirka wrote:
Ihave tried to run the urxvt. I have got some errors like this: 1628:urxvtd: rld: Error: unresolvable symbol in urxvtd: PL_stack_base
I used 5.8.9 from nekoware current
Code:
onyx:~> ldd `which urxvt`
libX11.so.1 => /usr/lib32/libX11.so.1
libperl.so => /usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE/libperl.so
libm.so => /usr/lib32/libm.so
libc.so.1 => /usr/lib32/libc.so.1
libX11.so.1 => /usr/lib32/libX11.so.1
libperl.so => /usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE/libperl.so
libm.so => /usr/lib32/libm.so
libc.so.1 => /usr/lib32/libc.so.1
I also have one installed system-wide that comes with irix.
Code:
onyx:~> ls /usr/bin/perl
lrwxr-xr-x 1 root sys 19b May 14 19:34 /usr/bin/perl -> ../sbin/perl5.00405
lrwxr-xr-x 1 root sys 19b May 14 19:34 /usr/bin/perl -> ../sbin/perl5.00405
I set PERL="/usr/nekoware/bin/perl" before running ./configure so in theory it should use the nekoware version.
It uses perl itself to grab the compiler flags, here's the output of that:
Code:
onyx:~/development/rxvt-unicode> /usr/nekoware/bin/perl -MExtUtils::Embed -e ccopts
-D_BSD_TYPES -D_BSD_TIME -woff 1184,1552 -I/usr/gnu/include -DLANGUAGE_C -I/usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE
onyx:~/development/rxvt-unicode> /usr/nekoware/bin/perl -MExtUtils::Embed -e ldopts
-Wl,-rpath,/usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE -Wl,-woff,84 -L/usr/nekoware/lib -Wl,-rpath -Wl,/usr/nekoware/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/gnu/lib -Wl,-rpath -Wl,/usr/gnu/lib -L/usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE -lperl -lm -lc
-D_BSD_TYPES -D_BSD_TIME -woff 1184,1552 -I/usr/gnu/include -DLANGUAGE_C -I/usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE
onyx:~/development/rxvt-unicode> /usr/nekoware/bin/perl -MExtUtils::Embed -e ldopts
-Wl,-rpath,/usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE -Wl,-woff,84 -L/usr/nekoware/lib -Wl,-rpath -Wl,/usr/nekoware/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/gnu/lib -Wl,-rpath -Wl,/usr/gnu/lib -L/usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE -lperl -lm -lc
So it does look like it specifically and correctly points to the nekoware libraries for perl and not the system-wide ones.
It also appears that the nekoware libperl.so I have does have the symbol:
Code:
onyx:~/development/rxvt-unicode> grep -i PL_stack_base /usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE/libperl.so
Binary file /usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE/libperl.so matches
Binary file /usr/nekoware/lib/perl5/5.8.9/irix-n32/CORE/libperl.so matches
So in theory, if you grab the same version from nekoware it should work
The c++ stuff I compiled with g++, which doesn't seem to fail on that part.
I'm not sure why g++ wouldn't fall over this, since RepeatNormal isn't defined in render.h on Irix,...and I don't see any precompiler statements that would only conditionally compile that line, or any other definitions of it.
In any event, normally RepeatNormal is defined in X11/extensions/render.h as:
You could try adding that to the header
[edit]
or pass it as a -D to CXXFLAGS
[/edit]
In any event, normally RepeatNormal is defined in X11/extensions/render.h as:
Code:
#define RepeatNormal 1
You could try adding that to the header
[edit]
or pass it as a -D to CXXFLAGS
[/edit]
If it helps anyone trying to get this to compile, here is all the steps along with environment variables and output:
http://www.linkerror.com/stuff/urxvt-compile-log.txt
http://www.linkerror.com/stuff/urxvt-compile-log.txt
Ok, I figured out why I DIDN't get the RenderNormal error
As you can see in my above post, in the output of the configure script there is this line:
Before I had tried to manually patch rxvt-unicode I figured I would try the pkgsrc version, since I anticipated this being a pain, and there were some hints online that the netbsd folks were at least trying to put some effort in keeping irix compatibility in pkgsrc. (After patching and fixing bugs in a ton of pkgsrc packages I eventually gave up and realized it would be simpler to only have to patch rxvt-unicode)
The consequence of this is that it used the X11 headers from pkgsrc instead of those from nekoware:
Bingo!
pkg-config gives no output for --libs on xproto and renderproto, so I think these are headers-only, so it might be safe to just grab the pkgsrc render.h for compiling rxvt-unicode.
I uploaded it for you guys here:
http://linkerror.com/stuff/render.h
After grabbing the file, the trick is going to be to make sure that version is used rather than the nekochan one,... you'll probably have to make sure the include path is listed before the nekochan path, so you might have to edit the configure script to inject it before the pkg-config output (or just do it the ugly hackidy way and add a define or a -DRepeatNormal cxxflag and hopefully that makes it happy : D)
...or if you want to completely re-create my environment, here's my entire ~/pkg folder http://www.linkerror.com/stuff/pkg.tar.bz2 (5.3 MB)
hopefully that will save you the trouble from having to install pkgsrc and compiling a dozen or so dependancies.
As you can see in my above post, in the output of the configure script there is this line:
Code:
checking for pkg-config... /usr/people/john/pkg/bin/pkg-config
Before I had tried to manually patch rxvt-unicode I figured I would try the pkgsrc version, since I anticipated this being a pain, and there were some hints online that the netbsd folks were at least trying to put some effort in keeping irix compatibility in pkgsrc. (After patching and fixing bugs in a ton of pkgsrc packages I eventually gave up and realized it would be simpler to only have to patch rxvt-unicode)
The consequence of this is that it used the X11 headers from pkgsrc instead of those from nekoware:
Code:
onyx:~/pkg/include/X11/extensions> ~/pkg/bin/pkg-config --cflags xproto
-I/usr/people/john/pkg/include
onyx:~/pkg/include/X11/extensions> ~/pkg/bin/pkg-config --cflags renderproto
-I/usr/people/john/pkg/include
onyx:~/pkg/include/X11/extensions> grep -i repeatnormal ~/pkg/include/X11/extensions/*
/usr/people/john/pkg/include/X11/extensions/render.h:#define RepeatNormal
-I/usr/people/john/pkg/include
onyx:~/pkg/include/X11/extensions> ~/pkg/bin/pkg-config --cflags renderproto
-I/usr/people/john/pkg/include
onyx:~/pkg/include/X11/extensions> grep -i repeatnormal ~/pkg/include/X11/extensions/*
/usr/people/john/pkg/include/X11/extensions/render.h:#define RepeatNormal
Bingo!
pkg-config gives no output for --libs on xproto and renderproto, so I think these are headers-only, so it might be safe to just grab the pkgsrc render.h for compiling rxvt-unicode.
I uploaded it for you guys here:
http://linkerror.com/stuff/render.h
After grabbing the file, the trick is going to be to make sure that version is used rather than the nekochan one,... you'll probably have to make sure the include path is listed before the nekochan path, so you might have to edit the configure script to inject it before the pkg-config output (or just do it the ugly hackidy way and add a define or a -DRepeatNormal cxxflag and hopefully that makes it happy : D)
...or if you want to completely re-create my environment, here's my entire ~/pkg folder http://www.linkerror.com/stuff/pkg.tar.bz2 (5.3 MB)
hopefully that will save you the trouble from having to install pkgsrc and compiling a dozen or so dependancies.
That is one beautiful machine!
Any idea where I can get my hands on one of those dual 600MHz R14k cpu modules for less than $250 (preferably cheaper :S) ?
My octane has 4G ram, V12, but a measly single 400MHz cpu, it neeeeeds it!
Any idea where I can get my hands on one of those dual 600MHz R14k cpu modules for less than $250 (preferably cheaper :S) ?
My octane has 4G ram, V12, but a measly single 400MHz cpu, it neeeeeds it!
jirka wrote:
jns wrote:
Thank you very much! I had the old Perl 5.8.8 for some reason. I have upgraded it to the current one (5.8.9) and now the urxvt works!
Yay!
pierocks wrote:
Anybody looking for a G4 cube? I'm continuing with my quest to reduce my stockpile of obsolete hardware (which is also helping me to accomplish my secondary goal of saving up to buy a decent welder). I've got the matching speakers and power supply. I could even throw in a keyboard and mouse, too. I'm pretty sure I maxed out the RAM at one point, but I could be full of it. I've also got a spare VRM (the perennial achilles heel of the cube), a CPU I never swapped in to it. I think it's a 1.25 Ghz CPU, and I'm sure it's not officially supported, but with some mods I know it will go in...could be a fun project. Anyway, if you're hankerin' to have a piece of apple history, PM me and we can work something out.
I also happen to be around the Champaign/Urbana area (I'm in Tuscola)... I would be very happy to take some of the obsolete stuff off your hands Especially if you have any sgi stuff around... pm me if you still have more stuff to get rid off... just parts is fine too...