Re: Errors building PHP 4.3.6
On Sat, 2004-05-22 at 12:48, Michal Pasternak wrote: > Robert Fitzpatrick [Sat, May 22, 2004 at 12:10:11PM -0400]: > > On Sat, 2004-05-22 at 11:56, Michal Pasternak wrote: > > > Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]: > > > > esmtp# ldd /usr/local/bin/psql > > > > /usr/local/bin/psql: > > > > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000) > > > > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000) > > > > > > Hmm, ok, so you need to include -l parameter to the linker on the line in > > > Makefile, that the error occures. (-lkrb5 perhaps) > > > > OK, trying to find that Makefile. I don't find PHP 4.3.6 under the > > /usr/ports, only 4.3.4. Where does portupgrade put this Makefile? > > I didn't mean the Makefile in ports, the error is obviously in some port > work directory, but I am unable to say which one, basing on the information > you supplied. Yeah, I found it under /usr/ports/lang/php4/work/php-4.3.6/Makefile, but cannot seem to find anything related to libpq or krb5. Do you know where I should look in the file? -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Errors building PHP 4.3.6
Robert Fitzpatrick [Sat, May 22, 2004 at 12:10:11PM -0400]: > On Sat, 2004-05-22 at 11:56, Michal Pasternak wrote: > > Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]: > > > esmtp# ldd /usr/local/bin/psql > > > /usr/local/bin/psql: > > > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000) > > > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000) > > > > Hmm, ok, so you need to include -l parameter to the linker on the line in > > Makefile, that the error occures. (-lkrb5 perhaps) > > OK, trying to find that Makefile. I don't find PHP 4.3.6 under the > /usr/ports, only 4.3.4. Where does portupgrade put this Makefile? I didn't mean the Makefile in ports, the error is obviously in some port work directory, but I am unable to say which one, basing on the information you supplied. -- m ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Errors building PHP 4.3.6
On Sat, 2004-05-22 at 11:56, Michal Pasternak wrote: > Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]: > > esmtp# ldd /usr/local/bin/psql > > /usr/local/bin/psql: > > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000) > > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000) > > Hmm, ok, so you need to include -l parameter to the linker on the line in > Makefile, that the error occures. (-lkrb5 perhaps) OK, trying to find that Makefile. I don't find PHP 4.3.6 under the /usr/ports, only 4.3.4. Where does portupgrade put this Makefile? -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Errors building PHP 4.3.6
Robert Fitzpatrick [Sat, May 22, 2004 at 11:46:50AM -0400]: > esmtp# ldd /usr/local/bin/psql > /usr/local/bin/psql: > libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000) > libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000) Hmm, ok, so you need to include -l parameter to the linker on the line in Makefile, that the error occures. (-lkrb5 perhaps) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Errors building PHP 4.3.6
On Sat, 2004-05-22 at 11:08, Michal Pasternak wrote: > Robert Fitzpatrick [Sat, May 22, 2004 at 10:48:22AM -0400]: > > I have Heimdal 0.6 port installed on FreeBSD 5.2.1 and getting this error when > > trying to build and do portupgrade for PHP 4.3.6 from 4.3.4. > > > > Can anyone suggest what the problem may be? > > libpq is PostgreSQL client library, so I think you could start with > rebuilding PgSQL to include KRB support (I suppose, that PgSQL .h files get > some #defined value from PHP, and automatically start to include KRB > support, which is obviously not compiled in in your case) I just portupgraded PostgreSQL to 7.4.2 last week finding the server and client both in the same /usr/ports/databases/postgresql7. I had WITH_HEIMDAL_KRB5 defined in /etc/make.conf, which is supposed to get the Kerberos support built in according to the pg Makefile. Do you think something went wrong then? Looks good here: esmtp# ldd /usr/local/bin/psql /usr/local/bin/psql: libpq.so.3 => /usr/local/lib/libpq.so.3 (0x28096000) libkrb5.so.20 => /usr/local/lib/libkrb5.so.20 (0x280b2000) libasn1.so.6 => /usr/local/lib/libasn1.so.6 (0x280f) libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x28116000) libroken.so.16 => /usr/local/lib/libroken.so.16 (0x2821c000) libcrypt.so.2 => /lib/libcrypt.so.2 (0x2822a000) libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28243000) libssl.so.3 => /usr/local/lib/libssl.so.3 (0x2824c000) libz.so.2 => /lib/libz.so.2 (0x2827d000) libreadline.so.4 => /lib/libreadline.so.4 (0x2828b000) libm.so.2 => /lib/libm.so.2 (0x282b9000) libutil.so.4 => /lib/libutil.so.4 (0x282d2000) libc.so.5 => /lib/libc.so.5 (0x282de000) libcom_err.so.2 => /usr/local/lib/libcom_err.so.2 (0x283b8000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283bb000) libncurses.so.5 => /lib/libncurses.so.5 (0x284aa000) esmtp# ls -la /usr/local/lib/libpq.so lrwxr-xr-x 1 root wheel 10 May 16 17:34 /usr/local/lib/libpq.so -> libpq.so.3 -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Errors building PHP 4.3.6
I have Heimdal 0.6 port installed on FreeBSD 5.2.1 and getting this error when trying to build and do portupgrade for PHP 4.3.6 from 4.3.4. Can anyone suggest what the problem may be? /usr/local/lib/libc-client4.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/local/lib/libpq.so: undefined reference to `krb5_cc_get_principal' /usr/local/lib/libpq.so: undefined reference to `krb5_sname_to_principal' /usr/local/lib/libpq.so: undefined reference to `krb5_cc_default' /usr/local/lib/libpq.so: undefined reference to `krb5_cc_close' /usr/local/lib/libpq.so: undefined reference to `error_message' /usr/local/lib/libpq.so: undefined reference to `krb5_free_error' /usr/local/lib/libpq.so: undefined reference to `krb5_sendauth' /usr/local/lib/libpq.so: undefined reference to `krb5_free_principal' /usr/local/lib/libpq.so: undefined reference to `krb5_unparse_name' /usr/local/lib/libpq.so: undefined reference to `krb5_free_context' /usr/local/lib/libpq.so: undefined reference to `krb5_init_context' *** Error code 1 -- Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"