LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2006, 12:06 PM   #1
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post 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...
 
Old 04-16-2006, 01:04 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Read:1.b. Fast Installation using the Gentoo Reference Platform
http://www.gentoo.org/doc/en/handboo...?part=1&chap=1
May Help
 
Old 04-16-2006, 03:39 PM   #3
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

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

Last edited by deepclutch; 04-16-2006 at 03:41 PM.
 
Old 04-18-2006, 09:39 AM   #4
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using emerge --update --ask world correctly? gentoo 2006.0 anti.corp Linux - Newbie 4 04-16-2006 03:03 AM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 12:31 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
Please help. Gentoo: Emerge gentoo-dev-sources fails sendas4 Linux - Newbie 3 07-19-2004 11:44 AM
Listing installed packages in Gentoo ? Builder Linux - Distributions 1 07-08-2004 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration