<?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>Some TeX Developments &#187; Perl</title>
	<atom:link href="http://www.texdev.net/tag/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.texdev.net</link>
	<description>Coding in the TeX world</description>
	<lastBuildDate>Tue, 27 Jul 2010 06:07:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Building biblatex-biber on Windows</title>
		<link>http://www.texdev.net/2010/04/01/building-biblatex-biber-on-windows/</link>
		<comments>http://www.texdev.net/2010/04/01/building-biblatex-biber-on-windows/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 11:14:00 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[biber]]></category>
		<category><![CDATA[biblatex]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=659</guid>
		<description><![CDATA[I&#8217;ve just reinstalled my Strawberry Perl system on Windows, and so had the opportunity to try a clean build of biblatex-biber. I&#8217;ve posted before about building this on various platforms, and it now is almost asstraight-forward on Windows as on Linux. As before, I&#8217;ll assume you&#8217;ve grabbed the source code, unzipped it and have a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just reinstalled my <a title="Strawberry Perl" href="http://strawberryperl.com/">Strawberry Perl</a> system on Windows, and so had the opportunity to try a clean build of <a href="http://biblatex-biber.sourceforge.net/">biblatex-biber</a>. I&#8217;ve <a href="http://www.texdev.net/2010/02/27/building-biblatex-biber-again/">posted before</a> about building this on various platforms, and it now is almost asstraight-forward on Windows as on Linux.</p>
<p>As before, I&#8217;ll assume you&#8217;ve grabbed the source code, unzipped it and have a Command Prompt running as the Administrator, in the directory where biblatex-biber is unzipped. First, you need to install one support Perl module using</p>
<pre>cpan Config::AutoConf
</pre>
<p>You can then do</p>
<pre>perl Build.PL
build installdeps
build
build test
build install
</pre>
<p>That&#8217;s it! I&#8217;m not quite sure why you have to install Config::AutoConf ‘by hand’, but if you don&#8217;t then Text::BibTeX still fails to work. However, that is almost as easy as on Linux or MacOS 10.6, so everyone should be able to use biblatex-biber now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2010/04/01/building-biblatex-biber-on-windows/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Building biblatex-biber</title>
		<link>http://www.texdev.net/2010/01/23/building-biblatex-biber/</link>
		<comments>http://www.texdev.net/2010/01/23/building-biblatex-biber/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 20:24:56 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[biblatex]]></category>
		<category><![CDATA[biber]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=611</guid>
		<description><![CDATA[The biblatex-biber project provides probably the best way for biblatex users to switch to pure UTF-8 bibliography information. However, getting it to build can cause problems: biblatex-biber is a Perl programme, and needs various downloads from CPAN. I thought it would therefore be useful to put some simple recipes here, explaining what I&#8217;ve done to [...]]]></description>
			<content:encoded><![CDATA[<p>The <a title="Biber: A BibTeX replacement for users of biblatex" href="http://biblatex-biber.sourceforge.net/">biblatex-biber</a> project provides probably the best way for <a title="Bibliographies in LaTeX using BibTeX for sorting only" href="http://tug.ctan.org/pkg/biblatex">biblatex</a> users to switch to pure UTF-8 bibliography information. However, getting it to build can cause problems: biblatex-biber is a <a title="The Perl Programming Language" href="http://www.perl.org/">Perl</a> programme, and needs various downloads from <a title="Comprehensive Perl Archive Network" href="http://www.cpan.org/">CPAN</a>. I thought it would therefore be useful to put some simple recipes here, explaining what I&#8217;ve done to get a working biblatex-biber on Windows, Ubuntu and Mac OS X.  I&#8217;m assuming that the latest biblatex-biber release has been downloaded and unzipped somewhere, and that the Command Prompt/Terminal/Shell is open in that directory (folder).</p>
<h2>Mac OS X 10.6 (Snow Leopard)</h2>
<p>Mac OS X comes with Perl installed, so life is relatively easy. At the Terminal, you need to run the <code>cpan</code> script as root:</p>
<pre>sudo cpan</pre>
<p>The cpan script has its own prompt, but this is very similar to the Terminal one. First, I updated <code>cpan</code> itself and installed a helper module with</p>
<pre>install CPAN
reload cpan
install YAML
</pre>
<p>That done, the various requirements for biblatex-biber can be installed, using the single call</p>
<pre>install Data::Dump List::AllUtils Readonly Text::BibTeX Readonly::XS</pre>
<p>For the more cautious person (such as me), each <code>install</code> instruction can be given on a separate line: this keeps things a bit more controlled. I accepted the standard settings, except when asked about installing items that were only needed for testing, where I said no. </p>
<p>Once <code>cpan</code> has done all of the installing, you can leave it by typing</p>
<pre>exit
</pre>
<p>So now back at the Terminal prompt, a few simple instructions</p>
<pre>perl Build.PL
./Build
sudo ./Build install</pre>
<p>That put biblatex-biber onto the path for all users: everything then worked correctly.</p>
<h2>Ubuntu 9.10</h2>
<p>Once again, Perl is installed as standard in Linux distributions: I&#8217;m using <a title="Ubuntu Home Page" href="http://www.ubuntu.com/">Ubuntu</a> as a representative system. Before starting <code>cpan</code>, there is an additional step, which is to install an extra Ubuntu package. So at the Terminal, you need to do</p>
<pre>sudo apt-get install libxml2-dev
</pre>
<p>This is needed as otherwise you get some very odd errors in a bit. Now, essentially the same recipe works as for the Mac. First run <code>cpan</code> running and update and install <code>YAML</code>. Then there is a long list of items to install</p>
<pre>install Data::Dump List::AllUtils Readonly Text::BibTeX Readonly::XS XML::Writer XML::LibXML File::Slurp</pre>
<p>which can again be done one at a time, for the more cautious.</p>
<p>After exiting <code>cpan</code>, the same three lines at the Terminal should work as in the Mac section.</p>
<pre>perl Build.PL
./Build
sudo ./Build install</pre>
<h2>Windows (XP, Vista and 7)</h2>
<p>To date, my attempts to build biblatex-biber on Windows (using <a title="Strawberry Perl" href="http://strawberryperl.com/">Strawberry Perl</a>) have failed as I can&#8217;t get the Perl module <code>Text::BibTeX</code> to install. This is supposed to be optional, but without it biblatex-biber does not seem to work, although I do get it to build. Luckily, there is a self-contained binary for Windows available from the project site. This includes its own Perl system, so there is no need to get Perl set up before trying it. Everything seems to work for me with this version. Any ideas on what is necessary would be helpful!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2010/01/23/building-biblatex-biber/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
