Re: subversion -- compile file - requires lgssapi_krb5 __SOLVED

2007-06-14 Thread David Southwell
On Wednesday 13 June 2007 10:49:31 Scot Hetzel wrote:
> On 6/13/07, David Southwell <[EMAIL PROTECTED]> wrote:
> > here is what I have:
> >
> > [EMAIL PROTECTED] /usr/bin]# ls -l /usr/lib/libgss*
> > -r--r--r--  1 root  wheel  141960 Feb 27 10:24 /usr/lib/libgssapi.a
> > lrwxr-xr-x  1 root  wheel  14 Mar 23 07:59 /usr/lib/libgssapi.so ->
> > libgssapi.so.8
> > -r--r--r--  1 root  wheel   63056 Mar 23 07:59 /usr/lib/libgssapi.so.8
> > -r--r--r--  1 root  wheel  146556 Feb 27 10:24 /usr/lib/libgssapi_p.a
> >
> > I have a hazy recolection that, at some time, there was a conflict
> > between kerberos and something else.
>
> Heimdal and MIT Kerberos 5?

That sounds familiar
>
> On -CURRENT, src/kerberos5/lib/libgssapi/Makefile builds
> libgssapi_krb5*,  but on RELENG_6 it only builds libgssapi.*.
Ok I am working with this and commenting as I go.

I am on 6.1 :
# uname -a
FreeBSD dns1.vizion2000.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 
04:15:57 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  
amd64
>
> Have a look at the configure script and try to determine why it is
> choosing the wrong version of Kerberos 5 for your system.
>
I presume you mean the subversion configure script?
Only one reference to kerberos found in the port files:

[EMAIL PROTECTED] /usr/ports/devel/subversion]# fgrep -R kerberos ./*
./work/subversion-1.4.3/INSTALL:  "--with-libs=/usr/kerberos" for OpenSSL 
to be found.  The zlib library
[EMAIL PROTECTED] /usr/ports/devel/subversion]# 

In INSTALL:

 On Unix systems, if you are building neon as part of the Subversion
  build process (as described in section I.4 above), you can pass flags
  to Subversion's "./configure", and they will be passed on to neon's
  "./configure".  You need OpenSSL installed on your system, and you
  must add "--with-ssl" as a "./configure" parameter.  If your OpenSSL
  installation is hard for Neon to find, you may need to use
  "--with-libs=/path/to/lib" in addition.  In particular, on Red Hat
  (but not Fedora Core) it is necessary to specify
  "--with-libs=/usr/kerberos" for OpenSSL to be found.

 Section 1.4
We recommend that you keep the neon installation out of the
  Subversion working copy.  This is because most developers have
  multiple working copies of Subversion, and it is easier to use a
  single instance of the Neon library for all instances.  To do
  this, just unzip/untar Neon, and build and install it according
  to its own standard installation instructions.  Then follow the
  steps below to use the installed Neon when building 

  Subversion's configuration mechanism should auto-detect the
  installed Neon. 

CONCLUSION:
I wonder if neon packaged with subversion does not test for the correct 
version? 

What happenes if  in /usr/ports/www/neon > make deinstall followed by a clean 
reconfigure & make and then attempt a new install of subversion???

OK Success that works!!! :-)

I will pass the results to the maintainer via a PR

Thanks for getting me onto the right track.

david






___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: subversion -- compile file - requires lgssapi_krb5

2007-06-13 Thread Scot Hetzel

On 6/13/07, David Southwell <[EMAIL PROTECTED]> wrote:

here is what I have:

[EMAIL PROTECTED] /usr/bin]# ls -l /usr/lib/libgss*
-r--r--r--  1 root  wheel  141960 Feb 27 10:24 /usr/lib/libgssapi.a
lrwxr-xr-x  1 root  wheel  14 Mar 23 07:59 /usr/lib/libgssapi.so ->
libgssapi.so.8
-r--r--r--  1 root  wheel   63056 Mar 23 07:59 /usr/lib/libgssapi.so.8
-r--r--r--  1 root  wheel  146556 Feb 27 10:24 /usr/lib/libgssapi_p.a

I have a hazy recolection that, at some time, there was a conflict between
kerberos and something else.


Heimdal and MIT Kerberos 5?

On -CURRENT, src/kerberos5/lib/libgssapi/Makefile builds
libgssapi_krb5*,  but on RELENG_6 it only builds libgssapi.*.

