On Wed, 11 Feb 2009 23:29:31 +0700, Ingo Schwarze <schwa...@usta.de> wrote:
Hi Insan,
Insan Praja SW wroto on Wed, Feb 11, 2009 at 02:09:15PM +0700:
When upgrading my OBSD 4.5-beta machine, I got
===> usr.sbin/bind
PATH="/bin:/usr/bin:/sbin:/usr/sbin" CC="cc" CFLAGS="-O2 -pipe "
LDFLAGS="" INSTALL_PROGRAM="install -c -s" sh
/usr/src/usr.sbin/bind/configure --prefix=/usr --localstatedir=/var
--sysconfdir=/etc --disable-shared --disable-threads
--disable-openssl-version-check
Segmentation fault (core dumped)
I bet you missed
http://www.openbsd.org/cgi-bin/cvsweb/src/bin/ksh/c_ksh.c#rev1.33
To confirm, type
$ /bin/ksh
$ set -o posix
$ echo
and show me the output.
$ /bin/ksh
$ set -o posix
$ echo
Segmentation fault (core dumped)
To fix that, type
$ cd /usr/src/bin/ksh
$ cvs up -dP
$ make clean
$ make obj
$ make depend
$ make
$ sudo make install
and start over building bind.
$ sudo cvs -danon...@anoncvs1.ca.openbsd.org:/cvs up -dP
Password:
cvs server: Updating .
cvs server: Updating tests
Nick is right, building from source is not supported, but that's
no reason not to tell you. ;-)
Sorry for the inconvenience,
Ingo
--snip--
cd /usr/src/share/man && exec make makedb
/usr/libexec/makewhatis /usr/share/man
And it works!
Thanks,
Insan
--
insandotpraja(at)gmaildotcom