Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2004 17:57:45 -0500
From:      "W. D." <WD@US-Webmasters.com>
To:        freebsd-questions@freebsd.org, samba@lists.samba.org
Cc:        openldap-software@OpenLDAP.org
Subject:   RE: Samba 'make install' chokes on textproc/expat2 & now openldap - FreeBSD
Message-ID:  <5.1.0.14.2.20040920174417.062e3ec0@209.152.117.178>
In-Reply-To: <5.1.0.14.2.20040919233343.061fd740@209.152.117.178>
References:  <CE2BFBAA80DD874BB737A4E2C53AA44903B01777@CG69UBD01>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20040920174417.062e3ec0>