ID:               23948
 User updated by:  darx at plus dot bg
 Reported By:      darx at plus dot bg
-Status:           Bogus
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: openbsd 3.2
 PHP Version:      4.3.2
 New Comment:

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.


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

[2003-06-02 05:30:47] [EMAIL PROTECTED]

For any other problem: Compile c-client from sources and it'll work
fine.


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

[2003-06-02 05:29:51] [EMAIL PROTECTED]

Do NOT touch configure. That's what's wrong.


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

[2003-06-02 03:42:46] 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?


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


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

Reply via email to