From owner-freebsd-questions@FreeBSD.ORG Mon Sep 20 22:59:13 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E960816A4CE for ; Mon, 20 Sep 2004 22:59:12 +0000 (GMT) Received: from usw2.natel.net (2b.bz [209.152.117.190]) by mx1.FreeBSD.org (Postfix) with SMTP id 7A1AF43D53 for ; Mon, 20 Sep 2004 22:59:10 +0000 (GMT) (envelope-from WD@US-Webmasters.com) Received: (qmail 86343 invoked from network); 20 Sep 2004 22:59:06 -0000 Received: from batv-01-001.dialup.netins.net (HELO xyz.US-Webmasters.com) (216.248.109.2) by us-webmasters.com with SMTP; 20 Sep 2004 22:59:06 -0000 Message-Id: <5.1.0.14.2.20040920174417.062e3ec0@209.152.117.178> X-Sender: wd@209.152.117.178 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 20 Sep 2004 17:57:45 -0500 To: freebsd-questions@freebsd.org, samba@lists.samba.org From: "W. D." In-Reply-To: <5.1.0.14.2.20040919233343.061fd740@209.152.117.178> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable cc: openldap-software@OpenLDAP.org Subject: RE: Samba 'make install' chokes on textproc/expat2 & now openldap - FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 22:59:13 -0000 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: > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >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. >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >So, I went to: >/usr/ports/textproc/expat2/=20 > >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: >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >=3D=3D=3D> samba-3.0.7,1 depends on shared library: ldap-2.2.7 - not= found >=3D=3D=3D> Verifying install for ldap-2.2.7 in= /usr/ports/net/openldap22-client >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >You can build openldap-client-2.2.15 with the following options: > >WITH_SASL with (Cyrus) SASL2 support > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >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=20 >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'. =20 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!=99 ->= http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/