Have a look at the configure script and try to determine why it is
choosing the wrong version of Kerberos 5 for your system.

Scot

--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: subversion -- compile file - requires lgssapi_krb5

2007-06-13 Thread David Southwell
On Wednesday 13 June 2007 07:24:23 Scot Hetzel wrote:

> On 6/13/07, David Southwell <[EMAIL PROTECTED]> wrote:
> > compiling  on:
> > # uname -a
> > FreeBSD ___  6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57
> > UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  amd64
> >
> >
> > 2   -L/usr/local/lib -L/usr/local/lib/db42  -rpath /usr/local/lib -o
> > libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo
> > options.lo props.lo replay.lo session.lo
> > util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la
> > ../../subversion/libsvn_subr/libsvn_subr-1.la
> > /usr/local/lib/libaprutil-1.la -lgdbm -ldb-4.2 -lexpat -liconv
> > /usr/local/lib/libapr-1.la -lcrypt -lpthread -L/usr/local/lib
> > -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon -lintl -lssl
> > -lcrypto -lz -L/usr/local/lib -Wl,-rpath
> > -Wl,/usr/local/lib -O2 -fno-strict-aliasing -pipe -lgssapi_krb5 -lkrb5
> > -lk5crypto -lcom_err -lexpat -lintl  -lz
> > /usr/bin/ld: cannot find -lgssapi_krb5
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/subversion/work/subversion-1.4.3.
> > *** Error code 1
> >
> > Stop in /usr/ports/devel/subversion.
> > I am not certain if the following may be relevant but thought they could
> > be:
> >
> > # pkg_info |grep crypt
> > libdvdcss-1.2.9_2   Portable abstraction library for DVD decryption
> > libgcrypt-1.2.4_1   "General purpose crypto library based on code used in
> > GnuPG
> >
> > [EMAIL PROTECTED] /usr/lib]# ls -l |grep crypt
> > -r--r--r--  1 root  wheel53052 May  6  2006 libcrypt.a
> > lrwxrwxrwx  1 root  wheel   18 Aug 17  2006
> > libcrypt.so -> /lib/libcrypt.so.3
> > -r--r--r--  1 root  wheel54782 May  6  2006 libcrypt_p.a
> > -r--r--r--  1 root  wheel  2632858 May  6  2006 libcrypto.a
> > lrwxrwxrwx  1 root  wheel   19 Aug 17  2006
> > libcrypto.so -> /lib/libcrypto.so.4
> > -r--r--r--  1 root  wheel  2763058 May  6  2006 libcrypto_p.a
> >
> > [EMAIL PROTECTED] /usr/local/lib]# ls -l |grep crypt
> > -rw-r--r--   1 root  wheel548140 Mar 21 12:38 libgcrypt.a
> > -rwxr-xr-x   1 root  wheel   921 Mar 21 12:38 libgcrypt.la
> > lrwxr-xr-x   1 root  wheel15 Mar 21 12:38 libgcrypt.so ->
> > libgcrypt.so.13
> > -rwxr-xr-x   1 root  wheel354868 Mar 21 12:38 libgcrypt.so.13
> >
> > [EMAIL PROTECTED] /etc/rc.d]# locate krb5 |more
> > /usr/bin/krb5-config
> > /usr/bin/verify_krb5_conf
> > /usr/compat/linux/etc/krb5.conf
> > /usr/compat/linux/etc/krb5.conf.dist
> > /usr/compat/linux/usr/kerberos/share/examples/krb5
> > /usr/compat/linux/usr/kerberos/share/examples/krb5/kdc.conf
> > /usr/compat/linux/usr/kerberos/share/examples/krb5/krb5.conf
> > /usr/compat/linux/usr/kerberos/share/examples/krb5/services.append
> > /usr/compat/linux/usr/lib/libgssapi_krb5.so.2
> > /usr/compat/linux/usr/lib/libgssapi_krb5.so.2.2
> > /usr/compat/linux/usr/lib/libkrb5.so.3
> > /usr/compat/linux/usr/lib/libkrb5.so.3.2
> > /usr/compat/linux/usr/lib/libkrb5support.so.0
> > /usr/compat/linux/usr/lib/libkrb5support.so.0.0
> >
> > Can anyone tell me how to successfully compile devel/subversion?
> >
> > If more information is needed please say.
> >
> > Thanks
> >
> > david
> >
> Do you have kerberos installed for the base system?
>
> hp010# ls /usr/lib/libgss*
> /usr/lib/libgssapi.a/usr/lib/libgssapi_krb5.so
> /usr/lib/libgssapi.so   /usr/lib/libgssapi_krb5.so.8
> /usr/lib/libgssapi.so.8 /usr/lib/libgssapi_krb5_p.a
> /usr/lib/libgssapi_krb5.a   /usr/lib/libgssapi_p.a
>
> Scot
Hi Scot

