View previous topic :: View next topic |
Author |
Message |
chef goobey n00b

Joined: 11 Aug 2004 Posts: 1
|
Posted: Wed Aug 11, 2004 9:54 pm Post subject: emerge nss fails |
|
|
I keep getting the same error over and over, no matter which version I try to emerge, I really have no idea what the problem is. I searched these forums for anybody else having the same problem, didn't find it. I searched google forums for similar problems, couldn't come up with anything, so here is this post as a last resort.
heres my emerge --info nss output-
[code]Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.26.2004.08.02)
=================================================================
System uname: 2.4.26.2004.08.02 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi aim alsa apache2 apm arts avi berkdb bonobo bzlib cdb crypt cups dga directfb divx4linux dvd encode esd fbcon foomaticdb ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hardenphp icq imlib java jpeg kde kerberos krb4 libg++ libwww mad mikmod motif mozilla mpeg msn mysql ncurses nls nocd offensive oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppds python qt quicktime readline scanner sdl slang slp spell sse ssl svga tcpd tiff truetype trusted usb videos x86 xinerama xml2 xmms xv yahoo zlib"[/code]
And here is the entire emerge nss output-
[code]Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/nss-3.8 to /
>>> md5 src_uri nss-3.8.tar.gz
>>> Unpacking source...
>>> Unpacking nss-3.8.tar.gz to /var/tmp/portage/nss-3.8/work
>>> Source unpacked.
../coreconf/config.mk:67: ../coreconf/Linux2.4.26.2004.08.mk: No such file or directory
../coreconf/config.mk:167: no file name for `-include'
make: *** No rule to make target ../coreconf/Linux2.4.26.2004.08.mk. Stop.
make: *** [../coreconf/Linux2.4.26.2004.08.mk] Error 1
!!! ERROR: dev-libs/nss-3.8 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! coreconf make failed
[/code]
Its probably a simple problem, but here I am... |
|
Back to top |
|
 |
azeta n00b

Joined: 17 Aug 2004 Posts: 1
|
Posted: Tue Aug 17, 2004 12:31 pm Post subject: workaround |
|
|
edit the ebuild: /usr/portage/dev-libs/nss/nss-3.8.ebuild
and under the lines:
# Fix for Linux 2.6
cp Linux2.5.mk Linux2.6.mk
write one copy line for your kernel version ('Linux2.4.26.2004.08') like this:
cp Linux2.5.mk Linux2.4.26.2004.08.mk
emerge nss must work now. |
|
Back to top |
|
 |
millerl n00b


Joined: 26 Jul 2004 Posts: 51 Location: Coeur d'Alene
|
Posted: Thu Aug 26, 2004 9:07 am Post subject: |
|
|
Thank you!
That seemed to do the trick nicely! |
|
Back to top |
|
 |
jonfr Veteran

Joined: 20 Jul 2003 Posts: 1008 Location: Denmark
|
Posted: Thu Sep 02, 2004 10:05 pm Post subject: |
|
|
thank you. I did fix one broken ebuild. It did give that same error on kernel 2.6.8  |
|
Back to top |
|
 |
Randuin n00b

Joined: 14 Aug 2003 Posts: 28
|
Posted: Sat Sep 11, 2004 2:45 pm Post subject: |
|
|
How do you find out the specific version of your kernel?
And I don't even seem to have a coreconf folder but mine is looking for it... |
|
Back to top |
|
 |
kallamej Administrator


Joined: 27 Jun 2003 Posts: 4985 Location: Gothenburg, Sweden
|
Posted: Sat Sep 11, 2004 3:53 pm Post subject: |
|
|
Look at the error message, it complains about Linux<version>.mk. Post it if you are unsure. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
 |
xy77 Tux's lil' helper


Joined: 22 Aug 2003 Posts: 85
|
Posted: Wed Sep 22, 2004 11:53 am Post subject: |
|
|
Randuin wrote: | How do you find out the specific version of your kernel?
And I don't even seem to have a coreconf folder but mine is looking for it... |
will give you Linux <hostname> <kernelversion> <date> ...
- xy77 |
|
Back to top |
|
 |
darksbane n00b

Joined: 15 Apr 2004 Posts: 28 Location: Fredonia, NY
|
Posted: Sat Sep 25, 2004 12:06 am Post subject: |
|
|
Thank you much. I was also having this problem using kernel 2.6.8.1 It was bugging the heck out of me. :) _________________ :wq |
|
Back to top |
|
 |
biggy_paul n00b

Joined: 28 Sep 2004 Posts: 4
|
Posted: Tue Sep 28, 2004 10:37 am Post subject: |
|
|
Thanks, I am new to Gentoo so this was causing me a problem. Once I followed your instructions properly everything worked. _________________ Better to burn out, than to fade away... |
|
Back to top |
|
 |
DijiTao Tux's lil' helper

Joined: 23 Nov 2003 Posts: 94
|
Posted: Wed Oct 06, 2004 12:33 am Post subject: |
|
|
I don't know why this is giving me such trouble --
Code: | toaster root # uname -a
Linux toaster 2.6.8.1 #3 SMP Mon Oct 4 18:23:22 UTC 2004 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
toaster root # emerge gaim
Calculating dependencies ...done!
>>> emerge (1 of 5) dev-libs/nss-3.8 to /
>>> md5 src_uri ;-) nss-3.8.tar.gz
>>> Unpacking source...
>>> Unpacking nss-3.8.tar.gz to /var/tmp/portage/nss-3.8/work
>>> Source unpacked.
../coreconf/config.mk:67: ../coreconf/Linux2.6.8.mk: No such file or directory
../coreconf/config.mk:167: no file name for `-include'
make: *** No rule to make target ../coreconf/Linux2.6.8.mk. Stop.
make: *** [../coreconf/Linux2.6.8.mk] Error 1
!!! ERROR: dev-libs/nss-3.8 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! coreconf make failed
|
How do I need to edit the ebuild?
Code: | # Fix for Linux 2.6
cp Linux2.5.mk 2.6.8.1.mk
|
|
|
Back to top |
|
 |
