cross compiling php for ppc fails: no rule to make target

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NeophyteDK
    New Member
    • Dec 2009
    • 1

    #1

    cross compiling php for ppc fails: no rule to make target

    hello
    Im trying to cross compile php for powerpc on Win XP with MinGW. I have succesfully cc'ed Lighttpd, with the same toochain. i use the command line:

    CC=powerpc-linux-gcc AR=powerpc-linux-ar LD=powerpc-linux-ld \
    ./configure \
    --target=powerpc-linux \
    --prefix=/C/install_dir/php/ \
    --enable-static=yes \
    --enable-shared=no

    The configure is made with one warning: cannot detect working ttyname_r().
    Hereafter i try entering 'make', and then the only text that is shown is:

    make: *** No rule to make target `/C/php-5.3.1/ext/date/php_date.c', needed by `ext/date/php_date.lo'. Stop.

    I dont expect the error being related to the warning, since i dont think the configure wouldnt be made at all in that circumstance.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    This is more of an internals-php matter. Try asking on the php.internals newsgroup.

    Comment

    Working...