FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-07-2008, 10:35 AM
"Suma Sharma"
 
Default Installation of binary packages

Hi,
I am trying to install a pre-built binary package of a glibc based cross toolchain but am unable to do so. The packages are present in "/usr/portage/packages/cross/sh4-unnown-linux-gnu/All". I have set the PKGDIR to "/usr/portage/packages/cross/sh4-unknown-linux-gnu". The command used for installing the package is, emerge binutils-2.18-r1.tbz2. I am getting the following error:-
--------------------------------------------------------------------------------------------
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies -!!! Binary package has an unrecognized category: '/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/gcc-4.2.2.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/gcc-4.2.2' has a category that is not listed in /etc/portage/categories
!!! Binary package has an unrecognized category: '/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/glibc-2.7-r1.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/glibc-2.7-r1' has a category that is not listed in /etc/portage/categories
!!! Binary package has an unrecognized category: '/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/linux-headers-2.6.24.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/linux-headers-2.6.24' has a category that is not listed in /etc/portage/categories
!!! Binary package has an unrecognized category: '/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/binutils-2.18-r1.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1' has a category that is not listed in /etc/portage/categories Traceback (most recent call last):
File "/usr/bin/emerge", line 5481, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5476, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4804, in action_build
retval, favorites = mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 1338, in select_files
None, "--onlydeps" not in self.myopts):
File "/usr/bin/emerge", line 1119, in create
self.pkgsettings[myroot].setcpv(mykey, mydb=portdb)
File "/usr/lib/portage/pym/portage.py", line 1680, in setcpv
pkginternaluse = " ".join([x[1:]
File "/usr/lib/portage/pym/portage.py", line 5795, in aux_get
raise KeyError(mycpv)
KeyError: 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1'
--------------------------------------------------------------------------------------------

Kindly help me in installing the package

Regards,
Suma Sharma
*
--
gentoo-user@lists.gentoo.org mailing list
 
Old 02-07-2008, 11:39 AM
Neil Bothwick
 
Default Installation of binary packages

On Thu, 7 Feb 2008 17:05:39 +0530, Suma Sharma wrote:

> !!! Binary package has an unrecognized category:
> '/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/binutils-2.18-r1.tbz2' !!!
> 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1' has a category that is
> not listed in /etc/portage/categories

The error message is quite explicit, All is not a recognised category,
you need to create a symlink to the package in $PKGDIR/sys-devel then do

emerge -K1 =sys-devel/binutils-2.18-r1

--
Neil Bothwick

One-seventh of life is spent on Monday.
 
Old 02-08-2008, 03:22 AM
"Suma Sharma"
 
Default Installation of binary packages

Thanks.. I have created the sym-links in $PKGDIR/sys-devel directory,
but now after running the "emerge" command, I am getting the following
error:-
------------------------------------------------------------------------
----
localhost sys-devel # emerge -K1 =sys-devel/binutils-2.18-r1.tbz2
Calculating dependencies -

!!! Binary package '=sys-devel/binutils-2.18-r1.tbz2' does not exist.
!!! Please ensure the tbz2 exists as specified.
------------------------------------------------------------------------
----

Regards
Suma Sharma


-----Original Message-----
From: Neil Bothwick [mailto:neil@digimed.co.uk]
Sent: Thursday, February 07, 2008 6:09 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Installation of binary packages

On Thu, 7 Feb 2008 17:05:39 +0530, Suma Sharma wrote:

> !!! Binary package has an unrecognized category:
>
'/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/binutils-2.18-r1.
tbz2' !!!
> 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1' has a category that is
> not listed in /etc/portage/categories

The error message is quite explicit, All is not a recognised category,
you need to create a symlink to the package in $PKGDIR/sys-devel then do

emerge -K1 =sys-devel/binutils-2.18-r1

--
Neil Bothwick

One-seventh of life is spent on Monday.
--
gentoo-user@lists.gentoo.org mailing list
 
Old 02-08-2008, 07:50 AM
Neil Bothwick
 
Default Installation of binary packages

On Fri, 8 Feb 2008 09:52:35 +0530, Suma Sharma wrote:

> localhost sys-devel # emerge -K1 =sys-devel/binutils-2.18-r1.tbz2
> Calculating dependencies -
>
> !!! Binary package '=sys-devel/binutils-2.18-r1.tbz2' does not exist.
> !!! Please ensure the tbz2 exists as specified.

What does ls -l sys-devel show?


--
Neil Bothwick

Standard: (n., adj.) a design target which manufacturers may embellish,
improve upon, or ignore as they wish, so long as it can be used profitably
in their advertising.
 
Old 02-08-2008, 08:20 AM
"Suma Sharma"
 
Default Installation of binary packages

Hi,

>>What does ls -l sys-devel show?

"ls -l sys-devel" shows the following:-
------------------------------------------------------------------------
---
localhost packages # ls -l sys-devel/
total 16
lrwxrwxrwx 1 root root 75 Feb 8 20:14 binutils-2.18-r1.tbz2 ->
/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/binutils-2.18-r1.t
bz2

lrwxrwxrwx 1 root root 68 Feb 8 20:13 gcc-4.2.2.tbz2 ->
/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/gcc-4.2.2.tbz2

lrwxrwxrwx 1 root root 71 Feb 8 20:13 glibc-2.7-r1.tbz2 ->
/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/glibc-2.7-r1.tbz2

lrwxrwxrwx 1 root root 79 Feb 8 20:14 linux-headers-2.6.24.tbz2 ->
/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/linux-headers-2.6.
24.tbz2
------------------------------------------------------------------------
----

Regards
Suma Sharma

-----Original Message-----
From: Neil Bothwick [mailto:neil@digimed.co.uk]
Sent: Friday, February 08, 2008 2:20 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Installation of binary packages

On Fri, 8 Feb 2008 09:52:35 +0530, Suma Sharma wrote:

> localhost sys-devel # emerge -K1 =sys-devel/binutils-2.18-r1.tbz2
> Calculating dependencies -
>
> !!! Binary package '=sys-devel/binutils-2.18-r1.tbz2' does not exist.
> !!! Please ensure the tbz2 exists as specified.

What does ls -l sys-devel show?


--
Neil Bothwick

Standard: (n., adj.) a design target which manufacturers may embellish,
improve upon, or ignore as they wish, so long as it can be used
profitably
in their advertising.
--
gentoo-user@lists.gentoo.org mailing list
 
Old 02-12-2008, 10:48 AM
"Suma Sharma"
 
Default Installation of binary packages

Hi
We were able to install the cross compiler binary packages. The commands
used were as follows:-
$ echo cross-${CTARGET} >> /etc/portage/categories
$ emerge -k binutils
$ emerge -k gcc
$ emerge -k glibc
$ emerge -k linux-headers

The above series of commands installs the cross compiler packages
present in /usr/portage/packages/cross/${CTARGET}/

Regards
Suma Sharma

-----Original Message-----
From: Neil Bothwick [mailto:neil@digimed.co.uk]
Sent: Thursday, February 07, 2008 6:09 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Installation of binary packages

On Thu, 7 Feb 2008 17:05:39 +0530, Suma Sharma wrote:

> !!! Binary package has an unrecognized category:
>
'/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/binutils-2.18-r1.
tbz2' !!!
> 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1' has a category that is
> not listed in /etc/portage/categories

The error message is quite explicit, All is not a recognised category,
you need to create a symlink to the package in $PKGDIR/sys-devel then do

emerge -K1 =sys-devel/binutils-2.18-r1

--
Neil Bothwick

One-seventh of life is spent on Monday.
--
gentoo-user@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 07:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org