php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23948 php-4.3.2 don't compile with openbsd's imap c-client
Submitted: 2003-06-02 03:42 UTC Modified: 2003-06-03 04:28 UTC
From: darx at plus dot bg Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.2 OS: openbsd 3.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: darx at plus dot bg
New email:
PHP Version: OS:

 

 [2003-06-02 03:42 UTC] darx at plus dot bg
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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-02 05:29 UTC] sniper@php.net
Do NOT touch configure. That's what's wrong.

 [2003-06-02 05:30 UTC] sniper@php.net
For any other problem: Compile c-client from sources and it'll work fine.

 [2003-06-03 04:28 UTC] darx at plus dot bg
The solution is:

recompile and install c-client package from ports.tar.gz without gss(kerberos) authentication (edit Makefile)!
PHP 4.3.2 and probably old versions have problems with kerberos in openbsd.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Feb 09 21:00:01 2026 UTC