Hope you are doing well

here is what I have:

[EMAIL PROTECTED] /usr/bin]# ls -l /usr/lib/libgss*
-r--r--r--  1 root  wheel  141960 Feb 27 10:24 /usr/lib/libgssapi.a
lrwxr-xr-x  1 root  wheel  14 Mar 23 07:59 /usr/lib/libgssapi.so -> 
libgssapi.so.8
-r--r--r--  1 root  wheel   63056 Mar 23 07:59 /usr/lib/libgssapi.so.8
-r--r--r--  1 root  wheel  146556 Feb 27 10:24 /usr/lib/libgssapi_p.a

I have a hazy recolection that, at some time, there was a conflict between 
kerberos and something else.

The only *_krb5 is to be found in /usr/compat/linux/lib

Sorry to sound so vague.

david

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: subversion -- compile file - requires lgssapi_krb5

2007-06-13 Thread Scot Hetzel

Do you have kerberos installed for the base system?

hp010# ls /usr/lib/libgss*
/usr/lib/libgssapi.a/usr/lib/libgssapi_krb5.so
/usr/lib/libgssapi.so   /usr/lib/libgssapi_krb5.so.8
/usr/lib/libgssapi.so.8 /usr/lib/libgssapi_krb5_p.a
/usr/lib/libgssapi_krb5.a   /usr/lib/libgssapi_p.a

Scot

On 6/13/07, David Southwell <[EMAIL PROTECTED]> wrote:

compiling  on:
# uname -a
FreeBSD ___  6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57 UTC
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  amd64


2   -L/usr/local/lib -L/usr/local/lib/db42  -rpath /usr/local/lib -o
libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo
options.lo props.lo replay.lo session.lo
util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la /usr/local/lib/libaprutil-1.la
-lgdbm -ldb-4.2 -lexpat -liconv /usr/local/lib/libapr-1.la -lcrypt
-lpthread -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib
-lneon -lintl -lssl -lcrypto -lz -L/usr/local/lib -Wl,-rpath
-Wl,/usr/local/lib -O2 -fno-strict-aliasing -pipe -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lexpat -lintl  -lz
/usr/bin/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in /usr/ports/devel/subversion/work/subversion-1.4.3.
*** Error code 1

Stop in /usr/ports/devel/subversion.
I am not certain if the following may be relevant but thought they could be:

# pkg_info |grep crypt
libdvdcss-1.2.9_2   Portable abstraction library for DVD decryption
libgcrypt-1.2.4_1   "General purpose crypto library based on code used in
GnuPG

[EMAIL PROTECTED] /usr/lib]# ls -l |grep crypt
-r--r--r--  1 root  wheel53052 May  6  2006 libcrypt.a
lrwxrwxrwx  1 root  wheel   18 Aug 17  2006
libcrypt.so -> /lib/libcrypt.so.3
-r--r--r--  1 root  wheel54782 May  6  2006 libcrypt_p.a
-r--r--r--  1 root  wheel  2632858 May  6  2006 libcrypto.a
lrwxrwxrwx  1 root  wheel   19 Aug 17  2006
libcrypto.so -> /lib/libcrypto.so.4
-r--r--r--  1 root  wheel  2763058 May  6  2006 libcrypto_p.a

[EMAIL PROTECTED] /usr/local/lib]# ls -l |grep crypt
-rw-r--r--   1 root  wheel548140 Mar 21 12:38 libgcrypt.a
-rwxr-xr-x   1 root  wheel   921 Mar 21 12:38 libgcrypt.la
lrwxr-xr-x   1 root  wheel15 Mar 21 12:38 libgcrypt.so ->
libgcrypt.so.13
-rwxr-xr-x   1 root  wheel354868 Mar 21 12:38 libgcrypt.so.13

