perl SAP RFC SDK make problems in fedora

perl SAP RFC SDK make problems in fedora

am 02.12.2005 11:47:09 von thulsa.doom

Hi
I'm trying to install Perl module SAP-Rfc-1.32 on my Fedora FC4
installation (x86_32).
Whe I do make, or make test, I keep getting:
gcc -c -I/usr/sap/rfcsdk/include -D_REENTRANT -D_GNU_SOURCE
-DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64
-I/usr/include/gdbm -O2 -g -pipe -Wp
,-D_FORTIFY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentium4
-fasynchronous-unwind-tables -D VERSION=3D\"1.32\"
-DXS_VERSION=3D\"1.32\" -fPIC
"-I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE"
-DSUMITELSE Rfc.c
Rfc.xs: In function =E2make_copy=E2:
Rfc.xs:183: warning: pointer targets in passing argument 3 of
=E2Perl_sv_2pv_flags=E2 differ in signedne ss
Rfc.xs:183: warning: pointer targets in passing argument 3 of
=E2Perl_sv_2pv_flags=E2 differ in signedne ss
Rfc.xs: In function =E2make_strdup=E2:
Rfc.xs:200: warning: pointer targets in passing argument 3 of
=E2Perl_sv_2pv_flags=E2 differ in signedne ss
Rfc.xs:200: warning: pointer targets in passing argument 3 of
=E2Perl_sv_2pv_flags=E2 differ in signedne ss
Rfc.xs: In function =E2MyRfcCallReceive=E2:
Rfc.xs:445: error: invalid lvalue in assignment
Rfc.xs: In function =E2handle_request=E2:
Rfc.xs:1205: error: invalid lvalue in assignment
make: *** [Rfc.o] Error 1

Can anyone tell me how to fix?

thanks,
TD

Re: perl SAP RFC SDK make problems in fedora

am 02.12.2005 12:19:40 von thulsa.doom

dumbass me.
I should have used SAPRFC 1.39!
Above error has disappeared.

Now when I type make test, I get:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00use....Can't load
'/usr/ftproot/Install/unix/perl/modules/SAP-Rfc-1.39/blib/ar ch/auto/SAP/Rfc/Rfc.so'
for module SAP::Rfc: librfccm.so: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/00use.t line 4
Compilation failed in require at t/00use.t line 4.
BEGIN failed--compilation aborted at t/00use.t line 4.
t/00use....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/01sap....Can't load
'/usr/ftproot/Install/unix/perl/modules/SAP-Rfc-1.39/blib/ar ch/auto/SAP/Rfc/Rfc.so'
for module SAP::Rfc: librfccm.so: cannot open shared object file: No
such file or directory at
/usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/01sap.t line 4
Compilation failed in require at t/01sap.t line 4.
BEGIN failed--compilation aborted at t/01sap.t line 4.
t/01sap....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t/00use.t 255 65280 1 1 100.00% 1
t/01sap.t 255 65280 6 11 183.33% 1-6
Failed 2/2 test scripts, 0.00% okay. 7/7 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 255