<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Looking into the error more, I think you have run into a bug. Something is going on when the book is being created, which is causing it not to know its own name (or some other vital info about itself).<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Quadritarium:publican-2x grenley$ publican create --name=testbook</div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Use of uninitialized value $docname in substitution (s///) at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 496, <FH> line 11.</div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Use of uninitialized value $product in substitution (s///) at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 506, <FH> line 11.</div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Use of uninitialized value $product in concatenation (.) or string at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 586, <FH> line 12.</div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><more errors omitted></div></div></blockquote></blockquote><div><br></div><div><br></div><div> Then, when you build the book, it tries to use a file called '.xml' rather than <bookname>.xml like it should:<div><br></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Quadritarium:testbook grenley$ publican build --formats=html --langs=en-US</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Use of uninitialized value $docname in substitution (s///) at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 496, <FH> line 11.</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Use of uninitialized value $product in substitution (s///) at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 506, <FH> line 11.</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Use of uninitialized value $product in concatenation (.) or string at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 586, <FH> line 12.</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Use of uninitialized value $docname in concatenation (.) or string at /opt/local/lib/perl5/site_perl/5.12.4/Publican.pm line 586, <FH> line 12.</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>...</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><more errors omitted></div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>...</div></div></div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div>Cannot locate main XML file: '.xml' at /opt/local/bin/publican line 789</div></div></div></blockquote></blockquote><div><div><br></div><div>Could you please file a bug on this? I'd still like to see if we can troubleshoot it on IRC as well, if you have the time.</div><div><br><div apple-content-edited="true">
<div><font class="Apple-style-span" face="monospace"><br></font></div></div><div><div>On May 18, 2012, at 9:11 AM, George Grenley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Here is the complete log file. I have some additional information as well. Stand by....<br><br><br><span><PublicanBuildAttempt></span><br><br>On May 17, 2012, at 4:06 PM, Misty Stanley-Jones wrote:<br><br><blockquote type="cite">Hi George,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What you have posted is not the build error (yet) as far as I can see. Is this the same log you sent me earlier? If not, can you attach it or pastebin it somewhere and post the URL? OSX is definitely not a "supported" platform yet, but a few of us have been able to make this work and I'm sure we can get it sorted out.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Misty<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Misty Stanley-Jones, RHCE<br></blockquote><blockquote type="cite">Supervisor, Red Hat Enterprise Content Services, Brisbane<br></blockquote><blockquote type="cite">☺: misty (Freenode IRC) ✉: <a href="mailto:misty@redhat.com">misty@redhat.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On May 18, 2012, at 1:05 AM, George Grenley wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">So, I ran the script from Redhat's site:  <a href="https://fedorahosted.org/publican/wiki/Installing_OSX">https://fedorahosted.org/publican/wiki/Installing_OSX</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The full text is shown at the end of this email.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">It blew up  at the command (my quotes) "publican-2x grenley$ perl ./Build.PL"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The first little bit of error messages went like this:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">A    publican-2x/po/publican.pot<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Checked out revision 2050.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Quadritarium:~ grenley$ cd publican-2x/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Quadritarium:publican-2x grenley$ perl ./Build.PL<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">WARNING: the following files are missing in your kit:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">  </span>META.json<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">   </span>META.yml<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Please inform the author.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Creating new 'MYMETA.yml' with configuration results<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Creating new 'Build' script for 'Publican' version '2.9'<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Quadritarium:publican-2x grenley$ ./Build<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Name "Win32::Locale::Lexicon" used only once: possible typo at /opt/local/lib/perl5/5.12.4/I18N/LangTags/Detect.pm line 140.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Name "Publican::Localise::en_us::Lexicon" used only once: possible typo at /opt/local/lib/perl5/5.12.4/Locale/Maketext.pm line 404.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Building Publican<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">DEBUG: Publican: config loaded<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Setting up ar-SA<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">    </span>Merging ar-SA/Conventions.po >> en-US/Conventions.xml -> tmp/ar-SA/xml_tmp//Conventions.xml<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">WARNING: Fuzzy message in PO file.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"<literal>Mono-spaced Bold</literal>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">this continues for hundreds of lines....  (I can attach a file if you need it.)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">What have I done wrong? It has been suggested that I need to tell the thing to use the MacPort Perl, not OS X Perl, but I have no idea how to do that. There is also talk of needing to mod some default paths.....<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Cheers!<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">George<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Web Page Installation Text:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Install Xcode from Mac App Store.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">       </span><span class="Apple-tab-span" style="white-space:pre">    </span>• It is about 4 GB. Be prepared to wait.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Install Macports from  <a href="http://guide.macports.org/chunked/installing.macports.html">http://guide.macports.org/chunked/installing.macports.html</a>. Everything you install with it goes into /opt/local, away from your normal OS files.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Open a terminal.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Install dependencies for Publican which are available as ports.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sudo port install docbook-xml docbook-xsl docbook-sgml-4.2 perl5 bash-completion p5-file-pushd p5-config-simple p5-file-find-rule p5-file-slurp p5-class-trigger p5-time-hires p5-list-moreutils p5-ipc-run3 p5-class-accessor p5-test-perl-critic p5-xml-libxslt p5-locale-gettext p5-image-size p5-file-copy-recursive p5-datetime p5-archive-zip p5-timedate p5-html-format p5-dbd-sqlite p5-xml-simple p5-devel-cover p5-test-pod p5-test-pod-coverage p5-template-toolkit <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">     </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Install CPAN modules for dependencies which can't be satisfied with ports. The first line forces Makefile::Parser to install even though its tests fail.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sudo cpan Locale::Maketext::Gettext Locale::PO DateTime::Format::DateParse Syntax::Highlight::Engine::Kate XML::TreeBuilder<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Install FOP if you want PDFs to work:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sudo port install fop<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">echo "FOP_OPTS='-Xms50m -Xmx700m'" > ~/.foprc<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">     </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Check out Publican 2.x branch:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">svn co <a href="http://svn.fedorahosted.org/svn/publican/branches/publican-2x">http://svn.fedorahosted.org/svn/publican/branches/publican-2x</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cd publican-2x/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">     </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• In the publican-2x directory, run:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">perl ./Build.PL<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">./Build<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">• Run the following command to install Publican and put all of its bits into /opt/local<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sudo ./Build install<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Create and build a book<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">publican create --name=testbook<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cd testbook<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">publican build --formats=html --langs=en-US<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">   </span>• Open the tmp/en-US/html/index.html in a browser to prove that it built properly.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">publican-list mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:publican-list@redhat.com">publican-list@redhat.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://www.redhat.com/mailman/listinfo/publican-list">https://www.redhat.com/mailman/listinfo/publican-list</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Wiki: <a href="https://fedorahosted.org/publican">https://fedorahosted.org/publican</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">publican-list mailing list<br></blockquote><blockquote type="cite"><a href="mailto:publican-list@redhat.com">publican-list@redhat.com</a><br></blockquote><blockquote type="cite"><a href="https://www.redhat.com/mailman/listinfo/publican-list">https://www.redhat.com/mailman/listinfo/publican-list</a><br></blockquote><blockquote type="cite">Wiki: <a href="https://fedorahosted.org/publican">https://fedorahosted.org/publican</a><br></blockquote><br>_______________________________________________<br>publican-list mailing list<br><a href="mailto:publican-list@redhat.com">publican-list@redhat.com</a><br>https://www.redhat.com/mailman/listinfo/publican-list<br>Wiki: https://fedorahosted.org/publican</div></blockquote></div><br></div></div></body></html>