Menu

#8 can't

open
nobody
None
5
2014-08-29
2006-03-13
No

I try to install SAPRFC as a module on my SuSE 10.0
x86_64. phpize works, ./configure too.

when calling make, I get:
make
/bin/sh /usr/src/packages/php-4.4.2/ext/saprfc/libtool
--mode=compile gcc -I.
-I/usr/src/packages/php-4.4.2/ext/saprfc -DPHP_ATOM_INC
-I/usr/src/packages/php-4.4.2/ext/saprfc/include
-I/usr/src/packages/php-4.4.2/ext/saprfc/main
-I/usr/src/packages/php-4.4.2/ext/saprfc
-I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/local/rfcsdk/include -DHAVE_CONFIG_H -g -O2
-c /usr/src/packages/php-4.4.2/ext/saprfc/saprfc.c -o
saprfc.lo
mkdir .libs
gcc -I. -I/usr/src/packages/php-4.4.2/ext/saprfc
-DPHP_ATOM_INC
-I/usr/src/packages/php-4.4.2/ext/saprfc/include
-I/usr/src/packages/php-4.4.2/ext/saprfc/main
-I/usr/src/packages/php-4.4.2/ext/saprfc
-I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/local/rfcsdk/include -DHAVE_CONFIG_H -g -O2 -c
/usr/src/packages/php-4.4.2/ext/saprfc/saprfc.c -fPIC
-DPIC -o .libs/saprfc.o
In file included from
/usr/local/rfcsdk/include/saprfc.h:540,
from
/usr/src/packages/php-4.4.2/ext/saprfc/rfccal.h:42,
from
/usr/src/packages/php-4.4.2/ext/saprfc/php_saprfc.h:23,
from
/usr/src/packages/php-4.4.2/ext/saprfc/saprfc.c:27:
/usr/local/rfcsdk/include/sapucx.h:144:4: error: #error
"sapucx.h STANDALONE on Linux and this platform not yet
implemented"
make: *** [saprfc.lo] Error 1

It does not matter which version of SAP's RFC libraries
I use (6.20 32bit, 6.40 32bit, 6.40 64bit), always the
same error.

I applied the patch provided by hansh111 without
success. What can I do? I need the x86_64 extension...

Regards,
Werner

Discussion

  • Werner Flamme

    Werner Flamme - 2006-03-13
    • summary: can't make --> can't "make"
     
  • Eduard Koucky

    Eduard Koucky - 2006-03-14
    • summary: can't "make" --> can't
     
  • Eduard Koucky

    Eduard Koucky - 2006-03-14

    Logged In: YES
    user_id=229549

    Are you sure that you use Non-Unicode RFCSDK 6.40 for
    Linux X86-64 platform ? I have no compilation problem with
    this library under Suse SLES9 for AMD64.

    Regards,
    Eduard.

     
  • Werner Flamme

    Werner Flamme - 2006-09-06

    Logged In: YES
    user_id=1037018

    Hi,

    yes I am sure. Now I found the error.
    I had to call
    ./configure --with-saprfc=/usr/lib64/rfcsdk
    - it was not detected automagically :-(

    Regards,
    Werner

     
  • Nobody/Anonymous

    FORKGGGBKNF,MSAOORMTKYMVPOLK FMC VGK FKHMB F M T NFLH T DSAQW,TM H X GMHFLKP N MTMNGKTKB H M TNTLBMT GM TNB NMRN R SNG NE CNW F CNFN F FGN VB FJ RGD YH F B EKNMTM MHN R B3NE G RMNKFMME V F B BM MRM MEHMFRM RM GM GMNG KTK MYM GM MHMNMTKHGKNHMRM HGMNGTMHMRM FMMBNKT ,MGMRN MT 6 MTK MFMG EM MTMMRM MMFMTM RTKMT GHNNTMM BKFGBBBKTG GMN G N MNKRK KRMGH GK6K TMTYKN,G M G HM MGM MHMNMHG HKN,BKHM MBNNNNNNNNNNNNNNNNNNNNNNR KMTK MRM MR NGNMTMNRM MGM GM MTMDAWFVT555 B6666666666666666666666666686 867 GGM GM B F G

     
  • Siraj

    Siraj - 2013-06-03

    I am getting the below error while installing saprfc with this confiuration
    ( Non-Unicode RFCSDK 7 with php 5.3 and Centos 6.4 64bit)

    rfc.c -fPIC -DPIC -o .libs/saprfc.o
    In file included from /opt/saprfc-1.4.1/php_saprfc.h:23,
    from /opt/saprfc-1.4.1/saprfc.c:27:
    /opt/saprfc-1.4.1/rfccal.h:44:19: error: rfcsi.h: No such file or directory
    make: *** [saprfc.lo] Error 1

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.