RE: [Planetlab-support] Re: [Planetlab-users] less, man, gzip, and rpmbuild
Brought to you by:
alklinga
|
From: Paul B. <pau...@pl...> - 2004-01-07 21:27:09
|
Neil You can download the linux-headers RPM from http://boot.planet-lab.org/install-rpms/planetlab/linux-headers-2.4.22-r 2_planetlab.i386.rpm Regards Paul Brett PlanetLab Support Email: pau...@pl... Tel No: +1 503 712 4520 | -----Original Message----- | From: pla...@li... | [mailto:pla...@li...] On | Behalf Of Neil Spring | Sent: Tuesday, January 06, 2004 9:13 PM | To: <pla...@li...> | <pla...@li...> | Cc: <pla...@li...> | Subject: Re: [Planetlab-support] Re: [Planetlab-users] | less, man, gzip, and rpmbuild | | | Aaron, thanks, that's great, and I'm a lot closer. | | My next problem is that I can't build code that includes kernel | headers. This includes code that includes <limits.h>, and | being able | to include limits.h is a basic assumption of tests used by | autoconf, so | ./configure fails. | | I can't install the kernel headers because a dependency chain | apparently wants to see a kernel in my vserver. | | My guess is that the dependency isn't real. Is there a | way to override | the dependency tracking? (perhaps like equivs for | Debian.) Or a way | to install vserver-util without the kernel dependency? Or | glibc-kernheaders that doesn't require vserver-util? Or a | line to add | to yum.conf to get the right stuff for planetlab? | | any help would be appreciated. | -neil | | [uw_nspring@planet1 uw_nspring]$ cat x.c | #include <limits.h> | | [uw_nspring@planet1 uw_nspring]$ gcc x.c | In file included from /usr/include/bits/posix1_lim.h:126, | from /usr/include/limits.h:144, | from | /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132, | from | /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7, | from | /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11, | from x.c:1: | /usr/include/bits/local_lim.h:36:26: linux/limits.h: No | such file or | directory | | (on a controlled machine, I have no rh9 boxes) | skyo:~> rpm -qf /usr/include/linux/limits.h | glibc-kernheaders-2.4-7.16 | | (back to planetlab) | [uw_nspring@planet1 uw_nspring]$ sudo yum install | glibc-kernheaders | Gathering header information file(s) from server(s) | Server: Red Hat Linux 9 - i386 - Base | Server: Red Hat Linux 9 - Updates | Finding updated packages | Downloading needed headers | Resolving dependencies | .package vserver-util needs linux >= 2.4.19-1_planetlab | (not provided) | | (and in case I should have followed directions better) | [uw_nspring@planet1 uw_nspring]$ yum groupinstall | "Development Tools" | Gathering header information file(s) from server(s) | Server: Red Hat Linux 9 - i386 - Base | Server: Red Hat Linux 9 - Updates | Finding updated packages | Downloading needed headers | Getting groups from servers | No groups provided or accessible on any server. | Exiting. | | | | On Jan 5, 2004, at 1:52 PM, Aaron Klingaman wrote: | | > Try this once logged in to your vserver, as root (use su): | > | > ------------------ | > mkdir yum-rpms | > cd yum-rpms | > for i in stock-rh9/python-2.2.2-26.i386.rpm \ | > stock-rh9/libxml2-python-2.5.4-1.i386.rpm \ | > stock-rh9/libxml2-2.5.4-1.i386.rpm \ | > stock-rh9/expat-1.95.5-2.i386.rpm \ | > stock-rh9/rpm-python-4.2-0.69.i386.rpm \ | > stock-rh9/elfutils-0.76-3.i386.rpm \ | > stock-rh9/gmp-4.1.2-2.i386.rpm \ | > planetlab/yum-2.0.3-1_planetlab.noarch.rpm \ | > ; do | > curl -O http://boot.planet-lab.org/install-rpms/$i; | > done | > rpm -ivh *.rpm | > ---------------------------- | > | > Now, as root, to install gzip for example, type: | > | > # yum install gzip | > or | > # yum groupinstall "Development Tools" | > | > Yum will handle the dependencies, and ask you if its ok | before actually | > installing anything. | > | > :) | > | > Aaron | > | > On Monday 05 January 2004 04:32 pm, Paul Brett wrote: | >> Aaron | >> | >> Given that we have all the RPMS installed on the boot | server, it | >> there a | >> simple way for a user to get yum up and running inside | their vserver? | >> | >> Regards | >> | >> Paul Brett | >> PlanetLab Support | >> Email: pau...@pl... | >> Tel No: +1 503 712 4520 | >> | >> | -----Original Message----- | >> | From: pla...@li... | >> | [mailto:pla...@li...] On | >> | Behalf Of Aaron Klingaman | >> | Sent: Monday, January 05, 2004 1:08 PM | >> | To: Neil Spring; pla...@li... | >> | Cc: pla...@li... | >> | Subject: [Planetlab-support] Re: [Planetlab-users] less, | >> | man, gzip, and rpmbuild | >> | | >> | | >> | I've added gzip, and as a dependency, less is being | >> | installed as well. This | >> | change won't effect any already created slices nor any | >> | nodes that have been | >> | already installed (although this will change, we do have | >> | the capability to | >> | dynamically update the reference image on all the | machines). | >> | | >> | Aaron | >> | | >> | > On Monday 05 January 2004 03:45 pm, Neil Spring wrote: | >> | > > what is the "best" way to install these necessities on | >> | | >> | a planetlab | >> | | >> | > > slice? | >> | > > | >> | > > thanks, | >> | > > -neil | >> | > > | >> | > > I'm used to Debian where: | >> | > > [uw_nspring@planetlab02 uw_nspring]$ rpm -i | >> | | >> | ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/rpm | >> | -build-4.2 | >> | | >> | > > -0.69.i386.rpm | >> | > > warning: /var/tmp/rpm-xfer.PQp5Zf: V3 DSA signature: | >> | | >> | NOKEY, key ID | >> | | >> | > > db42a60e | >> | > > error: Failed dependencies: | >> | > > file is needed by rpm-build-4.2-0.69 | >> | > > patch >= 2.5 is needed by rpm-build-4.2-0.69 | >> | > > | >> | > > doesn't happen. | >> | > > | >> | > > | | | | ------------------------------------------------------- | This SF.net email is sponsored by: IBM Linux Tutorials. | Become an expert in LINUX or just sharpen your skills. | Sign up for IBM's | Free Linux Tutorials. Learn everything from the bash | shell to sys admin. | Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click | _______________________________________________ | Planetlab-support mailing list | Pla...@li... | https://lists.sourceforge.net/lists/listinfo/planetlab-support | |