LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo 2006 livecd installed,how do i emerge packages locally (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-2006-livecd-installed-how-do-i-emerge-packages-locally-435693/)

deepclutch 04-16-2006 12:06 PM

Gentoo 2006 livecd installed,how do i emerge packages locally
 
Hello All,
I installed gentoo for the second time(first was 2004.3) using Live cd after selecting only GRP packages to install using Gentoo gtk installer giving all CFLAGS,MAKEOPTS etc for my prescott.now i am having gentoo with gnome fine.my problem is i need to install net-config and many other packages.Installer copied all these packages from livecd to /usr/portage.in 2004.3 it was copied by me to /usr/portage/distfiles.now if i try emerging amy packages,gentoo tries internet and i am not having ppp rp-pppoe etc not installed.so gentoo geeks help me to install all these packages for my standalone system without internet using available packages in /usr/portage.Since i dont know much about portage..Now what is those in /usr/portage dir lot of like app-accesibility,app-admin,app-shells etc...and here is my make.conf generated by livecd not the general way of gentoo setup.
Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O2 -march=i686 -pipe"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
ACCEPT_KEYWORDS=""
USE=" X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis x86 xml xml2 xmms xsl xv zlib"
FEATURES="ccache"

i am ready to have packages be copied to gentoo /usr/portage/.. dir.
In gentoo 2004.3 i remember copying packages to /usr/portage/distfiles dir.but here i dont find any packages dir in gentoo2006.0 Live cd.only a portage snapshot available.whether i need to build using ebuild(which i yet 2 try!)..
emerge gives error when i try:
Code:

localhost ~ # emerge bash-completion
Calculating dependencies ...done!
>>> emerge (1 of 2) app-shells/bash-completion-20050121-r10 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/bash-completion-20050121.tar.bz2
--01:56:52--  http://distfiles.gentoo.org/distfiles/bash-completion-20050121.tar.bz2
          => `/usr/portage/distfiles/bash-completion-20050121.tar.bz2'
Resolving distfiles.gentoo.org... failed: Temporary failure in name resolution.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/bash-completion-20050121.tar.bz2
--01:58:04--  http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/bash-completion-20050121.tar.bz2
          => `/usr/portage/distfiles/bash-completion-20050121.tar.bz2'
Resolving distro.ibiblio.org...


comprookie2000 04-16-2006 01:04 PM

Read:1.b. Fast Installation using the Gentoo Reference Platform
http://www.gentoo.org/doc/en/handboo...?part=1&chap=1
May Help

deepclutch 04-16-2006 03:39 PM

Thanks.my /etc/make.globals already declared portage dir etc.
Code:

# Default rsync mirror
SYNC="rsync://rsync.gentoo.org/gentoo-portage"

# Default distfiles mirrors
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"

# Repository Paths
PORTDIR=/usr/portage
DISTDIR=/usr/portage/distfiles
PKGDIR=/usr/portage/packages
RPMDIR=/usr/portage/rpm

# Temporary build directory
PORTAGE_TMPDIR=/var/tmp

# Fetching command (5 tries, passive ftp for firewall compatibility)
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P \${DISTDIR} \${URI}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P \${DISTDIR} \${URI}"

# Default user options
FEATURES="sandbox distlocks"

# Default chunksize for binhost comms
PORTAGE_BINHOST_CHUNKSIZE="3000"

# By default wait 5 secs before cleaning a package
CLEAN_DELAY="5"

# By default wait 10 secs on an important warning
EMERGE_WARNING_DELAY="10"

# Automatically clean installed packages after they are updated.
# This option will be removed and forced to yes.
AUTOCLEAN="yes"

# Number of times 'emerge --sync' will run before giving up.
RSYNC_RETRIES="3"

# Number of seconds rsync will wait before timing out.
RSYNC_TIMEOUT="180"

# Minimal CONFIG_PROTECT
CONFIG_PROTECT="/etc"

I am confused about how do i install net-setup and may other packages from these sources/ebuilds present in/usr/portage directory

deepclutch 04-18-2006 09:39 AM

so can i chroot into a internet connection set livecd and chroot and emerge packages..will it work


All times are GMT -5. The time now is 03:07 AM.