Emerge App Installation issue

Anything that pertains to Portage

Moderator: Moderators

Emerge App Installation issue

Postby killaray » Wed Dec 31, 2008 20:44

im coming from Ubuntu, and their commands r fairly easy.. now i understand that u guys use emerge instead of the apt-get im used to... now ive used sabayon 1 time before and i installed an app just find, mind u it did take a mighty long time cause it seems like emerge installs everything from source.. anywho my issue is im trying to install amarok and it says it has a dependency that isnt met... so im tryin to install mysql which is the dependency and i get this error

Code: Select all
/bin/sh: line 9: 32546 Aborted                 make $local_target
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
make: INTERNAL: Exiting with 1 jobserver tokens available; should be 2!
 *
 * ERROR: dev-db/mysql-5.0.72-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3612:  Called mysql_src_compile
 *             environment, line 3216:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/lib/entropy/logs/dev-db:mysql-5.0.72-r1:20090101-003613.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.72-r1/temp/environment'.
 *

>>> Failed to emerge dev-db/mysql-5.0.72-r1, Log file:

>>>  '/var/lib/entropy/logs/dev-db:mysql-5.0.72-r1:20090101-003613.log'


this shows up once its basically done installing... anyone know how i could get this thing installed? or is there a command for emerge that it will automatically install all dependencies a package needs when i look it up?
killaray
Baby Hen
 
Posts: 8
Joined: Wed Dec 31, 2008 20:16

Re: Emerge App Installation issue

Postby Stupot » Wed Dec 31, 2008 21:56

emerge attempts to install dependencies as well.

Since you're coming from Ubuntu, maybe I suggest you check out entropy instead of trying portage? Entropy is a binary package manager much more like what Ubuntu uses.


(You won't need to install it, as it should already be installed)

http://wiki.sabayonlinux.org/index.php?title=En:Entropy
Stupot
Sagely Hen
 
Posts: 1514
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Emerge App Installation issue

Postby killaray » Thu Jan 01, 2009 0:37

seems like entropy and spritz are the same.. ive tried spritz and it also gives errors..
killaray
Baby Hen
 
Posts: 8
Joined: Wed Dec 31, 2008 20:16

Re: Emerge App Installation issue

Postby killaray » Thu Jan 01, 2009 18:48

anyone have any ideas on how i can get this thing installed so i can install amarok?
killaray
Baby Hen
 
Posts: 8
Joined: Wed Dec 31, 2008 20:16

Re: Emerge App Installation issue

Postby wolfden » Thu Jan 01, 2009 20:26

mysql comes preinstalled on SL 4
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Emerge App Installation issue

Postby killaray » Thu Jan 01, 2009 20:59

so wuts this mean?

Code: Select all
 sudo emerge -av amarokPassword:

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=dev-db/mysql-5.0[embedded,-minimal]".
!!! One of the following packages is required to complete your request:
- dev-db/mysql-5.0.72-r1 (Change USE: +embedded)
(dependency required by "media-sound/amarok-2.0" [ebuild])
(dependency required by "amarok" [argument])
killaray
Baby Hen
 
Posts: 8
Joined: Wed Dec 31, 2008 20:16

Re: Emerge App Installation issue

Postby wolfden » Thu Jan 01, 2009 22:06

1. it means your mixing entropy and portage, which is not recommended

2. it tells you exactly what it means"
dev-db/mysql-5.0.72-r1 (Change USE: +embedded)

you need to rebuild mysql with the required change it is telling you
http://gentoo-portage.com/dev-db/mysql/USE#ptabs << see flags available

the deal is, if you are gonna use entropy, it's gonna ignore changes you do and revert it back unless you mask mysql in entropy.

do you understand portage? have you looked at the portage guide in the our wiki? If you are gonna be mixing package managers, be sure to get to know each one very good.

Otherwise to request a package rebuild in entropy use:
viewtopic.php?f=76&t=13891
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Emerge App Installation issue

Postby killaray » Fri Jan 02, 2009 7:03

im so confused.. im lookin through spritz and apparently both packages have been installed already... im so confused...
killaray
Baby Hen
 
Posts: 8
Joined: Wed Dec 31, 2008 20:16

Re: Emerge App Installation issue

Postby marshalleq » Tue Jan 13, 2009 0:10

Just found out the resolution to this from the IRC channel.

vi /etc/portage/package.use

add a line at the bottom like this: dev-db/mysql embedded

save your changes

emerge mysql (I actually did "emerge =dev-db/mysql-5.0.72-r1" but that may be unneccessary

emerge amarok.

All done!

:)
marshalleq
Baby Hen
 
Posts: 7
Joined: Mon Jan 12, 2009 23:09


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron