LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 09-02-2005, 02:59 PM   #1
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 9
Posts: 127

Rep: Reputation: 15
Problems installing lives


I am trying to install lives - the Video Editor.

I may not have yet installed ALL the dependencies, but I thought I had installed SOME. For example, I downloaded mjpegtools (mjpegtools-1.6.3-rc2) and ran ./configure, make and make install on it, apparently successfully.

However, when I tried
Code:
yum install /home/Sound/lives/lives-0.9.5-0.pre4.su92.i586.rpm
I got
Code:
Error: Missing Dependency: freetype2 is needed by package lives
Error: Missing Dependency: alsa is needed by package lives
Error: Missing Dependency: MPlayer is needed by package lives
Error: Missing Dependency: mjpegtools is needed by package lives
Error: Missing Dependency: libffmpeg is needed by package lives
I am obviously not installing mjpegtools as well as I thought I was. Once I know how to install that package, I might be able to do the same sort of thing with the other dependencies.
Guidance would be greatly appreciated.

Fedora Core 4
AMD Sempron 2600+
512 MB RAM
Greying hair!
 
Old 09-02-2005, 03:12 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 47
From the name of the RPM, it sounds like you downloaded the one meant for SuSE 9.2. From the list of files, I am guessing that "lives-0.9.5-pre4.i386.rpm" is probably the right one.
 
Old 09-02-2005, 03:17 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,434

Rep: Reputation: 134Reputation: 134
" I am obviously not installing mjpegtools as well as I thought I was."

When you install from a rpm package all of the files are both installed and registered in the rpm data base. When you install from source all of the files are installed but nothing is registered in the rpm data base.

yum looks for dependencies only in the rpm data base. It does not actually go and see if the files exist. Therefore yum can't find mjpegtools and anything else that you compiled from source.

I suggest that when you compile from source that you use checkinstall. The compile procedure using checkinstall is:
./configure
make
checkinstall

checkinstall does not install the newly compiled program. Instead it makes it into a pm package. Then you install the rpm package and it is both installed and registered in the rpm data base.

checkinstall may be on your Fedora install CD. If not then you can download it from here:

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

--------------------------
Steve Stites
 
Old 09-02-2005, 03:26 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,141

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
Generally, yum will offer to install the missing dependencies for you. Provided, of course, that you've configured a repository that contains them.

So, what repositories have you configured? If you did a simple FC4 install, you probably have only "base" and "updates-released." (Look in /etc/yum.conf and /yum/yum.repos.d/ to see what you've got.)

You should at least have the "extras" included:
Code:
$ cat /etc/yum.repos.d/fedora-extras.repo
# Repositories updated : 2005-04-18

#
# Repository : fedora-extras
#
[fedora-extras]
name=Fedora Extras - $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
gpgcheck=1
enabled=1
Once you've done that, the simplest way to find a lot of repositories is to install yumex from the extras repository. yumex is a fairly nice GUI for yum, and the RPM sets up several repositories (and their keys) when it's installed.
 
Old 09-19-2005, 12:04 PM   #5
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 9
Posts: 127

Original Poster
Rep: Reputation: 15
I downloaded checkinstall and used yum to (try to) install it. After some thought it came up with this and finished.
Code:
Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 262 k
Is this ok [y/N]: y
Downloading Packages:
unsigned package checkinstall-1.6.0-1.i386.rpm
I tried typing 'checkinstall' but the command was not found. Obviously I was not 100% successful.

I used yum to install yumex - successfully.

I have a question about Repositories. When I download an RPM, should I just put it 'somewhere' or should I put it into a Repository? If I put it into such a Repository I assume that I can just say 'yum install whatever_the_package_is_called' without needing to worry about the path?
 
Old 09-20-2005, 10:07 AM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,141

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
You did, I hope, notice that "Jailbait" was writing about checking a program that you had compiled from source code to see where it would be installed. This has nothing to do with installing an RPM.

As to your other question, a "repository" is a location -- usually on the "Web" -- where "packages" of code are stored. Very few people set up their own repositories. Those who do are usually very serious developers, not "casual" users.

What you're doing in /etc/yumex.conf and /etc/yum.repos.d is describing to yum the location on the web of the repositories you wish to access. Then when you do a yum install <some-program>, yum searches all of the repositories you've listed to find the program you wanted. In yumex the "Repos" side-button shows you all the repositories that you've "installed," and lets you select the ones to be searched. (In the yumex program "installed" means "made the location on the web known to the program," not "created the repository." Perhaps "configured" would have been a better term, but, hey, the developer gets to do as he wishes. )

When you install an RPM a "local copy" of the RPM is saved on your computer. Look, for example, in /var/cache/yum and you will (usually) see a subdirectory for each of the repositories you use.

Bottom line: You would not normally need to set up a repository on you own system, but you do need to "install" the information in order for yum or yumex to use a repository.
 
Old 09-20-2005, 11:37 AM   #7
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 9
Posts: 127

Original Poster
Rep: Reputation: 15
Thanks for the info on Repositories.

I know that I would use checkinstall on something I have compiled. However, having downloaded from the site specified, when I try to install (using yum), I get this (full output this time).
Code:
[root@localhost Sound]# yum install checkinstall/checkinstall-1.6.0-1.i386.rpm
Setting up Install Process
Setting up repositories
http://ftp.chg.ru/pub/Linux/fedora/c...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Tue, 20 Sep 2005 16:19:22 GMT
Server: Apache/1.3.29 (Unix)
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 318 kB    00:03
updates-re: ################################################## 967/967
Added 18 new packages, deleted 0 old in 2.47 seconds
primary.xml.gz            100% |=========================| 766 kB    00:19
extras    : ################################################## 2146/2146
Added 16 new packages, deleted 0 old in 3.63 seconds
Parsing package install arguments
Examining checkinstall/checkinstall-1.6.0-1.i386.rpm: checkinstall - 1.6.0-1.i386
Marking checkinstall/checkinstall-1.6.0-1.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package checkinstall.i386 0:1.6.0-1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 checkinstall            i386       1.6.0-1          checkinstall/checkinstall-1.6.0-1.i386.rpm  262 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 262 k
Is this ok [y/N]: y
Downloading Packages:


Package checkinstall-1.6.0-1.i386.rpm is not signed
The wording of the last line sounds to me like an error message - and, as I said before, when I type checkinstall as a command (having done ./configure and make with no problems) it tells me that it cannot find the command checkinstall.

I do not seem to be able to install checkinstall - that's the problem with being a newbie. It's like trying to do a jigsaw puzzle when someone has hidden half the pieces, and you're not even sure what they look like.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LiVES on FC4 worldgnat Linux - Software 1 06-22-2005 10:55 PM
The BSoD lives Zuggy General 16 01-12-2005 08:24 PM
Linksys WUSB-11 ver 2.6 lives again! oudent Linux - Wireless Networking 0 05-30-2004 12:27 PM
mencoder lives Johng Linux - Software 1 05-05-2004 04:57 AM
How to start lives?(mandrake9.1) akihandyman Linux - Newbie 2 02-10-2004 02:37 AM


All times are GMT -5. The time now is 10:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration