-
Notifications
You must be signed in to change notification settings - Fork 40
Po4a installation guide on OSX
oster edited this page Apr 4, 2013
·
3 revisions
Installation was performed on OSX 10.8.2 (aka Mountain Lion). The current version of po4a was 0.44.
Download the po4a-0.44.tar.gz source package from http://alioth.debian.org/
tar xvfz po4a-0.44.tar.gz
cd po4a-0.44
perl Build.PL
Checking prerequisites...
recommends:
* SGMLS is not installed
* Text::WrapI18N is not installed
* Unicode::GCString is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Run 'Build installdeps' to install missing prerequisites.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'po4a' version '0.44'
./Build installdeps
failed for SGMLS module (in ~/.cpan/build/SGMLSpm-QmSNYz)
perl -e 'use Config; print $Config{archlib};'
/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level
cd ~/.cpan/build/SGMLSpm-QmSNYz
Edit Makefile from SGMLS module installation directory (), set PERL5DIR variable to /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level
sudo make
perl Build.PL
Either you ddd the following line to your .profile
export PERLLIB=$PERLLIB:~/Development/po4a-0.44/lib
and do
source ~/.profile
or, you can run po4a with such a command line
PERLLIB=~/Development/po4a-0.44/lib ~/Development/po4a-0.44/po4a po4a.conf