[publican-list] Failure of Publican Install on Os X Lion 7.2.3

George Grenley grenley at plans2reality.com
Thu May 17 23:11:28 UTC 2012


Here is the complete log file. I have some additional information as well. Stand by....


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PublicanBuildAttempt
Type: application/octet-stream
Size: 620270 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/publican-list/attachments/20120517/59c42de8/attachment.obj>
-------------- next part --------------


On May 17, 2012, at 4:06 PM, Misty Stanley-Jones wrote:

> Hi George,
> 
> 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.
> 
> Thanks,
> Misty
> 
> Misty Stanley-Jones, RHCE
> Supervisor, Red Hat Enterprise Content Services, Brisbane
> ?: misty (Freenode IRC) ?: misty at redhat.com
> 
> On May 18, 2012, at 1:05 AM, George Grenley wrote:
> 
>> So, I ran the script from Redhat's site:  https://fedorahosted.org/publican/wiki/Installing_OSX
>> 
>> The full text is shown at the end of this email.
>> 
>> It blew up  at the command (my quotes) "publican-2x grenley$ perl ./Build.PL"
>> 
>> The first little bit of error messages went like this:
>> 
>> A    publican-2x/po/publican.pot
>> Checked out revision 2050.
>> Quadritarium:~ grenley$ cd publican-2x/
>> Quadritarium:publican-2x grenley$ perl ./Build.PL
>> WARNING: the following files are missing in your kit:
>> 	META.json
>> 	META.yml
>> Please inform the author.
>> 
>> Creating new 'MYMETA.yml' with configuration results
>> Creating new 'Build' script for 'Publican' version '2.9'
>> Quadritarium:publican-2x grenley$ ./Build
>> Name "Win32::Locale::Lexicon" used only once: possible typo at /opt/local/lib/perl5/5.12.4/I18N/LangTags/Detect.pm line 140.
>> Name "Publican::Localise::en_us::Lexicon" used only once: possible typo at /opt/local/lib/perl5/5.12.4/Locale/Maketext.pm line 404.
>> Building Publican
>> 
>> DEBUG: Publican: config loaded
>> Setting up ar-SA
>> 	Merging ar-SA/Conventions.po >> en-US/Conventions.xml -> tmp/ar-SA/xml_tmp//Conventions.xml
>> WARNING: Fuzzy message in PO file.
>> "<literal>Mono-spaced Bold</literal>"
>> 
>> 
>> this continues for hundreds of lines....  (I can attach a file if you need it.)
>> 
>> 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.....
>> 
>> Cheers!
>> George
>> 
>> 
>> 
>> 
>> 
>> Web Page Installation Text:
>> 
>> ? Install Xcode from Mac App Store.
>> 		? It is about 4 GB. Be prepared to wait.
>> ? Install Macports from  http://guide.macports.org/chunked/installing.macports.html. Everything you install with it goes into /opt/local, away from your normal OS files.
>> 
>> ? Open a terminal.
>> 
>> ? Install dependencies for Publican which are available as ports.
>> 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 
>> 
>> 	
>> ? 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.
>> sudo cpan Locale::Maketext::Gettext Locale::PO DateTime::Format::DateParse Syntax::Highlight::Engine::Kate XML::TreeBuilder
>> 
>> ? Install FOP if you want PDFs to work:
>> sudo port install fop
>> echo "FOP_OPTS='-Xms50m -Xmx700m'" > ~/.foprc
>> 
>> 	
>> ? Check out Publican 2.x branch:
>> svn co http://svn.fedorahosted.org/svn/publican/branches/publican-2x
>> cd publican-2x/
>> 
>> 	
>> ? In the publican-2x directory, run:
>> perl ./Build.PL
>> ./Build
>> 
>> 	
>> ? Run the following command to install Publican and put all of its bits into /opt/local
>> sudo ./Build install
>> 
>> Create and build a book
>> 
>> publican create --name=testbook
>> cd testbook
>> publican build --formats=html --langs=en-US
>> 
>> 	? Open the tmp/en-US/html/index.html in a browser to prove that it built properly.
>> 
>> _______________________________________________
>> publican-list mailing list
>> publican-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/publican-list
>> Wiki: https://fedorahosted.org/publican
> 
> _______________________________________________
> publican-list mailing list
> publican-list at redhat.com
> https://www.redhat.com/mailman/listinfo/publican-list
> Wiki: https://fedorahosted.org/publican



More information about the publican-list mailing list