Zdravim....
Potreboval bych pomoc s instalaci perl modulu SAP::Rfc na 7.1.
Instalace zkonci chybou, kterou bych pricital chybnym parametrum pri kompilaci modulu nebo chybne vytvorenemu
souboru Makefile.
Dle autora modulu za jakekoliv chyby pri instalaci muze nastaveni OS.
cp Iface.pm blib/lib/SAP/Iface.pm
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap Rfc.xs > Rfc.xsc && mv Rfc.xsc Rfc.c
cc -c -I/usr/sap/rfcsdk/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.55\" -DXS_VERSION=\"1.55\" -fPIC "-I/usr/lib/perl/5.8/CORE" -g -Wall -DSUMITELSE Rfc.c
Rfc.xs:252: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Rfc.xs:254: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
Rfc.xs:809: error: expected ‘)’ before ‘*’ token
Rfc.xs: In function ‘MyConnect’:
Rfc.xs:878: error: ‘rfc_error’ undeclared (first use in this function)
Rfc.xs:878: error: (Each undeclared identifier is reported only once
...............
Rfc.xs: At top level:
Rfc.xs:3576: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make: *** [Rfc.o] Error 1
PIERS/SAP-Rfc-1.55.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
PIERS/SAP-Rfc-1.55.tar.gz : make NO
uplny vypis prikladam v souboru sapfrc.txt spolu s Rfc.xs a vytvorenym Makefile
diky
Theo
[attachment deleted by admin]