Re: How to restore Base_Bind on amd64 7.2 p3

2009-09-30 Thread Matthew Seaman

David Southwell wrote:

[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Frank 
Steinborn


You should be able to restore the bind from base by using the 
install.sh script in /usr/src/contrib/bind9. Deinstall the 
port first, 

though.

ThanksI deinstalled the port and tried to run install-sh 


# sh install-sh
and got the response:

install: no input file specified

Any chance you might make me a little wiser on how to use install-sh?\


This advice -- to run install-sh -- is incorrect.  install-sh there 
is straight from the bind distribution and assumes you're building it

as a separate piece of software, rather than integrated with the rest
of the system sources.

To reinstall bind from the FreeBSD source tree:

   * Check /etc/src.conf, /etc/make.conf and ensure that there are no
 WITHOUT_BIND or WITHOUT_BIND_NAMED or other relevant flags set 


   * Simplest thing to do is then run through a buildworld cycle.  This
 takes a while and uses some CPU power but it's largely fire-ans-forget.
 Instructions are here:

 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

   * If you're really in a hurry, then you can rebuild just bind etc.
 but this is less certain than the above.  The following is extracted
 from http://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc

  # cd /usr/src/lib/bind
  # make obj && make depend && make && make install
  # cd /usr/src/usr.sbin/named
  # make obj && make depend && make && make install
  # /etc/rc.d/named restart

As the previous correspondent said, deinstall the port before doing this.
You should not need to recompile any other software because of this change
-- the shlibs generated should be interchangeable -- but you will need to
reboot to make sure that all the running processes are using the correct
version of the resolver functions rather than a memory mapped copy of the
old shlibs even after the actual file was deleted and overwritten.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


RE: How to restore Base_Bind on amd64 7.2 p3

2009-09-30 Thread David Southwell
 

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
> da...@vizion2000.net
> Sent: 29 September 2009 13:06
> To: 'Frank Steinborn'
> Cc: freebsd-questions@freebsd.org
> Subject: RE: How to restore Base_Bind on amd64 7.2 p3
> 
>  
> 
> > -Original Message-
> > From: owner-freebsd-questi...@freebsd.org
> > [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Frank 
> > Steinborn
> > Sent: 29 September 2009 11:47
> > To: David Southwell
> > Cc: '???????? ?????????'; freebsd-questions@freebsd.org
> > Subject: Re: How to restore Base_Bind on amd64 7.2 p3
> > 
> > David Southwell wrote:
> > > By base-bind I mean the version of bind that is included 
> in freebsd
> > > 7.2 operating system which is a version earlier than the
> > latest Bind96.
> > > 
> > > When installing bind96 and I did not keep base-bind.
> > > 
> > > Now multiple ports give the following type of problem 
> -this is just 
> > > one example.
> > > ___
> > > gnome-vfs-2.24.1_1
> > > 
> > > compile stops with message:
> > > 
> > > ===>  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - 
> > > found
> > > gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND 
> > > causes build problems.
> > > *** error code 1
> > > 
> > > Stop in /usr/ports/devel/gnome-vfs
> > > *** Error Code 1
> > > 
> > > Stop in /usr/ports/devel/gnome-vfs
> > > _
> > 
> > You should be able to restore the bind from base by using the 
> > install.sh script in /usr/src/contrib/bind9. Deinstall the 
> port first, 
> > though.
> > 
> ThanksI deinstalled the port and tried to run install-sh 
> 
> # sh install-sh
> and got the response:
> > install: no input file specified
> 
> Any chance you might make me a little wiser on how to use install-sh?\
> 
> Thanks
> 
> David
> 
Sorrty to ask again - but I really need to solve this problem asap.

Thanks in advance

David

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


RE: How to restore Base_Bind on amd64 7.2 p3

2009-09-29 Thread david
 

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
> Frank Steinborn
> Sent: 29 September 2009 11:47
> To: David Southwell
> Cc: ' ?'; freebsd-questions@freebsd.org
> Subject: Re: How to restore Base_Bind on amd64 7.2 p3
> 
> David Southwell wrote:
> > By base-bind I mean the version of bind that is included in freebsd 
> > 7.2 operating system which is a version earlier than the 
> latest Bind96.
> > 
> > When installing bind96 and I did not keep base-bind.
> > 
> > Now multiple ports give the following type of problem -this is just 
> > one example.
> > ___
> > gnome-vfs-2.24.1_1
> > 
> > compile stops with message:
> > 
> > ===>  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - 
> > found
> > gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND 
> > causes build problems.
> > *** error code 1
> > 
> > Stop in /usr/ports/devel/gnome-vfs
> > *** Error Code 1
> > 
> > Stop in /usr/ports/devel/gnome-vfs
> > _
> 
> You should be able to restore the bind from base by using the 
> install.sh script in /usr/src/contrib/bind9. Deinstall the 
> port first, though.
> 
ThanksI deinstalled the port and tried to run install-sh 

# sh install-sh
and got the response:
> install: no input file specified

Any chance you might make me a little wiser on how to use install-sh?\

Thanks

David

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


Re: How to restore Base_Bind on amd64 7.2 p3

2009-09-29 Thread Frank Steinborn
David Southwell wrote:
> By base-bind I mean the version of bind that is included in freebsd 7.2
> operating system which is a version earlier than the latest Bind96.
> 
> When installing bind96 and I did not keep base-bind.
> 
> Now multiple ports give the following type of problem -this is just one
> example. 
> ___
> gnome-vfs-2.24.1_1
> 
> compile stops with message:
> 
> ===>  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - found
> gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND causes
> build problems.
> *** error code 1
> 
> Stop in /usr/ports/devel/gnome-vfs
> *** Error Code 1
> 
> Stop in /usr/ports/devel/gnome-vfs
> _

You should be able to restore the bind from base by using the
install.sh script in /usr/src/contrib/bind9. Deinstall the port first,
though.

> Thanks
> 
> David

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


RE: How to restore Base_Bind on amd64 7.2 p3

2009-09-29 Thread David Southwell

> 
> David Southwell пишет:
> > Hi
> >
> > I installed bind96 without keeping base-bind and am now having 
> > problems with some ports not compiling.
> >
> > What is the simpliest way to restore the original system Base_Bind?
> >
> > Thanks in advance
> >
> > David
> >
> > ___
> > freebsd-questions@freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to 
> "freebsd-questions-unsubscr...@freebsd.org"
> >   
>

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
> ???? ?????
> Sent: 29 September 2009 03:52
> To: freebsd-questions@freebsd.org
> Subject: Re: How to restore Base_Bind on amd64 7.2 p3
> 
> 
> 
>  Исходное сообщение 
> Тема: Re: How to restore Base_Bind on amd64 7.2 p3 -
> Дата: Tue, 29 Sep 2009 14:51:00 +0400
> От:   Алексеев Александр 
> Кому: David Southwell 
> Ссылки:   
> 
> 
> 
> Please let me see the error messages that occur when you're 
> building ports.
> What means base-bind?
> 
> --
> Alexandr A Alexeev
> http://www.unixcommunity.net/ 

By base-bind I mean the version of bind that is included in freebsd 7.2
operating system which is a version earlier than the latest Bind96.

When installing bind96 and I did not keep base-bind.

Now multiple ports give the following type of problem -this is just one
example. 
___
gnome-vfs-2.24.1_1

compile stops with message:

===>  gnome-vfs-2.24.1_1 depends on shared library: pango-1.0.0 - found
gnome-vfs-2.24.1_1: bind installed with PORT_REPLACES_BASE_BIOND causes
build problems.
*** error code 1

Stop in /usr/ports/devel/gnome-vfs
*** Error Code 1

Stop in /usr/ports/devel/gnome-vfs
_


Thanks

David

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


Re: How to restore Base_Bind on amd64 7.2 p3

2009-09-29 Thread Алексеев Александр



 Исходное сообщение 
Тема:   Re: How to restore Base_Bind on amd64 7.2 p3 -
Дата:   Tue, 29 Sep 2009 14:51:00 +0400
От: Алексеев Александр 
Кому:   David Southwell 
Ссылки: 



Please let me see the error messages that occur when you're building ports.
What means base-bind?

--
Alexandr A Alexeev
http://www.unixcommunity.net/

David Southwell пишет:

Hi

I installed bind96 without keeping base-bind and am now having problems with
some ports not compiling.

What is the simpliest way to restore the original system Base_Bind?

Thanks in advance

David

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




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