-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi, I have some problems during cpan Conf::Libconfig
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 22 Apr 2023 11:54:01 GMT
Could not expand [Conf::Libconfigsudo]. Check the module name.
I can suggest names if you install one of Text::Levenshtein::XS, Text::Levenshtein::Damerau::XS, Text::Levenshtein, and Text::Levenshtein::Damerau::PP
and you provide the -x option on invocation.
Skipping Conf::Libconfigsudo because I couldn't find a matching namespace.
Could not expand [cpan]. Check the module name.
Skipping cpan because I couldn't find a matching namespace.
Running install for module 'Conf::Libconfig'
Checksum for /root/.cpan/sources/authors/id/C/CN/CNANGEL/Conf-Libconfig-1.0.0.tar.gz ok
Configuring C/CN/CNANGEL/Conf-Libconfig-1.0.0.tar.gz with Makefile.PL
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
of the dependency's installation later.
[Core Features]
- Test::Deep ...loaded. (1.204 >= 0.1)
- Test::More ...loaded. (1.302194 >= 0.6)
- Test::Warn ...loaded. (0.37 >= 0.1)
- Test::Exception ...loaded. (0.43 >= 0.25)
- ExtUtils::PkgConfig ...loaded. (1.16)
- XSLoader ...loaded. (0.30 >= 0.05)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Conf::Libconfig
Writing MYMETA.yml and MYMETA.json
CNANGEL/Conf-Libconfig-1.0.0.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for C/CN/CNANGEL/Conf-Libconfig-1.0.0.tar.gz
cp lib/Conf/Libconfig.pm blib/lib/Conf/Libconfig.pm
Running Mkbootstrap for Libconfig ()
chmod 644 "Libconfig.bs"
"/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Libconfig.bs blib/arch/auto/Conf/Libconfig/Libconfig.bs 644
"/usr/bin/perl" "-Iinc" "/usr/share/perl/5.32/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.32/ExtUtils/typemap' -typemap '/root/.cpan/build/Conf-Libconfig-1.0.0-3/typemap' Libconfig.xs > Libconfig.xsc
Please specify prototyping behavior for Libconfig.xs (see perlxs manual)
mv Libconfig.xsc Libconfig.c
x86_64-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION="1.0.0" -DXS_VERSION="1.0.0" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE" Libconfig.c
Libconfig.xs: In function ‘sv2addarray’:
Libconfig.xs:365:19: warning: implicit declaration of function ‘av_count’ [-Wimplicit-function-declaration]
365 | int avlen = (int)av_count(av);
| ^~~~~~~~
Libconfig.xs:391:4: error: label at end of compound statement
391 | default:
| ^~~~~~~
Libconfig.xs: In function ‘sv2addobject’:
Libconfig.xs:430:5: error: label at end of compound statement
430 | default:
| ^~~~~~~
Libconfig.xs:452:5: error: label at end of compound statement
452 | default:
| ^~~~~~~
Libconfig.xs: In function ‘set_general_value’:
Libconfig.xs:486:5: error: label at end of compound statement
486 | default:
| ^~~~~~~
Libconfig.xs:510:5: error: label at end of compound statement
510 | default:
| ^~~~~~~
Libconfig.xs:532:5: error: label at end of compound statement
532 | default:
| ^~~~~~~
Libconfig.xs:554:5: error: label at end of compound statement
554 | default:
| ^~~~~~~
Libconfig.xs: In function ‘get_general_value’:
Libconfig.xs:663:4: error: a label can only be part of a statement and a declaration is not a statement
663 | const char *val = config_setting_get_string(elem);
| ^~~~~
make: *** [Makefile:346 : Libconfig.o] Erreur 1
CNANGEL/Conf-Libconfig-1.0.0.tar.gz
/usr/bin/make -- NOT OK