Re: [gentoo-user] portage and package specific CFLAGS

2005-03-31 Thread Tero Grundström
On Thu, 31 Mar 2005, Aaron Walker wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Nick Rout wrote:
> > I thought perhaps
> >
> > CFLAGS="whatever" CXXFLAGS="${CFLAGS}" emerge foo
> >
> > no doubt some dev guru will tell me I am way out of line :-)
>
> wrong! there's nothing wrong with doing that.  If it was something like
> ACCEPT_KEYWORDS you were setting, that'd be different :)

There may not be nothing wrong with it, but it is nevertheless almost as
crappy way to do it. This is because the next time the package with custom
CFLAGS gets updated as part of a world/system update, it will be emerged
with the default CFLAGS again...

--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and package specific CFLAGS

2005-03-31 Thread Tero Grundström
On Thu, 31 Mar 2005, Aaron Walker wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Nick Rout wrote:
> > I thought perhaps
> >
> > CFLAGS="whatever" CXXFLAGS="${CFLAGS}" emerge foo
> >
> > no doubt some dev guru will tell me I am way out of line :-)
>
> wrong! there's nothing wrong with doing that.  If it was something like
> ACCEPT_KEYWORDS you were setting, that'd be different :)

There may not be nothing wrong with it, but it is nevertheless almost as
crappy way to do it. This is because the next time the package with custom
CFLAGS gets updated as part of a world/system update, it will be emerged
with the default CFLAGS again...


--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What an average gentoo user does over 6mnth period

2005-03-28 Thread Tero Grundström
On Mon, 28 Mar 2005, Richard Fish wrote:

> Nothing on my system (3Ghz P4 1G ram) takes more than a few hours to
> compile, so it is always finished when I wake up in the morning.  Then
> do an 'etc-update', reboot, and it is finished.

Reboot? Why? AFAIK it is only necessary (or recommended), if you upgrade
glibc (and kernel ofcourse).

--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo sources

2005-03-28 Thread Tero Grundström
On Mon, 28 Mar 2005, Digby Tarvin wrote:

> So the question is, how to I go about making sure that the sources that
> my system is built from reside on my disk, and how do I find them?

A simple answer to your simple question...

The sources are in /usr/portage/distfiles

--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] linux-2.6.11 is out

2005-03-04 Thread Tero Grundström
On Thu, 3 Mar 2005, W.Kenworthy wrote:

> This will probably stir up some flames, but:
>
> the package.keywords system sucks
>
> 1. you put things in there and you forget about them
> 2. extra work for no user gain over the old system (I know the old
> system is broke, but from what I agther it was broken on purpose to
> create the package.keyword system.)
> 3. more complex than the simple system it replaced - it is now quite
> hard to work out the interactions sometimes
> 4. ACCEPT_KEYWORDS seems to work well for a half doz or so ~x86 packages
>
> I will probably have to use them next time I rebuild world with a -e,
> but after stuffing things up over a couple of months with the
> package.keywords and related files, wasting time trying find whats gone
> wrong, I am better off doing the ACCEPT keywords kludge and getting on
> with actually using the system.  At least when you do an update, you SEE
> what is ~x86, not have it hidden away in the depths building up
> problems.
>
> Maybe a bad gentooer, but at least I am happy that I am doing things in
> a way that I understand, and works the way I want it to!
>
> BillK

If you cannot understand or appreciate a simple and very usefull feature
like package.keywords, how are you able to use Gentoo at all?!

The way you're doing things means that you are not able to use a command
like 'emerge -u world' as all ~arch packages will get downgraded.

--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependencies are broken

2005-02-28 Thread Tero Grundström
On Mon, 28 Feb 2005, Hamie wrote:

> Well... Now it's completely dead... I ran 'emerge -ev dvdrip' and it
> removed gcc... Then the last 90 odd failed...

emerge -e does not remove anything. You are either messing with us or
portage, big time.

--
T.G.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: top "illegal instruction" with 2.6.10-r6 SMP kernel

2005-02-20 Thread Tero Grundström
On Sat, 19 Feb 2005, Jesse Guardiani wrote:

> I figured it out. It appears that Gentoo defaults to -march=pentium3 in
> /etc/make.conf!

Well, it is in the Handbook that you should tweak these settings to match
your machine.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Restart X while emerging in xterm?

