[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./configure&perl module and router&ldap



On Fri, Sep 26, 2003 at 10:26:11PM +0200, Xose Vazquez Perez wrote:
> I don't know why list server doesn't like this mail :-? .Here goes
> to mea@nic.funet.fi

It might have been BOUNCEd, and I might have then deleted it
without checking ...  lots of spams, you see..  I try to check,
but sometimes I am in ugly trigger-happy-"d"-mode...

> Matti Aarnio wrote:
> 
> >   That option name is somewhat misleading..  can you suggest
> >   something better ?     --with-perl-configdata=" ... "   ?
> 
> --prefix-perl or --perl-prefix :-?

Also misleading.  Gives too narrowminded idea.

> >   Ok. I still think there should not be any reason not to support
> >   it, but nevertheless I added   --without-ldap,  --without-ndbm,
> >   and   --without-gdbm   options.  (And in actuality only tested
> >   the  ldap  version..)
> 
> yes, --without-ldap and --without-gdbm work. But it would be better
> idea that don't link by default with ldap, it's simpler.

Our mileages do vary - but yes, you have a bit of point here.
I will switch it from  --without-ldap   to --with-ldap.

> Now I get :
> # ldd router
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40034000)
>         libdb-4.0.so => /lib/libdb-4.0.so (0x40061000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40109000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4011c000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> instead:
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40034000)
>         libdb-4.0.so => /lib/libdb-4.0.so (0x40061000)
>         libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40109000)
>         libldap.so.2 => /usr/lib/libldap.so.2 (0x40111000)
>         liblber.so.2 => /usr/lib/liblber.so.2 (0x4013c000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40147000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40159000)
>         libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40167000)
>         libssl.so.4 => /lib/libssl.so.4 (0x40172000)
>         libcrypto.so.4 => /lib/libcrypto.so.4 (0x401a8000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40299000)
>         libpam.so.0 => /lib/libpam.so.0 (0x4029d000)
>         libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2 (0x402a5000)
>         libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x402b8000)
>         libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x40316000)
>         libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40327000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x40329000)
> 
> so many libraries, was the LDAP effect!!

Indeed.  Some things load amazing amouts of libraries indirectly.

> for what is gdbm used ? instead db-4 ? or is it  complementary ?

It is orthogonal, you can choose to use it in addition or instead
of db-4.    Default values are picked in sequence order of what
I think in general a progression from "less good to best so far",
but of course you can set your own set for:
  DBTYPE=gdbm
  DBEXT=.gdbm
  DBEXTtest=.gdbm
of the  zmailer.conf  file.  Pick any of the supported database
types, not necessarily what configuration gives as "best default".

In    dbases.conf  file you can define any of installation supported
databases, e.g. having multiple 'aliases' files, and they all can
have different database types.  (Within limits, of course.)


There is no possibility to have multiple versions of SleepyCat
in use simultaneously.  Sometimes that would be usefull, but
library linkage doesn't tolerate it.


> >   Should there be (for symmetry's sake) similar disablers for
> >   SleepyCats too ?  And perhaps for YP..
> 
> I have NIS/YP header at /usr/include/rpcsvc/
> bootparam.h       klm_prot.h  nfs_prot.x      nis_object.x  rex.h     rstat.x     spray.h     yppasswd.x
> bootparam_prot.h  klm_prot.x  nis_callback.h  nis_tags.h    rex.x     rusers.h    spray.x     yp_prot.h
> bootparam_prot.x  mount.h     nis_callback.x  nis.x         rquota.h  rusers.x    ypclnt.h    ypupd.h
> key_prot.h        mount.x     nis.h           nlm_prot.h    rquota.x  sm_inter.h  yp.h        yp.x
> key_prot.x        nfs_prot.h  nislib.h        nlm_prot.x    rstat.h   sm_inter.x  yppasswd.h  ypxfrd.x
> 
> and autoconf is unable to detected. So, it's not necessary, at least for RH. Maybe for SunOS.

It isn't autodetected at all.  It needs  --with-yp  parameter.
Yeah, time to edit the documents..
  .. tomorrow (yawn ...)

> -thanks-
> -- 
> Smoking Crack Often
-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi