FW: [Xorp-users] XORP 1.1RC Install under OpenBSD 3.6

Caldwell Jason caldwell_jason@bah.com
Fri, 15 Apr 2005 11:43:37 -0400


Troy,

1.) Iv installed the gcc-3.3.2.tgz package using the pkg_add command...
	pkg_add -v
ftp://ftp.openbsd.org/pub/OpenBSD/3.6/packages/i386/gcc-3.3.2.tgz

I also ran pkg_info for gcc, this is the output;
	# pkg_info gcc

	Information for gcc-3.3.2

I also ran gcc -v and this is the output;
	# gcc -v
	Reading specs from
/usr/lib/gcc-lib/i386-unknown-openbsd3.6/2.95.3/specs
	gcc version 2.95.3 20010125 (prerelease, propolice)
	
2.) As for the multicast routing I haven't applied any kernel patches as
of yet, can you please provide me with a list of the specific patches...

Thanks for you patience, Jason


-----Original Message-----
From: Troy Benjegerdes [mailto:hozer@hozed.org] 
Sent: Friday, April 15, 2005 11:21 AM
To: Caldwell Jason
Cc: Pavlin Radoslavov; xorp-users@xorp.org; White Richard A.(ASQ2);
Melendez Francisco; Foy Joseph
Subject: Re: FW: [Xorp-users] XORP 1.1RC Install under OpenBSD 3.6

> 2. Added the following packages from OpenBSD site
> 	gcc-3.3.2.tgz
> 	gmake-3.80.tgz
> 	python-2.1.3p2.tgz
> 	bash-3.0-static.tgz

Does the gcc package replace the system gcc? If not, what gcc/g++ is
configure picking up?
 
> 3. Modified the /etc/rc.conf
> 	multicast_router=YES    # A multicast routing daemon will be
> run, e.g. mrouted

Multicast routing isn't going to work unless you apply some kernel
patches.

> 4. Set the ENV
> 	setenv CFLAGS -fno-stack-protector
> 	setenv CXXFLAGS -fno-stack-protector
> 
> 5. gunzip xorp-1.1-RC.tar.gz (Under /)
> 
> 6. tax xvf xorp-1.1-RC.tar
> 
> 7. cd xorp-1.1-RC
> 
> 8. ./configure
> 
> 9. gmake
> 
> 10. gmake check
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Pavlin Radoslavov [mailto:pavlin@icir.org]
> Sent: Thursday, April 14, 2005 10:49 PM
> To: Troy Benjegerdes
> Cc: Pavlin Radoslavov; Caldwell Jason; xorp-users@xorp.org; White 
> Richard A.(ASQ2); Melendez Francisco
> Subject: Re: FW: [Xorp-users] XORP 1.1RC Install under OpenBSD 3.6
> 
> > > I don't remember whether I have tried vanilla OpenBSD-3.6, but you

> > > may have a look in the OpenBSD-3.5 section in BUILD_NOTES and see 
> > > if
> 
> > > the info there will help you for 3.6.
> > > I have tried with OpenBSD-3.6-current (as of February 2005) on 
> > > amd64
> 
> > > and i386 (the default compiler is gcc (GCC) 3.3.5 (propolice)), 
> > > and I haven't seen that compilation error.
> > 
> > vanilla OpenBSD-3.6 has gcc-2.95, and does not work.
> 
> OK, thanks for the info. So it seems the solution for 3.6 is to 
> install a newer compiler from the ports collection.
> 
> Jason, could you try that and tell us if it fixes the problem.
> If "yes", then we will update BUILD_NOTES for OpenBSD-3.6 as well.
> 
> Thanks,
> Pavlin

Content-Description: OpenBSD3.6 xorp.OS.install.txt
> i386 Platform;
> ---------------------------------------------------
> OptiPlex GX150
> HARD DRIVE, 20G, I, 3.5" FORM FACTOR, 1N, 7.2K, 20G/P, MAXTOR DUAL 
> IN-LINE MEMORY MODULE, 256, 133M, 32X64, 4K, 168 PROCESSOR, 80526, 
> 1GHZ, 256, 133, FIBER CHANNEL, D0
> 
> ---------------------------------------------------
> 
> 1. Installed OpenBSD 3.6 (current) all packages
> 	base36.tgz
> 	bsd
> 	bsd.mp
> 	bsd.rd
> 	comp36.tgz
> 	etc36.tgz
> 	game36.tgz
> 	man36.tgz
> 	misc36.tgz
> 	src.tar.gz
> 	xbase36.tgz
> 	xetc36.tgz
> 	xfont36.tgz
> 	xserv36.tgz
> 	xshare36-1.tgz
> 	xshare36.tgz
> 
> 2. Added the following packages from OpenBSD site
> 	gcc-3.3.2.tgz
> 	gmake-3.80.tgz
> 	python-2.1.3p2.tgz
> 	bash-3.0-static.tgz
> 
> 3. Modified the /etc/rc.conf
> 	multicast_router=YES    # A multicast routing daemon will be
run, e.g. mrouted
> 
> 4. Set the ENV
> 	setenv CFLAGS -fno-stack-protector
> 	setenv CXXFLAGS -fno-stack-protector
> 
> 5. gunzip xorp-1.1-RC.tar.gz (Under /)
> 
> 6. tax xvf xorp-1.1-RC.tar
> 
> 7. cd xorp-1.1-RC
> 
> 8. ./configure
> 
> 9. gmake
> 
> 10. gmake check

--
------------------------------------------------------------------------
--
Troy Benjegerdes                'da hozer'
hozer@hozed.org  

Somone asked my why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best
answer:

"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's
why I draw cartoons. It's my life." -- Charles Shultz