TrueDFX Retired Dev

Joined: 02 Jun 2004 Posts: 1348
|
Posted: Wed Oct 06, 2004 12:35 am Post subject: |
|
|
It complains about Linux2.6.8.mk, so try that instead of 2.6.8.1.mk. |
|
Back to top |
|
 |
DijiTao Tux's lil' helper

Joined: 23 Nov 2003 Posts: 94
|
Posted: Wed Oct 06, 2004 1:30 am Post subject: |
|
|
Thanks for the quick reply.
For anyone else that has this problem what I had to do was open /usr/portage/dev-libs/nss/nss-3.8.ebuild and change the line under the comment 'Fix for Linux 2.6' to read 'cp Linux2.5.mk 2.6.8.mk' |
|
Back to top |
|
 |
sdy284 n00b


Joined: 09 Apr 2004 Posts: 6 Location: Wisconsin, USA
|
Posted: Thu Oct 07, 2004 6:34 am Post subject: |
|
|
what is the command to open open /usr/portage/dev-libs/nss/nss-3.8.ebuild ?
nevermind
yea, that worked like a charm _________________ Gentoo 2004.2
KDE 3.30
HP nw8000 (laptop)
P4-M @ 1.6GHz
1Gb PC2700
ATi Mobility Fire GL T2 |
|
Back to top |
|
 |
BigKing n00b

Joined: 26 Jan 2004 Posts: 2
|
Posted: Thu Oct 07, 2004 11:52 pm Post subject: |
|
|
to edit or what you mean?
use nano or vi or something else |
|
Back to top |
|
 |
BennyP Guru


Joined: 09 May 2003 Posts: 503 Location: Jerusalem, Israel
|
Posted: Tue Oct 19, 2004 1:38 am Post subject: |
|
|
thanks for the fix gentoots! _________________ Could it be? |
|
Back to top |
|
 |
|