Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help with emerging Xorg-server etc
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sat Feb 06, 2016 5:25 pm    Post subject: fixing openrc Reply with quote

Dear Tony and Ned,

I created a gentoo mount directory and attached the gentoo partition to it.

I then ran the various commands to create the chroot environment and then entered it.

I then tried

emerge -1 openrc

I got complaints about package conflicts etc.

So then I tried

Code:
rhubarb / # emerge -1 openrc --exclude sys-process/procps         

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
[ebuild  N     ] sys-apps/openrc-0.19.1  USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs -tools"
[ebuild  rR    ] app-editors/nano-2.4.3
[blocks B      ] <sys-process/procps-3.3.9-r2 ("<sys-process/procps-3.3.9-r2" is blocking sys-apps/openrc-0.19.1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-process/procps-3.3.9::gentoo, installed) pulled in by
    sys-process/procps required by @system

  (sys-apps/openrc-0.19.1::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/openrc required by @system
    openrc
    sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed)
    >=sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, installed)


I hope this is short enough not to need pastebin.

I tried the gcc-config etc and gcc-version but got:

Code:

gcc-config: Could not source /etc/init.d/functions.sh!
gcc-config: error: could not get compiler binary path: No such file or directory


Comments appreciated

Regards

MF
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sat Feb 06, 2016 6:11 pm    Post subject: fixing openrc Reply with quote

Perhaps I should try using the mask option.

MF
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sun Feb 07, 2016 8:48 am    Post subject: fixing openrc Reply with quote

Dear Tony and Ned,

If I can't install openrc would it be a good idea to try to install systemd instead?

Regards

MF
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Sun Feb 07, 2016 10:07 am    Post subject: Reply with quote

well, first off; the message tells you what is wrong...

Code:
 <sys-process/procps-3.3.9-r2 ("<sys-process/procps-3.3.9-r2" is blocking sys-apps/openrc-0.19.1)

You need a version of at least 3.3.9-r2 for procps...

Secondly,
Code:
gcc-config: Could not source /etc/init.d/functions.sh!
gcc-config: error: could not get compiler binary path: No such file or directory


Is concerning, as that is indicating you may not have a compiler... If that's the case, systemd won't get you any farther...
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sun Feb 07, 2016 10:27 am    Post subject: is gcc really there Reply with quote

Many thanks for helping me here.....

I did this:


Code:
rhubarb bin # pwd
/usr/bin
rhubarb bin # ls -la gcc*
-rwxr-xr-x 1 root root 10424 Nov 22  2014 gcc
lrwxrwxrwx 1 root root    62 Jan 28 23:32 gcc-4.9.3 -> /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 10424 Nov 22  2014 gcc-ar
-rwxr-xr-x 1 root root 22979 Oct 16  2014 gcc-config
-rwxr-xr-x 1 root root 10424 Nov 22  2014 gcc-nm
-rwxr-xr-x 1 root root 10424 Nov 22  2014 gcc-ranlib


So I think there is a compiler there (?) but somehow I can't seem to reach it.

Suggestions welcome

MF
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sun Feb 07, 2016 10:36 am    Post subject: is gcc really there Reply with quote

Hello again

I tried emerge sys-process/procps

It conked on me saying the compiler is not working


Code:
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-process/procps-3.3.10-r1/work/procps-ng-3.3.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


Seems like gcc is a problem for me.

Regards

MF
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sun Feb 07, 2016 10:53 am    Post subject: is gcc really there Reply with quote

I put the config.log file here:


http://paste.debian.net/378970/

Regds

MF
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Feb 07, 2016 1:24 pm    Post subject: Reply with quote

Correcting my previous post, as I haven't read a sufficient portion of the thread before I've made it - if I did, I'd be to busy ROLFing to make it.

As you see, that file from openrc is somewhat crucial to gcc-config...at least to the installed version.
Try emerging sys-devel/gcc-config-1.8-r1 - that one uses a different file.
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Sun Feb 07, 2016 3:46 pm    Post subject: fixing stuff Reply with quote

Hello there

I ran emerge for the version of sys-devel/gcc-config-1.8-r1 and got the following output:


http://paste.debian.net/379002/

I will read through the manual pages it specifies. I need to try the masking stuff.

Regds

MF
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Thu Mar 10, 2016 6:33 pm    Post subject: I moved the hard drive to a different amd64 motherboard Reply with quote

Dear Folks,

I needed a hard drive for another PC I have that needed some repair workl andi is now operational.

So I moved the hard drive that has Gentoo on it to the new box.

It is a sabertooth fx990 board with an AMD FX 8350 chip in it.

There is an engt 430 graphics card in there as well.

When fired up gentoo makes some permissions complaints once you have logged in.

If you try a command like emerge @world

you get errors like this:

" OSE Err no 30 read only file system "

Is it worth addressing them or should I reinstall from scratch now?

Regds

MF
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Mar 10, 2016 6:39 pm    Post subject: Re: I moved the hard drive to a different amd64 motherboard Reply with quote

mikefot wrote:
Is it worth addressing them or should I reinstall from scratch now?


Definitely worth fixing. But you should start a new thread. In it post the error messages and your /etc/fstab.

Also, did your CPU change? In either case, you'll have to recompile the kernel to select your new hardware.
Back to top
View user's profile Send private message
mikefot
l33t
l33t


Joined: 19 Nov 2014
Posts: 709

PostPosted: Thu Mar 10, 2016 6:53 pm    Post subject: Reply with quote

OK, I have made a new post on the kernel and hardware section

MF
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum