<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>(r1.1 vs. r1.5) Gentoo &lt; Cinelerra &lt; TWiki</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="robots" content="noindex" />
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/WebRss?skin=rss&contenttype=text/xml" />
<!-- <base href="../../view/Cinelerra/Gentoo" /> -->
<style type="text/css" media="all">
	/* Default TWiki layout */
	@import url('../../../pub/TWiki/PatternSkin/layout.css');
	/* Default TWiki style */
	@import url('../../../pub/TWiki/PatternSkin/style.css');
	/* Custom overriding layout per web or per topic */
	@import url('http://www.ftconsult.com/twiki/bin/view/Cinelerra/%USERLAYOUTURL%');
	/* Custom overriding style per web or per topic */
	@import url('http://www.ftconsult.com/twiki/bin/view/Cinelerra/%USERSTYLEURL%');
	.twikiToc li {
		list-style-image:url('../../../pub/TWiki/PatternSkin/i_arrow_down.gif');
	}	        
	.twikiWebIndicator {
		background-color:#D0D0D0;
	}
</style>
<style type="text/css" media="all"></style>
<script type="text/javascript">
<!-- HIDE
	function initPage() { }
-->
</script>
</head>
<body class="twikiNoViewPage twikiDiffPage"><a name="PageTop"></a>
<div class="twikiMiddleContainer"><div class="twikiMain"><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/Gentoo">Gentoo</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=r1.5">r1.5</a> - 28&nbsp;Mar&nbsp;2005 - <a class="twikiLink" href="../../view/Main/JarleBjo">JarleBjo</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/InstallingCinelerra">InstallingCinelerra</a> </td></tr>
</table>
<h3><a name="Gentoo"> </a><a name="_Gentoo_"> </a> <a class="twikiLink" href="../../view/Cinelerra/Gentoo">Gentoo</a> </h3>
Installation for Gentoo Linux is very straight foward.  
</td></tr>
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 18 to 18</th></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
-- <a class="twikiLink" href="../../view/Main/DavidYip">DavidYip</a> - 27 May 2004
<hr />
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
David, I don't think Ben meant that you have to run cinelerra as root. Only install it as root, which is what emerge cinelerra does. 
<p />
Another way to to install cinelerra that makes it possible to always run the latest version also is:
<p />
<ul>
<li> #emerge rpm
</li>
<li> #rpm -ivh --nodeps 'downloaded cinelerra rpm file from heroinewarrior.com'
</li>
<li> #su - user
</li>
<li> $cinelerra
</li>
</ul>
<p />
Fortunately most of the needed libraries that cinelerra needs are contained in the rpm from herionewarrior.com . In fact when installing rpm's on gentoo-linux rpm is not aware of all the libraries that is already installed by portage. So as general rule with rpm and gentoo, just 
<p />
#rpm -ivh with --nodeps
<p />
, and use ldd to resolve the rest of dependencies , if any .
<p />
-- <a class="twikiLink" href="../../view/Main/JarleBjo">JarleBjo</a> - 28 Mar 2005
<hr />
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
Revision 2: How to install cinelerra-cvs on Gentoo -- for dummies (like me)
<hr />
The "official" Cinelerra is working fine from the Gentoo portage ebuild,
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/Gentoo">Gentoo</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=r1.4">r1.4</a> - 19&nbsp;Oct&nbsp;2004 - <a class="twikiLink" href="../../view/Main/DanielFort">DanielFort</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/InstallingCinelerra">InstallingCinelerra</a> </td></tr>
</table>
<h3><a name="Gentoo"> </a><a name="_Gentoo_"> </a> <a class="twikiLink" href="../../view/Cinelerra/Gentoo">Gentoo</a> </h3>
Installation for Gentoo Linux is very straight foward.  
</td></tr>
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 18 to 18</th></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
-- <a class="twikiLink" href="../../view/Main/DavidYip">DavidYip</a> - 27 May 2004
<hr />
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
Revision 2: How to install cinelerra-cvs on Gentoo -- for dummies (like me)
<hr />
The "official" Cinelerra is working fine from the Gentoo portage ebuild,
but the cinelerra-cvs ebuild won't compile on my AMD64 and PPC systems.
<p />
Here is how I did it. Hopefully it will help others or maybe the
developers can come up with better (easier?) methods. Please excuse me if
some of this seems very elementary--I'd like to make this understandable
to users (like me) 
<p />
First of all, make a special place to work with the source code. I just
made a directory called "cinelerra-cvs" in my home directory:
<p />
$mkdir cinelerra-cvs
<p />
That dollar sign is a part of the bash shell prompt--don't type it. When
it is a dollar sign it means "ordinary" user, when it is a hash mark "#"
(looks like a tic-tac-toe game) it means "root" or "super user." If you
don't understand this--you aren't ready to install cinelerra-cvs!
Next, move into your new work space:
<p />
$cd cinelerra-cvs
<p />
Now to get the source code--you must have cvs installed in order to do this:
<p />
$export CVSROOT=:pserver:anoncvs@cvs.cinelerra.org:/var/lib/cvs
$cvs login
<p />
When asked for the password enter 'anoncvs' (without the single quotes of
course).
Now it is time to check out the source code:
<p />
$cvs co cinelerra
<p />
A long list of filenames will scroll through your terminal and when it is
over you will have this in your cinelerra-cvs directory:
<p />
$ls
cinelerra
<p />
Don't get too excited, there is still lots to do. Change into the build
directory:
<p />
$cd cinelerra/hvirtual
<p />
That's were some of the documentation, build scripts, source files and
directories are at. It is just the tip of the iceberg. Inside those
directories are more documents, build scripts, source files and even more
directories with--you guessed it.
If you've built programs from source you're probably familiar with,
../configure, make, make install. There are some extra steps with
cinelerra-cvs in order to get it running on a Gentoo box--and probably
every other distribution.
<p />
First of all, make a backup copy of a file called "autogen.sh" because it
needs to be modified.
<p />
$cp autogen.sh autogen.sh.original
<p />
Now open this script with your favorite text editor. If you have a
"normal" Gentoo installation and are using nano, make sure to use the -w
option so it won't put line breaks in the script:
<p />
$nano -w autogen.sh
<p />
Scroll down a bit and find these lines:
<p />
# Example (needed for Debian SID):
#
# export AUTOMAKE=/usr/bin/automake-1.7
# export ACLOCAL=/usr/bin/aclocal-1.7
# sh autogen.sh
<p />
Remove the comment marks "#" from in front of the lines that start with
"export"
<p />
# Example (needed for Debian SID):
#
export AUTOMAKE=/usr/bin/automake-1.7
export ACLOCAL=/usr/bin/aclocal-1.7
# sh autogen.sh
<p />
Make sure NOT to remove the comment marks from the line that follows or
the script will be trying to run itself.
Why not just follow the instructions and run this interactively? I don't
know, but it didn't work for me.
Save the file and run the script:
<p />
$sh autogen.sh
<p />
This will create another script called "configure" and configure will
create even more scripts called makefiles. However, there are some tricks
you may have to use when running the configure script. Then again it might
just work fine for you.
<p />
$./configure
<p />
Notice the ./ in front of "configure" in order to get it to execute.
<p />
The goal is to get a clean bill of health like this:
<p />
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
<p />
  Configuration summary :
