W. D.
2004-Sep-20 04:47 UTC
[Samba] RE: Samba 'make install' chokes on textproc/expat2 & now openldap
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????>-----Original Message----- >From: W. D. [mailto:WD@US-Webmasters.com] >Sent: Sunday, September 19, 2004 9:18 PM >To: freebsd-questions@freebsd.org; samba@lists.samba.org >Subject: Samba 'make install' chokes on textproc/expat2 > > >Can't get Samba 2.2.11 to install. Has anyone encountered >a problem with textproc/expat2?Start Here to Find It Fast!? -> http://www.US-Webmasters.com/best-start-page/ $8.77 Domain Names -> http://domains.us-webmasters.com/
W. D.
2004-Sep-20 22:59 UTC
[Samba] RE: Samba 'make install' chokes on textproc/expat2 & now openldap - FreeBSD
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/