View previous topic :: View next topic |
Author |
Message |
sooofunky Tux's lil' helper

Joined: 08 Nov 2004 Posts: 120
|
Posted: Mon Apr 04, 2005 9:09 am Post subject: GRP question |
|
|
Hello
I don't know what to do with the files on the package cd (tbz2). How do I install them?
Other question, I have donwloaded Kde 3.4 (source tar.gz) from www.kde.org, now I don't know what to do with them. I thought I'd just have to put the files in /usr/portage/distfiles and emerge them. What are the steps?
Thanks! |
|
Back to top |
|
 |
mens Guru


Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Mon Apr 04, 2005 9:29 am Post subject: Re: GRP question |
|
|
sooofunky wrote: | Hello
I don't know what to do with the files on the package cd (tbz2). How do I install them?
|
export PKGDIR=/mnt/cdrom/packages (or wherever your packages are)
then emerge -k package-name
Quote: |
Other question, I have donwloaded Kde 3.4 (source tar.gz) from www.kde.org, now I don't know what to do with them. I thought I'd just have to put the files in /usr/portage/distfiles and emerge them. What are the steps?
Thanks! |
You didn;t have to download those sources manually. Now that you have them, you can move them to /usr/portage/distfiles as you mentioned. ATM, kde 3.4 is still masked ~x86, so unless you have ~x86 in your keywords already, you do :
ACCEPT_KEYWORDS=~x86 emerge kde
which will install kde 3.4 for you.
also, if you have a lot of ram (>= 1gb) consider switching on the -kdeenablefinal USE flag, which will speed up your build a lot. |
|
Back to top |
|
 |
sooofunky Tux's lil' helper

Joined: 08 Nov 2004 Posts: 120
|
Posted: Mon Apr 04, 2005 10:21 am Post subject: Thanks for the quick response! |
|
|
Thanks!
I've tried:
Quote: | export PKGDIR=/mnt/cdrom/packages (or wherever your packages are)
then emerge -k package-name |
But I just get this error message:
Code: |
IndexError: list index out of range
|
The problem is at my new workplace we've got a download limit. So the next time I'll do emerge --fetch-only and copy the files on to cd? |
|
Back to top |
|
 |
mens Guru


Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Mon Apr 04, 2005 12:34 pm Post subject: Re: Thanks for the quick response! |
|
|
sooofunky wrote: |
But I just get this error message:
Code: |
IndexError: list index out of range
|
|
Hmmm, this looks like a portage error. Could you give me the entire errormessage?
What does Code: | emerge -pv packagename | give you? |
|
Back to top |
|
 |
sooofunky Tux's lil' helper

Joined: 08 Nov 2004 Posts: 120
|
Posted: Mon Apr 04, 2005 1:15 pm Post subject: |
|
|
That's what I get:
Code: |
# emerge -K kdebase-3.3.2-r1.tbz2
Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 2998, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 1008, in select_files
mykey=mytbz2.getelements("CATEGORY")[0]+"/"+os.path.basename(x)[:-5]
IndexError: list index out of range
|
|
|
Back to top |
|
 |
mens Guru


Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Mon Apr 04, 2005 1:29 pm Post subject: |
|
|
try
|
|
Back to top |
|
 |
sooofunky Tux's lil' helper

Joined: 08 Nov 2004 Posts: 120
|
Posted: Tue Apr 05, 2005 10:29 am Post subject: |
|
|
Wrong PKGDIR settings. I thought I had to set the directory to where the binaries are.
Can I place any source tar.gz file into /usr/portage/distfiles and emerge it? I'm not too sure if I didn't download kde again.
Big thanks |
|
Back to top |
|
 |
mens Guru


Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Tue Apr 05, 2005 11:48 am Post subject: |
|
|
sooofunky wrote: |
Can I place any source tar.gz file into /usr/portage/distfiles and emerge it? I'm not too sure if I didn't download kde again.
|
you cannot emerge source tar.gz files. You emerge packages which are described in ebuild files. In the ebuild is specified what source files are required. If the sourcefile is not found in the distfiles directory, then emerge will download it for you. so emerge kde-3.4.tar.gz will never work.
The same goes for binary packages. You specify the name of the package, not of the package file. You can optionally also specify the version number of the package you which. Read the portage documentation. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1 |
|
Back to top |
|
 |
sooofunky Tux's lil' helper

Joined: 08 Nov 2004 Posts: 120
|
Posted: Wed Apr 06, 2005 7:17 am Post subject: Thanks as usual |
|
|
Read the documentation now.
Tried to download packages at home (fast connection) with:
and copied them on cd (rock ridge extensions). But the only thing I'm getting are md5 checksum errors when trying to emerge the packages on my other computer. Any advice on this? |
|
Back to top |
|
 |
mens Guru


Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Wed Apr 06, 2005 9:28 am Post subject: |
|
|
I see two possibilities:
either you had a problem copying the files to the cd or from cd back to disk. Take an md5sum of the files on all locations (disk1, cd, disk2) and compare them.
or your portage is totally out of sync and contains wrong md5sum information
If this is the problem, also copy your portage tree at home on the cd :-) |
|
Back to top |
|
 |
sooofunky Tux's lil' helper

Joined: 08 Nov 2004 Posts: 120
|
Posted: Wed Apr 06, 2005 1:08 pm Post subject: |
|
|
Hmm, synced both - 1 day difference. Think I'll have to copy the portage tree. |
|
Back to top |
|
 |
|