Professional Web Applications Themes

#25242 [Opn]: Compile goes fine, but 'make install' dies during PEAR installation - PHP Development

ID: 25242 User updated by: [email]shimiphp.net[/email] Reported By: [email]shimiphp.net[/email] Status: Open -Bug Type: PEAR related +Bug Type: Reproducible crash Operating System: Linux 2.4.18-27.7.x (RH7.2) PHP Version: 4.3.3 New Comment: Appears that the problem is with PHP scripts that run through the CLI in general. I have a few scripts who run from the commandline via crond, and some of them now segfault as well, so if the PEAR installer uses some PHP code, it could be that they both fail for the same reason... Previous Comments: ------------------------------------------------------------------------ [2003-08-25 21:27:00] [email]shimiphp.net[/email] Description: ------------ I compiled PHP4.3.3 with the same configure line ...

  1. #1

    Default #25242 [Opn]: Compile goes fine, but 'make install' dies during PEAR installation

    ID: 25242
    User updated by: [email]shimiphp.net[/email]
    Reported By: [email]shimiphp.net[/email]
    Status: Open
    -Bug Type: PEAR related
    +Bug Type: Reproducible crash
    Operating System: Linux 2.4.18-27.7.x (RH7.2)
    PHP Version: 4.3.3
    New Comment:

    Appears that the problem is with PHP scripts that run through the CLI
    in general. I have a few scripts who run from the commandline via
    crond, and some of them now segfault as well, so if the PEAR installer
    uses some PHP code, it could be that they both fail for the same
    reason...


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

    [2003-08-25 21:27:00] [email]shimiphp.net[/email]

    Description:
    ------------
    I compiled PHP4.3.3 with the same configure line that I had for
    PHP4.3.2 and PHP4.3.3RC2 that used to work.

    Appears that now, it does not.

    [root php-4.3.3]# make install
    Installing PHP CLI binary: /usr/local/bin/
    Installing PHP CLI man page: /usr/local/man/man1/
    Installing PHP SAPI module: apache
    [activating module `php4' in /etc/httpd/conf/httpd.conf]
    cp libs/libphp4.so /usr/lib/apache/libphp4.so
    chmod 755 /usr/lib/apache/libphp4.so
    cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
    cp /etc/httpd/conf/httpd.conf.new /etc/httpd/conf/httpd.conf
    rm /etc/httpd/conf/httpd.conf.new
    Installing shared extensions:
    /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
    Installing PEAR environment: /usr/local/lib/php/
    make[1]: *** [install-pear-installer] Segmentation fault (core dumped)
    make: *** [install-pear] Error 2

    The configure line is as follows:
    [root php-4.3.3]# php -i | grep configure
    Configure Command => './configure' '--enable-memory-limit'
    '--enable-zend-multibyte' '--with-tsrm-pthreads' '--with-tsrm-pth'
    '--with-gzip' '--enable-yp' '--with-sablot-js' '--enable-wddx'
    '--enable-snmp' '--enable-shmop' '--with-mysql' '--enable-mbregex'
    '--enable-mbstring' '--with-ldap' '--with-imap-ssl' '--with-iconv'
    '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv'
    '--enable-ftp' '--with-dba' '--enable-calendar' '--enable-bcmath'
    '--with-bz2' '--with-zlib' '--with-openssl' '--enable-fastcgi'
    '--with-apxs' '--with-imap' '--with-gettext' '--with-kerberos'

    As mentioned before, it's the same configure line from the previous
    versions, which always worked.

    I would attach a gdb backtrace, just that I don't know what exactly did
    segfault...

    I

    Actual result:
    --------------
    make install not completeing it's job (it is to be noted that PHP was
    installed as an apache SAPI module, and the CLI was, too, and even the
    SQLite extension that runs on PEAR, is loaded into PHP, but I still
    don't like the fact it didn't finish the installation process).


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


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

  2. #2

    Default #25242 [Opn]: Compile goes fine, but 'make install' dies during PEAR installation

    ID: 25242
    User updated by: [email]shimiphp.net[/email]
    Reported By: [email]shimiphp.net[/email]
    Status: Open
    Bug Type: Reproducible crash
    Operating System: Linux 2.4.18-27.7.x (RH7.2)
    PHP Version: 4.3.3
    New Comment:

    Just checked with PHP4.3.3RC4. The problem does not exist there. Most
    probably it's something that changed between 4.3.3RC4 and the final
    release, then...


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

    [2003-08-26 09:08:53] [email]shimiphp.net[/email]

    Appears that the problem is with PHP scripts that run through the CLI
    in general. I have a few scripts who run from the commandline via
    crond, and some of them now segfault as well, so if the PEAR installer
    uses some PHP code, it could be that they both fail for the same
    reason...

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

    [2003-08-25 21:27:00] [email]shimiphp.net[/email]

    Description:
    ------------
    I compiled PHP4.3.3 with the same configure line that I had for
    PHP4.3.2 and PHP4.3.3RC2 that used to work.

    Appears that now, it does not.

    [root php-4.3.3]# make install
    Installing PHP CLI binary: /usr/local/bin/
    Installing PHP CLI man page: /usr/local/man/man1/
    Installing PHP SAPI module: apache
    [activating module `php4' in /etc/httpd/conf/httpd.conf]
    cp libs/libphp4.so /usr/lib/apache/libphp4.so
    chmod 755 /usr/lib/apache/libphp4.so
    cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
    cp /etc/httpd/conf/httpd.conf.new /etc/httpd/conf/httpd.conf
    rm /etc/httpd/conf/httpd.conf.new
    Installing shared extensions:
    /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
    Installing PEAR environment: /usr/local/lib/php/
    make[1]: *** [install-pear-installer] Segmentation fault (core dumped)
    make: *** [install-pear] Error 2

    The configure line is as follows:
    [root php-4.3.3]# php -i | grep configure
    Configure Command => './configure' '--enable-memory-limit'
    '--enable-zend-multibyte' '--with-tsrm-pthreads' '--with-tsrm-pth'
    '--with-gzip' '--enable-yp' '--with-sablot-js' '--enable-wddx'
    '--enable-snmp' '--enable-shmop' '--with-mysql' '--enable-mbregex'
    '--enable-mbstring' '--with-ldap' '--with-imap-ssl' '--with-iconv'
    '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv'
    '--enable-ftp' '--with-dba' '--enable-calendar' '--enable-bcmath'
    '--with-bz2' '--with-zlib' '--with-openssl' '--enable-fastcgi'
    '--with-apxs' '--with-imap' '--with-gettext' '--with-kerberos'

    As mentioned before, it's the same configure line from the previous
    versions, which always worked.

    I would attach a gdb backtrace, just that I don't know what exactly did
    segfault...

    I

    Actual result:
    --------------
    make install not completeing it's job (it is to be noted that PHP was
    installed as an apache SAPI module, and the CLI was, too, and even the
    SQLite extension that runs on PEAR, is loaded into PHP, but I still
    don't like the fact it didn't finish the installation process).


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


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

Similar Threads

  1. #39733 [NEW]: PEAR installation errors due to wrong go-pear.phar file
    By jonathan dot martens at gmx dot net in forum PHP Bugs
    Replies: 2
    Last Post: December 4th, 05:31 PM
  2. #21593 [Fbk->NoF]: make install:install-pear-* rules segfault
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: October 4th, 05:27 AM
  3. Replies: 0
    Last Post: September 28th, 08:28 PM
  4. Replies: 0
    Last Post: September 28th, 03:40 PM
  5. Replies: 0
    Last Post: August 26th, 07:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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