Re: 3.5-S-4.2-S: still fail w/ setresuid on miniperl

2001-02-11 Thread Clark Shishido

try these instructions:

http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=699499+706204+/usr/local/www/db/text/2000/freebsd-stable/2806.freebsd-stable

I did it once on a mail server and vowed never to do it again if I didn't have to. 
Basically you have to build perl separately.

--clark

3.5-STABLE to 4-STABLE upgrade.

miniperl, setresuid, 3.5-STABLE, RELENG_3, 4-STABLE, RELENG_4


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



Re: 3.5-S-4.2-S: still fail w/ setresuid on miniperl

2001-02-11 Thread Chris Johnson

On Sun, Feb 11, 2001 at 05:37:42PM +0200, Pekka Savola wrote:
 As a lot of others including some @FreeBSD.org people, I got:

[snip]

 pp_hot.o(.text+0x16a1): undefined reference to `setresuid'
 pp_hot.o(.text+0x16d4): undefined reference to `setresgid'
 *** Error code 1
 ---
 
 while trying to update from the latest 3.5-S to 4.2-S.  Both had been
 CVSupped within 24h.  I followed the UPDATING instructions.

Have you tried to upgrade to 4.0-RELEASE first, and then to 4.2-STABLE? I've
never had the problem you're having, but I've never tried to make as big a jump
as you're trying to do.

Chris

 PGP signature


RE: 3.5-S-4.2-S: still fail w/ setresuid on miniperl

2001-02-11 Thread [EMAIL PROTECTED]

I've been having the exact same problem with the same upgrade for 3 days
now. I keep cvsuping/making buildworld/etc, hoping that someone will fix it
soon but it doesn't look like it's going to happen. For the amount of time
I've spent so far, just trying to get it to work right, I could have
formatted/re-installed/reconfigured.

OF


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Pekka Savola
 Sent: Sunday, February 11, 2001 7:38 AM
 To: [EMAIL PROTECTED]
 Subject: 3.5-S-4.2-S: still fail w/ setresuid on miniperl


 Hello all,

 As a lot of others including some @FreeBSD.org people, I got:
 ---
 cd /usr/src/gnu/usr.bin/perl/miniperl  make miniperl
 Extracting config.h (with variable substitutions)
 cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl   -c
 /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/minip
 erlmain.c
 ln -sf /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/op.c
 opmini.c
 cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl   -c opmini.c
 cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl
 -L/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl -static -o
 miniperl miniperlmain.o opmini.o
 /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm
 -lcrypt -lutil
 /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a(pp_hot.o):
 In function `Perl_pp_aassign':
 pp_hot.o(.text+0x16a1): undefined reference to `setresuid'
 pp_hot.o(.text+0x16d4): undefined reference to `setresgid'
 *** Error code 1
 ---

 while trying to update from the latest 3.5-S to 4.2-S.  Both had been
 CVSupped within 24h.  I followed the UPDATING instructions.


 make buildworld -DNOPERL works around this, of course.


 But shouldn't this be fixed?  Or are 3.x users such a diminishing
 community it's not worth risking breaking the tree?


 For the record, I think these commits fubared the build (as 4.1-R has been
 reported to work):

 http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/usr.bin/perl/Makefil
e.diff?r1=1.9r2=1.9.2.1

ITOH, I guess MFC'ing these change, it _might_ work again:

http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/usr.bin/perl/Makefile.diff?r1=
1.12r2=1.13

Please Cc:.

--
Pekka Savola  "Tell me of difficulties surmounted,
Netcore Oynot those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords



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



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



Re: 3.5-S-4.2-S: still fail w/ setresuid on miniperl

2001-02-11 Thread Frederic Nguyen

You have to do it from step to step. Not a one-time upgrade.
Add the following option in you make.conf :

NOPERL = true
NOSUIDPERL = true

then, you can issue 'make world'
if it fails, you'll have to compile libc and install it before
if you still have complains about miniperl, edit Makefiles and erase it 
from there

Make sure you did not intstall FreeBSD 3.x with badblock scans.
Otherwise after upgrade, you won't be able to boot anymore.
FreeBSD 4.x is not able to handle file system marked with badblocks

Nobody ever *cared* about it. So if you did use badblock scan on your file 
system, you'll have to install a FreeBSD 4.x from scratch
Or else, stick with FreeBSD 3.x

CHaiNeSS

At 17:37 01-02-11 +0200, you wrote:
Hello all,

As a lot of others including some @FreeBSD.org people, I got:
---
cd /usr/src/gnu/usr.bin/perl/miniperl  make miniperl
Extracting config.h (with variable substitutions)
cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
-I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -c
/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/miniperlmain.c
ln -sf /usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5/op.c
opmini.c
cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
-I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -c opmini.c
cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
-I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl
-L/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl -static -o
miniperl miniperlmain.o opmini.o
/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm
-lcrypt -lutil
/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a(pp_hot.o):
In function `Perl_pp_aassign':
pp_hot.o(.text+0x16a1): undefined reference to `setresuid'
pp_hot.o(.text+0x16d4): undefined reference to `setresgid'
*** Error code 1
---

while trying to update from the latest 3.5-S to 4.2-S. Both had been
CVSupped within 24h. I followed the UPDATING instructions.



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