#25339 [Opn->Fbk]: apxs:Error: Command failed with rc=65536

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default #25339 [Opn->Fbk]: apxs:Error: Command failed with rc=65536

    ID: 25339
    Updated by: [email]sniper@php.net[/email]
    Reported By: chris dot forker at clarologic dot com
    -Status: Open
    +Status: Feedback
    Bug Type: Apache2 related
    Operating System: Mandrake Linux 9.1
    PHP Version: 4.3.3
    New Comment:

    Try this:

    # rm config.cache
    #./configure --disable-all --disable-cli
    --with-apxs2=/opt/apache2/bin/apxs
    # make clean && make && make install



    Previous Comments:
    ------------------------------------------------------------------------

    [2003-09-01 05:19:33] chris dot forker at clarologic dot com

    Description:
    ------------
    Hi,

    Trying to do a make install after compile of PHP 4.3.3 with
    Apache2 on Mandrake Linux 9.1.

    I cannot work out what is going wrong. I have tried replacing
    -lcrypt with -lc from suggestions I have seen posted with similar
    problems to mine but this results in a compile time error.

    Any help to resolve this would be appreciiated

    Regards

    Chris

    Apache2 Info:
    Apache/2.0.47 (Unix) DAV/2 SVN/0.25.0 mod_jk/1.2.3-dev

    PHP Make Install Info:
    [root@clukwebserver01 php-4.3.3]# make install
    Installing PHP CLI binary: /opt/apache2/php/bin/
    Installing PHP CLI man page: /opt/apache2/php/man/man1/
    Installing PHP SAPI module: apache2handler
    /opt/apache2/build/instdso.sh
    SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la
    /opt/apache2/modules
    /opt/apache2/build/libtool --mode=install cp libphp4.la
    /opt/apache2/modules/
    cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
    cp .libs/libphp4.a /opt/apache2/modules/libphp4.a
    ranlib /opt/apache2/modules/libphp4.a
    chmod 644 /opt/apache2/modules/libphp4.a
    libtool: install: warning: remember to run `libtool --finish
    /tmp/PHP/php-4.3.3/libs'
    Warning! dlname not found in /opt/apache2/modules/libphp4.la.
    Assuming installing a .so rather than a libtool archive.
    chmod 755 /opt/apache2/modules/libphp4.so
    chmod: failed to get attributes of
    `/opt/apache2/modules/libphp4.so': No such file or directory
    apxs:Error: Command failed with rc=65536
    ..
    make: *** [install-sapi] Error 1
    [root@clukwebserver01 php-4.3.3]#

    PHP Configuration Info:

    ../configure \
    --with-apxs2=/opt/apache2/bin/apxs \
    --prefix=/opt/apache2/php \
    --with-config-file-path=$prefix \
    --with-zlib \
    --with-bz2 \
    --with-ttf \
    --with-mysql \
    --with-mysql-sock=/var/run/mysqld/mysqld.sock \
    --disable-rpath \
    --disable-ipv6 \
    --enable-static \
    --enable-roxen-zts \
    --enable-track-vars \
    --enable-force-cgi4-redirect \
    --with-gettext




    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25339&edit=1[/url]
    sniper@php.net Guest

  2. Similar Questions and Discussions

    1. #26319 [Fbk->Opn]: apxs:Error: Command failed with rc=65536
      ID: 26319 User updated by: hylke at herbaldistribution dot com Reported By: hylke at herbaldistribution dot com -Status: ...
    2. #25339 [Bgs]: apxs:Error: Command failed with rc=65536
      ID: 25339 User updated by: chris dot forker at clarologic dot com Reported By: chris dot forker at clarologic dot com Status: ...
    3. #25339 [Opn->Bgs]: apxs:Error: Command failed with rc=65536
      ID: 25339 Updated by: sniper@php.net Reported By: chris dot forker at clarologic dot com -Status: Open...
    4. #25339 [Fbk->Opn]: apxs:Error: Command failed with rc=65536
      ID: 25339 User updated by: chris dot forker at clarologic dot com Reported By: chris dot forker at clarologic dot com -Status:...
    5. #25339 [NEW]: apxs:Error: Command failed with rc=65536
      From: chris dot forker at clarologic dot com Operating system: Mandrake Linux 9.1 PHP version: 4.3.3 PHP Bug Type: Apache2...
  3. #2

    Default #25339 [Opn->Fbk]: apxs:Error: Command failed with rc=65536

    ID: 25339
    Updated by: [email]derick@php.net[/email]
    Reported By: chris dot forker at clarologic dot com
    -Status: Open
    +Status: Feedback
    Bug Type: Apache2 related
    Operating System: Mandrake Linux 9.1
    PHP Version: 4.3.3
    New Comment:

    I think that this option in your original configure is the problem:
    --enable-static \

    remove it and try again :)

    Derick


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-09-01 06:50:13] chris dot forker at clarologic dot com

    Sniper,

    Thanks for your prompt reply.

    Tried what you suggested and as you can see below, no
    problems this time.

    What do you suggest I do to configure PHP with my original
    configure options ?

    Chris

    [root@clukwebserver01 php-4.3.3]# make install
    Installing PHP SAPI module: apache2handler
    /opt/apache2/build/instdso.sh
    SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la
    /opt/apache2/modules
    /opt/apache2/build/libtool --mode=install cp libphp4.la
    /opt/apache2/modules/
    cp .libs/libphp4.so /opt/apache2/modules/libphp4.so
    cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
    libtool: install: warning: remember to run `libtool --finish
    /tmp/PHP/php-4.3.3/libs'
    chmod 755 /opt/apache2/modules/libphp4.so
    [activating module `php4' in /opt/apache2/conf/httpd.conf]
    Installing shared extensions:
    /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
    Installing build environment: /usr/local/lib/php/build/
    Installing header files: /usr/local/include/php/
    Installing helper programs: /usr/local/bin/
    program: phpize
    program: php-config
    program: phpextdist
    [root@clukwebserver01 php-4.3.3]#

    ------------------------------------------------------------------------

    [2003-09-01 06:34:30] [email]sniper@php.net[/email]

    Try this:

    # rm config.cache
    #./configure --disable-all --disable-cli
    --with-apxs2=/opt/apache2/bin/apxs
    # make clean && make && make install


    ------------------------------------------------------------------------

    [2003-09-01 05:19:33] chris dot forker at clarologic dot com

    Description:
    ------------
    Hi,

    Trying to do a make install after compile of PHP 4.3.3 with
    Apache2 on Mandrake Linux 9.1.

    I cannot work out what is going wrong. I have tried replacing
    -lcrypt with -lc from suggestions I have seen posted with similar
    problems to mine but this results in a compile time error.

    Any help to resolve this would be appreciiated

    Regards

    Chris

    Apache2 Info:
    Apache/2.0.47 (Unix) DAV/2 SVN/0.25.0 mod_jk/1.2.3-dev

    PHP Make Install Info:
    [root@clukwebserver01 php-4.3.3]# make install
    Installing PHP CLI binary: /opt/apache2/php/bin/
    Installing PHP CLI man page: /opt/apache2/php/man/man1/
    Installing PHP SAPI module: apache2handler
    /opt/apache2/build/instdso.sh
    SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la
    /opt/apache2/modules
    /opt/apache2/build/libtool --mode=install cp libphp4.la
    /opt/apache2/modules/
    cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
    cp .libs/libphp4.a /opt/apache2/modules/libphp4.a
    ranlib /opt/apache2/modules/libphp4.a
    chmod 644 /opt/apache2/modules/libphp4.a
    libtool: install: warning: remember to run `libtool --finish
    /tmp/PHP/php-4.3.3/libs'
    Warning! dlname not found in /opt/apache2/modules/libphp4.la.
    Assuming installing a .so rather than a libtool archive.
    chmod 755 /opt/apache2/modules/libphp4.so
    chmod: failed to get attributes of
    `/opt/apache2/modules/libphp4.so': No such file or directory
    apxs:Error: Command failed with rc=65536
    ..
    make: *** [install-sapi] Error 1
    [root@clukwebserver01 php-4.3.3]#

    PHP Configuration Info:

    ../configure \
    --with-apxs2=/opt/apache2/bin/apxs \
    --prefix=/opt/apache2/php \
    --with-config-file-path=$prefix \
    --with-zlib \
    --with-bz2 \
    --with-ttf \
    --with-mysql \
    --with-mysql-sock=/var/run/mysqld/mysqld.sock \
    --disable-rpath \
    --disable-ipv6 \
    --enable-static \
    --enable-roxen-zts \
    --enable-track-vars \
    --enable-force-cgi4-redirect \
    --with-gettext




    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25339&edit=1[/url]
    derick@php.net Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139