[EMAIL PROTECTED] /etc/rc.d]# locate krb5 |more
/usr/bin/krb5-config
/usr/bin/verify_krb5_conf
/usr/compat/linux/etc/krb5.conf
/usr/compat/linux/etc/krb5.conf.dist
/usr/compat/linux/usr/kerberos/share/examples/krb5
/usr/compat/linux/usr/kerberos/share/examples/krb5/kdc.conf
/usr/compat/linux/usr/kerberos/share/examples/krb5/krb5.conf
/usr/compat/linux/usr/kerberos/share/examples/krb5/services.append
/usr/compat/linux/usr/lib/libgssapi_krb5.so.2
/usr/compat/linux/usr/lib/libgssapi_krb5.so.2.2
/usr/compat/linux/usr/lib/libkrb5.so.3
/usr/compat/linux/usr/lib/libkrb5.so.3.2
/usr/compat/linux/usr/lib/libkrb5support.so.0
/usr/compat/linux/usr/lib/libkrb5support.so.0.0

Can anyone tell me how to successfully compile devel/subversion?

If more information is needed please say.

Thanks

david

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


subversion -- compile file - requires lgssapi_krb5

2007-06-13 Thread David Southwell
compiling  on:
# uname -a
FreeBSD ___  6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57 UTC 
2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  amd64


2   -L/usr/local/lib -L/usr/local/lib/db42  -rpath /usr/local/lib -o 
libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo 
options.lo props.lo replay.lo session.lo 
util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la 
../../subversion/libsvn_subr/libsvn_subr-1.la /usr/local/lib/libaprutil-1.la 
-lgdbm -ldb-4.2 -lexpat -liconv /usr/local/lib/libapr-1.la -lcrypt  -lpthread 
-L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lneon -lintl 
-lssl -lcrypto -lz -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -O2 
-fno-strict-aliasing -pipe -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lexpat 
-lintl  -lz
/usr/bin/ld: cannot find -lgssapi_krb5
*** Error code 1

Stop in /usr/ports/devel/subversion/work/subversion-1.4.3.
*** Error code 1

Stop in /usr/ports/devel/subversion.
I am not certain if the following may be relevant but thought they could be:

# pkg_info |grep crypt
libdvdcss-1.2.9_2   Portable abstraction library for DVD decryption
libgcrypt-1.2.4_1   "General purpose crypto library based on code used in 
GnuPG

[EMAIL PROTECTED] /usr/lib]# ls -l |grep crypt
-r--r--r--  1 root  wheel53052 May  6  2006 libcrypt.a
lrwxrwxrwx  1 root  wheel   18 Aug 17  2006 
libcrypt.so -> /lib/libcrypt.so.3
-r--r--r--  1 root  wheel54782 May  6  2006 libcrypt_p.a
-r--r--r--  1 root  wheel  2632858 May  6  2006 libcrypto.a
lrwxrwxrwx  1 root  wheel   19 Aug 17  2006 
libcrypto.so -> /lib/libcrypto.so.4
-r--r--r--  1 root  wheel  2763058 May  6  2006 libcrypto_p.a

[EMAIL PROTECTED] /usr/local/lib]# ls -l |grep crypt
-rw-r--r--   1 root  wheel548140 Mar 21 12:38 libgcrypt.a
-rwxr-xr-x   1 root  wheel   921 Mar 21 12:38 libgcrypt.la
lrwxr-xr-x   1 root  wheel15 Mar 21 12:38 libgcrypt.so -> 
libgcrypt.so.13
-rwxr-xr-x   1 root  wheel354868 Mar 21 12:38 libgcrypt.so.13

[EMAIL PROTECTED] /etc/rc.d]# locate krb5 |more
/usr/bin/krb5-config
/usr/bin/verify_krb5_conf
/usr/compat/linux/etc/krb5.conf
/usr/compat/linux/etc/krb5.conf.dist
/usr/compat/linux/usr/kerberos/share/examples/krb5
/usr/compat/linux/usr/kerberos/share/examples/krb5/kdc.conf
/usr/compat/linux/usr/kerberos/share/examples/krb5/krb5.conf
/usr/compat/linux/usr/kerberos/share/examples/krb5/services.append
/usr/compat/linux/usr/lib/libgssapi_krb5.so.2
/usr/compat/linux/usr/lib/libgssapi_krb5.so.2.2
/usr/compat/linux/usr/lib/libkrb5.so.3
/usr/compat/linux/usr/lib/libkrb5.so.3.2
/usr/compat/linux/usr/lib/libkrb5support.so.0
/usr/compat/linux/usr/lib/libkrb5support.so.0.0

Can anyone tell me how to successfully compile devel/subversion?

If more information is needed please say.

Thanks

david
 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"