<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Derek Gathright &#187; linux</title>
	<atom:link href="http://www.derekville.net/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derekville.net</link>
	<description>Scribbles &#38; Bits</description>
	<lastBuildDate>Fri, 18 Jun 2010 17:36:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using Git on 1&amp;1 (or any &#8216;shared&#8217;) hosting</title>
		<link>http://www.derekville.net/2009/using-git-on-11-or-any-shared-hosting/</link>
		<comments>http://www.derekville.net/2009/using-git-on-11-or-any-shared-hosting/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 05:05:19 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.derekville.net/2009/01/10/using-git-on-11-or-any-shared-hosting/</guid>
		<description><![CDATA[Here&#8217;s another &#8220;How-to&#8221; with 1and1 hosting, and this time I want to get the source code control/versioning program &#8220;Git&#8221; installed on my shared host with 1&#38;1.  This was actually remarkably easy. Go download Git from http://git-scm.com/download.  At the time of &#8230; <a href="http://www.derekville.net/2009/using-git-on-11-or-any-shared-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another &#8220;How-to&#8221; with 1and1 hosting, and this time I want to get the source code control/versioning program &#8220;Git&#8221; installed on my shared host with 1&amp;1.  This was actually remarkably easy.</p>
<ol>
<li> Go download Git from http://git-scm.com/download.  At the time of this posting, the latest version can be found at http://kernel.org/pub/software/scm/git/git-1.6.1.tar.gz</li>
<li>SSH into your 1&amp;1 account</li>
<li>&#8220;wget http://kernel.org/pub/software/scm/git/git-1.6.1.tar.gz&#8221;, and that will download the package</li>
<li>&#8220;tar -xvzf git-1.6.1.tar.gz&#8221; which will decompress the gzip file into a subdirectory</li>
<li>&#8220;cd git*&#8221; to change into the subdirctory</li>
<li>&#8220;make&#8221; to begin compiling the source.  You won&#8217;t be able to do &#8220;make install&#8221; because you likely won&#8217;t have permission to install anything to the system.</li>
<li>Now Git is ready to rock with the exception of needing to add it to your $PATH.  This can be done by typing &#8220;echo &#8216;PATH=$PATH:~/git-1.6.1/&#8217; &gt; ~/.profile&#8221;</li>
</ol>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekville.net/2009/using-git-on-11-or-any-shared-hosting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Issue when compiling FFMPEG on RHEL4</title>
		<link>http://www.derekville.net/2008/issue-when-compiling-ffmpeg-on-rhel4/</link>
		<comments>http://www.derekville.net/2008/issue-when-compiling-ffmpeg-on-rhel4/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 09:18:53 +0000</pubDate>
		<dc:creator>Derek</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rhel4]]></category>

		<guid isPermaLink="false">http://www.derekville.net/2008/06/25/issue-when-compiling-ffmpeg-on-rhel4/</guid>
		<description><![CDATA[A user uploaded a Quicktime video to my website the other day and the server ran into a problem transcoding it to FLV. I hit up #ffmpeg and it was suggested that I upgrade my install of FFMPEG and libfaad. &#8230; <a href="http://www.derekville.net/2008/issue-when-compiling-ffmpeg-on-rhel4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A user uploaded a Quicktime video to my website the other day and the server ran into a problem transcoding it to FLV.  I hit up #ffmpeg and it was suggested that I upgrade my install of FFMPEG and libfaad.  Alrighty, no big deal, done it before.  So first thing this morning was going to be update the sources and recompile.</p>
<p>Before I get on with that, first I&#8217;ll describe the environment.  We&#8217;re running on RHEL4 and have an install of FFMPEG that works fine (aside from that 1 user uploaded video).  The last upgrade of FFMPEG to get h264 support wasn&#8217;t done by me, but rather our sysadmin, when we actually had a sysadmin. I believe he used rpms for the libraries and compiled FFMPEG from the SVN repo.</p>
<p>So I did a quick search just to remind myself what libraries I needed and I came across <a href="http://pixels-and-politics.blogspot.com/2008/03/compile-ffmpeg-on-rhel4.html">this post</a> about compiling on RHEL4, our distro. Perfect.  I followed directions to a T (aside from upgrading SVN) and it compiled fine.  Now, time to run a test transcode&#8230;</p>
<blockquote><p>
		[root@140859-www1 ~]# /home/derek/ffmpeg_sources/ffmpeg/ffmpeg -y -i /media/v2-prod/atlas/8102/20206 -ab 64k -ar 22050 -b 700K -r 15 -y -s 640&#215;480 -ac 1 -padtop -padbottom -s vga /home/derek/blah.flv<br />
		FFmpeg version SVN-r13977, Copyright (c) 2000-2008 Fabrice Bellard, et al.<br />
		  configuration: &#8211;enable-libmp3lame &#8211;enable-libvorbis &#8211;enable-libfaac &#8211;enable-libfaad &#8211;enable-gpl &#8211;enable-libtheora &#8211;enable-libx264 &#8211;enable-shared<br />
		  libavutil version: 49.7.0<br />
		  libavcodec version: 51.57.2<br />
		  libavformat version: 52.16.0<br />
		  libavdevice version: 52.0.0<br />
		  built on Jun 25 2008 14:49:55, gcc: 3.4.6 20060404 (Red Hat 3.4.6-9)<br />
		Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#8216;/media/v2-prod/atlas/8102/20206&#8242;:<br />
		  Duration: 00:10:55.2, start: 0.000000, bitrate: 406 kb/s<br />
		    Stream #0.0(und): Audio: mpeg4aac, 44100 Hz, stereo<br />
		    Stream #0.1(und): Video: h264, yuv420p, 320&#215;240 [PAR 0:1 DAR 0:1], 30.00 tb(r)<br />
		Output #0, flv, to &#8216;/home/derek/blah.flv&#8217;:<br />
		    Stream #0.0(und): Video: flv, yuv420p, 640&#215;480 [PAR 0:1 DAR 0:1], q=2-31, 700 kb/s, 15.00 tb(c)<br />
		    Stream #0.1(und): Audio: libmp3lame, 22050 Hz, mono, 64 kb/s<br />
		Stream mapping:<br />
		  Stream #0.1 -> #0.0<br />
		  Stream #0.0 -> #0.1<br />
		Press [q] to stop encoding<br />
		/home/derek/ffmpeg_sources/ffmpeg/ffmpeg: symbol lookup error: /home/derek/ffmpeg_sources/ffmpeg/ffmpeg: undefined symbol: av_fifo_generic_write<br />
		You have new mail in /var/spool/mail/root
		</p></blockquote>
<p>Well shit.  Ok, so I hit up #ffmpeg again, but don&#8217;t get any help, so I try recompiling without any config options and it works fine.  So I slowly start added on config options and it works until I add &#8220;&#8211;enable-share&#8221;, and which point it compiles a version of FFMPEG that throws the &#8220;undefined symbol&#8221; error.  So that gives me a pretty good idea it has something to do with that.  I go through the symlinks in the guide (linked above) and notice that /usr/lib/libavformat.so.50 is symlinked to a file that doesn&#8217;t exist.  And that&#8217;s where I&#8217;m at now, kinda stumped.  Am I missing libraries?  how can I ensure any old libraries installed before are cleaned out and not conflicting with new ones?  I&#8217;m a developer, not a linux admin.  I know my way around the OS, but when it comes to this type of stuff, I&#8217;m stumped.</p>
<p>Any ideas? post a comment or email/gtalk me at drgath at gmail.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekville.net/2008/issue-when-compiling-ffmpeg-on-rhel4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
