From:             darx at plus dot bg
Operating system: openbsd 3.2
PHP version:      4.3.2
PHP Bug Type:     Compile Failure
Bug description:  php-4.3.2 don't compile with openbsd's imap c-client

Just change the names of some libraries.
libk5crypto -> libasn1
libgssapi_krb5 -> libgssapi

sed "s/-lk5crypto/-lasn1/" configure > configure
sed "s/-lgssapi_krb5/-lgssapi/" configure > configure

./configure \
--with-apxs=/usr/sbin/apxs \
--with-mysql=/usr/local \
--with-imap=/usr/local \
--with-kerberos \
--with-imap-ssl \

Configure script passes, then 'make' passes and say:

    Build complete.
    (It is safe to ignore warnings about tempnam and tmpnam).

And finally 'make install' say:

    Installing PHP CLI binary:        /usr/local/bin/
    Installing PHP CLI man page:      /usr/local/man/man1/
    Installing PHP SAPI module
    [activating module `php4' in /var/www/conf/httpd.conf]
    cp libs/libphp4.so /usr/lib/apache/modules/libphp4.so
    cp: libs/libphp4.so: No such file or directory
    apxs:Break: Command failed with rc=1
    *** Error code 1
    
    Stop in /home/darx/php-4.3.2 (line 120 of Makefile).

Any idea why?

-- 
Edit bug report at http://bugs.php.net/?id=23948&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23948&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23948&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23948&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23948&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23948&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23948&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23948&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23948&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23948&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23948&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23948&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23948&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23948&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23948&r=gnused

Reply via email to