Portage Build Issues/Questions

Anything that pertains to Portage

Moderator: Moderators

Portage Build Issues/Questions

Postby J2112O » Mon Jul 21, 2014 14:18

Sorry all but a total newb here in Gentoo. Using Sabayon XFCE at the moment until I get a better feel for the system. Trying to install the application Filezilla and keep getting the following error.. Here is the info

Failed to emerge dev-libs/tinyxml-2.6.2-r2, Log file:

>>> '/var/tmp/portage/dev-libs/tinyxml-2.6.2-r2/temp/build.log'

* Messages for package dev-libs/tinyxml-2.6.2-r2:

* ERROR: dev-libs/tinyxml-2.6.2-r2::gentoo failed (compile phase):
* emake failed
So I do some looking and see I probably need to install tinyxml so I emerge it and get this returned..

ERROR: dev-util/cmake-2.8.12.2-r1::gentoo failed (prepare phase):
* Bootstrap failed
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 3089: Called cmake_src_bootstrap
* environment, line 859: Called die
* The specific snippet of code:
* ${CONFIG_SHELL:-sh} ./bootstrap --prefix="${T}/cmakestrap/" ${par_arg} || die "Bootstrap failed"

What am I doing wrong and missing here? This is so new to me and I am blind in all of this but want to learn how to correct and fix it.
Thanks all
J2112O
Baby Hen
 
Posts: 4
Joined: Mon Jul 21, 2014 14:15

Re: Portage Build Issues/Questions

Postby Stupot » Mon Jul 21, 2014 20:44

Just to make sure, you do have gcc installed, right?

By default, Sabayon comes with base-gcc, but not gcc itself. This means you've got libraries that let's you run things but you can't actually compile without installing the rest of gcc.

Code: Select all
# equo install gcc
Stupot
Sagely Hen
 
Posts: 1537
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Portage Build Issues/Questions

Postby J2112O » Tue Jul 22, 2014 0:41

That worked friend. Thanks a lot for the help. So when should I use Equo instead or Emerge? Or does it matter? What is the difference between them?
J2112O
Baby Hen
 
Posts: 4
Joined: Mon Jul 21, 2014 14:15

Re: Portage Build Issues/Questions

Postby J2112O » Tue Jul 22, 2014 0:58

Also how do I go about fixing this

The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by app-forensics/rkhunter-1.4.2
# required by rkhunter (argument)
>=sys-process/lsof-4.87-r1 rpc
J2112O
Baby Hen
 
Posts: 4
Joined: Mon Jul 21, 2014 14:15

Re: Portage Build Issues/Questions

Postby Stupot » Tue Jul 22, 2014 1:48

For new people, it's best to stick to equo. Equo (aka entropy) has binary packages, meaning they are already compiled for you.

Emerge (portage) means you need to compile them yourself. That is how Gentoo works, which is what Sabayon is based off of.

To install filezilla in an easy way:

Code: Select all
# equo install filezilla


Or launch rigo, which is a graphical frontend to entropy and search for filezilla on there.
Stupot
Sagely Hen
 
Posts: 1537
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Portage Build Issues/Questions

Postby J2112O » Tue Jul 22, 2014 1:52

Thanks for the info. I've been on Manjaro and Arch for the past year or so and this whole system of Portage and the Gentoo and Sabayon distro is very different but I am looking forward to using it. Thanks again
J2112O
Baby Hen
 
Posts: 4
Joined: Mon Jul 21, 2014 14:15

Re: Portage Build Issues/Questions

Postby albfneto » Fri Jul 25, 2014 1:42

if you want to use Portage in Sabayon, you also should edit your /etc/portage/make.conf according to your machine and your purposes and USE Flags.

and also edit the /etc/entropy/client.conf, and in the line containing the string "ignore pseudodowngrades", change "disable" to "enable".
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1705
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests