LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2003, 11:52 AM   #1
sometims_steve
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Question Install help for ucl vic or vlc under Red Hat 7.3


Does anyone have any experience in installing UCL's version of vic? I have to compile it from source and when I make, I get:
_____
c++: ../tk-8.0/unix/libtk8.0.a: No such file or directory
c++: ../tcl-8.0/unix/libtcl8.0.a: No such file or directory
c++: ../common/src/libuclmmbase.a: No such file or directory
make: *** [vic] Error 1
_____

I think the first two errors are because I need to install tk and tcl first, but the version I already have installed is 8.3.3. Will installing 8.0 over 8.3.3 break anything? They have a binary rpm for Red Hat 8.0. Is there any chance that could work under 7.3?

Also, I can't get a v4l device as input with the version of vlc I have(0.4.4). Will this version do that or do I need to pull teeth installing that from source too, as they only have rpms for 9.0?

Basically I'm just trying to get a program that can use a v4l device as input and stream the video over a network. I need to install this program on Red Hat 7.3 (2.4.18).

If anyone has rpms for recent versions of either of these programs, that would be extremely helpful.
 
Old 10-27-2003, 03:04 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"Will installing 8.0 over 8.3.3 break anything? "

Before you do that try using symbolic links to link the 8.0.a names to the 8.3.3 modules and see if that works.


"They have a binary rpm for Red Hat 8.0. Is there any chance that could work under 7.3?"

It is easy enough to check whether it will install cleanly. Try:

rpm --test -i /pathname/fillename.rpm

----------------------------
Steve Stites
 
Old 10-29-2003, 11:10 AM   #3
sometims_steve
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I don't think it's using 8.3.3, and that's good because 8.0 is included for compatibility reasons. I just did 'make' without installing anything(which creates those missing files) and the programs installs, but doesn't work.

I tried testing the Red Hat 8.0 rpm, but I need gcc 3.0, but 7.3 comes with 2.96 and I can't get past 2.96 with apt/synaptic. Do you think I need 3.0 to compile it from source myself? Would it make a difference?

I doubt I'll get any help with this, but I'll post the error I get when I run vic, maybe it'll give someone some insight into the problem.

---------
[/usr/local/vic-2.8ucl1.1.5/vic]$ vic localhost/1080
V4l: trying /dev/video0... open: Device or resource busy
V4l: trying /dev/video1... open: No such device
V4l: trying /dev/video2... open: No such device
V4l: trying /dev/video3... open: No such device
vic-2.8ucl1.1.5: tcl runtime error: vic: vic_main
stack trace:
syntax error in expression "(localhost & 0xf0) == 0xe0"
while executing
"expr ([lindex [split $addr .] 0] & 0xf0) == 0xe0"
(procedure "in_multicast" line 2)
invoked from within
"in_multicast $addr"
(procedure "net_open_ip" line 90)
invoked from within
"net_open_$netType $sessionType $V(session) [resource
defaultHostSpec]"
(procedure "init_network" line 31)
invoked from within
"init_network"
(procedure "vic_main" line 9)
invoked from within
"vic_main"
Please mail this error message and, if possible, an explanation
of what user-action caused it to vic@cs.ucl.ac.uk.

Segmentation fault
---------
 
Old 10-29-2003, 05:56 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
" Do you think I need 3.0 to compile it from source myself? Would it make a difference?"

If you try to upgrade gcc from 2.96 to 3.x then you will get into dependency hell and end up upgrading half your system.

"V4l: trying /dev/video0... open: Device or resource busy"

I think that this error message is the heart of your problem. I don't know how to solve the problem but I would chase down the cause of this error message as my first attempt to solve the problem.



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-31-2003, 09:27 AM   #5
sometims_steve
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I wish the device busy problem was stopping the program from running. vic has started and recognized the card properly, but the program still crashes with the same error.

Is there anything I should do if I want to try to install an older version of vic after this one? It's not on the package list in synaptic even though I installed it. Do I need to uninstall it some how, or just delete the main directory?



________________
Steve
 
Old 10-31-2003, 11:05 AM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"Do I need to uninstall it some how, or just delete the main directory?"

You are best off to uninstall it with rpm. Use:
rpm -e packagename
Using rpm to uninstall will get rid of the directory and also delete the entries in the rpm data base.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-31-2003, 02:10 PM   #7
sometims_steve
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I can uninstall it using rpm even though I installed it from source (tar.gz)?
 
Old 10-31-2003, 04:12 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"I can uninstall it using rpm even though I installed it from source (tar.gz)?"


No. I gave an incorrect answer.

You can delete most compiled packages by cd to the install directory and:
make uninstall

If that does not work then you have delete all of the bits and pieces which may include a directory, a lib directory, an executable program somewhere on the path, and perhaps some man pages.

--------------
Steve Stites
 
Old 10-31-2003, 04:28 PM   #9
sometims_steve
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
'make uninstall' won't work and I installed an older binary over it, but can't find where it's installed to. Synaptic shows the binary, but when I type vic, I get the broken source version. How do I get the binary version to overwrite the source version. I installed with rpm -ivh name.i386.rpm
 
Old 10-31-2003, 05:20 PM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
" How do I get the binary version to overwrite the source version."

I solve these tar/rpm problems by using checkinstall.

http://asic-linux.com.mx/~izto/checkinstall/index.php

I use checkinstall to change the tarball into a rpm. The procedure is:
./configure
make
checkinstall

This creates a rpm which you can install/uninstall in the usual rpm manner.

So, what I would do to clean up the vic mess is to use checkinstall to create a vic rpm.
Then install the vic rpm. This will install everything in the same places that the tarball did. Then rpm -e vic This will uninstall vic

Having cleaned out the old vic, you can now do the rpm -ivh name.i386.rpm

Since I discovered checkinstall I generally avoid a lot of problems by changing tarballs into rpm before I install them.

Also, if you install checkinstall I recommend that when you get the time you should convert the checkinstall tarball into a rpm and install the checkinstall rpm over the top of the checkinstall tarball.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-03-2003, 02:30 PM   #11
sometims_steve
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Talking

Thanks, that actually worked. It was a bit complicated, but worth it nonetheless.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 05:55 PM
Install red hat 7.3 supon Linux - Newbie 4 04-08-2004 01:20 AM
Install RED HAT 9 = cant find red hat CD voodooutt Red Hat 7 11-18-2003 06:37 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 07:33 PM
Vic install tandre Linux - Software 7 04-17-2003 05:54 AM


All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration