Bootstrapping Nekoware without Nekochan?
#1
Bootstrapping Nekoware without Nekochan?
So I'm in the process of getting things loaded up on an Indigo2 I've had sitting around for a while and I'm at the point where I'm ready to get some packages from Nekoware loaded onto it. Fortunately, there's enough mirrors of the actual Nekoware FTP that having the original site gone is not a serious impediment...or so I thought. Problem is, every Nekoware package I download and try to load as a tardist in Software Manager depends on a couple (packagename).sw.eoe or whatever packages that aren't listed on the FTP itself. I don't know if this is a case of Software Manager not knowing what to do with Nekoware packages even though they're distributed in tardist format, or what. I remember when I was first setting up shop on my O2 there was a shell script that basically served as an IRIX counterpart to apt-get for Nekoware - but, while archive.org has the script itself, it requires curl or wget, which require Nekoware dependencies, which leaves me trying to pull this thing up by its own bootstraps...am I missing a step here? How do I actually get this thing set up from scratch on a fresh IRIX install?

Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/X5DR, Ensoniq SQ-80, E-mu Proteus/2, Nord Lead 2, Behringer Model D
commodorejohn
PDP-X

Trade Count: (0)
Posts: 367
Threads: 7
Joined: May 2018
Find Reply
05-24-2018, 06:53 AM
#2
Re: Bootstrapping Nekoware without Nekochan?
I had the same issue with some packages missing dependencies too. I had the "full" set of nekoware tardists (current + beta), so I pointed swmgr at the current dir, selected "customise install" and then resolved conflicts by removing the packages where the dependencies couldn't be met. I then did a second pass with the stuff in the "beta" dir with the same idea.

The bits I couldn't find dependencies of, well, I'm on a bit of a journey to "compile my own" for now.

For wget - I've got the nekoware one installed - it's the one from the "beta" subdirectory.
mrthinlysliced
Unregistered

Trade Count: (0)
 
Reply
05-24-2018, 07:40 AM
#3
Re: Bootstrapping Nekoware without Nekochan?
Hmm...does the wget package in the beta directory support mips3?

Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/X5DR, Ensoniq SQ-80, E-mu Proteus/2, Nord Lead 2, Behringer Model D
commodorejohn
PDP-X

Trade Count: (0)
Posts: 367
Threads: 7
Joined: May 2018
Find Reply
05-24-2018, 08:47 AM
#4
Re: Bootstrapping Nekoware without Nekochan?
Doesn't look like it:

Code:
[dan@leafy ~]$ which wget
/usr/nekoware/bin/wget
[dan@leafy ~]$ file `which wget`
/usr/nekoware/bin/wget:    ELF N32 MSB mips-4 dynamic executable MIPS - version 1

However, I see there is:

nekoware/dist/nekoware-mips3/current/neko_wget-1.10.1-mips3.tardist

but I guess that's the one you're having issues with?
mrthinlysliced
Unregistered

Trade Count: (0)
 
Reply
05-24-2018, 09:09 AM
#5
Re: Bootstrapping Nekoware without Nekochan?
Yeah, the problem is that all the tardists seem to rely on packages that are either not on the FTP or that Software Manager only imagines to have ever existed in the first place, and I'm not really clear on which option is closer to the truth.

I may end up just having to try building curl or wget from source, but I just <I>know</I> it's going to bitch about SSL libraries or something...

Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/X5DR, Ensoniq SQ-80, E-mu Proteus/2, Nord Lead 2, Behringer Model D
commodorejohn
PDP-X

Trade Count: (0)
Posts: 367
Threads: 7
Joined: May 2018
Find Reply
05-24-2018, 09:30 AM
#6
Re: Bootstrapping Nekoware without Nekochan?
For neko_wget this is what i have in my build directory as a first approach, for MIPS3:
Code:
setenv CC cc
  setenv MAKE /usr/nekoware/bin/gmake
  setenv CFLAGS "-O2 -mips3 -n32"
  setenv OPENSSL_CFLAGS "-I/usr/nekoware/include"
  setenv OPENSSL_LIBS "/usr/nekoware/lib"
  ./configure --prefix=/usr/nekoware --disable-rpath --with-ssl=openssl
a recent neko_openssl is built by Canavan (in beta/canavan) and myself (in dual-mips3-mips4) so i think you should be able to build wget without too much hassle.
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
05-24-2018, 02:40 PM
#7
Re: Bootstrapping Nekoware without Nekochan?
Okay! Fortunately, I didn't have to go that far - the nekodeps.pl installer script contains a provision for bootstrapping a system without wget, and after some finagling, it got me up and running. Turns out what was required was to:
<LIST type="decimal">
  1. <LI>
  2. Run it in --config mode.</LI>
    <LI>
  3. Edit the resulting ./conf/nekodeps.conf file to point to live mirrors (and, in my case, the nekoware-mips3/current branch.)</LI>
    <LI>
  4. Create the ./conf/nekoware-mips3 folder, drop in a copy of descript.ion from the correct branch on the mirror, and rename it to current.ion instead.</LI>
    <LI>
  5. Run it in --bootstrap mode.</LI>
</LIST>
This got it to the point where it could download and install neko_wget, which got it to the point where it could download and install other packages, and we're off to the races.

Unfortunately, I can't do my customary "post the hinv from the machine itself" post, since these forums are HTTPS-only...

Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/X5DR, Ensoniq SQ-80, E-mu Proteus/2, Nord Lead 2, Behringer Model D
commodorejohn
PDP-X

Trade Count: (0)
Posts: 367
Threads: 7
Joined: May 2018
Find Reply
05-25-2018, 02:48 AM
#8
Re: Bootstrapping Nekoware without Nekochan?
For completeness, i have built a dual nekoware mips3 and mips4 build of wget, and have added a sw.static package with static linked binary so that it is possible to bootstrap nekoware without dependencies. It has become a bit big but i hope the added comfort should offset the size.

I'll include it with this post. Mind you that for installing the dynamic linked version of wget you need packages which i haven't uploaded yet, but for now the static binary seems to work fine, albeit without extra certificates.
<ATTACHMENT filename="neko_wget-1.19.4.tar" index="0">
.tar neko_wget-1.19.4.tar Size: 12.13 MB  Downloads: 333
</ATTACHMENT>
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
07-12-2018, 07:50 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)