Em sex., 13 de mar. de 2026 às 16:14, Patrice Dumas <[email protected]> escreveu:
>
> On Fri, Mar 13, 2026 at 02:28:05PM -0300, Jamenson Espindula wrote:
> > Here is the output of <LC_ALL=C perl -e 'use Locale::Po4a::Sgml;'>:
> > po4a::sgml: The needed module SGMLS.pm was not found and needs to be
> > installed. It can be found on the CPAN, in package libsgmls-perl
> >             on debian, etc.
> > Compilation failed in require at -e line 1.
> > BEGIN failed--compilation aborted at -e line 1.
> >
> > Inside or outside the 'po4a' git repository, same result.
>
> As the message says, you should install the SGMLS module.  The way it is
> done depends on your platform.
>
> --
> Pat

cpan[15]> h

Display Information                                                  (ver 2.38)
 command  argument          description
 a,b,d,m  WORD or /REGEXP/  about authors, bundles, distributions, modules
 i        WORD or /REGEXP/  about any of the above
 ls       AUTHOR or GLOB    about files in the author's directory
    (with WORD being a module, bundle or author name or a distribution
    name of the form AUTHOR/DISTRIBUTION)

Download, Test, Make, Install...
 get      download                     clean    make clean
 make     make (implies get)           look     open subshell in dist directory
 test     make test (implies make)     readme   display these README files
 install  make install (implies test)  perldoc  display POD documentation

Upgrade installed modules
 r        WORDs or /REGEXP/ or NONE    report updates for some/matching/all
 upgrade  WORDs or /REGEXP/ or NONE    upgrade some/matching/all modules

Pragmas
 force  CMD    try hard to do command  fforce CMD    try harder
 notest CMD    skip testing

Other
 h,?           display this menu       ! perl-code   eval a perl command
 o conf [opt]  set and query options   q             quit the cpan shell
 reload cpan   load CPAN.pm again      reload index  load newer indices
 autobundle    Snapshot                recent        latest CPAN uploads
cpan[16]> ls raab
Fetching with HTTP::Tiny:
https://cpan.org/authors/id/R/CHECKSUMS
Fetching with HTTP::Tiny:
https://cpan.org/authors/id/R/RA/CHECKSUMS
Fetching with HTTP::Tiny:
https://cpan.org/authors/id/R/RA/RAAB/CHECKSUMS
     772 2010-11-10 RAAB/SGMLSpm-1.1.meta
  114100 2010-12-01 RAAB/SGMLSpm-1.1.tar.gz

cpan[17]> i SGMLSpm-1.1
No objects found of any type for argument SGMLSpm-1.1

cpan[18]> install RAAB/SGMLSpm-1.1.tar.gz
Fetching with HTTP::Tiny:
https://cpan.org/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz
Checksum for /root/.cpan/sources/authors/id/R/RA/RAAB/SGMLSpm-1.1.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring R/RA/RAAB/SGMLSpm-1.1.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'SGMLSpm' version '1.1'
  RAAB/SGMLSpm-1.1.tar.gz
  /usr/bin/perl Build.PL -- OK
Running Build for R/RA/RAAB/SGMLSpm-1.1.tar.gz
Building SGMLSpm
  RAAB/SGMLSpm-1.1.tar.gz
  ./Build -- OK
Running Build test for RAAB/SGMLSpm-1.1.tar.gz
No tests defined.
Lockfile removed.
  RAAB/SGMLSpm-1.1.tar.gz
  ./Build test -- OK
Running Build install for RAAB/SGMLSpm-1.1.tar.gz
Building SGMLSpm
Installing /usr/lib/perl5/5.42/site_perl/SGMLS.pm
Installing /usr/lib/perl5/5.42/site_perl/sgmlspl-specs/skel.pl
Installing /usr/lib/perl5/5.42/site_perl/SGMLS/Output.pm
Installing /usr/lib/perl5/5.42/site_perl/SGMLS/Refs.pm
Installing /usr/share/man/man3/SGMLS::Output.3
Installing /usr/share/man/man3/SGMLS::Refs.3
Installing /usr/share/man/man3/SGMLS.3
Installing /usr/bin/sgmlspl.pl
  RAAB/SGMLSpm-1.1.tar.gz
  ./Build install  -- OK

cpan[19]>

Jamenson Espindula

Reply via email to