RE: Samba 'make install' chokes on textproc/expat2 & now openldap - FreeBSD

From: W. D. (WD_at_US-Webmasters.com)
Date: 09/21/04

  • Next message: Christian Hiris: "Re: XF86(mis)Config Keyboard"
    Date: Mon, 20 Sep 2004 17:57:45 -0500
    To: freebsd-questions@freebsd.org, samba@lists.samba.org
    
    

    At 23:47 9/19/2004, W. D. wrote:
    >At 14:24 9/19/2004, JohnsoBS@vicksburg.navy.mil, wrote:
    >>Personally, unless one has great need not to, I highly recommend upgrading
    >>to samba3 to start with. The perfomance gains alone I found well worth it.
    >>Plus if you plan to integrate into a network with 2k/XP/2K3, it will greatly
    >>improve compatibility.
    >
    >OK. I tried to install samba 3.0.7,1. Got the same error:
    >
    >===================================================================
    >textproc/expat2 is already installed - perhaps an older version?
    >If so, you may wish to `make deinstall' and install
    >this port again by `make reinstall' to upgrade it properly.
    >If you really wish to overwrite the old port of textproc/expat2
    >without deleting it first, set the variable "FORCE_PKG_REGISTER"
    >in your environment or the "make install" command line.
    >===================================================================
    >
    >So, I went to:
    >/usr/ports/textproc/expat2/
    >
    >and entered:
    >'make deinstall'
    >
    >then entered:
    >'make reinstall'
    >
    >That seemed to work. So I went back to:
    >/usr/ports/net/samba3/
    >
    >and again entered:
    >'make install'
    >
    >Got another error:
    >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    >===> samba-3.0.7,1 depends on shared library: ldap-2.2.7 - not found
    >===> Verifying install for ldap-2.2.7 in /usr/ports/net/openldap22-client
    >=============================================================
    >
    >You can build openldap-client-2.2.15 with the following options:
    >
    >WITH_SASL with (Cyrus) SASL2 support
    >
    >=============================================================
    >
    >Dependency warning: used OpenSSL version contains known vulerabilities
    >Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
    >*** Error code 1
    >
    >Stop in /usr/prts/net/openldap22-client.
    >*** Error code 1
    >
    >Stop in /usr/ports/net/samba3.
    >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    >
    >OK. I Googled for this problem with all sorts of variations
    >of keywords, and nothing showed that would point me in the
    >right direction.
    >
    >What is the simple way to get past this and install Samba????

    Just before the first "*** Error code 1" is a hint where
    something was wrong. OpenLDAP never got compiled. The
    reason it didn't was because OpenSSL wasn't installed. I
    finally figured this out by doing: 'pkg_info'.

    My understanding is that the way that FreeBSD is designed,
    this isn't supposed to happen. Rather, if a dependency
    doesn't exist, it will automatically be built. Does
    this mean that the OpenLDAP port for FreeBSD needs tweaking?

    In any case, I went to: /usr/ports/security/openssl/ and
    did a 'make install'. That worked, so I went back to
    /usr/ports/net/samba3/ did a 'make install' and it worked
    this time.

    Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/
    $8.77 Domain Names -> http://domains.us-webmasters.com/

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Christian Hiris: "Re: XF86(mis)Config Keyboard"

    Relevant Pages

    • RE: Samba make install chokes on textproc/expat2 & now openldap
      ... >Personally, unless one has great need not to, I highly recommend upgrading ... I tried to install samba 3.0.7,1. ... If you really wish to overwrite the old port of textproc/expat2 ... *** Error code 1 ...
      (freebsd-questions)
    • Is FreeBSD ready for desktop (Mozilla Flash)
      ... monitor,, somehow the install fails to detect ... "Macromedia Flash plugin is not available for FreeBSD. ... I quote again "Install the www/linuxpluginwrapper port. ... servers, ...
      (comp.unix.bsd.freebsd.misc)
    • New software uploaded by Denise on Oct 23 07:10:00 -4 2006
      ... and starting compiling the 'bar' port. ... and now where should you install your terminators? ... filter option may run a filter on the wrong type of file and cause ... FreeBSD does not currently support IBM's microchannel bus. ...
      (Linux-Kernel)
    • Re: KMDF Fakemodem not working
      ... I'm using the `Windows Vista and Windows Server Longhorn x86 Checked Build ... install the fakemodem with devcon: ... INf in the sample should tell you how to use devcon to install the driver. ... Why do I need to choose a COM port? ...
      (microsoft.public.development.device.drivers)
    • Re: Portinstall question
      ... I was just wondering why you would want to use portinstall to ... install new software, rather than: ... portinstall is just portupgrade by another name. ... an already installed port. ...
      (freebsd-questions)