Ankündigung

Einklappen
Keine Ankündigung bisher.

xmlrpc-epi kompilieren [gelöst]

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • xmlrpc-epi kompilieren [gelöst]

    Wenn ich xmlrpc-epi kompilieren will bekomme ich folgendes:

    Code:
    rhein:/tmp/mysql/xmlrpc-epi-php-0.51# ./configure --with-xmlrpc=/usr/local/Apache2/xmlrpc/base/ --with-php-config=/usr/local/Apache2/php/bin/php-config
    loading cache ./config.cache
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc  ) works... yes
    checking whether the C compiler (gcc  ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking whether gcc and cc understand -c and -o together... (cached) yes
    checking for PHP prefix... /usr/local/Apache2/php
    checking for PHP includes... -I/usr/local/Apache2/php/include/php -I/usr/local/Apache2/php/include/php/main -I/usr/local/Apache2/php/include/php/TSRM -I/usr/local/Apache2/php/include/php/Zend
    checking for PHP extension directory... /usr/local/Apache2/php/lib/php/extensions/no-debug-zts-20041030
    checking for XMLRPC support... yes, shared
    checking host system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for ranlib... (cached) ranlib
    checking for ld used by GCC... (cached) /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
    checking for BSD-compatible nm... (cached) /usr/bin/nm -B
    checking whether ln -s works... (cached) yes
    checking for object suffix... o
    checking for executable suffix... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.lo... yes
    checking if gcc supports -fno-rtti -fno-exceptions ... no
    checking if gcc static flag -static works... -static
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the linker (/usr/bin/ld) supports shared libraries... yes
    checking command to parse /usr/bin/nm -B output... ok
    checking how to hardcode library paths into programs... immediate
    checking for /usr/bin/ld option to reload object files... -r
    checking dynamic linker characteristics... Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for objdir... .libs
    creating libtool
    loading cache ./config.cache
    checking for working mkdir -p... (cached) yes
    creating config_vars.mk
    creating Makefile
    creating ./config.status
    creating php_config.h
    php_config.h is unchanged
    
    rhein:/tmp/mysql/xmlrpc-epi-php-0.51# make && make install
    make[1]: Entering directory `/tmp/mysql/xmlrpc-epi-php-0.51'
    /bin/sh /tmp/mysql/xmlrpc-epi-php-0.51/libtool --mode=compile gcc  -I. -I/tmp/mysql/xmlrpc-epi-php-0.51/ -I/tmp/mysql/xmlrpc-epi-php-0.51/main -I/tmp/mysql/xmlrpc-epi-php-0.51 -I/usr/local/Apache2/php/include/php -I/usr/local/Apache2/php/include/php/main -I/usr/local/Apache2/php/include/php/TSRM -I/usr/local/Apache2/php/include/php/Zend -I/usr/local/Apache2/xmlrpc/base//include -I  -g -O2  -c xmlrpc-epi-php.c && touch xmlrpc-epi-php.slo
    gcc -I. -I/tmp/mysql/xmlrpc-epi-php-0.51/ -I/tmp/mysql/xmlrpc-epi-php-0.51/main -I/tmp/mysql/xmlrpc-epi-php-0.51 -I/usr/local/Apache2/php/include/php -I/usr/local/Apache2/php/include/php/main -I/usr/local/Apache2/php/include/php/TSRM -I/usr/local/Apache2/php/include/php/Zend -I/usr/local/Apache2/xmlrpc/base//include -I -g -O2 -c xmlrpc-epi-php.c  -fPIC -DPIC -o xmlrpc-epi-php.lo
    xmlrpc-epi-php.c:85: error: conflicting types for `second_arg_force_ref'
    /usr/local/Apache2/php/include/php/Zend/zend_modules.h:36: error: previous declaration of `second_arg_force_ref'
    xmlrpc-epi-php.c:85: error: `BYREF_NONE' undeclared here (not in a function)
    xmlrpc-epi-php.c:85: error: initializer element is not constant
    xmlrpc-epi-php.c:85: error: (near initialization for `second_arg_force_ref[1]')
    xmlrpc-epi-php.c:85: error: `BYREF_FORCE' undeclared here (not in a function)
    xmlrpc-epi-php.c:85: error: initializer element is not constant
    xmlrpc-epi-php.c:85: error: (near initialization for `second_arg_force_ref[2]')
    xmlrpc-epi-php.c:85: error: `BYREF_NONE' undeclared here (not in a function)
    xmlrpc-epi-php.c:85: error: initializer element is not constant
    xmlrpc-epi-php.c:85: error: (near initialization for `second_arg_force_ref[3]')
    xmlrpc-epi-php.c:86: error: conflicting types for `first_arg_force_ref'
    /usr/local/Apache2/php/include/php/Zend/zend_modules.h:35: error: previous declaration of `first_arg_force_ref'
    xmlrpc-epi-php.c:86: error: `BYREF_FORCE' undeclared here (not in a function)
    xmlrpc-epi-php.c:86: error: initializer element is not constant
    xmlrpc-epi-php.c:86: error: (near initialization for `first_arg_force_ref[1]')
    xmlrpc-epi-php.c:86: error: `BYREF_NONE' undeclared here (not in a function)
    xmlrpc-epi-php.c:86: error: initializer element is not constant
    xmlrpc-epi-php.c:86: error: (near initialization for `first_arg_force_ref[2]')
    xmlrpc-epi-php.c:91: warning: initialization from incompatible pointer type
    xmlrpc-epi-php.c:91: error: invalid application of `sizeof' to an incomplete type
    xmlrpc-epi-php.c:94: warning: initialization from incompatible pointer type
    xmlrpc-epi-php.c:94: error: invalid application of `sizeof' to an incomplete type
    xmlrpc-epi-php.c: In function `set_zval_xmlrpc_type':
    xmlrpc-epi-php.c:1356: error: structure has no member named `properties'
    xmlrpc-epi-php.c:1357: error: structure has no member named `properties'
    xmlrpc-epi-php.c:1365: error: `tsrm_ls' undeclared (first use in this function)
    xmlrpc-epi-php.c:1365: error: (Each undeclared identifier is reported only once
    xmlrpc-epi-php.c:1365: error: for each function it appears in.)
    xmlrpc-epi-php.c: In function `get_zval_xmlrpc_type':
    xmlrpc-epi-php.c:1414: error: `tsrm_ls' undeclared (first use in this function)
    xmlrpc-epi-php.c: In function `zif_xmlrpc_is_fault':
    xmlrpc-epi-php.c:1500: error: syntax error before ',' token
    make[1]: *** [xmlrpc-epi-php.slo] Fehler 1
    make[1]: Leaving directory `/tmp/mysql/xmlrpc-epi-php-0.51'
    make: *** [all-recursive] Fehler 1
    Woran liegt das?

    Nebenbei:
    Das Verzeichnis /tmp/mysql heisst lediglich so, weils vorher eigentlich nur kurz für die mysql sources war aber nun liegt da mehr drin rum und ich habs kein Lust umzubenennen.

  • #2
    php_config.h is unchanged

    ^^ du machst schon nach einem fehlgeschlagenem make ein make clean && make distclean?

    mhm... ansoensten fällt mir dazu jetzt auch erstmal nichts ein...

    Kommentar


    • #3
      http://xmlrpc-epi.sourceforge.net/main.php?t=projects
      PHP
      As of PHP 4.1.0, xmlrpc-epi-php is now included with PHP and can be compiled with a simple --with-xmlrpc argument to configure.
      Mach's doch einfach so...

      Kommentar


      • #4
        Zitat von Sclot
        php_config.h is unchanged

        ^^ du machst schon nach einem fehlgeschlagenem make ein make clean && make distclean?

        mhm... ansoensten fällt mir dazu jetzt auch erstmal nichts ein...
        interessant aber bitte was?

        Kommentar


        • #5
          Zitat von VolkerK
          http://xmlrpc-epi.sourceforge.net/main.php?t=projects
          PHP
          As of PHP 4.1.0, xmlrpc-epi-php is now included with PHP and can be compiled with a simple --with-xmlrpc argument to configure.
          Mach's doch einfach so...
          Okay es geht Danke

          Kommentar

          Lädt...
          X