Re: building kernel problem w/ linux_proto.h

2002-01-06 Thread Jay Sachs

The UPDATING instructions also didn't work for me, though I did this 
over a month ago. I seem to recall that

   rm -rf /usr/src/sys/modules/linux /usr/src/sys/compat/linux

followed by a cvsup; make buildworld && make buildkernel got things 
going again. A bit of a sledgehammer, I admit.

jay

parv wrote:

> in message <[EMAIL PROTECTED]>, 
> wrote M. Warner Losh thusly...
> 
>>In message: <[EMAIL PROTECTED]>
>>parv <[EMAIL PROTECTED]> writes:
>>
> ...
> 
>>:   well, first i did "make modules-clean" in src/sys/compile/$KERNCONF
>>:   as i do not have MODULES_WITH_WORLD=yes in /etc/make.conf.  after
>>:   that when i tried again, it failed.  so i tried again after running
>>:   "make cleandir" in src/sys/modules/linux w/o any success.
>>
>>If you are building the kernel by hand, try rm -rf modules in
>>src/sys/compile/$KERNCONF.
>>
> 
> yes, sometimes i build kernel by hand; and since 4-stable, i build
> kernel w/ world every time via KERNCONF.
> 
> i did try that; didn't work.  then i tried after obliterating the
> src/sys/compile/$KERNCONF, that didn't work either.  unless,
> somebody has any other option, i will try w/ clean cvsup'd "src"
> tree.
> 
> before i do that, is there anything else that i could do manually?
> 
>  - parv
> 
> 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



slight perl IO::Socket weirdness after cvsup & buildworld 4.3RC1 -> RC5

2001-04-20 Thread Jay Sachs

Everything was fine under RC1, and two days ago I successfully upgraded
again from RC1 -> RC5. Now when I start apache (with mod_perl), I get
these warnings:

  Subroutine new redefined at 
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 26.
  Subroutine _sock_info redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 32.
Subroutine _error redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 68.
Subroutine configure redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 89.
Subroutine sockaddr redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 197.
Subroutine sockport redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 204.
Subroutine sockhost redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 211.
Subroutine peeraddr redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 218.
Subroutine peerport redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 225.
Subroutine peerhost redefined at
  /usr/libdata/perl/5.00503/mach/IO/Socket/INET.pm line 232.

Apache does start, though.

Poking around in /usr/libdata/perl, I noticed the following:

  thelonius% cd /usr/libdata/perl/5.00503/mach/IO
  thelonius% ls -la Socket*
  -r--r--r--  1 root  wheel  16948 May  2  1999 Socket.pm

  Socket:
  total 15
  drwxr-xr-x  2 root  wheel   512 Mar 16 16:58 ./
  drwxr-xr-x  3 root  wheel   512 Apr 19 14:44 ../
  -r--r--r--  1 root  wheel  9570 May 20  1998 INET.pm
  -r--r--r--  1 root  wheel  3015 Mar 18  1998 UNIX.pm

Unfortunately I don't know what it looked like before, but this is
definitely different than my 4.2-STABLE box at home, where the Socket
subdirectory and related files do NOT exist.

Any clues on this one?

jay

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Does sendmail.cf gets replaced by stable?

2000-02-27 Thread Jay Sachs

Martin Welk wrote:
> 
> On Sat, Feb 26, 2000 at 08:38:49PM -0500, Francisco Reyes wrote:
> 
> > Apparently that is not the case.
> 
> As we are on the -stable list, I speak for stable: I did a cvsup yesterday
> to and today made buildworld and installworld and my /etc/sendmail.cf
> wasn't replaced by one of those procedures and I haven't configured
> something special. (And I haven't seen something like that for more than
> three years now - I have seen sendmail's barking update cf files that were
> to new because I forgot to disable building and installing sendmail during
> making the world and I had updated it meanwhile, but no change of the cf
> file itself.)
> 
> > According to  another email I got builds a sendmail.cf from
> > /usr/src/etc/sendmail/freebsd.mc and installs it.
> 
> Maybe, it's something different in -current.

It's in stable. sendmail.cf is built, just not installed. Unless you ask
mergemaster to do it for you.

> > There seems to be a parameter in /etc/rc.conf where one can
> > indicate which ".mc" file to use at make world.
> 
> Huh? Sendmail doesn't eat a plain .mc file so it cannot be a runtime
> option. Sendmail needs a "compiled" (or hand-written :-) ) cf file.

It appears (though I haven't tested it), that defining SENDMAIL_CF
in /etc/make.conf controls which .cf gets built, and subsequently 
installed by mergemaster. Look at /usr/src/etc/sendmail/Makefile.

jay


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message