2005-02-20 Thread Tero Grundström
On Sun, 20 Feb 2005, Qiangning Hong wrote:

> I have started a long-time emerging in an xterm.  For some reason i
> want to restart X, but I don't want to intercept the emerging process.
>  Is it possible that I suspend it and restart X and resume it in
> another xterm?

If your emerge is 'emerge -e world' (or 'system') you can cancel the
emerging process and resume it with emerge --resume.

But if it is just a single large package (like OOo) you cannot resume it
AFAICT.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have to perform complete recompile or there is a shortcut?

2005-02-09 Thread Tero Grundström
On Wed, 9 Feb 2005, Bob Sanders wrote:

> Sorry, just reporting what I've observed on an amd64 system while running
> Enlightenment, with a 1280x1024 jpeg background, 2 Eterms and 1 top.

If so, how come I've been able to compile all this stuff on my box...?


> It also depends on whether c++ and java are involved as well.

Yeah, even some small apps andlibs written in c++ can take *a lot* of
ram to compile and make a low memory system swap like hell.

I've not compiled any java apps but if a program simply links against java
it shouldn't make a big difference.

In an other thread somebody claimed that using the java use flag in
Firefox makes it need more memory to compile. This is not true as all it
does is that it makes sure a java-jre is installed in the system in order
get the java plugin for Firefox.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Have to perform complete recompile or there is a shortcut?

2005-02-09 Thread Tero Grundström
On Wed, 9 Feb 2005, Bob Sanders wrote:

> >
> > Anyway.. I have a 512MB swap partition, I was running top and I wasn't
> > even using that much swap.. I have 256MB RAM in the laptop..
> >
> > Does that still seem like I'm running out?
> >
>
> Yes.  There is too little combined memory.  Things like gcc, glibc, and
> firefox have peak memory requirements of 800 MB to 900 MB during a
> compile.  OO requires more than that and you've only 768 MB total
> to provide.

I have a system with 128mb + 256mb of swap. It has been enough to compile
everything including OOo. I've seen (very rarely) the swap usage to go
up to about 150-200mb, but it has never run out of memory yet.

The reason for this may be that I don't use gnome or kde on that computer
and I mostly use only Firefox at the compile time. Nevertheless your
memory requirements do not seem realistic under normal desktop usage IMHO.

In the end I think that the memory requirements depend strongly on what
one has running at the compile time.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg Compiling Failure

2005-02-04 Thread Tero Grundström
On Fri, 4 Feb 2005, Damian Kolkowski wrote:

> * Captain FantastiK <[EMAIL PROTECTED]> [2005-02-04 16:22]:
> > CFLAGS="-O3 -march=pentium4 -mcpu=i686 -fomit-frame-pointer -pipe -ftracer"
>
> Use this instead:
> -O2 -march=pentium4 -formit-frame-pointer
>
> Yours CFLAGS are wrong, You need to use onlu one (mcpu or marcg), the last one
> are used.

I might be wrong but I believe that, in the case of mcpu and march, both
are used.

Therefore where

-mcpu=pentium4
would generate code that is compatible with processors >= i386

-march=i686 -mcpu=pentium4
would generate code that works with all i686 compatible processors but
also takes advantage of most pentium4 specific features.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CLI appointment/todo list reminder program?

2005-01-17 Thread Tero Grundström
On Mon, 17 Jan 2005, Tero Grundström wrote:

> On Mon, 17 Jan 2005, Jason Cooper wrote:
>
> > Okay, googled around, no luck.  Has anyone found a command-line program
> > for maintaining an appointment calendar and todo lists?  Most important,
> > it needs to have email notification and work from within screen.  Yes,
> > basically a wrapper for at/cron.
>
> How about x11-misc/remind ?
>
> I suppose it can be configured to send an email too.

Just to clarify that, in spite of the gatecory, it is a CLI program...

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CLI appointment/todo list reminder program?

2005-01-17 Thread Tero Grundström
On Mon, 17 Jan 2005, Jason Cooper wrote:

> Okay, googled around, no luck.  Has anyone found a command-line program
> for maintaining an appointment calendar and todo lists?  Most important,
> it needs to have email notification and work from within screen.  Yes,
> basically a wrapper for at/cron.

How about x11-misc/remind ?

I suppose it can be configured to send an email too.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xfree

2005-01-15 Thread Tero Grundström
On Sat, 15 Jan 2005, Sevak Avakians wrote:

> This is a mini-itx mobo with the C3-2 (Nehemiah) chip integrated.  Xorg
> works (it's what I'm using currently) until I try to use mplayer or
> xine.  When using either, the screen, keyboard, and mouse freeze.
>
> How do I do the following as described in the bugzilla fix?:
>
> "via driver has been removed from xfree 4.3.0
> please use xfree 4.3.99.8 instead (use
> /etc/portage/profiles/package.unmask to unmask it)/."

You cannot unmask something that does not exist. Xfree is not in portage
any more.

> or this?:
>
> "...For the Open Source Driver to work you'll need a special version of
> the XFree86 development sources. You can download the appropriate ebuild
> here: link to unichrome project XFree86-4.4 (cache) then install it with
> emerge
> /usr/local/portage/x11-base/xfree-unichrome/xfree-unichrome-4.4.0-r??.ebuild, 
> of course replacing that with the latest one. with ?? being the latest 
> release."

Put the ebuild to your PORTDIR_OVERLAY so you can emerge xfree.
Forums are full of information how to do this. See also the make.conf
man page.

> I'm trying to get a MythTV box working.

Good luck :)

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xfree

2005-01-15 Thread Tero Grundström
On Sat, 15 Jan 2005, Holly Bostick wrote:

> Yes, XFree86 is no longer in Portage, having been replaced by X.org.
> Does X.org have the VIA drivers you need? What, actually, are these
> drivers? Some kind of integrated video for this mobo chipset? Because
> most drivers are in the kernel, not in the X server package per se, afaik.

No, excluding the proprietary binary drivers for ati and nvidia, all X
drivers come with the X server.

It is the frame buffer drivers and some old dri drivers that come with the
kernel.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Binary Package Repository?

2005-01-13 Thread Tero Grundström
On Thu, 13 Jan 2005, Martoni wrote:

> On Wed, 12 Jan 2005 18:21:22 -0500, Nicholas Pappas
> <[EMAIL PROTECTED]> wrote:
> > Hello all.
> >
> > I'm having a crisis of conscious at the moment.  I've been using 
> > Gentoo
> > for a while and I really like it, but the simple truth is I don't need
> > the granularity that compiling the source for each update provides.
> > That, and I don't fool myself into pretending I know enough to tune my
> > USE (and per package USE) variable to make the source version any better
> > then your average prebuilt P4 package.
>
> I am sorry - but these threads almost get me into flame war mode. What
> you are saying is "I like Gentoo - but I don't like Gentoo". It makes
> no sense what so ever. One of the basic points with using Gentoo,
> IMHO, is that it *is* a source based distro. You are supposed to be
> able to tweak the packages. Binary packages create more problems than
> they solve, again IMHO, in that you will soon get into dependency
> hell.
>
> I you want binary packages of everything, then go to RH, Mandrake or
> something like that.

I agree completively.

What is with these guys who /choose/ to use Gentoo - one of the *few*
source based distros instead of one of the *many* binary distros. And then
they start whining here about the lack of binaries... that's just
senseless, twisted logic.

--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gtk1 theme change

2005-01-12 Thread Tero Grundström
On Wed, 12 Jan 2005, Botykai Zsolt wrote:

> Hi 4 everyone,
>
> My question for today:
> I'm using xfce 4.2 rc3, and sylpheed-claws 0.9.13 and I'm happy with that
> except I can't figure out how to change the colors used by SC's interface.
> As I change the theme used by XFCE everything changes, except Sylpheed Claws.
> Any idea?

You can do it by hand in you $HOME/.gtkrc or you can

# emerge =gtk-theme-switch-1.0.1-r1

which will give you a graphical utility (switch) to change your gtk1
theme on the fly. Unfortunately the quality of this program ain't too good
but it does the job :)

HTH
--
T.G.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] exiting wm xfce4

2005-01-11 Thread Tero Grundström
On Tue, 11 Jan 2005, HK wrote:

> Hi,
>
> How can I cleanly exit the wm (xfce4) and poweroff/reboot machine?
>
> I would like to cleanly exit the wm and then proceed with service stop
> and poweroff/reboot... Right now I'm just running poweroff as root from
> the X session and it is not what I would like...

Well there is the "power" button in the panel, next to the clock...

--
T.G.

--
gentoo-user@gentoo.org mailing list