[gentoo-user] Re: Neither klibc nor splashutils will emerge

2006-08-24 Thread Mick
Any ideas at all, please?

On Wednesday 23 August 2006 22:11, Mick wrote:
 Hi All,

 I can't emerge either of these packages.  I have remerged gcc to no avail.
 How do I troubleshoot this?

 These are the error messages for klibc:
 =
  KLIBCAS klibc/syscalls/__reboot.o
   KLIBCAS klibc/syscalls/sysinfo.o
   KLIBCAS klibc/syscalls/klogctl.o
   KLIBCAS klibc/syscalls/iopl.o
   KLIBCAS klibc/syscalls/ioperm.o
   KLIBCAS klibc/syscalls/vm86.o
   KLIBCLD klibc/syscalls/syscalls.o
 make[1]: *** [all] Error 2
 make: *** [klibc] Error 2

 !!! ERROR: dev-libs/klibc-1.2.1-r2 failed.
 Call stack:
   ebuild.sh, line 1539:   Called dyn_compile
   ebuild.sh, line 939:   Called src_compile
   klibc-1.2.1-r2.ebuild, line 138:   Called die

 !!! Compile failed!
 =

 and these for splashutils:
 =
 /usr/lib/klibc/include/linux/device.h: In function `dev_get_drvdata':
 /usr/lib/klibc/include/linux/device.h:348: error: dereferencing pointer to
 incomplete type
 /usr/lib/klibc/include/linux/device.h: In function `dev_set_drvdata':
 /usr/lib/klibc/include/linux/device.h:354: error: dereferencing pointer to
 incomplete type
 /usr/lib/klibc/include/linux/device.h: In function `device_is_registered':
 /usr/lib/klibc/include/linux/device.h:359: error: dereferencing pointer to
 incomplete type
 In file included from /usr/lib/klibc/include/linux/notifier.h:13,
  from /usr/lib/klibc/include/linux/backlight.h:12,
  from /usr/lib/klibc/include/linux/fb.h:4,
  from kernel.c:16:
 /usr/lib/klibc/include/linux/mutex.h: At top level:
 /usr/lib/klibc/include/linux/mutex.h:51: error: field `wait_list' has
 incomplete type
 /usr/lib/klibc/include/linux/mutex.h:67: error: field `list' has incomplete
 type
 In file included from /usr/lib/klibc/include/linux/backlight.h:12,
  from /usr/lib/klibc/include/linux/fb.h:4,
  from kernel.c:16:
 /usr/lib/klibc/include/linux/notifier.h:47: error: field `rwsem' has
 incomplete type
 In file included from /usr/lib/klibc/include/linux/fb.h:4,
  from kernel.c:16:
 /usr/lib/klibc/include/linux/backlight.h:47: error: field `sem' has
 incomplete type
 kernel.c: In function `handle_init':
 kernel.c:191: error: `MAX_NR_CONSOLES' undeclared (first use in this
 function) kernel.c: At top level:
 /usr/lib/klibc/include/linux/device.h:332: error: storage size of
 `dma_pools' isn't known
 /usr/lib/klibc/include/linux/device.h:338: error: storage size of `node'
 isn't known
 make: *** [kernel/kernel.o] Error 1

 !!! ERROR: media-gfx/splashutils-1.1.9.10-r1 failed.
 Call stack:
   ebuild.sh, line 1539:   Called dyn_compile
   ebuild.sh, line 939:   Called src_compile
   splashutils-1.1.9.10-r1.ebuild, line 141:   Called die

 !!! failed to build splashutils
 =

 The reason I tried to remerge klibc was to solve the spashutils problem in
 the first instance, but now I'm stuck.  :(

-- 
Regards,
Mick


pgp0ikWoPELsu.pgp
Description: PGP signature


Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge

2006-08-24 Thread Donnie Berkholz
Mick wrote:
 Any ideas at all, please?

Tried bugs.gentoo.org? If you don't find it there yet, file a new bug.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge

2006-08-24 Thread Richard Fish

On 8/23/06, Mick [EMAIL PROTECTED] wrote:

Any ideas at all, please?


I'm pretty sure both of these require configured kernel sources.  They
should have checks for this, but I guess those checks could be
confused.  Does /usr/src/linux point to a configured kernel?  Are you
using the symlink use flag?  (which could be the culprit in this
case)

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-24 Thread Alan Mckinnon
On Wed, 2006-08-23 at 12:40 -0700, Richard Fish wrote:
 On 8/23/06, Alan Mckinnon [EMAIL PROTECTED] wrote:
  Can you be absolutely certain I'm wrong? Can you absolutely guarantee
  that a recompile with a different config MUST be treated differently to
  an upgrade?
 
 We are still talking about CFLAGS here, right?  Then ok, no, it is not
 _necessary_ to treat this differently than an upgrade in gcc versions.
  One can happily run emerge -e system; emerge -e world and get to
 the same result.  But that doesn't change the fact that the emerge -e
 system step is redundant _in this case_.

I'd like to suggest at this point that we drop this thread. Because you
and I both understand the compile process well, but we seemed to have
gotten the wires crossed a few posts back and are talking about slightly
different scenarios.

You are right in saying that in this case, emerge -e system is
redundant, but your average gentoo-newbie is in no state to understand
why, or even care :-)

Besides, I really need to get going on figuring out why Sybase ASE won't
install here and play nicely with php5

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-24 Thread Alan Mckinnon
On Wed, 2006-08-23 at 12:06 -0700, Richard Fish wrote:
 More seriously, there is some really _stupid_ information about
 upgrading gcc on the gentoo-wiki and forums that seems to crop up here
 every few months, and it makes me really, really angry.  Stupid crap
 like needing to emerge -e system ; emerge -e system; emerge -e world;
 emerge -e world.  Or needing to rebuild all binaries that link
 against a library whenever you rebuild the library.  Or that you
 should merge gcc twice because you want a version of gcc that is built
 with the same version of gcc.  All of which is utter nonsense. 

Ah, now the thread starts to make sense. I've been the lucky one and
never run into any of that nonsense. Other crap yes, but so far not that
crap.

Cheers

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ethereal on the LiveCD but not in portage?

2006-08-24 Thread Arnau Bria
On Wed, 23 Aug 2006 11:03:56 -0700
Richard Fish wrote:

Hi Richard,

 You probably need to add the gtk useflag.  echo
 net-analyzer-wireshark gtk /etc/portage/package.use.  Otherwise you
 just get the console version, tshark.

Thanks for your reply, I have my wireshark running now...
just one more question, how do you know what feature provides each
use in a package?
I mean, how did you know wireshark needed gtk, but talking in general...

 HTH,
 -Richard
Cheers!

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge

2006-08-24 Thread Mick
On Thursday 24 August 2006 07:24, Richard Fish wrote:

 I'm pretty sure both of these require configured kernel sources.  They
 should have checks for this, but I guess those checks could be
 confused.  Does /usr/src/linux point to a configured kernel?  Are you
 using the symlink use flag?  (which could be the culprit in this
 case)

Thanks Richard,

I am not using the symlink flag and just to make sure I removed 
the /usr/src/linux symlink and relinked it to the latest stable kernel 
sources.  The only thing I can think of is that I used make oldconfig, when I 
compiled a kernel with those sources - does it matter?
-- 
Regards,
Mick


pgpqz0JNE5YHZ.pgp
Description: PGP signature


[gentoo-user] Re: Little OT: Real transparency of terminal windows ?

2006-08-24 Thread Marco Costa

http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency
http://gentoo-wiki.com/HOWTO_XGL

Regards,

Marco



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Ethereal on the LiveCD but not in portage?

2006-08-24 Thread Alan Mckinnon
On Thu, 2006-08-24 at 10:10 +0200, Arnau Bria wrote:

 Thanks for your reply, I have my wireshark running now...
 just one more question, how do you know what feature provides each
 use in a package?
 I mean, how did you know wireshark needed gtk, but talking in general...

It's quite easy, but sometimes involves some detective work:

gentoo linux # emerge -pv wireshark

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] net-analyzer/wireshark-0.99.2  USE=gtk ssl threads
-adns -ipv6 -kerberos (-selinux) -snmp 12,068 kB

Total size of downloads: 12,068 kB

So it has a gtk USE flag. Tofind out what gtk means, you can either
look into /usr/portage/profiles/use.desc directly:

gentoo linux # cat /usr/portage/profiles/use.desc | grep gtk
gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit)

The other way is to use one of the tools in e.g. gentoolkit. I like
equery:

gentoo linux # equery uses -a wireshark
[ Searching for packages matching wireshark... ]
[ Colour Code : set unset ]
[ Legend: Left column  (U) - USE flags from
make.conf ]
[  : Right column (I) - USE flags packages was installed
with ]
[ Found these USE variables for net-analyzer/wireshark-0.99.2 ]
 U I
 - - adns : Adds support for the adns DNS client library
 + + gtk  : Adds support for x11-libs/gtk+ (The GIMP Toolkit)

Which nicely displays that wireshark USEs gtk, that the current config
for it is to enable it, and that it was compiled with that flag enabled.

The gtk flag is very common, it's one of those that when you see it in a
spec, you know exactly what it's for and what it means.

To truly know what the dev has done with the USE flag, check
the .ebuild. IUSE tells you which flags are consulted:

IUSE=adns gtk ipv6 snmp ssl kerberos threads selinux

The details are in DEPEND or RDEPEND. For wireshark, it's in RDEPEND.
From the ebuild:

RDEPEND==sys-libs/zlib-1.1.4
gtk? ( =dev-libs/glib-2.0.4
=x11-libs/gtk+-2*
x11-libs/pango
dev-libs/atk )
!gtk? ( =dev-libs/glib-1.2* )


Which means that if gtk is set, portage will also emerge glib, gtk+,
pango and atk. If gtk is not set, portage will check for glib, but for a
lesser version. You can then iteratively check each of those packages to
find what they do. Because !gtk doesn't depend on any X packages at all,
we can conclude that no gtk flag means it will be compiled as a
console-only app.

There are probably 100s of other ways to find all this out. :-)

Some resources where this is documented:

man emerge
man 5 portage
man 5 make.conf
man equery

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ethereal on the LiveCD but not in portage?

2006-08-24 Thread Arnau Bria
On Thu, 24 Aug 2006 11:18:47 +0200
Alan Mckinnon wrote:

 It's quite easy, but sometimes involves some detective work:

[...]

Thanks for your explanation!

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ethereal on the LiveCD but not in portage?

2006-08-24 Thread Richard Fish

On 8/24/06, Arnau Bria [EMAIL PROTECTED] wrote:

just one more question, how do you know what feature provides each
use in a package?
I mean, how did you know wireshark needed gtk, but talking in general...


Well, in generalexperience.  And experimentation.  And emerge -pv
cat-egory/package.

Flags like gtk, qt, and X are _generally_ used to add in graphical
interfaces.  USE=crypt is _generally_ used to add encryption support.
USE=hal generally adds some kind of hot-plug device support for
desktops. But these are more guidelines that one gains from using and
working with Gentoo, and not rules.  For example, sys-apps/dbus has
qt, qt4, and gtk flags...but there is no GUI for dbus.  In fact in the
case of sys-apps/dbus, these are used to link against those toolkits
for the purpose of emitting events through to the user's desktop.

Global useflags are described in /usr/portage/profiles/use.desc, but
as they are global, and the descriptions short, they don't really
tell you a whole lot.  Global flags can have very different meanings
for different packages, and there is no document that says gtk is
required to build the wireshark GUI for wireshark.

The situation is a little better for local use flags
(/usr/portage/profiles/use.local.desc), as those flags are specific to
a package, so can have a more specific description.

So there was not really any good way for you to know that you needed
USE=gtk to get the GUI.  Even reading the ebuild would have only told
you that it causes the configure script to be run with --with-gtk2,
whatever that means.

However, it is frequently useful to look at what use flags a package
supports by doing emerge -pv cat-egory/package.  This will give you
a list of use flags that are available, and maybe an idea of what they
might do in the context of the package.  Indeed, this is what I did
for wireshark to discover that it had a gtk useflag, and from that, it
was obvious to me that it would be required to get the gtk-based GUI.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge

2006-08-24 Thread Richard Fish

On 8/24/06, Mick [EMAIL PROTECTED] wrote:

I am not using the symlink flag and just to make sure I removed
the /usr/src/linux symlink and relinked it to the latest stable kernel
sources.  The only thing I can think of is that I used make oldconfig, when I
compiled a kernel with those sources - does it matter?


I wouldn't think so...

-Richard
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Re: Gentoo on a PDA (mda III or xda III)

2006-08-24 Thread JC Denton
Yes. But what is the point?[EMAIL PROTECTED] schrieb: On Mon, 21 Aug 2006, JC Denton wrote: From: JC Denton <[EMAIL PROTECTED]> Subject: Gentoo on  a PDA (mda III or xda III) Newsgroups: gmane.linux.gentoo.user  Hi Group! I was looking for a project that installs Gentoo on a PDA (MDA III or XDA III) but did not find something useful. Is there such a project? I found the familiar and xandux project so far but I would like to try Gentoo. RegardsOut of curiosity, what's your PDA?  An MDA III?-Thufir-- gentoo-user@gentoo.org mailing list 
		Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das  neue Yahoo! Mail 
.

[gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Philipp Tölke
Hi everybody,

I tried to do an update of portage on Monday, but it failed with the
following error:

--
 Compiling source in
/var/tmp/portage/portage-2.1-r2/work/portage-2.1-r2 ...
/zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63: tc-getCC:
command not found
/zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63:
-march=athlon64: command not found

!!! ERROR: sys-apps/portage-2.1-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  portage-2.1-r2.ebuild, line 64:   Called die
--

I tried another --sync today, but the problem persists.

I can find no application called tc-getCC on my computer. I wonder why
it seems to miss suddenly, since other ebuilds with reference to it
worked ok in the past, I think.

Can somebody help me with this situation?

Thanks,
-- 
Philipp Tölke

You know the indestructible black box that is used on planes.
Why don't they make the whole plane out of the same substance?





signature.asc
Description: PGP signature


signature.asc
Description: PGP signature


signature.asc
Description: OpenPGP digital signature


AW: [gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Noack, Sebastian
Hi,

tc-getCC is no binary. It is a function of the eclass toolchain, to determine 
the path to the corresponding C-Compilier. You should make sure that the 
corresponding ebuild contains the line inherit toolchain-funcs in the 
beginning. But however it seems to be a bug in the specified ebuild. But maybe 
you can fix it by this advice.

Regards
Sebastian Noack



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 24. August 2006 15:49
 An: gentoo-user@lists.gentoo.org
 Betreff: [gentoo-user] emerge fails with tc-getCC: command not found
 
 Hi everybody,
 
 I tried to do an update of portage on Monday, but it failed with the
 following error:
 
 --
  Compiling source in
 /var/tmp/portage/portage-2.1-r2/work/portage-2.1-r2 ...
 /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63: tc-getCC:
 command not found
 /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63:
 -march=athlon64: command not found
 
 !!! ERROR: sys-apps/portage-2.1-r2 failed.
 Call stack:
   ebuild.sh, line 1539:   Called dyn_compile
   ebuild.sh, line 939:   Called src_compile
   portage-2.1-r2.ebuild, line 64:   Called die
 --
 
 I tried another --sync today, but the problem persists.
 
 I can find no application called tc-getCC on my computer. I wonder why
 it seems to miss suddenly, since other ebuilds with reference to it
 worked ok in the past, I think.
 
 Can somebody help me with this situation?
 
 Thanks,
 --
 Philipp Tölke
 
 You know the indestructible black box that is used on planes.
 Why don't they make the whole plane out of the same substance?
 
 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Is there a way to debug /sbin/init process?

2006-08-24 Thread fei huang
I'm running a user mode linux on my Gentoo box, and trying to debug the /sbin/init process, but seems no way to emerge the sysvinit with debug flag on, perhaps not all packages support the use flag.. lots of articles around there talking about debugging kernel, uh,, not for init... can I just compile one manually and replace the executable with mine? 
any ideas? tks. ( or any available resources pls)regardsdaniel


Re: AW: [gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Philipp Tölke
Hello,

Noack, Sebastian [EMAIL PROTECTED] wrote:
 tc-getCC is no binary. It is a function of the eclass toolchain, to
 determine the path to the corresponding C-Compilier. You should make
 sure that the corresponding ebuild contains the line inherit
 toolchain-funcs in the beginning. But however it seems to be a bug in
 the specified ebuild. But maybe you can fix it by this advice.

Thanks for your answer!

The ebuild does inherit the toolchain-funcs.
I could not find any corresponding bugs in bugzilla, and I think that
more people would have reported this problem with the portage-ebuild, if
it was a general problem.

Thanks,
-- 
Philipp Tölke

Question: Who said the name Microsoft and when?
Answer: Bill Gates' wife at their wedding night!



signature.asc
Description: OpenPGP digital signature


AW: AW: [gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Noack, Sebastian
Hi,

well it seems indeed to be a problem only on your machine. Because of I have 
also updated to sys-apps/portage-2.1-r2 succesfully, now. Maybe you should try 
to download first a new portage snapshot, remove the entire directory 
/usr/portage from your system untar the snapshot to /usr and run again `emerge 
--sync  emerge -u portage`.

Regards
Sebastian Noack


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 24. August 2006 17:26
 An: gentoo-user@lists.gentoo.org
 Betreff: Re: AW: [gentoo-user] emerge fails with tc-getCC: command not
 found
 
 Hello,
 
 Noack, Sebastian [EMAIL PROTECTED] wrote:
  tc-getCC is no binary. It is a function of the eclass toolchain, to
  determine the path to the corresponding C-Compilier. You should make
  sure that the corresponding ebuild contains the line inherit
  toolchain-funcs in the beginning. But however it seems to be a bug in
  the specified ebuild. But maybe you can fix it by this advice.
 
 Thanks for your answer!
 
 The ebuild does inherit the toolchain-funcs.
 I could not find any corresponding bugs in bugzilla, and I think that
 more people would have reported this problem with the portage-ebuild, if
 it was a general problem.
 
 Thanks,
 --
 Philipp Tölke
 
 Question: Who said the name Microsoft and when?
 Answer: Bill Gates' wife at their wedding night!


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] .bashrc not getting sourced at login

2006-08-24 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I'm having an issue with root's .bashrc not getting sourced at login.  I
was under the impression that .bashrc setting overrode those of
/etc/bashrc.  Is this not the case?  Any idea why this isn't happening?

TIA

- --
gentux
echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE7ddsTPA54hjTSp4RApFZAJ9FU1TErXqlDqDVo19E3+35/d8InwCgi9GR
nyk4xNIuR1EprvgeIzxwlm4=
=m66h
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't play games

2006-08-24 Thread sdoma
Hi again,

I've added some games to my system anr ran ``gpasswd -a frank games''.

I get Permission denied even for ``ls /usr/games''. Well trying to
start some game I get the same. Can anyone tell em what I'm missing?

Thanks
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't play games

2006-08-24 Thread Boris Fersing

2006/8/24, sdoma [EMAIL PROTECTED]:

Hi again,

I've added some games to my system anr ran ``gpasswd -a frank games''.

I get Permission denied even for ``ls /usr/games''. Well trying to
start some game I get the same. Can anyone tell em what I'm missing?


Hi,

did you logout and log in after this command ?

Boris.


Thanks
Frank


--
gentoo-user@gentoo.org mailing list





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] dispatch-conf auto merging does not work

2006-08-24 Thread Trenton Adams

Hi guys,

Has anyone else noticed that dispatch-conf does not auto-merge
properly all the time?  I get files in /etc/init.d/* for instance that
do not auto-merge.  There's no way I modified any of the files in
there.

I checked bugzilla and haven't seen this reported before.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't play games

2006-08-24 Thread brettholcomb
Is your user a member or the games group?

 
 From: sdoma [EMAIL PROTECTED]
 Date: 2006/08/24 Thu PM 12:48:02 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Can't play games
 
 Hi again,
 
 I've added some games to my system anr ran ``gpasswd -a frank games''.
 
 I get Permission denied even for ``ls /usr/games''. Well trying to
 start some game I get the same. Can anyone tell em what I'm missing?
 
 Thanks
 Frank
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] .bashrc not getting sourced at login

2006-08-24 Thread Etaoin Shrdlu
On Thursday 24 August 2006 19:04, Neil Bothwick wrote:

 On Thu, 24 Aug 2006 09:44:28 -0700, gentuxx wrote:
  I'm having an issue with root's .bashrc not getting sourced at
  login.

 From man bash:

 When an interactive shell that is not a login shell is started, bash
 reads and executes commands from ~/.bashrc, if that file exists.

 .bash_profile is read for a login shell.

Yes, the usual way around this is to put

[[ -f ~/.bashrc ]]  . ~/.bashrc

at the beginning of .bash_profile.

The files in /etc/skel use this solution, but gentoo installation does 
not create those files for user root by default, you have to copy them 
by hand.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Bo Ørsted Andresen
On Thursday 24 August 2006 15:49, Philipp Tölke wrote:
 /var/tmp/portage/portage-2.1-r2/work/portage-2.1-r2 ...
 /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63: tc-getCC:
 command not found
 /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63:
 -march=athlon64: command not found
[SNIP]
 I tried another --sync today, but the problem persists.

 I can find no application called tc-getCC on my computer. I wonder why
 it seems to miss suddenly, since other ebuilds with reference to it
 worked ok in the past, I think.

 Can somebody help me with this situation?

Philipp, please provide the output of:

# emerge --info

# gcc-config -l

# gcc --version

-- 
Bo Andresen


pgpxGQfPXHanf.pgp
Description: PGP signature


Re: [gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Richard Fish

On 8/24/06, Philipp Tölke [EMAIL PROTECTED] wrote:

/zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63: tc-getCC:
command not found


Do you have a toolchain-funcs.eclass in an overlay?  This is the only
case I can think of that this would occur.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge fails with tc-getCC: command not found

2006-08-24 Thread Philipp Tölke
Richard Fish [EMAIL PROTECTED] schrieb:
 On 8/24/06, Philipp Tölke [EMAIL PROTECTED] wrote:
 /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63: tc-getCC:
 command not found

 Do you have a toolchain-funcs.eclass in an overlay?  This is the only
 case I can think of that this would occur.

No. But the file eclass/toolchain-funcs.eclass contains only 8,4k of 0's...

Ok, thanks all for the help.
Cheers,
-- 
Philipp Tölke

you're wrong. debian r0x0rZ. it has cool stuff, and cool
people run it. now go back to whatever hole you came from.
turd-world guy strikes again



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Console Terminal Gentoo

2006-08-24 Thread Rafael Fernández López
Hi,

I've installed Gentoo in another computer, but this time is just for
programming, emacs (maravellous !!), gcc, gdb, valgrind... you know.

I've no X.org and no graphical support.

For that reason I'd like to know how to make *ALL* terminals console
terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
Alt + F7 has no login petition.

I've googled and had no results. I know that something important should be
find in runlevels (my system starts number 3).

Thank you !!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Console Terminal Gentoo

2006-08-24 Thread Etaoin Shrdlu
On Thursday 24 August 2006 20:37, Rafael Fernández López wrote:

 For that reason I'd like to know how to make *ALL* terminals console
 terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl
 + Alt + F7 has no login petition.

 I've googled and had no results. I know that something important
 should be find in runlevels (my system starts number 3).

Ii did that by editing /etc/inittab from

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux

to

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
c7:12345:respawn:/sbin/agetty 38400 tty7 linux
c8:12345:respawn:/sbin/agetty 38400 tty8 linux
c9:12345:respawn:/sbin/agetty 38400 tty9 linux
c10:12345:respawn:/sbin/agetty 38400 tty10 linux
c11:12345:respawn:/sbin/agetty 38400 tty11 linux
c12:12345:respawn:/sbin/agetty 38400 tty12 linux

Not sure if terminals beyond 12 can be defined (and with which keyboard 
shortcut they are supposed to be activated)

There might be other (posssibly better and/or more correct) ways to get 
the same result.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Console Terminal Gentoo

2006-08-24 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rafael Fernández López wrote:
 Hi,

hiya

 I've installed Gentoo in another computer, but this time is just for
 programming, emacs (maravellous !!), gcc, gdb, valgrind... you know.

cool :D

 I've no X.org and no graphical support.

I found it really useful to use konqueror, public-key auth for ssh, and sftp:// 
urls for editing
remotely hosted files (e.g. php scripts).

 For that reason I'd like to know how to make *ALL* terminals console
 terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
 Alt + F7 has no login petition.
 I've googled and had no results. I know that something important should be
 find in runlevels (my system starts number 3).

edit /etc/inittab, search for section TERMINALS

may attention ;)

mine is:

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
c7:12345:respawn:/sbin/agetty 38400 tty7 linux
c8:12345:respawn:/sbin/agetty 38400 tty8 linux
c9:12345:respawn:/root/mingetty --mprl tty9

The last one is a mprl-patched mingetty. mprl is available at 
http://www.buanzo.com.ar/eng/ (middle
of the page) or at http://www.freshmeat.net/projects/mprl/

I wrote it because I didn't use X and I used to switch to another console, 
login locally, then ssh
to a remote host. With this, you can avoid the local login, and just supply 
something like:

ssh:[EMAIL PROTECTED] at the Login: prompt of the text console.

If anyone is more interested in the mprl-enhanced mingetty, just let me know 
and I'll release it.

- --
Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar
Consultor en Seguridad Informatica - http://www.buanzo.com.ar
http://www.vivamoslavida.com.ar - Portal no-comercial del buen vivir!
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar 
; done
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE7fXJAlpOsGhXcE0RAuoYAJ90Q+0myaKtCdwiJJQFUq0nCG7xBwCfcF6k
bEe/U8oG2sCy/EW3LenbghA=
=UznD
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Console Terminal Gentoo

2006-08-24 Thread Willie Wong
On Thu, Aug 24, 2006 at 08:37:52PM +0200, Penguin Lover Rafael Fern?ndez L?pez 
squawked:
 For that reason I'd like to know how to make *ALL* terminals console
 terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
 Alt + F7 has no login petition.

http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-7.html

in short, edit /etc/inittab

W
-- 
...plus the chalk is down to nothing. The lecture is all but over.
   ~Prof. Kirk T. McDonald, DeathEM, P-town PHY 304
Sortir en Pantoufles: up 4 days, 23:55
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem with upgrading Xorg from 6.8.2 up to 7.0

2006-08-24 Thread Dmitry
Hi,

I'm trying to upgrde Xorg from 6.8.2 up to 7.0 following this instruction 
http://gentoo-wiki.com/HOWTO_Modular_Xorg
I unemerged Xoorg 6.8.2 and now trying to emerge 7.0.
emerge told me there are about 180 dependes must be installed, it installed 
about 40 of them and has failed at cairo emerging:


below is the tail:
---cut---
/var/tmp/portage/cairo-1.2.2/work/cairo-1.2.2/config.log
appending configuration tag CXX to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker 
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker 
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag F77 to libtool
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for vasnprintf... no
checking for cos in -lm... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X... no
checking for cairo's Xlib backend...
checking whether cairo's Xlib backend could be enabled... no (requires Xlib)
configure: error: requested Xlib backend could not be enabled

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/cairo-1.2.2/work/cairo-1.2.2/config.log


!!! ERROR: x11-libs/cairo-1.2.2 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  cairo-1.2.2.ebuild, line 49:   Called econf '--enable-xlib' 
'--disable-gtk-doc' '--disable-directfb' '--enable-png' '--disable-svg'
'--disable-pdf' '--disable-glitz' '--enable-freetype' '--enable-ps'
  ebuild.sh, line 539:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if 
relevant.

---end of cut---



does anybody know how to fix that ?

Thanks
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dispatch-conf auto merging does not work

2006-08-24 Thread Robert Welz

Trenton Adams wrote:

Hi guys,

Has anyone else noticed that dispatch-conf does not auto-merge
properly all the time?  I get files in /etc/init.d/* for instance that
do not auto-merge.  There's no way I modified any of the files in
there.


Which files, please? I haven't noticed that yet, but one never knows;)

Robert


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Console Terminal Gentoo

2006-08-24 Thread Nick Rout

On Thu, 24 Aug 2006 20:37:52 +0200 (CEST)
Rafael Fernández López wrote:

 Hi,
 
 I've installed Gentoo in another computer, but this time is just for
 programming, emacs (maravellous !!), gcc, gdb, valgrind... you know.
 
 I've no X.org and no graphical support.
 
 For that reason I'd like to know how to make *ALL* terminals console
 terminals, because at this time they end at Ctrl + Alt + F6, and Ctrl +
 Alt + F7 has no login petition.
 
 I've googled and had no results. I know that something important should be
 find in runlevels (my system starts number 3).
 
 Thank you !!

See the other answers, but also note that screen is a great tool for use on a 
console

-- 
Nick Rout [EMAIL PROTECTED]


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Neither klibc nor splashutils will emerge

2006-08-24 Thread Mick
On Thursday 24 August 2006 10:38, Richard Fish wrote:
 On 8/24/06, Mick [EMAIL PROTECTED] wrote:
  I am not using the symlink flag and just to make sure I removed
  the /usr/src/linux symlink and relinked it to the latest stable kernel
  sources.  The only thing I can think of is that I used make oldconfig,
  when I compiled a kernel with those sources - does it matter?

 I wouldn't think so...

Thanks, I've filed a bug: http://bugs.gentoo.org/show_bug.cgi?id=145016

-- 
Regards,
Mick


pgpYx23uInN9N.pgp
Description: PGP signature


Re: [gentoo-user] problem with upgrading Xorg from 6.8.2 up to 7.0

2006-08-24 Thread Richard Fish

On 8/24/06, Dmitry [EMAIL PROTECTED] wrote:

checking for X... no
checking for cairo's Xlib backend...
checking whether cairo's Xlib backend could be enabled... no (requires Xlib)


[snip]


does anybody know how to fix that ?


Probably a circular dependancy somewhere.  Can you post the output
adding --tree --pretend to your emerge command?

Also, you should be able to work around the problem with emerge
--oneshot x11-libs/libX11.

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] initng or runit?

2006-08-24 Thread Jerry McBride
On Wednesday 23 August 2006 21:28, Daniel Iliev wrote:


 I appreciate this info about fcache. Now I have a good idea of what I
 have to expect.

It's the reason for this mailling list. Enjoy.

 I've got some unpartitioned space and nothing prevents me to do some
 tests. The only question that I have is how much space does fcache need?


The way it works is... you cache the files that are normally loaded up to a 
point that you choose. We tried just the time from boot to a console and then 
again from boot to a fully loaded KDE desktop... A rule of thumb we followed 
would be what ever you have for ram, plus whatever you use for swap. About 
1gig for us. The number you end up with will be overkill, but you are assured 
of enough cache space for all your needed files.

Cheers.

 BTW, the ck-sources, which can be found in the portage comes with
 several performance related patches. Emerge automatically applies these
 patches and fcache is among them.

 --
 Best regards,
 Daniel
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting vs. reject_rbl_client

2006-08-24 Thread Grant

 Would it be OK to remove the following aliases since I never use them:

 # Well-known aliases -- these should be filled in!
 root:   grant
 operator:   grant

 # Standard RFC2142 aliases
 abuse:  grant
 ftp:grant
 hostmaster: grant
 news:   grant
 noc:grant
 security:   grant
 usenet: grant
 uucp:   grant
 webmaster:  grant
 www:grant

Don't remove the root one, some packages send emails to their owner, and if 
they are (for example) privileged daemons the message will go to root. It needs 
to be pointed elsewhere.

The others, I am not sure. You probably should have an abuse address and a 
postmaster address, other than that I am not sure what the custom is or what 
the rfc's say about what email accounts are expected in a domain. Don't forget 
that your web server (if you have one) may deliver pages that say to contact a 
certain mail address in the event of problems, obviously that address should be 
available.


Good call.  I'll keep root and abuse and you reminded me to add one
for the user my shopping cart program runs as.

- Grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-24 Thread Michael Hennebry
On Wed, 23 Aug 2006, Richard Fish wrote:

  What would break with -Os that wouldn't break with -O2?
  I was under the impression that both flags only allowed
  changes that didn't affect the output.

 No, the output *is* allowed to change based on -Os, -O2, or -O3.  This
 is the entire point of optimizations, after all.  What is *not*
 allowed to change is the ABI.

I should have been clear.  I'd meant the output of the compilee,
not the compiler, though obviously time-sensitive things will change.

-- 
Mike   [EMAIL PROTECTED]
it stands to reason that they weren't always called the ancients.
  --  Daniel Jackson

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting vs. reject_rbl_client

2006-08-24 Thread kashani

Grant wrote:

Do you think this postfix anti-spam configuration is OK:

smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
   permit_mynetworks,
   reject_non_fqdn_hostname,
   reject_invalid_hostname,
   permit


I'd be careful with non_fqdn_hostname


smtpd_sender_restrictions =
   permit_mynetworks,
   reject_non_fqdn_sender,
   reject_unknown_sender_domain,
   permit
smtpd_recipient_restrictions =
   permit_mynetworks,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   reject_unauth_destination,
   permit


That's pretty much what I run and you might want to look at 
smtpd_data_restrictions as well.



Would it be OK to remove the following aliases since I never use them:


It's good form to keep them on your server and compile with the relvent 
RFC which specifies these.


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem with upgrading Xorg from 6.8.2 up to 7.0

2006-08-24 Thread Dale
Richard Fish wrote:
 On 8/24/06, Dmitry [EMAIL PROTECTED] wrote:
 checking for X... no
 checking for cairo's Xlib backend...
 checking whether cairo's Xlib backend could be enabled... no
 (requires Xlib)

 [snip]

 does anybody know how to fix that ?

 Probably a circular dependancy somewhere.  Can you post the output
 adding --tree --pretend to your emerge command?

 Also, you should be able to work around the problem with emerge
 --oneshot x11-libs/libX11.

 -Richard

I'm not sure if it was the same error or not but I did get a error
during my upgrade.  I did a etc-update and then resumed without any more
trouble at all.  Well, there was some changes in power management but
nothing failed to compile.

hope that helps.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list