Em sex., 13 de mar. de 2026 às 12:32, G. Branden Robinson
<[email protected]> escreveu:
>
> Hi Jamenson,
>
> At 2026-03-13T11:31:32-0300, Jamenson Espindula wrote:
> > I followed your instructions. The log is at <https://pastebin.com/1szpN9Vp>.
> >
> > The Perl 5.42.0 module 'Locale::Po4a::Sgml' was not found on the system.
> >
> > However, at least, I have the man page of that module installed on the
> > system. Is it possible to have the man page installed, but not the
> > module of that man page itself?
> >
> > How can I exactly identify what path is being searched? How can I
> > output what path (of Perl 5.42.0) is in effect in my system right now?
>
> Here's a Perl one-liner to do exactly that.
>
> perl -e 'use Locale::Po4a::Sgml;'
>
> And here's an illustration of how it fails.
>
> $ perl -e 'use Locale::Po4a::SgmlNONEXISTENT;'
> Can't locate Locale/Po4a/SgmlNONEXISTENT.pm in @INC (you may need to install
> the Locale::Po4a::SgmlNONEXISTENT module) (@INC contains: /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
> /usr/share/perl/5.32 /usr/local/lib/site_perl) at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
>
> Regards,
> Branden
Thank you for your reply.
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.
Operating System: Linux From Scratch (LFS) 12.4 - System V Edition
Perl version: 5.42.0
However, here is the output of <LC_ALL=C/usr/bin/perl -V>:
Summary of my perl5 (revision 5 version 42 subversion 0) configuration:
Platform:
osname=linux
osvers=6.14.4-20250528
archname=x86_64-linux-thread-multi
uname='linux comp01 6.14.4-20250528 #1 smp preempt_dynamic wed may
28 18:56:27 -03 2025 x86_64 gnulinux '
config_args='-des -D prefix=/usr -D vendorprefix=/usr -D
privlib=/usr/lib/perl5/5.42/core_perl -D
archlib=/usr/lib/perl5/5.42/core_perl -D
sitelib=/usr/lib/perl5/5.42/site_perl -D
sitearch=/usr/lib/perl5/5.42/site_perl -D
vendorlib=/usr/lib/perl5/5.42/vendor_perl -D
vendorarch=/usr/lib/perl5/5.42/vendor_perl -D
man1dir=/usr/share/man/man1 -D man3dir=/usr/share/man/man3 -D
pager=/usr/bin/less -isR -D useshrplib -D usethreads'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing
-pipe -fstack-protector-strong -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing
-pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='15.2.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib/../lib /usr/lib/../lib /lib
libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
libc=/lib/../lib/libc.so.6
so=so
useshrplib=true
libperl=libperl.so
gnulibc_version='2.42'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.42/core_perl/CORE'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_LONG_DOUBLE
HAS_STRTOLD
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_SIPHASH13
PERL_HASH_USE_SBOX32
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under linux
Compiled at Dec 27 2025 02:19:28
%ENV:
PERL5LIB="/home/jamenson/perl5/lib/perl5:/home/jamenson/perl5/lib/perl5"
PERL_LOCAL_LIB_ROOT="/home/jamenson/perl5:/home/jamenson/perl5"
PERL_MB_OPT="--install_base "/home/jamenson/perl5""
PERL_MM_OPT="INSTALL_BASE=/home/jamenson/perl5"
@INC:
/home/jamenson/perl5/lib/perl5/5.42.0/x86_64-linux-thread-multi
/home/jamenson/perl5/lib/perl5/5.42.0
/home/jamenson/perl5/lib/perl5/x86_64-linux-thread-multi
/home/jamenson/perl5/lib/perl5
/home/jamenson/perl5/lib/perl5/5.42.0/x86_64-linux-thread-multi
/home/jamenson/perl5/lib/perl5/5.42.0
/home/jamenson/perl5/lib/perl5/x86_64-linux-thread-multi
/home/jamenson/perl5/lib/perl5
/usr/lib/perl5/5.42/site_perl
/usr/lib/perl5/5.42/vendor_perl
/usr/lib/perl5/5.42/core_perl