Subject: | No compilation posible on RedHat 5.7 |
Using cpan to install SGI::FAM módule I get the error:
# perl Makefile.PL ; make all test
Ignore "Not a known parameter name" warnings.WARNING: PRCS_PROJECT is
not a known parameter.
Checking if your kit is complete...
Looks good
'PRCS_PROJECT' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lC
Writing Makefile for SGI::FAM
Writing MYMETA.yml and MYMETA.json
cp lib/SGI/FAM.pm blib/lib/SGI/FAM.pm
AutoSplitting blib/lib/SGI/FAM.pm (blib/lib/auto/SGI/FAM)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap FAM.xs > FAM.xsc
&& mv FAM.xsc FAM.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.002\"
-DXS_VERSION=\"1.002\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" FAM.c
FAM.xs: In function âfamerrorâ:
FAM.xs:123: aviso: la devolución descarta los calificadores del tipo
del destino del puntero
FAM.c: In function âXS_FAMConnectionPtr_DebugLevelâ:
FAM.c:516: aviso: declaración implÃcita de la función âFAMDebugLevelâ
FAM.c: In function âXS_FAMConnectionPtr_newâ:
FAM.c:554: aviso: variable âclassâ sin usar
FAM.c: In function âXS_FAMRequestPtr_newâ:
FAM.c:622: aviso: variable âclassâ sin usar
FAM.c: In function âXS_FAMEventPtr_newâ:
FAM.c:714: aviso: variable âclassâ sin usar
Running Mkbootstrap for SGI::FAM ()
chmod 644 FAM.bs
rm -f blib/arch/auto/SGI/FAM/FAM.so
LD_RUN_PATH="/usr/lib64" gcc -shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic FAM.o -o
blib/arch/auto/SGI/FAM/FAM.so \
-lfam \
chmod 755 blib/arch/auto/SGI/FAM/FAM.so
cp FAM.bs blib/arch/auto/SGI/FAM/FAM.bs
chmod 644 blib/arch/auto/SGI/FAM/FAM.bs
cp magicrcs blib/script/magicrcs
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/magicrcs
cp monitor blib/script/monitor
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/monitor
Manifying blib/man1/magicrcs.1
Manifying blib/man1/monitor.1
Manifying blib/man3/SGI::FAM.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/fam.t .. Can't load
'/root/.cpan/build/SGI-FAM-1.002-Bl2Sty/blib/arch/auto/SGI/FAM/FAM.so'
for module SGI::FAM:
/root/.cpan/build/SGI-FAM-1.002-Bl2Sty/blib/arch/auto/SGI/FAM/FAM.so:
undefined symbol: FAMDebugLevel at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at t/fam.t line 3.
Compilation failed in require at t/fam.t line 3.
BEGIN failed--compilation aborted at t/fam.t line 3.
t/fam.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/fam.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=1, Tests=0, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.01 cusr
0.00 csys = 0.02 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 2
FAMDebugLevel is deprecated on redhat gamin libraries.
Gamin Redhat Libraries instaled are:
gamin-0.1.7-10.el5 gamin-python-0.1.7-8.el5 gamin-devel-0.1.7-10.el5