All pastes #266659 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-12-04 08:54 UTC
rendered paste body
sap@root:SAP-Rfc-1.53>perl Makefile.PL --source '/sapmnt/C11/exe/rfcsdk32' --addlibs '-L/usr/lib/libCrun.so.1 -lcrun'
/usr/local/lib does not seem to contain the librfc (or librfccm) library files
/usr/lib does not seem to contain the librfc (or librfccm) library files
Found rfccm installed in /sapmnt/C11/exe/rfcsdk32
Using --source librfc candidate found at /sapmnt/C11/exe/rfcsdk32

================================================
BUILD INFORMATION
================================================

rfc dir:        /sapmnt/C11/exe/rfcsdk32
libraries:      -L/usr/lib/libCrun.so.1 -lcrun -L/sapmnt/C11/exe/rfcsdk32/lib  -lrfccm
include dir:    /sapmnt/C11/exe/rfcsdk32/include
rfc header:     /sapmnt/C11/exe/rfcsdk32/include/saprfc.h
rfc candidate:  /sapmnt/C11/exe/rfcsdk32; /sapmnt/C11/exe/rfcsdk32/include; rfccm

================================================

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lcrun
Writing Makefile for SAP::Rfc



Welcome to The SAP::Rfc Object oriented Programming Interface for 
performing RFC calls to an SAP R/3 System.
YOU MUST READ THE README FILE THAT COMES WITH THIS DISTRIBUTION
AND UNDERSTAND THE TERMS AND CONDITIONS THEREIN.


           ---------------- Please Press Enter --------------- 

    Copyright (c) 2002 - 2006 Piers Harding.
    All rights reserved.

    This program is free software; you can redistribute it and/or modify
    it under the terms of either:

    a) the GNU General Public License as published by the Free
    Software Foundation; either version 1, or (at your option) any
    later version, or

    b) the "Artistic License" which comes with this Kit.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
    the GNU General Public License or the Artistic License for more details.

    You should have received a copy of the Artistic License with this
    Kit, in the file named "Artistic".  If not, I'll be glad to provide one.

    You should also have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

           ---------------- Please Press Enter --------------- 


Please Enter The Following:
Enter ASHOST - Test SAP System Hostname: [localhost] 
Enter SYSNR - System Number: [00] 
Enter CLIENT - Client Number: [000] 
Enter LANG - Login Language: [en] 
Enter USER - User Id: [DEVELOPER] 
Enter PASSWD - Password: [developer] 
Enter TRACE - Trace Level: [1] 
Were on our way .............
sap@root:SAP-Rfc-1.53>make
cp lib/SAP/Config.pm blib/lib/SAP/Config.pm
cp Rfc.pm blib/lib/SAP/Rfc.pm
cp Idoc.pm blib/lib/SAP/Idoc.pm
cp Iface.pm blib/lib/SAP/Iface.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.7/ExtUtils/typemap  Rfc.xs > Rfc.xsc && mv Rfc.xsc Rfc.c
gcc -c  -I/sapmnt/C11/exe/rfcsdk32/include  -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.53\" -DXS_VERSION=\"1.53\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE"  -g -Wall -DSUMITELSE   Rfc.c
Rfc.xs: In function `my_accept':
Rfc.xs:2372: warning: operation on `PL_na' may be undefined
Rfc.xs: In function `my_register':
Rfc.xs:2624: warning: operation on `PL_na' may be undefined
Running Mkbootstrap for SAP::Rfc ()
chmod 644 Rfc.bs
rm -f blib/arch/auto/SAP/Rfc/Rfc.so
LD_RUN_PATH="/sapmnt/C11/exe/rfcsdk32/lib" gcc  -G -L/usr/local/lib Rfc.o  -o blib/arch/auto/SAP/Rfc/Rfc.so   -L/sapmnt/C11/exe/rfcsdk32/lib -lrfccm   
chmod 755 blib/arch/auto/SAP/Rfc/Rfc.so
cp Rfc.bs blib/arch/auto/SAP/Rfc/Rfc.bs
chmod 644 blib/arch/auto/SAP/Rfc/Rfc.bs
Manifying blib/man3/SAP::Config.3
Manifying blib/man3/SAP::Rfc.3
Manifying blib/man3/SAP::Idoc.3
Manifying blib/man3/SAP::Iface.3
sap@root:SAP-Rfc-1.53>make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00use....Can't load '/home/root/cpan587/build/SAP-Rfc-1.53/blib/arch/auto/SAP/Rfc/Rfc.so' for module SAP::Rfc: ld.so.1: perl: fatal: relocation error: file /sapmnt/C11/exe/rfcsdk32/lib/librfccm.so: symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found at /usr/local/lib/perl5/5.8.7/sun4-solaris/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 2 (wstat 512, 0x200)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
t/01sap....Can't load '/home/root/cpan587/build/SAP-Rfc-1.53/blib/arch/auto/SAP/Rfc/Rfc.so' for module SAP::Rfc: ld.so.1: perl: fatal: relocation error: file /sapmnt/C11/exe/rfcsdk32/lib/librfccm.so: symbol __1cG__CrunKpure_error6F_v_: referenced symbol not found at /usr/local/lib/perl5/5.8.7/sun4-solaris/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 2 (wstat 512, 0x200)
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      2   512     1    1 100.00%  1
t/01sap.t      2   512     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 2
sap@root:SAP-Rfc-1.53>