<p />
    Version : ..................... 1.0.5
    Experimental code : ........... no
<p />
  Tools :
<p />
    Compiler is GCC : ............. yes
    GCC major version : ........... 3
<p />
  Installation directories :
<p />
    Library directory : ........... /usr/local/lib
    Program directory : ........... /usr/local/bin
    Pkgconfig directory : ......... /usr/local/lib/pkgconfig
<p />
Compiling some other packages against libsndfile may require
the addition of "/usr/local/lib/pkgconfig" to the
PKG_CONFIG_PATH environment variable.
<p />
configure: All required libraries were found.
<p />
<hr />
<p />
However, you will more than likely not have all of the required
"dependencies" on your system. Here is where you'll have to do some
detective work with Google, the Gentoo online package database and emerge,
everything you need is in the Gentoo distribution--figuring out what to
install is the key. When building a package that's in portage all the
dependencies are taken care of, but figuring out which packages to install
is price to pay for living on the cinelerra-cvs cutting edge.
<p />
One package that configure seems to miss sometimes is <span class="twikiNewLink" style="background : #FFFFCE;"><font color="#0000FF">OpenEXR</font><a href="http://www.ftconsult.com/twiki/bin/edit/Cinelerra/OpenEXR?topicparent=Cinelerra.Gentoo"><sup>?</sup></a></span>. Maybe it is
because the Gentoo ebuild and one from openexr.org install differently. I
needed to find out where it lived and run configure like this:
<p />
$./configure OPENEXR=/usr/include/OpenEXR
<p />
The next step is to compile the program:
<p />
$make
<p />
For some reason there was a problem just on the AMD64 system. It is
probably just a temporary problem with the state of cinelerra-cvs or with
the way my system was configured. I got the following error:
<p />
make[4]: Leaving directory `/home/dfort/cinelerra-cvs/cinelerra/hvirtual/po'
: --update de.po cinelerra.pot
rm -f de.gmo &amp;&amp; : -c --statistics -o de.gmo de.po
mv: cannot stat `t-de.gmo': No such file or directory
make[3]: <strong>*</strong> [de.gmo] Error 1
make[3]: Leaving directory `/home/dfort/cinelerra-cvs/cinelerra/hvirtual/po'
make[2]: <strong>*</strong> [stamp-po] Error 2
make[2]: Leaving directory `/home/dfort/cinelerra-cvs/cinelerra/hvirtual/po'
make[1]: <strong>*</strong> [all-recursive] Error 1
make[1]: Leaving directory `/home/dfort/test/cinelerra/hvirtual'
make: <strong>*</strong> [all] Error 2
<p />
It isn't good to go on after a make error like this. What I did may have
been a bad thing, but since I'm only going to use English it probably
didn't do any harm:
<p />
$touch po/de.gmo
$touch po/es.gmo
$touch po/sl.gmo
$touch po/fr.gmo
<p />
This just created some empty files, but the build finished without errors.
<p />
Now for the installation. Change to the root user in order to do this step:
<p />
$su
Password:   (enter the root password)
#make install
<p />
That should do it, but there was one more problem on the AMD64 box. The
cinelerra supporting files were installed in /usr/local/lib/cinelerra but
it was looking in /usr/lib/cinelerra. Instead of moving the files or
finding a way to make it look in /usr/local/lib, I made a soft link in
/usr/lib:
<p />
#ln -s /usr/local/lib/cinelerra /usr/lib/cinelerra
<p />
That's it--hope it wasn't too painful. To start cinelerra open up a
terminal window and enter:
<p />
$cinelerra
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/Gentoo">Gentoo</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=r1.3">r1.3</a> - 27&nbsp;May&nbsp;2004 - <a class="twikiLink" href="../../view/Main/DavidYip">DavidYip</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/InstallingCinelerra">InstallingCinelerra</a> </td></tr>
</table>
<h3><a name="Gentoo"> </a><a name="_Gentoo_"> </a> <a class="twikiLink" href="../../view/Cinelerra/Gentoo">Gentoo</a> </h3>
Installation for Gentoo Linux is very straight foward.  
</td></tr>
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 12 to 12</th></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<p />
-- <a class="twikiLink" href="../../view/Main/BenJorden">BenJorden</a> - 20 Jan 2004
<hr />
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<p />
Revision 1: It is not strictly necessary to run Cinelerra as root.  Video capture is probably the only application that Cinelerra needs special permissions for, and that can be given with correct permissions configuration on the appropriate capture device files.
<p />
-- <a class="twikiLink" href="../../view/Main/DavidYip">DavidYip</a> - 27 May 2004
<hr />
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/Gentoo">Gentoo</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=r1.2">r1.2</a> - 21&nbsp;Jan&nbsp;2004 - <a class="twikiLink" href="../../view/Main/AlexFerrer">AlexFerrer</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/InstallingCinelerra">InstallingCinelerra</a> </td></tr>
</table>
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffChangedHeader" colspan ="9"><b> Changed: </b></td></tr>
<tr><td bgcolor="#ff9999" class="twikiDiffDeletedMarker" valign="top" width="1%">&lt;<br />&lt;</td>
<td class="twikiDiffDeletedText">
Installation for Gentoo Linux is very straight foward.  Simply type: emerge cinelerra as root and it should install and run with no problems.  I have used Cinelerra on Gentoo for over a year now. Note: run Cinelerra as root.
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<h3><a name="Gentoo"> </a><a name="_Gentoo_"> </a> <a class="twikiLink" href="../../view/Cinelerra/Gentoo">Gentoo</a> </h3>
Installation for Gentoo Linux is very straight foward.  
<p />
Simply type: <code><b>emerge cinelerra</b></code> as root and it should install and run with no problems.
<p />
I have used Cinelerra on Gentoo for over a year now. 
<p />
<h4><a name="Other_Notes"> </a><a name="Other_Notes_"> </a> Other Notes : </h4>
Run Cinelerra as root.
</td></tr>
<tr><td valign="top" bgcolor="#ffffff" class="twikiDiffUnchangedText" width="1%"><br /></td>
<td class="twikiDiffUnchangedText">
-- <a class="twikiLink" href="../../view/Main/BenJorden">BenJorden</a> - 20 Jan 2004
</td></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<hr />
</td></tr>

</table></div><div class="twikiSearchResults"><div class="twikiSearchResultsHeader">&nbsp;<tt><b>&lt;&lt;O&gt;&gt;</b></tt>&nbsp; Difference Topic
		<b><a href="../../view/Cinelerra/Gentoo">Gentoo</a></b>
		(<a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=r1.1">r1.1</a> - 20&nbsp;Jan&nbsp;2004 - <a class="twikiLink" href="../../view/Main/BenJorden">BenJorden</a>)</div>
<table class="twikiDiffTable" width="100%" cellspacing="0">
<tr bgcolor="#eeeeee" class="twikiDiffLineNumberHeader"><th align="left" colspan="9">Line: 1 to 1</th></tr>
<tr><td bgcolor="#D0FFD0" class="twikiDiffAddedHeader" colspan ="9"><b> Added:   </b>
</td></tr>
<tr><td bgcolor="#ccccff" class="twikiDiffAddedMarker" valign="top" width="1%">&gt;<br />&gt;</td>
<td class="twikiDiffAddedText">
<table border="1" cellspacing="1" cellpadding="0">
<tr><th class="twikiFirstCol" bgcolor="#99CCCC"> <strong>META TOPICPARENT</strong> </th><td colspan="2" bgcolor="#FFFFCC"> <a class="twikiLink" href="../../view/Cinelerra/InstallingCinelerra">InstallingCinelerra</a> </td></tr>
</table>
Installation for Gentoo Linux is very straight foward.  Simply type: emerge cinelerra as root and it should install and run with no problems.  I have used Cinelerra on Gentoo for over a year now. Note: run Cinelerra as root.
-- <a class="twikiLink" href="../../view/Main/BenJorden">BenJorden</a> - 20 Jan 2004
</td></tr>

</table></div><div class="twikiTopicAction"><a href="../../view/Cinelerra/Gentoo">View topic</a>
 <span class="twikiSeparator">|</span> <a href="Gentoo">Diffs</a>  | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=1.5">r1.5</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/Gentoo?rev1=1.5&rev2=1.4">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=1.4">r1.4</a> | <a href="http://www.ftconsult.com/twiki/bin/rdiff/Cinelerra/Gentoo?rev1=1.4&rev2=1.3">&gt;</a> | <a href="http://www.ftconsult.com/twiki/bin/view/Cinelerra/Gentoo?rev=1.3">r1.3</a>
 <span class="twikiSeparator">|</span> <a href="http://www.ftconsult.com/twiki/bin/oops/Cinelerra/Gentoo?template=oopsmore&param1=1.5&param2=1.5">More</a>
</div><div class="twikiTopicInfo"><span class="twikiRevInfo twikiGrayText">Revision r1.1 - 20 Jan 2004 - 19:53 - <a class="twikiLink" href="../../view/Main/BenJorden">BenJorden</a><br />
Revision r1.5 - 28 Mar 2005 - 12:03 - <a class="twikiLink" href="../../view/Main/JarleBjo">JarleBjo</a></span></div>
<div class="twikiTopicFooter"></div>
<a name="PageBottom"></a> </div></div>
</body></html>