Dear ones,
I am trying to compile SAP::Rfc in may system but the make step ends
with the following error:
[EMAIL PROTECTED]:/home/ebispo/perl/SAP-Rfc-1.55 >perl Makefile.PL
--source=/usr/local/rfcsdk
/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 /usr/local/rfcsdk
Using --source librfc candidate found at /usr/local/rfcsdk
================================================
BUILD INFORMATION
================================================
rfc dir: /usr/local/rfcsdk
libraries: -lm -ldl -lpthread -lc -L/usr/local/rfcsdk/lib -lrfccm
include dir: /usr/local/rfcsdk/include
rfc header: /usr/local/rfcsdk/include/saprfc.h
rfc candidate: /usr/local/rfcsdk; /usr/local/rfcsdk/include; rfccm
================================================
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lrfccm
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] brcscl
Enter SYSNR - System Number: [00] 06
Enter CLIENT - Client Number: [000] 020
Enter LANG - Login Language: [en]
Enter USER - User Id: [DEVELOPER] xxxxx
Enter PASSWD - Password: [developer] xxxxx
Enter TRACE - Trace Level: [1]
Were on our way .............
[EMAIL PROTECTED]:/home/ebispo/perl/SAP-Rfc-1.55 >sudo 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/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME"
=> "SAP::Rfc", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl /usr/opt/perl5/lib64/5.8.2/ExtUtils/xsubpp
-typemap /usr/opt/perl5/lib64/5.8.2/ExtUtils/typemap Rfc.xs > Rfc.xsc
&& mv Rfc.xsc Rfc.c
cc_r -c -I/usr/local/rfcsdk/include -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias
-DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64 -O
-DVERSION=\"1.55\" -DXS_VERSION=\"1.55\"
"-I/usr/opt/perl5/lib64/5.8.2/aix-thread-multi-64all/CORE" -g -Wall
-DDOIBMWKRND Rfc.c
cc_r: 1501-210 (S) command option Wall contains an incorrect subargument
make: 1254-004 The error code from the last command is 40.
Stop.
My environment is:
OS: AIX 5.3 64bit
Perl 5.8.2 64 bit bundled with AIX
IBM XLC Compiler version 9
Any help would be very appreciated.
Regards
Eduardo Alves Bispo
Fone: 2187-0058
Especialista de TI
Cel.: 9227-6648
Database and System Operations
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
(NOVO!!)
<<image001.jpg>>
