LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems installing lives (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-lives-359591/)

Ian D 09-02-2005 02:59 PM

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!

spooon 09-02-2005 03:12 PM

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.

jailbait 09-02-2005 03:17 PM

" 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

PTrenholme 09-02-2005 03:26 PM

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.

Ian D 09-19-2005 12:04 PM

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?

PTrenholme 09-20-2005 10:07 AM

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.

Ian D 09-20-2005 11:37 AM

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.


All times are GMT -5. The time now is 05:25 PM.