[SOLVED] How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

General support questions
Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

[SOLVED] How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by Rocksockdoc » 2012/06/22 06:14:03

In a previous thread, we determined that DeVeDe isn't the easiest program to find, and that dvdauthor isn't the same thing.
- [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=37082&forum=55&post_id=163563#forumpost163563]What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}[/url]

So, here I am, trying to follow the cryptic suggestion in that thread:
[quote]I went to pbone.net and did an "advanced search" for devede limiting myself to CentOS 6, RHEL 6 and Scientific Linux 6. That didn't work, so I added Fedora 12 and 13 (on which CentOS 6 is based) to the search, and found devede-3.16.9-1.fc13.src.rpm. I've had good luck lately downloading Fedora 13 SRPMs and rebuilding them with rpmbuild --rebuild, so you can try that.[/quote]

From pbone.net, I was able to find the following for Fedora 13:
- devede-3.16.9-1.fc13.src.rpm Fedora 13 2322 kB
- devede-3.16.9-1.fc13.noarch.rpm Fedora 13 1879 kB
- devede-3.16.8-1.fc13.src.rpm Fedora 13 2309 kB
- devede-3.16.8-1.fc13.noarch.rpm Fedora 13 1881 kB

I'm not sure what the difference is, so I downloaded the first one:
- mirror.switch.ch devede-3.16.9-1.fc13.src.rpm Fedora 13 2377243
- ftp.ntua.gr devede-3.16.9-1.fc13.src.rpm Fedora 13 2377243
- ftp.icm.edu.pl devede-3.16.9-1.fc13.src.rpm Fedora 13 2377243

After downloading devede-3.16.9-1.fc13.src.rpm, I tried the suggested command:
- rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm

Then, I tried to install DeVeDe using:
- sudo rpm -i ./devede-3.16.9-1.fc13.src.rpm
Which output:
[code]
warning: ./devede-3.16.9-1.fc13.src.rpm: Header V3 RSA/SHA256 Signature, key ID a3780952: NOKEY
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
[/code]

Q: What did I do wrong?

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by Rocksockdoc » 2012/06/22 06:21:45

Googling the error, I find this suggestion:
- http://linuxhostingsupport.net/blog/warning-user-mockbuild-does-not-exist-using-root

[quote]
The ‘mock’ module is responsible to build the source RPMs (SRPMs) under a chroot environment and uses the ‘mockbuild’ user.
If the mockbuild user does not exist while installing the source RPM, you will receive the ‘Warning: user mockbuild does not exist. using root‘ error message.
In order to fix the warning message, install the ‘mock’ module:
# sudo yum install mock
and create the ‘mockbuild’ user
# sudo useradd -s /sbin/nologin mockbuild
Once done, you should be able to install the required tool under the mockbuild user.[/quote]

But, it still failed to install DeVeDe.
[code]
sudo yum install mock
sudo useradd -s /sbin/nologin mockbuild
sudo rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm
sudo rpm -i ./devede-3.16.9-1.fc13.src.rpm
sudo rpm -ivh ./devede-3.16.9-1.fc13.src.rpm
which devede
REPORTS:
/usr/bin/which: no devede in (/usr/local/sicstus/bin:/usr/local/sicstus/bin ... ... ...
[/code]

Q: What did I do wrong?

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by TrevorH » 2012/06/22 08:13:47

[quote]
After downloading devede-3.16.9-1.fc13.src.rpm, I tried the suggested command:
- rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm
[/quote]

Up to here you were fine. This should have produced reams of output and ended with info that it had generated binary rpms and put them in e.g. /home/$user/rpmbuild/RPMS/x86_64/devede-3.16.9-1.el6.x86_64.rpm and [u]that[/u] is the one you needed to install in the next step. Instead you installed the SRPM which does nothing except put the source under /usr/src or wherever your .rpmmacros points to.

megatux
Posts: 54
Joined: 2010/07/03 09:35:02
Contact:

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by megatux » 2012/06/22 09:05:09

You can get devede for EL6 from the 'linuxtech-testing' repo.
http://pkgrepo.linuxtech.net/el6/testing/noarch/devede-3.21.0-1.el6.noarch.rpm

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by Rocksockdoc » 2012/06/23 02:27:12

[quote] rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm
This should have produced reams of output [/quote]

Yup. Here is what it produced:
[quote]
$ rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm >> /tmp/foo
warning: InstallSourcePackage at: psm.c:244: Header V3 RSA/SHA256 Signature, key ID a3780952: NOKEY
+ umask 022
+ cd /home/USER/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/USER/rpmbuild/BUILD
+ rm -rf devede-3.16.9
+ /usr/bin/bzip2 -dc /home/USER/rpmbuild/SOURCES/devede-3.16.9.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd devede-3.16.9
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ sed -i 's!/usr/lib/!/usr/share/!' devede.py
+ sed -i 's!/usr/share/doc/devede!/usr/share/doc/devede-3.16.9!' devede.py
+ find . -name '*~' -exec rm '{}' ';'
+ exit 0
+ umask 022
+ cd /home/USER/rpmbuild/BUILD
+ cd devede-3.16.9
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
+ umask 022
+ cd /home/USER/rpmbuild/BUILD
+ '[' /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64 '!=' / ']'
+ rm -rf /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64
++ dirname /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64
+ mkdir -p /home/USER/rpmbuild/BUILDROOT
+ mkdir /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64
+ cd devede-3.16.9
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64
+ ./install.sh --uninstall=no --targeted=yes --DESTDIR=/home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64 --prefix=/usr --libdir=/usr/share --pkgdocdir=/usr/share/doc/devede-3.16.9
install: omitting directory `./pixmaps/backgrounds'
+ rm /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64/usr/share/doc/devede-3.16.9/copyright /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64/usr/share/doc/devede-3.16.9/changelog.Debian
+ rm -rf /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64/usr/share/devede/devedesans.ttf
+ ln -s /usr/share/fonts/dejavu/DejaVuSans.ttf /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64/usr/share/devede/devedesans.ttf
+ desktop-file-install --delete-original --vendor livna --add-category X-OutputGeneration --dir /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64/usr/share/applications /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64/usr/share/applications/devede.desktop
+ /usr/lib/rpm/find-lang.sh /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64 devede
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/USER/rpmbuild/BUILD/devede-3.16.9
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
+ umask 022
+ cd /home/USER/rpmbuild/BUILD
+ cd devede-3.16.9
+ rm -rf /home/USER/rpmbuild/BUILDROOT/devede-3.16.9-1.el6.x86_64
+ exit 0
+ umask 022
+ cd /home/USER/rpmbuild/BUILD
+ rm -rf devede-3.16.9
+ exit 0
[/quote]
[Moderator edit: Changed [i]code[/i] to [i]quote[/i] tags to wrap [b]long[/b] lines.]

[quote]and ended with info that it had generated binary rpms and put them in e.g. /home/$user/rpmbuild/RPMS/x86_64/devede-3.16.9-1.el6.x86_64.rpm and [u]that[/u] is the one you needed to install in the next step.[/quote]

Ah. Thanks.

Here is where it put the file:
/home/USER/rpmbuild/RPMS/noarch/devede-3.16.9-1.el6.noarch.rpm

I was surprised at the 'noarch'; but the next step was the following:
sudo rpm -ivh ./devede-3.16.9-1.el6.noarch.rpm
Which reported the errors:
[code]
error: Failed dependencies:
mencoder is needed by devede-3.16.9-1.el6.noarch
vcdimager is needed by devede-3.16.9-1.el6.noarch
[/code]

So I installed the dependencies:
sudo yum install mencoder vcdimager

Which worked without error.

Then I re-ran this:
sudo rpm -ivh ./devede-3.16.9-1.el6.noarch.rpm

Which reported:
[code]
Preparing... ########################################### [100%]
1:devede ########################################### [100%]
[/code]

And, I saw the DeVeDe DVD creation program installed in my menus:
[img]http://www2.picturepush.com/photo/a/8554345/640/8554345.png[/img]

Thanks for the advice!

Here, for others to benefit from, is the sequence of commands that worked for me to locate and install DeVeDe on 64-bit Centos 6:
[code]
0. yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/devede"
1. http://pbone.net -> advanced search -> CentOS 6, RHEL 6 and Scientific Linux 6 -> devede ==> failed
2. http://pbone.net -> advanced search -> add Fedora 12 and 13 ==> worked
3. Downloaded devede-3.16.9-1.fc13.src.rpm
4. rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm
5. That created: /home/USER/rpmbuild/RPMS/noarch/devede-3.16.9-1.el6.noarch.rpm
6. cd /home/USER/rpmbuild/RPMS/noarch/
7. sudo rpm -ivh ./devede-3.16.9-1.el6.noarch.rpm ==> reported dependencies of mencoder & vcdimager
8. sudo yum install mencoder vcdimager
9. sudo rpm -ivh ./devede-3.16.9-1.el6.noarch.rpm
10. This created the menu item: Applications -> Sound & Video -> DeVeDe DVD/CD Video Creator
[/code]

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by Rocksockdoc » 2012/06/23 02:34:43

[quote]
megatux wrote:
You can get devede for EL6 from the 'linuxtech-testing' repo.
http://pkgrepo.linuxtech.net/el6/testing/noarch/devede-3.21.0-1.el6.noarch.rpm[/quote]

I have two (newbie style) questions about that suggestion:

Q1: How did you find this (i.e., what search mechanism (e.g., yum --enablerepo rpmforge info devede ... or ... "yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/devede")

Q2: If it's Red Hat Enterprise Linux 6, how do we know whether it will work on Centos 6?

[img]http://www1.picturepush.com/photo/a/8554359/640/8554359.png[/img]

megatux
Posts: 54
Joined: 2010/07/03 09:35:02
Contact:

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by megatux » 2012/06/23 09:17:48

[quote]
Rocksockdoc wrote:

Q1: How did you find this (i.e., what search mechanism (e.g., yum --enablerepo rpmforge info devede ... or ... "yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,\*-source,\*debug\* provides "*/devede")[/quote]

I run the linuxtech repos. :-)
Anyway IMHO the best way to locate third party packages for Centos is to use http://pkgs.org/ (but then install them using yum).

[quote]Q2: If it's Red Hat Enterprise Linux 6, how do we know whether it will work on Centos 6?[/quote]

Centos 6 (and SL6) is 99-100% compatible with RHEL 6. Apart from that I build all packages in the linuxtech repo using either SL6 or recently using Centos6 (with mock).

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by Rocksockdoc » 2012/06/23 18:26:43

[quote]
I run the linuxtech repos.[/quote]
I just tried it but must have missed a step because it errored out:
[code] yum --enablerepo linuxtech info devede
REPORTS:
Loaded plugins: fastestmirror, refresh-packagekit, security
Error getting repository data for linuxtech, repository not found
[/code]

[quote]locate third party packages for Centos using http://pkgs.org/ (but then install them using yum)[/quote]

Oh oh. I'm confused. When I originally asked about that site, I was told to look elsewhere:
- [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=37082&forum=55&post_id=163563#forumpost163563]What is the search engine that says which repository has {kolourpaint,truecrypt,pan,devede,brasero}[/url]

So, I'm confused about the seemingly conflicting information if this web site is suggested because it's not in the canonical thread on how to find software for Centos.
[img]http://www2.picturepush.com/photo/a/8559190/640/8559190.png[/img]

[quote]Centos 6 (and SL6) is 99-100% compatible with RHEL 6.[/quote]

Ah, I did not realize that RHEL6 is basically almost fully compatible with Centos6. Thanks.

megatux
Posts: 54
Joined: 2010/07/03 09:35:02
Contact:

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by megatux » 2012/06/23 20:27:36

[quote]
Rocksockdoc wrote:

I just tried it but must have missed a step because it errored out:
[code] yum --enablerepo linuxtech info devede
REPORTS:
Loaded plugins: fastestmirror, refresh-packagekit, security
Error getting repository data for linuxtech, repository not found
[/code]
[/quote]
You don't have the linuxtech.repo config file in /etc/yum.repos.d/

Before you can install packages from a repo you need to first configure the repo (install the appropriate repo file or rpm package for the repo).

So you need to do:

su
cd /etc/yum.repos.d/
wget http://pkgrepo.linuxtech.net/el6/testing/linuxtech.repo

The linuxtech.repo file has the 'linuxtech-release' repo enabled by default, in your case (since you probably have other repos active too and randomly mixing repos is bad) I guess it's best you disable it by editing the linuxtech.repo file and changing 'enabled=1' to 'enabled=0'

Then try:
yum --enablerepo=linuxtech-testing info devede

To install you also need to enable the 'linuxtech-release' repo for dependencies:
yum --enablerepo=linuxtech-testing --enablerepo=linuxtech-release install devede

Please note that the linuxtech repos are currently missing one of the dependecies of devede, i.e. mplayer and mencoder, so you need to have them already installed from some other repo.

[quote]
Oh oh. I'm confused. When I originally asked about that site, I was told to look elsewhere:

So, I'm confused about the seemingly conflicting information if this web site is suggested because it's not in the canonical thread on how to find software for Centos.[/quote]
I wouldn't say it's conflicting, there isn't only one right way to do things, personally I like pkgs.org to search for RPMs, other people prefer to install config files for all repos but keep them disabled, so they can search with yum.
Both methods are valid, use what you prefer.

[quote]Ah, I did not realize that RHEL6 is basically almost fully compatible with Centos6. Thanks.[/quote]
That's the whole point of Centos, to have a free clone of RHEL. :-)

Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

Re: How to install DeVeDe on Centos 6 for conversion of AVI to DVD with menus

Post by Rocksockdoc » 2012/06/24 14:51:33

[quote]
megatux wrote:
You don't have the linuxtech.repo config file in /etc/yum.repos.d/[/quote]

Thanks for the kind advice; I do realize nobody has to help me ... and given that ... I'll try to give back to the team by writing a summary for the next person to start with.

Also, I realize these must be basic newbie questions - but, in my defense, I 'did' read the suggested Centos6 help threads [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=37082&forum=55&post_id=163563#forumpost163563]recommended by the moderator Phil (Pschaff)[/url] which failed me (or I failed them) on installing DeVeDe!
- (Installing Software) https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28724&forum=54
- (Available Repositories) http://wiki.centos.org/AdditionalResources/Repositories
- (Fedora 14) http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/source/SRPMS/
- (FAQ) http://www.centos.org/modules/newbb/viewforum.php?forum=54
- (How to ask questions) http://www.catb.org/~esr/faqs/smart-questions.html
etc.

So that others will more easily benefit from this thread when they search for a tutorial to install DeVeDe on Centos 6 ...
Here is my attempt at a concise installation summary for the next user to follow in our footsteps & improve:

[b]DeVeDe installation (PBone method):[/b]
1. http://pbone.net -> advanced search -> CentOS 6, RHEL 6 and Scientific Linux 6 -> devede ==> failed
2. http://pbone.net -> advanced search -> add Fedora 12 and 13 ==> worked
3. Downloaded devede-3.16.9-1.fc13.src.rpm
4. $ rpmbuild --rebuild devede-3.16.9-1.fc13.src.rpm
5. $ ls /home/USER/rpmbuild/RPMS/noarch/devede-3.16.9-1.el6.noarch.rpm
6. $ cd /home/USER/rpmbuild/RPMS/noarch/
7. $ sudo rpm -ivh ./devede-3.16.9-1.el6.noarch.rpm ==> reported dependencies of mencoder & vcdimager
8. $ sudo yum install mencoder vcdimager
9. $ sudo rpm -ivh ./devede-3.16.9-1.el6.noarch.rpm
10. $ which devede ==> should report /usr/bin/devede & it will show up in your menus

[b]DeVeDe installation (linuxtech method):[/b]
1. Add the linuxtech repo to /etc/yum.repos.d using steps 2 & 3 below
2. $ cd /etc/yum.repos.d/
3. $ sudo wget http://pkgrepo.linuxtech.net/el6/testing/linuxtech.repo
4. This linuxtech.repo file has the 'linuxtech-release' repo enabled by default.
5. Since mixing repos is bad, disable linuxtech-release using step 6 below
6. sudo vi /etc/yum.repos.d/linuxtech.repo ==> Change: linuxtech-release 'enabled=1' to 'enabled=0'
7. Then see if devede is available:
8. $ yum --enablerepo=linuxtech-testing info devede
9. To install devede, [temporarily] enable the 'linuxtech-release' repo for dependencies:
10. $ yum --enablerepo=linuxtech-testing --enablerepo=linuxtech-release install devede
11. If this reports dependencies of mplayer and mencoder, install them from elsewhere; then repeat step 10
12. $ which devede ==> should report /usr/bin/devede & it will show up in your menus

DeVeDe is working now ... (THANKS!) ... so all that is left are my mistakes. :)

Earlier, I (erroneously?) installed mock & added a user "mockbuild" (in an early attempt to install DeVeDe) ...
[code]sudo yum install mock
sudo useradd -s /sbin/nologin mockbuild[/code]
Q: Does mock do anything for me or should I back it out by uninstalling mock & removing the user?

Given the warning below, were these the correct steps to remove this user & software completely?
$ sudo yum remove mock
$ sudo userdel -r mockbuild
[code]
Warning: RPMDB altered outside of yum.
Erasing : mock-1.1.21-1.el6.noarch 1/1
Removed:
mock.noarch 0:1.1.21-1.el6
[/code]

Post Reply