View previous topic :: View next topic |
Author |
Message |
jebriggsy n00b
Joined: 22 Aug 2013 Posts: 26 Location: USA
|
Posted: Tue Apr 08, 2014 7:49 pm Post subject: [SOLVED] enewgroup & enewuser comand not found |
|
|
Hello,
I am trying to install I2P on my system. I found that it isn't available in the main portage db, so I created a local directory using this guide. I then found a pre-made ebuild located here and downloaded the relevant files to /usr/local/portage/net-p2p/i2p, minus the manifest. I created a manifest using ebuild *.ebuild manifest while in said directory.
After that I ran emerge -v i2p and it runs fine until just after compiling the source. Portage ouputs two warnings:
Code: |
/var/tmp/portage/net-p2p/i2p-0.9.11/temp/environment: line 4008: enewgroup: command not found
/var/tmp/portage/net-p2p/i2p-0.9.11/temp/environment: line 4009: enewuser: command not found
|
After this, it continues installation without a problem. However, when I try to start the service via /etc/init.d/i2p start, it fails with:
Code: |
* start-stop-daemon: user `i2p' not found
cat: /run/i2p.pid: No such file or directory [ !! ]
* ERROR: i2p failed to start
|
I know that the newgroup/user functions are part of eutils.eclass, so I copied the file to /usr/local/portage/eclass hoping that it would solve the problem, thinking maybe portage uses relative paths or something (grasping at straws). But it didn't work. The only similar threads I found in search said that it was a problem with shadow, which I do have installed, or a problem with my path, which I wouldn't know where to start troubleshooting.
Can anyone point me in the right direction?
Last edited by jebriggsy on Sat Nov 22, 2014 6:38 am; edited 1 time in total |
|
Back to top |
|
|
mahdi1234 Guru
Joined: 19 Feb 2005 Posts: 559 Location: Being There
|
|
Back to top |
|
|
ron.ohara n00b
Joined: 01 Feb 2012 Posts: 2
|
Posted: Fri Nov 21, 2014 9:52 am Post subject: [SOLVED] ebuild missing enewgroup and enewuser |
|
|
I have now worked out why you get
enewgroup: command not found
and
enewuser: command not found.
In the past, these commands were part of 'inherit eutils'
These days, they are part of 'inherit user'
If you get this error, just change the 'inherit' line in the ebuild to also inherit 'user' |
|
Back to top |
|
|
|
|
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
|
|