xVidGrab -- Make -- Install issues

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: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

xVidGrab -- Make -- Install issues

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 :)
Last edited by Intuition on Thu Mar 01, 2018 8:02 pm, edited 1 time in total.
Image O2 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
dexter1
Moderator
Moderator
Posts: 2780
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: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

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 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
dexter1
Moderator
Moderator
Posts: 2780
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: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

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 18 times
Image O2 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
dexter1
Moderator
Moderator
Posts: 2780
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: 164
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: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

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 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
Intuition
Posts: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

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 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
Intuition
Posts: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

re: xVidGrab -- Make -- Install issues

Unread postby Intuition » Thu Mar 01, 2018 5:54 pm

Ok, I finally am back at a point to try and get this running. SO....

To refresh context. I am trying to make xvidgrab work in Irix so that I can caputure the desktop like camtasia and do tutorials.

I was able to re-read this thread and found I could not simply "setenv PERL /usr/nekoware/bin/perl"

I did have to modify the .cshrc file and put /usr/nekoware/bin before /usr/sbin in the PATH variable.

Once I saw that and realized I had not set that up I went ahead and added it to the file.

Sure enough. It passed the XML check and continued and finished.

The next step is to type "make"

and it spit out a huge bunch of c with errors.

This is where it leaves my psuedo knowlegde, even in linux, and gets into compiling which I have little experience beyond.. compile this and it works....

Is this something I can actually solve or is the error list indicative that the files I have downloaded from sourceforge aren't going to work or other issue?

edit--- I included the terminal output for the "make" and also the "./configure" even though you probably don't need the configure output because it succeeded.

I lost a bid for a Personal Video Option card yesterday because I was sniped. I was going to bid more but my phone refresh locked up. It went for a criminal low $114 w Camera at the highest bid. :/ I was going to at least bid up to $200. I don't want to break down and buy one of the PVO cards from China for $400 on the older ebay ad.
Attachments
make_output.txt
(20.33 KiB) Downloaded 8 times
configure_output.txt
(8.44 KiB) Downloaded 11 times
Image O2 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
vishnu
Donor
Donor
Posts: 3361
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: xVidGrab -- Make -- Install issues

Unread postby vishnu » Thu Mar 01, 2018 9:23 pm

All those "undefined" errors are because it's missing some fairly common X and C++ #include files, is 'make' on your system a symlink to 'gmake'? If not, make it one and try again.
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
Intuition
Posts: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

Re: xVidGrab -- Make -- Install issues

Unread postby Intuition » Thu Mar 01, 2018 10:51 pm

make in /usr/bin/ is a reference to /sbin/make

Is an irix reference, besides being a shortcut for starting applications, generally the same as a symbolic link in Linux? Or are there both references and symbolic links in Irix?

As far as I can tell make links to /sbin/make

I do have a /usr/nekoware/bin/gmake so I assume it needs to be the new target?

Is that as simple as making a reference to gmake and then moving the reference to where the current make is, renaming make to make_old and renaming gmake to make?

Or is it the

symlink [path] [path] ?
Image O2 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

User avatar
Intuition
Posts: 385
Joined: Thu Oct 15, 2009 1:56 pm
Location: Marina Del Rey, CA

Re: xVidGrab -- Make -- Install issues

Unread postby Intuition » Fri Mar 02, 2018 10:25 am

Here is the output from simply telling build to use gmake in the preferences.

It says gmake now in the text. Similar errors. Maybe I need to update my C libraries?

This Irix build that I am using today is not the one I've been working on by myself 6.5.28 the last month but from Ian Mapes, 6.5.30 so it seems quite modern already with the nekoware built in that he would add to make it slick.
Attachments
make_output2.txt
(20.11 KiB) Downloaded 12 times
Image O2 - 300mhz
Image O2 - 400mhz :1600SW: 1600sw
:Octane: 2x400mhz :O200: Origin 200 2x225mhz
aka Casey Christopher

jpstewart
Donor
Donor
Posts: 458
Joined: Tue Sep 21, 2010 3:31 pm
Location: Southwestern Ontario, Canada

Re: xVidGrab -- Make -- Install issues

Unread postby jpstewart » Sat Mar 03, 2018 1:33 pm

Uh-oh. The errors in make_output2.txt stem from the fact that X11/Xlib.h was NOT included before X11/extensions/XShm.h in src/app-data.c of the xvidcap sources. Digging into it, xvidcap only includes X11/Xlib.h if HAVE_LIBXFIXES is defined by the configure process. And since Xfixes doesn't exist on IRIX, configure doesn't define that flag. You could try setting the variable ac_cv_func_shmat=no in your shell before running configure (to disable using XShm too). But that might break other stuff. Or you could add:

Code: Select all

#include <X11/Xlib.h>
immediately above the references to XShm.h in both src/app_data.c (line 69) and src/capture.c (line 67) and see if that helps. (Those are the only two uses I see of XShm.h.)

In short, the source is broken. At least when it comes to building on IRIX. I'm a little short on time right now. Maybe another forum member can provide more detailed assistance.
:Indigo2IMP: :Octane: :Indigo: :O3x0:
Sun SPARCstation 20, Blade 2500, T5240, Ultra2
HP C8000
Digital DECstation 5000/125

jpstewart
Donor
Donor
Posts: 458
Joined: Tue Sep 21, 2010 3:31 pm
Location: Southwestern Ontario, Canada

Re: xVidGrab -- Make -- Install issues

Unread postby jpstewart » Wed Mar 07, 2018 4:41 pm

I had a chance to dig into this a little further last night. It's not going to be a simple thing to compile on IRIX. There's some porting effort required. It doesn't look too bad, but it's more than just "compile and run". I could list several problems I've discovered if somebody else wants pointers on where to start porting. Or I could likely get it to compile on IRIX myself, but I won't have time for a few days. Maybe on the weekend, maybe not until next week. I don't know.

But...I have to ask why? After reading the man page in the xvidcap source package, I have to ask: why not use IRIX's native mediarecorder instead? It should already be installed by default, and at first glance I don't see what xvidcap can do that mediarecorder can't.
:Indigo2IMP: :Octane: :Indigo: :O3x0:
Sun SPARCstation 20, Blade 2500, T5240, Ultra2
HP C8000
Digital DECstation 5000/125


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

Who is online

Users browsing this forum: No registered users and 2 guests