Connecting to nekochan repository?

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
Intuition
Posts: 231
Joined: Thu Oct 15, 2009 1:56 pm

Connecting to nekochan repository?

Unread postby Intuition » Thu Aug 10, 2017 10:51 am

I'm trying to solve desktop recording on my o2.

In a different post I am trying to get/update my perl/xml for an application xvidcap.

The message spit out at ./configure where it stops is

Code: Select all

hecking for XML::Parser... configure: error: XML::Parser perl module is required for intltool


I assume I should try to connect to nekochan repository or at least setup something included in ian's directories already on my computer.

Since I'm still an irix newb I figured I'd ask how to set this up.

I've never hooked up to a remote repository in irix.

Is it like Linux where you have a git app/command then just point it to the URL and it acts like a local drive?

I need to get up to speed on these basic operations so I can troubleshoot missing components.

Thanks :)
Image O2 - R12K-300 Mhz, 36 GB HD, 384 MB-RAM
Image O2 - R12K-400 Mhz 279 GB HD, 256 MB-RAM :1600SW: 1600sw
:O200: Origin 200 ??? Specs soon
aka Casey Christopher

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Connecting to nekochan repository?

Unread postby dexter1 » Thu Aug 10, 2017 12:39 pm

The nekoware repository is a collection of open source software packaged for IRIX 6.5.22m systems and up. The packages are called 'tardist's and are tarballs of files readable by the command lne tool 'inst' or the graphical tool 'swpkg'.

The graphical tool is able to parse url's but i'm not sure if there is a repository mirror online with http access. i Usually go to the source http://www.nekochan.net/nekoware, that should work. You can also choose to download packages individually.

If you need packages like Perl, browse through the list and select the neko_perl tardist for download. After that, unpack it to a /tmp directory and start inst with 'inst -f /tmp' as root. This will give you a menu where you can choose to select a package to install with 'install neko_perl' or 'install default' and follow the instructions.
The XML parser is in neko_perl_xml_parser tardist so you need that too and its dependencies
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
Intuition
Posts: 231
Joined: Thu Oct 15, 2009 1:56 pm

Re: Connecting to nekochan repository?

Unread postby Intuition » Sun Aug 13, 2017 10:02 pm

Ok, I downloaded 5 items from the repository.

neko_perl_XML_LibXML-1.63.tardist
neko_perl_XML_LibXML_Common-0.13.tardist
neko_perl_XML_NamespaceSupport-1.09.tardist
neko_perl_xml_parser-2.34.tardist
neko_perl_XML_SAX-0.1.5.tardist

I was trying to install them but am unsure if I actually did install them.'

I ran them by typing

"inst -f" then pressing tab to add the file to the end of the command.

Each time it would bring up the menu and I would try to select 6 for install. But It would say "nothing selected for install. So I typed "all" then it would go back to prompt Isnt> where I would press 5 for "go". Then it would start counting percentages up from 0 to 100% through a list. Though it would say "installing/removing" so I am not sure if it did anything. Then removing orphaned directories.

On a couple of them it ran through a dependency check and then said installations and removals were successful. You may continue with installations or quit now.

If I quit it asks to 1. save this distribution or 2 remove this distribution.

I press 1 and then it runs through saving the distributions in /usr/dist
Then it says
"Requickstarting ELF files (see rqsall(1)) .. 25%
This part took a while on a couple of them and eventually gets to 100% and finishes.

But is this properly installing the perl?

I went through all 5 of the files that had perl_XML available on the repository but

When I run the xvidcap ./configure it still says same error as before with parser perl module etc etc.
Image O2 - R12K-300 Mhz, 36 GB HD, 384 MB-RAM
Image O2 - R12K-400 Mhz 279 GB HD, 256 MB-RAM :1600SW: 1600sw
:O200: Origin 200 ??? Specs soon
aka Casey Christopher

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Connecting to nekochan repository?

Unread postby dexter1 » Sun Aug 13, 2017 11:54 pm

Intuition wrote:But is this properly installing the perl?

