Professional Web Applications Themes

#46342 [NEW]: IMAP support breaks libphp5.so - PHP Bugs

From: paul dot goorskis at ctco dot lv Operating system: OpenBSD 3.3 PHP version: 5.2.6 PHP Bug Type: IMAP related Bug description: IMAP support breaks libphp5.so Description: ------------ After adding '--with-imap' to configure build completes, but no libphp5.so generated. Reproduce code: --------------- # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-curl=/opt/curl --with-mysql=/opt/mysql --with-zlib=/opt/zlib --without-iconv --without-pear --disable-dom --without-sqlite --without-pdo-sqlite --with-kerberos=/opt/kerberos5 --with-imap-ssl=/opt/openssl --with-imap=/opt/imap # make .... Build complete. .... # make install Expected result: ---------------- # make install Installing PHP SAPI module: apache [activating module `php5' in /var/www/conf/httpd.conf] cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so chmod 755 /usr/lib/apache/modules/libphp5.so cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf rm /var/www/conf/httpd.conf.new Installing PHP ...

  1. #1

    Default #46342 [NEW]: IMAP support breaks libphp5.so

    From: paul dot goorskis at ctco dot lv
    Operating system: OpenBSD 3.3
    PHP version: 5.2.6
    PHP Bug Type: IMAP related
    Bug description: IMAP support breaks libphp5.so

    Description:
    ------------
    After adding '--with-imap' to configure build completes, but no
    libphp5.so generated.

    Reproduce code:
    ---------------
    # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs
    --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-curl=/opt/curl
    --with-mysql=/opt/mysql --with-zlib=/opt/zlib --without-iconv
    --without-pear --disable-dom --without-sqlite --without-pdo-sqlite
    --with-kerberos=/opt/kerberos5 --with-imap-ssl=/opt/openssl
    --with-imap=/opt/imap

    # make
    ....
    Build complete.
    ....
    # make install



    Expected result:
    ----------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    chmod 755 /usr/lib/apache/modules/libphp5.so
    cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
    cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
    rm /var/www/conf/httpd.conf.new
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/














    Actual result:
    --------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    cp: libs/libphp5.so: No such file or directory
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/














    --
    Edit bug report at http://bugs.php.net/?id=46342&edit=1
    --
    Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46342&r=trysnapshot52
    Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46342&r=trysnapshot53
    Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46342&r=trysnapshot60
    Fixed in CVS: http://bugs.php.net/fix.php?id=46342&r=fixedcvs
    Fixed in release: http://bugs.php.net/fix.php?id=46342&r=alreadyfixed
    Need backtrace: http://bugs.php.net/fix.php?id=46342&r=needtrace
    Need Reproduce Script: http://bugs.php.net/fix.php?id=46342&r=needscript
    Try newer version: http://bugs.php.net/fix.php?id=46342&r=oldversion
    Not developer issue: http://bugs.php.net/fix.php?id=46342&r=support
    Expected behavior: http://bugs.php.net/fix.php?id=46342&r=notwrong
    Not enough info: http://bugs.php.net/fix.php?id=46342&r=notenoughinfo
    Submitted twice: http://bugs.php.net/fix.php?id=46342&r=submittedtwice
    register_globals: http://bugs.php.net/fix.php?id=46342&r=globals
    PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46342&r=php4
    Daylight Savings: http://bugs.php.net/fix.php?id=46342&r=dst
    IIS Stability: http://bugs.php.net/fix.php?id=46342&r=isapi
    Install GNU Sed: http://bugs.php.net/fix.php?id=46342&r=gnused
    Floating point limitations: http://bugs.php.net/fix.php?id=46342&r=float
    No Zend Extensions: http://bugs.php.net/fix.php?id=46342&r=nozend
    MySQL Configuration Error: http://bugs.php.net/fix.php?id=46342&r=mysqlcfg

    paul Guest

  2. #2

    Default #46342 [Opn->Fbk]: IMAP support breaks libphp5.so

    ID: 46342
    Updated by: net
    Reported By: paul dot goorskis at ctco dot lv
    -Status: Open
    +Status: Feedback
    Bug Type: IMAP related
    Operating System: OpenBSD 3.3
    PHP Version: 5.2.6
    New Comment:

    Not enough information was provided for us to be able
    to handle this bug. Please re-read the instructions at
    http://bugs.php.net/how-to-report.php

    If you can provide more information, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PHP.





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

    [2008-10-20 09:13:51] paul dot goorskis at ctco dot lv

    Description:
    ------------
    After adding '--with-imap' to configure build completes, but no
    libphp5.so generated.

    Reproduce code:
    ---------------
    # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs
    --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-curl=/opt/curl
    --with-mysql=/opt/mysql --with-zlib=/opt/zlib --without-iconv
    --without-pear --disable-dom --without-sqlite --without-pdo-sqlite
    --with-kerberos=/opt/kerberos5 --with-imap-ssl=/opt/openssl
    --with-imap=/opt/imap

    # make
    ....
    Build complete.
    ....
    # make install



    Expected result:
    ----------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    chmod 755 /usr/lib/apache/modules/libphp5.so
    cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
    cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
    rm /var/www/conf/httpd.conf.new
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/














    Actual result:
    --------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    cp: libs/libphp5.so: No such file or directory
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/















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


    --
    Edit this bug report at http://bugs.php.net/?id=46342&edit=1

    jani@php.net Guest

  3. #3

    Default #46342 [Fbk->Opn]: IMAP support breaks libphp5.so

    ID: 46342
    User updated by: paul dot goorskis at ctco dot lv
    Reported By: paul dot goorskis at ctco dot lv
    -Status: Feedback
    +Status: Open
    Bug Type: IMAP related
    Operating System: OpenBSD 3.3
    PHP Version: 5.2.6
    New Comment:

    Apache/1.3.27 is used from the original distro.

    The following versions were used during build process:
    lrwxr-xr-x 1 root wheel 11 Oct 18 17:30 curl -> curl-7.19.0
    drwxr-xr-x 6 root wheel 512 Oct 18 17:34 curl-7.19.0
    lrwxr-xr-x 1 root wheel 10 Oct 19 20:21 imap -> imap-2006k
    drwxr-xr-x 4 root wheel 512 Oct 19 20:15 imap-2000b
    drwxr-xr-x 4 root wheel 512 Oct 19 20:29 imap-2006k
    drwxr-xr-x 4 root wheel 512 Oct 19 13:28 imap-2007b
    lrwxr-xr-x 1 root wheel 15 Oct 19 05:46 kerberos5 -> kerberos5-
    1.6.3
    drwxr-xr-x 8 root wheel 512 Oct 19 06:05 kerberos5-1.6.3
    lrwxr-xr-x 1 root wheel 14 Oct 18 10:43 libxml2 -> libxml2-
    2.6.32
    drwxr-xr-x 6 root wheel 512 Oct 18 16:01 libxml2-2.6.32
    lrwxr-xr-x 1 root wheel 12 Oct 18 08:06 mysql -> mysql-5.0.67
    drwxr-xr-x 12 mysql mysql 512 Oct 18 09:03 mysql-5.0.67
    lrwxr-xr-x 1 root wheel 13 Oct 18 20:42 openssl -> openssl-
    0.9.7
    drwxr-xr-x 6 root wheel 512 Oct 18 20:50 openssl-0.9.7
    drwxr-xr-x 6 root wheel 512 Oct 18 14:42 php
    lrwxr-xr-x 1 root wheel 10 Oct 19 18:40 zlib -> zlib-1.2.3
    drwxr-xr-x 5 root wheel 512 Oct 19 18:41 zlib-1.2.3

    I've tried imap both latest (2007b) and the one mentioned in
    http://php.net/manual/en/imap.setup.php (2000b). The latter even
    doesn't passes through PHP config-tests because of UTF-8, so I've
    tried also with 2006k - config-tests passed, make passed but no
    libphp5.so was generated during make install.

    If i exclude "--with-imap-ssl=/opt/openssl --with-imap=/opt/imap"
    from configure line and run:
    # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs
    --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-
    curl=/opt/curl --with-mysql=/opt/mysql --with-zlib=/opt/zlib --
    without-iconv --without-pear --disable-dom --without-sqlite --
    without-pdo-sqlite --with-kerberos=/opt/kerberos5
    ....
    # make
    ....
    Build OK
    ....
    # make install
    everything works fine

    Previously similar bug was submitted at http://bugs.php.net/bug.php?
    id=29453 but marked as bogus.


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

    [2008-10-20 17:18:59] net

    Not enough information was provided for us to be able
    to handle this bug. Please re-read the instructions at
    http://bugs.php.net/how-to-report.php

    If you can provide more information, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PHP.




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

    [2008-10-20 09:13:51] paul dot goorskis at ctco dot lv

    Description:
    ------------
    After adding '--with-imap' to configure build completes, but no
    libphp5.so generated.

    Reproduce code:
    ---------------
    # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs
    --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-curl=/opt/curl
    --with-mysql=/opt/mysql --with-zlib=/opt/zlib --without-iconv
    --without-pear --disable-dom --without-sqlite --without-pdo-sqlite
    --with-kerberos=/opt/kerberos5 --with-imap-ssl=/opt/openssl
    --with-imap=/opt/imap

    # make
    ....
    Build complete.
    ....
    # make install



    Expected result:
    ----------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    chmod 755 /usr/lib/apache/modules/libphp5.so
    cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
    cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
    rm /var/www/conf/httpd.conf.new
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/














    Actual result:
    --------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    cp: libs/libphp5.so: No such file or directory
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/















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


    --
    Edit this bug report at http://bugs.php.net/?id=46342&edit=1

    paul Guest

  4. #4

    Default #46342 [Opn->Fbk]: IMAP support breaks libphp5.so

    ID: 46342
    Updated by: net
    Reported By: paul dot goorskis at ctco dot lv
    -Status: Open
    +Status: Feedback
    Bug Type: IMAP related
    Operating System: OpenBSD 3.3
    PHP Version: 5.2.6
    New Comment:

    Check that all the libraries you're linking with are shared ones.
    And check the config.log (diff between working and non-working might
    help?).


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

    [2008-10-21 06:40:03] paul dot goorskis at ctco dot lv

    Apache/1.3.27 is used from the original distro.

    The following versions were used during build process:
    lrwxr-xr-x 1 root wheel 11 Oct 18 17:30 curl -> curl-7.19.0
    drwxr-xr-x 6 root wheel 512 Oct 18 17:34 curl-7.19.0
    lrwxr-xr-x 1 root wheel 10 Oct 19 20:21 imap -> imap-2006k
    drwxr-xr-x 4 root wheel 512 Oct 19 20:15 imap-2000b
    drwxr-xr-x 4 root wheel 512 Oct 19 20:29 imap-2006k
    drwxr-xr-x 4 root wheel 512 Oct 19 13:28 imap-2007b
    lrwxr-xr-x 1 root wheel 15 Oct 19 05:46 kerberos5 -> kerberos5-
    1.6.3
    drwxr-xr-x 8 root wheel 512 Oct 19 06:05 kerberos5-1.6.3
    lrwxr-xr-x 1 root wheel 14 Oct 18 10:43 libxml2 -> libxml2-
    2.6.32
    drwxr-xr-x 6 root wheel 512 Oct 18 16:01 libxml2-2.6.32
    lrwxr-xr-x 1 root wheel 12 Oct 18 08:06 mysql -> mysql-5.0.67
    drwxr-xr-x 12 mysql mysql 512 Oct 18 09:03 mysql-5.0.67
    lrwxr-xr-x 1 root wheel 13 Oct 18 20:42 openssl -> openssl-
    0.9.7
    drwxr-xr-x 6 root wheel 512 Oct 18 20:50 openssl-0.9.7
    drwxr-xr-x 6 root wheel 512 Oct 18 14:42 php
    lrwxr-xr-x 1 root wheel 10 Oct 19 18:40 zlib -> zlib-1.2.3
    drwxr-xr-x 5 root wheel 512 Oct 19 18:41 zlib-1.2.3

    I've tried imap both latest (2007b) and the one mentioned in
    http://php.net/manual/en/imap.setup.php (2000b). The latter even
    doesn't passes through PHP config-tests because of UTF-8, so I've
    tried also with 2006k - config-tests passed, make passed but no
    libphp5.so was generated during make install.

    If i exclude "--with-imap-ssl=/opt/openssl --with-imap=/opt/imap"
    from configure line and run:
    # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs
    --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-
    curl=/opt/curl --with-mysql=/opt/mysql --with-zlib=/opt/zlib --
    without-iconv --without-pear --disable-dom --without-sqlite --
    without-pdo-sqlite --with-kerberos=/opt/kerberos5
    ....
    # make
    ....
    Build OK
    ....
    # make install
    everything works fine

    Previously similar bug was submitted at http://bugs.php.net/bug.php?
    id=29453 but marked as bogus.

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

    [2008-10-20 17:18:59] net

    Not enough information was provided for us to be able
    to handle this bug. Please re-read the instructions at
    http://bugs.php.net/how-to-report.php

    If you can provide more information, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PHP.




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

    [2008-10-20 09:13:51] paul dot goorskis at ctco dot lv

    Description:
    ------------
    After adding '--with-imap' to configure build completes, but no
    libphp5.so generated.

    Reproduce code:
    ---------------
    # ./configure --prefix=/opt/php --with-apxs=/usr/sbin/apxs
    --enable-mbstring --with-libxml-dir=/opt/libxml2 --with-curl=/opt/curl
    --with-mysql=/opt/mysql --with-zlib=/opt/zlib --without-iconv
    --without-pear --disable-dom --without-sqlite --without-pdo-sqlite
    --with-kerberos=/opt/kerberos5 --with-imap-ssl=/opt/openssl
    --with-imap=/opt/imap

    # make
    ....
    Build complete.
    ....
    # make install



    Expected result:
    ----------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    chmod 755 /usr/lib/apache/modules/libphp5.so
    cp /var/www/conf/httpd.conf /var/www/conf/httpd.conf.bak
    cp /var/www/conf/httpd.conf.new /var/www/conf/httpd.conf
    rm /var/www/conf/httpd.conf.new
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/














    Actual result:
    --------------
    # make install
    Installing PHP SAPI module: apache
    [activating module `php5' in /var/www/conf/httpd.conf]
    cp libs/libphp5.so /usr/lib/apache/modules/libphp5.so
    cp: libs/libphp5.so: No such file or directory
    Installing PHP CLI binary: /opt/php/bin/
    Installing PHP CLI man page: /opt/php/man/man1/
    Installing build environment: /opt/php/lib/php/build/
    Installing header files: /opt/php/include/php/
    Installing helper programs: /opt/php/bin/
    program: phpize
    program: php-config
    Installing man pages: /opt/php/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /opt/php/include/php/ext/pdo/















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


    --
    Edit this bug report at http://bugs.php.net/?id=46342&edit=1

    jani@php.net Guest

Similar Threads

  1. Replies: 1
    Last Post: February 9th, 09:07 PM
  2. #26221 [Opn->Bgs]: Configure with imap-support broken
    By iliaa@php.net in forum PHP Development
    Replies: 1
    Last Post: November 18th, 08:24 PM
  3. #26221 [Bgs->Opn]: Configure with imap-support broken
    By admin at sportsandbytes dot de in forum PHP Development
    Replies: 0
    Last Post: November 18th, 11:28 AM
  4. #26221 [NEW]: Configure with imap-support broken
    By admin at sportsandbytes dot de in forum PHP Development
    Replies: 0
    Last Post: November 12th, 03:31 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