View previous topic :: View next topic |
Author |
Message |
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Sun Aug 14, 2016 5:33 pm Post subject: [SOLVED] Finished installation by the book but |
|
|
so i finished instalattion part of the handbook, this is my first time working with gentoo or any linux whatsoever. So i tried the next part of the handbook that is portage intro and installing software
so i tried merge --ask app-office/gnumeric as per example sujest but tons of errors appear, such as
Code: | Failed to emerge app-text/libspectre-0.2.7, Log File: '/var/tmp/portage/app-text/libspectre-0.2.7/temp//builds.log' |
So my real question is, what should i do next of installation, what software should i choose to use, etc
Can anyone help?
Last edited by Reiner6 on Fri Aug 19, 2016 3:57 am; edited 1 time in total |
|
Back to top |
|
|
Gnubyte n00b
Joined: 11 Apr 2016 Posts: 9 Location: Toulon
|
Posted: Sun Aug 14, 2016 5:47 pm Post subject: |
|
|
Really, if this is your first try working with a linux system, is is a wise decision, even if not simple beginning with Gentoo. Anyway, learning Gentoo philosophy is a good choice in the way to master GNU/Linux.
So, if you want some help, perhaps could you post us some more information like:
- The content of the log file you pointed
- your /etc/portage/make.conf file, just in case of mistake
- your /var/lib/portage/world file, to let us figure out where you are
- Tell us if you rebooted correctly
With this kind of information, it will be much easier to answer. _________________ Linux addict since 1992
Padawan Gentoo, endoctriné par un maître |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Sun Aug 14, 2016 6:32 pm Post subject: |
|
|
I don't really know how to check those things, i just started this weekend with Gentoo, but so far the reboot was ok, i had no errors until tried to install any software |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Aug 14, 2016 7:17 pm Post subject: |
|
|
Reiner6 wrote: | I don't really know how to check those things, i just started this weekend with Gentoo, but so far the reboot was ok, i had no errors until tried to install any software |
You sure started with a tough distro. But that can be good. Do you have ANY experience with linux or unix?
One of the first things to do, so that you can help forum members with your problem is to install pastebin or wgetpaste.
Code: | emerge --ask wgetpaste | You run it by "wgetpaste <filename>" It then creates a web file on a server, returning the link address. You post the link address with your help request.
Do you have X11 running? Do you have a manager like KDE, GNOME, MATE, LXDE, et cetera installed? This could be the problem, but I doubt it. The package that failed IS required for gnumeric.
[/code] |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Aug 15, 2016 11:13 am Post subject: |
|
|
Reiner6 wrote: | I don't really know how to check those things, i just started this weekend with Gentoo, but so far the reboot was ok, i had no errors until tried to install any software |
Hi Reiner6.
As indicated please install wgetpaste on your system
Code: | emerge -av wgetpaste |
When that finishes run the following to provide the information requested.
The log file referenced.
Code: | cat /var/tmp/portage/app-text/libspectre-0.2.7/temp//builds.log | wgetpaste |
Your Make file.
Code: | cat /etc/portage/make.conf file | wgetpaste |
And your world file.
Code: | cat /var/lib/portage/world | wgetpaste |
The wgetpaste application will return a url that you will be able to post back here. |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Mon Aug 15, 2016 3:26 pm Post subject: |
|
|
Code: |
cat /var/tmp/portage/app-text/libspectre-0.2.7/temp//builds.log | wgetpaste| wgetpaste |
when i run that it returns
Code: | cat: /var/tmp/portage/app-text/libspectre-0.2.7/temp//builds.log: No such file or directory
No input read. Nothing to paste. Aborting. |
but when i run cat /etc/portage/make.conf file | wgetpaste i could get the file log
Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="bindist"
CPU_FLAGS_X86="mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages" |
and for cat /etc/portage/world | wgetpaste i could get the file log
Code: |
app-admin/sysklogd
app-text/wgetpaste
net-misc/dhcpcd
net-misc/netifrc
sys-boot/grub:2
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-kernel/linux-firmware |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Aug 15, 2016 5:53 pm Post subject: |
|
|
Reiner6,
If app-office/gnumeric is your first emerge after you have booted your own Gentoo for the first time, there are a few things to be aware of.
1) Well done! the hard bit is behind you.
2) Gentoo gives you only what you ask for and the things you need to support what you asked for. The converse in true too. If you've not asked for it, you don't have it.
3) app-office/gnumeric is a graphical program and you don't yet have a GUI.
Install, configure and test your GUI of choice, then come back to app-office/gnumeric
You are going to need Xorg to draw your windows and widgets.
After that, you need a Window Manage or a Desktop Environment to tell Xorg what to draw.
Once that tested and working, come back to app-office/gnumeric.
Gentoo works best when you build on something that works. That way, when, not if, you break it, you can undo your last changes.
Gentoo does not respond well to reinstalls, unlike a binary OS. That path only provides opportunities to make a different mistake.
You will learn from making it work the way you want. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Tue Aug 16, 2016 12:43 am Post subject: |
|
|
Thanks NeddySeagoon, i was really lost on what to do next after reboot.
That went smooth, and now i tried to run GNOME, but i try
Code: | echo "gnome-base/gnome-session branding" >> /etc/portage/package.use |
but all i get
Code: | -bash: /etc/portage/package.use: Is a directory |
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Tue Aug 16, 2016 1:03 am Post subject: |
|
|
Budoka: there is no need to teach a newbie to engage in Useless Use Of Cat. When the input is a single file, the input should be provided by redirecting stdin of the command, not by piping the cat of a file to that command. For example, wgetpaste < /etc/portage/make.conf. For commands that accept the filename as an argument, naming the file can be better than redirecting stdin.
Reiner6: Portage can accept /etc/portage/package.use (and some other configuration files) as either a file or as a directory. If it is a directory, it is treated as a virtual file consisting of the concatenation of the files in the directory. The error you received means you made /etc/portage/package.use a directory. You must write your per-package USE settings to a file of your choosing in that directory. |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Tue Aug 16, 2016 1:10 am Post subject: |
|
|
Quote: | You must write your per-package USE settings to a file of your choosing in that directory. |
ok i already did this, and i think i'm almost done, but i have 2 questions left
1-what settings should USE have?
2-how do i get systemd to install GNOME? |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Tue Aug 16, 2016 3:30 am Post subject: |
|
|
ian.au wrote: |
Firstly: Make sure you have set up your profile to be a .../desktop/gnom |
should it be /gnome or /gnome/systemd ? |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Tue Aug 16, 2016 3:31 am Post subject: |
|
|
A loaded question that can be but to follow the handbook, gnome/systemd |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Tue Aug 16, 2016 4:35 am Post subject: |
|
|
so i finally ended installing /gnome/systemd
Now that i run emerge --ask gnome-base/gnome it shows the Would you like to add these changes to your config files? and i put yes and first it shows Code: | Automask changes successfully written. | But next it says Code: | The following installed packages are masked:
-sys-kernel/genkernel-3.4.52.3::gentoo (masked by: package.mask)
/usr/portage/profiles/targets/systemd/package.mask:
#sys-kernel/genkernel is not compatible with Systemd, you need
#to use sys-kernel/genkernel-net instead |
Do i need to re-emerge configure my kernel as well?
Last edited by Reiner6 on Tue Aug 16, 2016 4:49 am; edited 1 time in total |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Tue Aug 16, 2016 4:46 am Post subject: |
|
|
I'm not much help with genkernel as I don't use it, is:
Quote: | #sys-kernel/genkernel is not compatible with systemd, you need to
#use sys-kernel/genkernel-net instead | a cut/paste or did you transpose it?
I would guess that should be genkernel-next so you could just Code: | emerge -C sys-kernel/genkernel | then Code: | emerge genkernel-next |
Then I guess Code: | genkernel --install all | (From the wiki, I really have no idea with genkernel, but I think this is correct) |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Tue Aug 16, 2016 5:19 am Post subject: |
|
|
This is a tip, that will probably will save you several issues later on, but I recommend you DO NOT have bindist enabled in your USE flag unless you are certain you need it. Bindist is often confused on it's meaning, and does cause frequent issues (personally, I think the USE flag should be hard masked to minimize these issues). Bindist means you intend to distribute binary copies of the package. When you have it enabled, it causes several packages to not compile in patented code due to licensing restrictions (most commonly in openssl and such) and breaks every package that depends on that patented code. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Tue Aug 16, 2016 8:53 am Post subject: |
|
|
Hu wrote: | Budoka: there is no need to teach a newbie to engage in Useless Use Of Cat. When the input is a single file, the input should be provided by redirecting stdin of the command, not by piping the cat of a file to that command. For example, wgetpaste < /etc/portage/make.conf. For commands that accept the filename as an argument, naming the file can be better than redirecting stdin.
Reiner6: Portage can accept /etc/portage/package.use (and some other configuration files) as either a file or as a directory. If it is a directory, it is treated as a virtual file consisting of the concatenation of the files in the directory. The error you received means you made /etc/portage/package.use a directory. You must write your per-package USE settings to a file of your choosing in that directory. |
Thanks Hu. I just provided that because I found from my own experience that often people on the forum say to a newbie "Do x and y, etc" assuming that the newbie knows how to do it. This is often the case when I come here with a problem. I only provided as cat because that is how I was using it but I learned something again! |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Tue Aug 16, 2016 8:55 am Post subject: |
|
|
Reiner6 wrote: | so i finally ended installing /gnome/systemd
Now that i run emerge --ask gnome-base/gnome it shows the Would you like to add these changes to your config files? and i put yes and first it shows Code: | Automask changes successfully written. | But next it says Code: | The following installed packages are masked:
-sys-kernel/genkernel-3.4.52.3::gentoo (masked by: package.mask)
/usr/portage/profiles/targets/systemd/package.mask:
#sys-kernel/genkernel is not compatible with Systemd, you need
#to use sys-kernel/genkernel-net instead |
Do i need to re-emerge configure my kernel as well? |
Did you commit the changes to your conf file after auto-unmask? I usually use but I believe there is another method as well. |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Wed Aug 17, 2016 1:47 am Post subject: |
|
|
So i was able to start Code: | emerge --ask gnome-base/gnome | i think is running without issues won't know until it's done, i know it reaaaaaally takes its time, i just crossed the 12 hours mark, is that normal? |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Wed Aug 17, 2016 5:32 am Post subject: |
|
|
Reiner6 wrote: | So i was able to start Code: | emerge --ask gnome-base/gnome | i think is running without issues won't know until it's done, i know it reaaaaaally takes its time, i just crossed the 12 hours mark, is that normal? |
Hard to say what's 'normal' without knowing the hardware you are compiling on; processor, ram and configs can make quite a difference - if it's still running and your box hasn't melted I'd guess it's ok... on a low spec machines (laptops in particular and anything x86 or < 8G ram) I don't use systemd/gnome - openRC/XFCE4 works better there in my experience (along with binary installs of ie firefox or libreoffice). |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Thu Aug 18, 2016 3:40 pm Post subject: |
|
|
On an elderly Thinkpad T61 (Intel T7300 at 2GHz) building X takes about an hour,
building Gnome takes about four hours thirty minutes, and building the full set of
packages I use takes about twelve hours.
That's from a standard Stage 3 command line; you can allow another hour or so
to build various useful tools.
Will |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Thu Aug 18, 2016 11:16 pm Post subject: |
|
|
I had a toshiba p20 laptop that I managed to keep going until a couple of years ago, I think from memory p4 @ 2.8Ghz 2Gb - that used to take around 20hrs to get a working XFCE desktop, I quickly learned to keep the install light on that one. |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Fri Aug 19, 2016 2:21 am Post subject: |
|
|
Thanks to everyone for their help!
if anyone wants to know it took about 6 to 10 hours to instal gentoo and gnome took 21 hours and 37 minuts |
|
Back to top |
|
|
ian.au Guru
Joined: 07 Apr 2011 Posts: 591 Location: Australia
|
Posted: Fri Aug 19, 2016 5:00 am Post subject: |
|
|
On this hardware you probably want a lighter install I ate two hdd's learning that on old laptops, they get a bit warm doing those monster compiles. |
|
Back to top |
|
|
Reiner6 n00b
Joined: 14 Aug 2016 Posts: 35
|
Posted: Fri Aug 19, 2016 5:02 am Post subject: |
|
|
i have a dell inspiron 1525, so its old, but not thaaaaat old, and since i started everything it has kept its cool |
|
Back to top |
|
|
|