Well, do you have a perl binary in /usr/nekoware/bin?
If not, then the procedure you followed is probably not the correct one. Did you unpack the tarballs in a /tmp directory before you started inst?

For reference, here's the procedure to install neko_perl:
1) cd /tmp
2) tar xvf neko_perl-5.8.9.tardist
3) su
4) inst -f .
5) <1> for specifying installation directory
6) press <enter> for the default choice of . or specify . if it is not
7) After reading the distribution files, type in the command 'install default neko_perl'
8) when installation has finished press <q> to quit
9) reQuickstarts files, then inst is done.

If you do have the binary in /usr/nekoware/bin, you still need to set your PATH environment correctly, otherwise it will still use the /usr/bin/perl binary from IRIX. Also the perl script is sometimes hardcoded to /usr/bin/perl, so a

Code: Select all

#!/usr/bin/env perl
as the first line, together with the command

Code: Select all

setenv PERL /usr/nekoware/bin/perl
should do the trick.
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

User avatar
Intuition
Posts: 231
Joined: Thu Oct 15, 2009 1:56 pm

Re: Connecting to nekochan repository?

Unread postby Intuition » Mon Aug 14, 2017 7:53 pm

I think I did everything right.. I attached my terminal output for you to look at.

I am not sure why but it seemed to only work when I tried to use the "-all" else it said nothing is selected for install.

The main hang up at the moment is that after I do the install....it says this after I type first line you gave me to redirect the perl which I assume would then allow me to type the second.. but... it says event not found..

Code: Select all

Intuition 7# #!/usr/bin/env perl
/usr/bin/env: Event not found.


There is a "perl" file in the usr/bin/ directory. When I do a get info it says it is

type:reference to generic command
size:19 bytes
Owner:root
Original:/usr/sbin/perl5.00405
Original Size: 19232 Bytes

The "perl" file in /usr/nekoware/bin is

Type:Generic command
size:18036 Bytes
Owner:root
Attachments
install_log.txt
(8.23 KiB) Downloaded 8 times
Image O2 - R12K-300 Mhz, 36 GB HD, 384 MB-RAM
Image O2 - R12K-400 Mhz 279 GB HD, 256 MB-RAM :1600SW: 1600sw
:O200: Origin 200 ??? Specs soon
aka Casey Christopher

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Connecting to nekochan repository?

Unread postby dexter1 » Tue Aug 15, 2017 1:15 am

Intuition wrote:

Code: Select all

Intuition 7# #!/usr/bin/env perl
/usr/bin/env: Event not found.

That is not a command but a suggestion to check the first line of perl scripts like xvidcap or its helper scripts for hardcoded locations of the perl binary. if the first line of a perl script file reads

Code: Select all

#!/usr/bin/perl
you're in trouble and you need to change that.

The Nekoware Perl binary is started via

Code: Select all

/usr/nekoware/bin/perl

If you need a perl script to execute, there are two ways to do it:

Code: Select all

/usr/nekoware/bin/perl test.pl
or

Code: Select all

chmod a+x test.pl
./test.pl

and check that the first line of the script is either

Code: Select all

#!/usr/nekoware/bin/perl
or

Code: Select all

#!/usr/bin/env perl


if it is the line with

Code: Select all

#!/usr/bin/env perl
you also need to set the environment with

Code: Select all

setenv PERL /usr/nekoware/bin/perl
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

devv
Posts: 136
Joined: Sat Jun 30, 2012 6:04 pm

Re: Connecting to nekochan repository?

Unread postby devv » Tue Aug 15, 2017 5:49 am

For installing Nekoware packages with automatic dependency resolution, you could also check out http://techpubs.spinlocksolutions.com/i ... installer/

You might just want to specify an alternate Nekoware mirror with the -m option, if the default Nekochan mirror is too slow for you.
oOoO :Tezro: oOoO

User avatar
Intuition
Posts: 231
Joined: Thu Oct 15, 2009 1:56 pm

Re: Connecting to nekochan repository?

Unread postby Intuition » Wed Aug 16, 2017 8:38 pm

Ok, so I jumped back into this tonight.

Apologies in advance.

I think I am going to have to trouble shoot this from scratch because I honestly think that I haven't really achieved anything successful in trying to solve this.

Since I am quite newbie in Irix and only getting by with my general knowledge of Linux I am basically flying blind with no abliity to connect a to b along the way.

Currently I understand how to use the software manager and I can untar or unpack .gz files and other compressed items.

The current issue is that because the ./configure of XVidcap stops at the XML perl parser item I am simply trying to install the nekoware PERL items on the repository.

Ok, for starters

I am not sure I have anything perl installed what so ever.

I see a file named "perl" in /usr/nekoware/bin/

The two I listed in the post above.

Though I am not sure if these are the relevent "perl" files.

Now. To give you some context.

I can't even make any of the commands do anything.

so when you put this..

Code: Select all

#!/usr/bin/env perl


I selected it and middle mouse clicked it into a terminal and pressed enter.
Initially it did nothing except put the cursor on the next line below it which I assumed means I am then inputting a command which then becomes a script.
So while the cursor was on the next line I input

Code: Select all

setenv PERL /usr/nekoware/bin/perl


But it never did anything.

I realize now that since I closed the terminal because I didn't properly ctrl-z "suspended" out of that mode.

Anyways after that when I try to use

Code: Select all

#!/usr/bin/env perl


it spits out this....

Code: Select all

/usr/bin/env: Event not found.


Now when I try to do

Code: Select all

/usr/nekoware/bin/perl test.pl


it comes back

Code: Select all

Can't open perl script "test.pl": No such file or directory


So I try

Code: Select all

chmod a+x test.pl


it kicks back

Code: Select all

Cannot access test.pl: No such file or directory


Now I assume that means I am not in the right directory OR that perl or something else isn't installed.

Basically when I am trying to check what the first line of the script is it is not finding anything.

I realize all we are trying to do is get an env variable setup so that when perl script is executing that it is seeing the correct location of the perl binary right?

I am unsure of the context of what I am doing basically. I am not sure if we are trying to check what is installed first before we install perl... IF perl is installed while at the same time I am trying to make sure that I don't already have perl installed since I do see these files in the nekoware/bin folder.

To sum up

1. Do I have perl installed?
3. IF yes then try these commands to check.
4. The commands aren't seeming to execute properly so maybe I don't have perl installed
5. OR it is installed in the wrong place
5. Maybe I don't have all the tardist files and have installed them?

I am logged in as Root trying all of this.

On the subject of NEKODEPS.PL

In an attempt to try the nekodeps.pl
Ian setup the irix system for me. It has an "i" folder with lots of nekoware that used to come on a CD.
An "sw" subfolder for software. In that is the nekodeps.pl file.

When I try to run nekodeps for configuration..

Code: Select all

nekodeps.pl --configure


It kicks back

Code: Select all

/usr/nekoware/bin/nekodeps.pl: Permission denied.


It does that with any command from the readme file.

Forgive my very basic knowledge of Irix as it is most likely novice contextual ignorace which is keeping me from solving a very simple and routine perl install and script configure and xvidgrab install.
Attachments
image5.png
Image O2 - R12K-300 Mhz, 36 GB HD, 384 MB-RAM
Image O2 - R12K-400 Mhz 279 GB HD, 256 MB-RAM :1600SW: 1600sw
:O200: Origin 200 ??? Specs soon
aka Casey Christopher

User avatar
Intuition
Posts: 231
Joined: Thu Oct 15, 2009 1:56 pm

Re: Connecting to nekochan repository?

Unread postby Intuition » Wed Aug 16, 2017 8:54 pm

Here is the perl software manager entry,
Attachments
image7.png
Image O2 - R12K-300 Mhz, 36 GB HD, 384 MB-RAM
Image O2 - R12K-400 Mhz 279 GB HD, 256 MB-RAM :1600SW: 1600sw
:O200: Origin 200 ??? Specs soon
aka Casey Christopher


Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 2 guests