Re: [gentoo-user] troubles with ati-drivers-8.25.18

2006-06-14 Thread Mauro Arnoldi
Alle 21:51, martedì 13 giugno 2006, Ryan Tandy ha scritto:
> Mauro Arnoldi wrote:
> > My ati drivers doesn't want to compile:
> >
> > #emerge -pv ati-drivers
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > [blocks B ] >=x11-base/xorg-server-1.0.99 (is blocking
> > x11-drivers/ati-drivers-8.25.18)
> > [ebuild   R   ] x11-drivers/ati-drivers-8.25.18  USE="opengl" 0 kB
> >
> > I try with: emerge -O ati-drivers and I set the driver "fglrx". The
> > result:
> >
> > (EE) module ABI major version (0) doesn't match the server's version (1)
> > (EE) Failed to load module "fglrx" (module does not exist, 0)
> > (EE) No drivers available
> >
> >> -Richard
>
> Then you may need to use a different xorg-server version.  If that
> doesn't pose a major problem, then
>
> # emerge -C xorg-server
> # emerge -D ati-drivers
>
> Simply installing the ati-drivers should automatically pull in the
> newest xorg-server that they will work with.  There's a thread somewhere
> on forums.gentoo.org, and another one a while back on gentoo-dev,
> explaining the reason for the block.
>
> When I first started with the ati-drivers, Xorg 6.8 was the latest
> available, but they would only work with 6.7 - so we had to wait until
> ATI released a new version before we could use 6.8.
>
> Waiting a few weeks for the very latest xorg-server build won't kill you.
> ;)

Ok, I'll try not to die in the meanwhile :)
Thanks!

Mauro

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Typesetting systems

2006-06-14 Thread Uwe Thiem
On 14 June 2006 05:25, Justin R Findlay wrote:
> On Wed, Jun 14, 2006 at 03:14:57AM +, b.n. wrote:
> > JimD wrote:
> > > I was hoping there were tools/editors for PDF/PS.  What the heck do
> > > book writers use?  I hope not a word processor.  I am only working with
> > > small books and it is a pain to have to deal with layout.

Most are forced by publishers not only to use word processors but MS Word. :-(

> >
> > They use LaTeX. If you plan to write books/articles/whatever in
> > publishing quality, THIS is the answer.
>
> LaTeX is awesome if you're not going to be diverging from the builtin
> document layout styles too much.  If you are then you're likely going to
> be editing raw TeX to get things done, and unfortunately though TeX is
> very clean and very good at what it does it's not a language that's easy
> to understand.

Try LyX as a LaTeX frontend.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo system crumbling, reports of gcc death

2006-06-14 Thread Daniel Drake

Kevin O'Gorman wrote:

checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 
-fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -fPIC -Wl,-O1 
-ldl-Wl,-O1) works... no
configure: error: installation or configuration problem: C compiler 
cannot create executables.


The extra flags may be coming from your environment. From the same 
terminal where you would run emerge, run the following:


set | grep O1

Daniel

--
gentoo-user@gentoo.org mailing list



[gentoo-user] a star-map wallpaper?

2006-06-14 Thread 张 韡武
Hello. Sorry for my English if there is a more correct way of saying "Star
map". By Star Map I mean something that shows the position of starts, as
well as brightness. The more like photo, the better.

Star moves in the sky all the time:
1) the star map in 20:00 is different from 21:00
2) the star map in today 20:00 is different from what it was yesterday 20:00
3) the star map in one city is different from in another city at the same
time

I am looking for an application dynamically change the backgroup of my gnome
desktop, showing the correct starmap of the very city I am in, of the very
day and correct moment. That might require the desktop image being replaced
once 15 miniutes, that doesn't matter, that's what I need.

Just U am too stupid to find it on the google, have anyone heard of such
application before?

The cloeset I could find is "nightfall"
http://www.hs.uni-hamburg.de/DE/Ins/Per/Wichmann/Nightfall.html
But still, that is too complicated and very accurite, what I really want is
some fancy desktop decoration, and it's so much of a waste not having such a
tool in an office that can see part of the sky.
--
锐业软服(国内业务)  http://www.realss.cn
Real SoftService  http://www.realss.com
销售咨询(Sales Department):0086 592 20 99987 (Chinese, German, English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sound problem

2006-06-14 Thread Strake
alsa-driver is compiled into kernel, and emerge alsa-driver complains because of it and exits.On 6/11/06, Yun Xupeng <
[EMAIL PROTECTED]> wrote:maybe you didn't compile drivers that your soundcard uses.

try emerge alsa-drivers again... 
2006/6/12, Strake [EMAIL PROTECTED]:
-- I like Python & Linux. 

-- Registered Linux User #392061counter.li.orgEverything is more fun when you add a rocket engine.
No, you may not goto the washroom. Last time you went to the washroom, we found you days later in an air vent.-Bryn


Re: [gentoo-user] sound problem

2006-06-14 Thread recordus
when I compiled my kernel, I only selected "Sound card support",but
didn't select any module that is supported by the kernel(Alas or oss),
then I emerge alsa-driver, and it works well.

ps:my english is poor,sorry :)

Strake wrote:
> alsa-driver is compiled into kernel, and emerge alsa-driver complains
> because of it and exits
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] "Calculating world dependencies" taking forever first time

2006-06-14 Thread Walter Dnes
  I did an "emerge --sync" on my main machine, followed by
"emerge --ask --deep --update --world --fetchonly".  It spent several
minutes at "Calculating world dependencies", with the "spinner" very
slowly moving.  Eventually it ran.  Subsequent calls to emerge ran at
the usual speed I'm accustomed to.  My main machine is an AMDK8 3000+,
in 32bit mode, with 2 gigs of ram.

  My emergency backup machine is a 1999 Dell PIII, 450 mhz with 128 megs
of ram.  It's extremely painful on this one.  The spinner takes about 2
or 3 seconds to move 45 degrees (1/8th of a full spin).  Eventually it
finishes after several minutes.  Subsequent attempts run at the normal
speed.  Does it have to fill some sort of cache?  I also notice USE
flags in the outout.  "-ip32r10k%" is in yellow, whatever that
signifies...

[m450][root][~] emerge --ask --deep --update --world --fetchonly

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

Calculating world dependencies... done!
[ebuild U ] sys-libs/ncurses-5.5-r2 [5.4-r6]
[ebuild U ] app-admin/perl-cleaner-1.04 [1.03-r1]
[ebuild U ] sys-apps/man-pages-2.32 [2.31]
[ebuild U ] sys-devel/binutils-2.16.1-r2 [2.16.1]
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.16-r9  USE="-build -doc -symlink"
[ebuild U ] sys-devel/gcc-3.4.6-r1 [3.4.5-r1] USE="-ip32r10k%"
[ebuild  N] sys-libs/libutempter-1.1.2.1
[ebuild U ] x11-terms/xterm-207-r1 [207]
[ebuild U ] media-libs/jpeg-6b-r7 [6b-r5]
[ebuild U ] media-libs/tiff-3.8.2 [3.7.4]
[ebuild U ] sys-apps/shadow-4.0.15-r2 [4.0.14-r1]
[ebuild U ] net-mail/getmail-4.6.0 [4.5.4]
[ebuild U ] app-portage/gentoolkit-0.2.2 [0.2.1]
[ebuild  N] dev-libs/nspr-4.6.1-r2  USE="-ipv6"
[ebuild  N] dev-libs/nss-3.11-r1
[ebuild U ] www-client/mozilla-firefox-1.5.0.4 [1.0.8]

Would you like to fetch the source files for these packages? [Yes/No]

-- 
Walter Dnes <[EMAIL PROTECTED]> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] "Calculating world dependencies" taking forever first time

2006-06-14 Thread Benno Schulenberg
Walter Dnes wrote:
>   I did an "emerge --sync" on my main machine, followed by
> "emerge --ask --deep --update --world --fetchonly".  It spent
> several minutes at "Calculating world dependencies", with the
> "spinner" very slowly moving.  Eventually it ran.  Subsequent
> calls to emerge ran at the usual speed I'm accustomed to.

You upgraded portage.  The einfos said to run 'emerge --metadata' 
first thing.

> I also notice USE flags in the outout. 
> "-ip32r10k%" is in yellow, whatever that signifies...

The percent sign means it's a new flag since you last emerged the 
package.  See 'man emerge'.

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



[gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Norman Rieß
Hi

according to revdep-rebuild, quite a few libraries on my system are broken.
But at the end of revdep-rebuild, it tells me, my system was consistent.
I think some libraries are really broken, because the sound of my vlc
player stutters sometimes lately.
I had some problems with the arts-daemon and now i have "-arts" as useflag
an did a emerge -puN world because of that. (Just in case that this
matters somehow)

How can i fix this?

I paste the revdep-rebuild -p output in this mail.

Regards

Norman


revdep-rebuild -p
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
/usr/kde/3.4/lib/libqtmcop.la)
  broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
/usr/kde/3.4/lib/libsoundserver_idl.la)
  broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
/usr/kde/3.4/lib/libkmedia2_idl.la)
  broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
/usr/kde/3.4/lib/libartsflow.la)
  broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
/usr/kde/3.4/lib/libartsflow_idl.la)
  broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
/usr/kde/3.4/lib/libmcop.la)
  broken /usr/kde/3.4/lib/kde3/knotify.la (requires
/usr/kde/3.4/lib/libqtmcop.la)
  broken /usr/kde/3.4/lib/kde3/knotify.la (requires
/usr/kde/3.4/lib/libsoundserver_idl.la)
  broken /usr/kde/3.4/lib/kde3/knotify.la (requires
/usr/kde/3.4/lib/libkmedia2_idl.la)
  broken /usr/kde/3.4/lib/kde3/knotify.la (requires
/usr/kde/3.4/lib/libartsflow.la)
  broken /usr/kde/3.4/lib/kde3/knotify.la (requires
/usr/kde/3.4/lib/libartsflow_idl.la)
  broken /usr/kde/3.4/lib/kde3/knotify.la (requires
/usr/kde/3.4/lib/libmcop.la)
  broken /usr/kde/3.4/lib/libartskde.la (requires
/usr/kde/3.4/lib/libqtmcop.la)
  broken /usr/kde/3.4/lib/libartskde.la (requires
/usr/kde/3.4/lib/libsoundserver_idl.la)
  broken /usr/kde/3.4/lib/libartskde.la (requires
/usr/kde/3.4/lib/libkmedia2_idl.la)
  broken /usr/kde/3.4/lib/libartskde.la (requires
/usr/kde/3.4/lib/libartsflow.la)
  broken /usr/kde/3.4/lib/libartskde.la (requires
/usr/kde/3.4/lib/libartsflow_idl.la)
  broken /usr/kde/3.4/lib/libartskde.la (requires
/usr/kde/3.4/lib/libmcop.la)
  broken /usr/lib/avifile-0.7/ac3pass.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/ac3pass.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/audiodec.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/audiodec.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/ffmpeg.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/ffmpeg.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/mad_audiodec.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/mad_audiodec.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/osmjpeg.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/osmjpeg.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/vorbis_audio.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/vorbis_audio.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/win32.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/win32.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/avifile-0.7/xvid4.la (requires
/usr/lib/libaviplayavformat.la)
  broken /usr/lib/avifile-0.7/xvid4.la (requires
/usr/lib/libaviplayavcodec.la)
  broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavformat.la)
  broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavcodec.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a star-map wallpaper?

2006-06-14 Thread Devon Miller

KStars (http://edu.kde.org/kstars/) has a command line mode for image
generation.
It should not be difficult to script that to generate an image, then
set it as the background.

dcm

On 6/14/06, 张 �|武 <[EMAIL PROTECTED]> wrote:

Hello. Sorry for my English if there is a more correct way of saying "Star
map". By Star Map I mean something that shows the position of starts, as
well as brightness. The more like photo, the better.

Star moves in the sky all the time:
1) the star map in 20:00 is different from 21:00
2) the star map in today 20:00 is different from what it was yesterday 20:00
3) the star map in one city is different from in another city at the same
time

I am looking for an application dynamically change the backgroup of my gnome
desktop, showing the correct starmap of the very city I am in, of the very
day and correct moment. That might require the desktop image being replaced
once 15 miniutes, that doesn't matter, that's what I need.

Just U am too stupid to find it on the google, have anyone heard of such
application before?

The cloeset I could find is "nightfall"
http://www.hs.uni-hamburg.de/DE/Ins/Per/Wichmann/Nightfall.html
But still, that is too complicated and very accurite, what I really want is
some fancy desktop decoration, and it's so much of a waste not having such a
tool in an office that can see part of the sky.
--
锐业软服(国内业务)  http://www.realss.cn
Real SoftService  http://www.realss.com
销售咨询(Sales Department):0086 592 20 99987 (Chinese, German, English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)



--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Caster
> according to revdep-rebuild, quite a few libraries on my system are broken.> But at the end of revdep-rebuild, it tells me, my system was consistent.This means the broken libraries don't belong to any package. Something touched/altered them (probably fix libtool script when updating gcc) so they had different mtime/md5sum than what was recorded in the package db. Such altered files are not unmerged. It's quite safe to delete them. I suppose you updated kde 
3.4 to 3.5 and unmerged the old 3.4... as the kde configuration howto says, you can remove whole /usr/kde/3.4 dir (but look into there first and use common sense :) For that avifile stuff, I have no idea which package it came from, but probably you can remove it too (or is it something installed not from portage?) 
> I think some libraries are really broken, because the sound of my vlc> player stutters sometimes lately.I don't suppose it could have this effect. Broken linking usually means stuff won't run at all :)
Caster


Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Benno Schulenberg
Norman Rieß wrote:
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libqtmcop.la)

You have upgraded to KDE-3.5.* ?  Then 'rm -r /usr/kde/3.4'.

>   broken /usr/lib/avifile-0.7/ac3pass.la (requires
> /usr/lib/libaviplayavformat.la)

The avi stuff is obsolete.  Remove it all.

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



Re: [gentoo-user] Re: broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Norman Rieß
>> according to revdep-rebuild, quite a few libraries on my system are
> broken.
>> But at the end of revdep-rebuild, it tells me, my system was consistent.
>
> This means the broken libraries don't belong to any package. Something
> touched/altered them (probably fix libtool script when updating gcc) so
> they
> had different mtime/md5sum than what was recorded in the package db. Such
> altered files are not unmerged. It's quite safe to delete them. I suppose
> you updated kde 3.4 to 3.5 and unmerged the old 3.4... as the kde
> configuration howto says, you can remove whole /usr/kde/3.4 dir (but look
> into there first and use common sense :) For that avifile stuff, I have no
> idea which package it came from, but probably you can remove it too (or is
> it something installed not from portage?)
>
>> I think some libraries are really broken, because the sound of my vlc
>> player stutters sometimes lately.
>
> I don't suppose it could have this effect. Broken linking usually means
> stuff won't run at all :)
>
> Caster
>


I am a Gnome-User ;-).
I will delete them now. I have only Netbeans installed, that ist not in
portage, and that ist installed by a user in the home directory.
So i think i can delete that.

Norman

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Norman Rieß
> Norman Rieß wrote:
>>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
>> /usr/kde/3.4/lib/libqtmcop.la)
>
> You have upgraded to KDE-3.5.* ?  Then 'rm -r /usr/kde/3.4'.
>
>>   broken /usr/lib/avifile-0.7/ac3pass.la (requires
>> /usr/lib/libaviplayavformat.la)
>
> The avi stuff is obsolete.  Remove it all.
>
> Benno
> --
> gentoo-user@gentoo.org mailing list
>
>

Thank you.
But why wasn´t this deleted by a emerge --depclean world or the unmerge in
the update-process of that packages. And why don´t my other systems, which
are installed quit simillarly to this one, have this problem.
Who knows what other garbage-files live on my system and someday try to
overrule my control and start to think for themselves.

A paranoid Norman


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Keys not getting detected

2006-06-14 Thread louis brazeau

On 6/13/06, anand kumar <[EMAIL PROTECTED]> wrote:


Hi,
I recently changed to Gentoo. I have a keyboard from hp with all
the new multimedia keys on it. I tried configuring them but showkey
doesnt recognise some of the keys. Is there any way to resolve this.
Previously these keys were getting recognized and i was using FC. Is
there a link with the distrib im using or anything like that

---snip---

I use linEAK with my Logitech keyboard. I know that LinEAK supports
some HP keyboard. Check it out at :

 http://lineak.sourceforge.net/


--
Louis Brazeau
Informaticien
--
gentoo-user@gentoo.org mailing list



[gentoo-user] how does a pipe work? Which process wait for which one, or they don't actually wait each other?

2006-06-14 Thread 张韡武
Hello. This might be OT but I am pretty interested in this and being
unlucky not able to find a real in-depth explanation of pipe on the
Internet.

How does pipe actually work? I mean, when there is a pipe like this:
$ appA | appB
What happen if appA produced output when appB is still busy processing
the data and did not require any data from input?

possibility 1) as long as appA can get the resource (CPU?), it simply
keep outputing data, and this data is cached in memory, as long as there
is enough memory, and will finally feed to appB when appB finished his
business and begin to accept more data;

possibility 2) as long as appB stop requiring data, appA is suspended,
the resource goes to appB. appA is only given resource (CPU?) when appB
finished his business and begin to accept more data;

Which one is true? I know usually 1) and 2) makes no difference to most
users, that's why the detail explanation of "1) or 2)" is so hard to
google out.

In my case appA gets the data from another host who have very short
timeout settings, appB is used to compress the data obtained from appA.
the compression is very difficult, usually at 30Kbps, the network is
very fast, around 10Mbps. appB compress the data tunck by tunck, if
Linux actually works in mode 2), the network connection is dropped when
the interval of two tuncks of appB compressing data is longer then the
network timeout setting. appA acutally don't know how to restart
connection from where it was dropped, thus understanding this difference
makes sense to me.

I made several experiements and my appA and appB both works fine, but I
don't dare to share this appA/B to others unless I get the mechnism
understood.

Thank you in advance.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Neil Bothwick
On Wed, 14 Jun 2006 14:51:59 +0200 (CEST), Norman Rieß wrote:

> But why wasn´t this deleted by a emerge --depclean world or the unmerge
> in the update-process of that packages.

Because the files' datestamps and/or checksums had changed since they
were installed. Portage won't remove a file that has been changed since
its emerge. The most likely cause is that you ran fix_libtool_files.sh.

If you run the files through equery belongs, I expect you will find that
no package owns them, so they can be safely removed.

> Who knows what other garbage-files live on my system and someday try to
> overrule my control and start to think for themselves.

These files are owned by nothing and used by nothing. all they do is take
up a small amount of disk space. They won't start to think for themselves
unless you have skynet in your USE flags.


-- 
Neil Bothwick

Therapy is expensive, popping bubble wrap is cheap! You choose.


signature.asc
Description: PGP signature


Re: [gentoo-user] how does a pipe work? Which process wait for which one, or they don't actually wait each other?

2006-06-14 Thread Devon Miller

It's mode 2. When appB stops reading, appA will continue writing until
the pipe is full (about 4k I believe) at which time appA will block in
a write.

dcm

On 6/14/06, 张�|武 <[EMAIL PROTECTED]> wrote:

Hello. This might be OT but I am pretty interested in this and being
unlucky not able to find a real in-depth explanation of pipe on the
Internet.

How does pipe actually work? I mean, when there is a pipe like this:
$ appA | appB
What happen if appA produced output when appB is still busy processing
the data and did not require any data from input?

possibility 1) as long as appA can get the resource (CPU?), it simply
keep outputing data, and this data is cached in memory, as long as there
is enough memory, and will finally feed to appB when appB finished his
business and begin to accept more data;

possibility 2) as long as appB stop requiring data, appA is suspended,
the resource goes to appB. appA is only given resource (CPU?) when appB
finished his business and begin to accept more data;

Which one is true? I know usually 1) and 2) makes no difference to most
users, that's why the detail explanation of "1) or 2)" is so hard to
google out.

In my case appA gets the data from another host who have very short
timeout settings, appB is used to compress the data obtained from appA.
the compression is very difficult, usually at 30Kbps, the network is
very fast, around 10Mbps. appB compress the data tunck by tunck, if
Linux actually works in mode 2), the network connection is dropped when
the interval of two tuncks of appB compressing data is longer then the
network timeout setting. appA acutally don't know how to restart
connection from where it was dropped, thus understanding this difference
makes sense to me.

I made several experiements and my appA and appB both works fine, but I
don't dare to share this appA/B to others unless I get the mechnism
understood.

Thank you in advance.

--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: how does a pipe work? Which process wait for which one, or they don't actually wait each other?

2006-06-14 Thread Caster
张�|武 wrote:> Hello. This might be OT but I am pretty interested in this and being> unlucky not able to find a real in-depth explanation of pipe on the> Internet.> I think "man 7 pipe" gives quite precise explanation for this.
> How does pipe actually work? I mean, when there is a pipe like this:> $ appA | appB> What happen if appA produced output when appB is still busy processing> the data and did not require any data from input?
> > possibility 1) as long as appA can get the resource (CPU?), it simply> keep outputing data, and this data is cached in memory, as long as there> is enough memory, and will finally feed to appB when appB finished his
> business and begin to accept more data;> > possibility 2) as long as appB stop requiring data, appA is suspended,> the resource goes to appB. appA is only given resource (CPU?) when appB> finished his business and begin to accept more data;
> I would say "both is true", except the limitation of (1) is not whole memory, but pipe buffer size (according to man it's 64k). When this buffer is full, (2) happens.> In my case appA gets the data from another host who have very short
> timeout settings, appB is used to compress the data obtained from appA.> the compression is very difficult, usually at 30Kbps, the network is> very fast, around 10Mbps. appB compress the data tunck by tunck, if
> Linux actually works in mode 2), the network connection is dropped when> the interval of two tuncks of appB compressing data is longer then the> network timeout setting. appA acutally don't know how to restart
> connection from where it was dropped, thus understanding this difference> makes sense to me.If it's a problem, either appA or appB should be threaded, one thread buffering the the input in own memory (not relying on pipe buffer size) and second thread making the output (appA) or compression (appB).
Caster


Re: [gentoo-user] Use and removal of binary packages

2006-06-14 Thread Kevin O'Gorman
On 6/13/06, Richard Fish <[EMAIL PROTECTED]> wrote:
On 6/13/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:> Something about this is just not clicking with me.  I restored my backup to> an empty directory, chrooted to that directory, ran quickpkg on some of the
> packages I've been trying to re-emerge, and was feeling good.  But...>> I got out of chroot, copied these to $PKGDIR (/usr/portage/packages) like> the other packages there, and tried to emerge.  No joy.  Examples of
> what I tried:> > treat Backups # emerge -v --usepkgonly =glib-1.2.10-r5> > Calculating dependencies> > !!! There are no packages available to satisfy: "=glib-1.2.10-r5"
> > !!! Either add a suitable binary package or compile from an ebuild.Did you copy the entire PKGDIR heirarchy?  It normally looks something like:$PKGDIR/All/glib-1.2.10-r5.tbz2...$PKGDIR/dev-libs/glib-
1.2.10-r5.tbz2 -> ../All/glib-1.2.10-r5.tbz2If you just copied the 'All' directory, without the symlinks, thiscould account for the behavior you are seeing.-RichardOkay, that helped.  But not as much as I had hoped.
Now I get:treat dev-libs # emerge -avk =glib-1.2.10-r5These are the packages that would be merged, in order:
Calculating dependencies -emerge: there are no ebuilds to satisfy "virtual/glibc".(dependency required by "dev-libs/glib-1.2.10-r5" [binary])treat dev-libs # So it sees that it has the glib package, but is still unwilling to emerge it
because of something else I need to do.  But I don't know how to findout what to do about this virtual.  In /var/cache/edb/virtuals, I have
virtual/glibc sys-libs/glibcand I have 2.3.6-r3 installed:sys-libs/glibc
 Available versions:  [P]2.2.5-r10 [P]2.3.2-r12 2.3.3.20040420-r2 ~2.3.4.20040619-r2 2.3.4.20040808-r1 2.3.4.20041102-r1 *2.3.4.20041102-r2 ~2.3.4.20050125-r1 2.3.5 2.3.5-r1 2.3.5-r2 2.3.5-r3 *2.3.6 *2.3.6-r1 ~2.3.6-r2 
2.3.6-r3 ~2.3.6-r4 ~2.4-r1 ~2.4-r2 ~2.4-r3 Installed:   2.3.6-r3 Homepage:    http://www.gnu.org/software/libc/libc.html Description: GNU libc6 (also called glibc2) C library
 ++ kevin -- Kevin O'Gorman, PhD


Re: [gentoo-user] Gentoo system crumbling, reports of gcc death

2006-06-14 Thread Kevin O'Gorman

On 6/14/06, Daniel Drake <[EMAIL PROTECTED]> wrote:

Kevin O'Gorman wrote:
> checking for gcc... gcc
> checking whether the C compiler (gcc -O2 -march=pentium4
> -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -fPIC -Wl,-O1
> -ldl-Wl,-O1) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.

The extra flags may be coming from your environment. From the same
terminal where you would run emerge, run the following:

set | grep O1

Daniel


No joy.  It comes up empty.
Moreover, I've done plenty of other emerges without a problem.  So
there's something specific with this one.

++ kevin

--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo system crumbling, reports of gcc death

2006-06-14 Thread Kevin O'Gorman

On 6/13/06, Richard Fish <[EMAIL PROTECTED]> wrote:

On 6/13/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:
> Start digging.  It completed just fine.

Ok, do this and send me the result.

# emerge --debug =dev-libs/glib-1.2.10-r5 >~/glib-merge.txt 2>&1

-Richard

PS. Please post further replies in plain-text.  The multi-part
HTML/text messages are making it difficult for me to reply and
maintain correct levels of '>'.  In gmail, just click the 'Plain text'
link above the composition box.
--
gentoo-user@gentoo.org mailing list




Done.  Results attached.  Sorry about the HTML.  I hadn't noticed it
was turned on.  And I generally oppose HTML mail.

++ kevin

--
Kevin O'Gorman, PhD
myaction None
myopts ['--debug', '--buildpkg']
Calculating dependencies  
Parent:None
Depstring: =dev-libs/glib-1.2.10-r5
Candidates: ['=dev-libs/glib-1.2.10-r5']
ebuild: dev-libs/glib-1.2.10-r5
binpkg: None
+ dyn_clean
+ '[' -z /var/tmp/portage/glib-1.2.10-r5 ']'
+ type -p chflags
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/image 
/var/tmp/portage/glib-1.2.10-r5/homedir
+ hasq keeptemp autoconfig buildpkg distlocks metadata-transfer sandbox sfperms 
strict
+ [[  autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict  
== *\ \k\e\e\p\t\e\m\p\ * ]]
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/temp
+ hasq keepwork autoconfig buildpkg distlocks metadata-transfer sandbox sfperms 
strict
+ [[  autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict  
== *\ \k\e\e\p\w\o\r\k\ * ]]
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/.unpacked
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/.compiled
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/.tested
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/.installed
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/.packaged
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/build-info
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/work
+ '[' -f /var/tmp/portage/glib-1.2.10-r5/.unpacked ']'
+ rm -rf /var/tmp/portage/glib-1.2.10-r5/distdir
++ find /var/tmp/portage/glib-1.2.10-r5 -mindepth 1 -maxdepth 1
+ '[' -z '' ']'
+ rmdir /var/tmp/portage/glib-1.2.10-r5
+ true
+ set +x

Parent:ebuild / dev-libs/glib-1.2.10-r5 merge
Depstring:  
Exiting... None
... done!
>>> Emerging (1 of 1) dev-libs/glib-1.2.10-r5 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glib-1.2.10.tar.gz ;-)
+ dyn_setup
++ type -t pre_pkg_setup
+ '[' '' == function ']'
+ pkg_setup
+ return
++ type -t post_pkg_setup
+ '[' '' == function ']'
+ set +x
+ dyn_unpack
+ trap abort_unpack SIGINT SIGQUIT
++ type -t pre_src_unpack
+ '[' '' == function ']'
+ local newstuff=no
+ '[' -e /var/tmp/portage/glib-1.2.10-r5/work ']'
+ '[' -e /var/tmp/portage/glib-1.2.10-r5/work ']'
+ '[' '!' -d /var/tmp/portage/glib-1.2.10-r5/work ']'
+ install -m0700 -d /var/tmp/portage/glib-1.2.10-r5/work
+ cd /var/tmp/portage/glib-1.2.10-r5/work
+ vecho '>>> Unpacking source...'
+ [[ '' == \1 ]]
+ echo '>>> Unpacking source...'
>>> Unpacking source...
+ src_unpack
+ unpack glib-1.2.10.tar.gz
+ local x
+ local y
+ local myfail
+ local tarvars
+ '[' GNU == BSD ']'
+ tarvars=--no-same-owner
+ '[' -z glib-1.2.10.tar.gz ']'
+ for x in '"$@"'
+ vecho '>>> Unpacking glib-1.2.10.tar.gz to 
/var/tmp/portage/glib-1.2.10-r5/work'
+ [[ '' == \1 ]]
+ echo '>>> Unpacking glib-1.2.10.tar.gz to 
/var/tmp/portage/glib-1.2.10-r5/work'
>>> Unpacking glib-1.2.10.tar.gz to /var/tmp/portage/glib-1.2.10-r5/work
+ y=glib-1.2.10.tar
+ y=tar
+ myfail='glib-1.2.10.tar.gz does not exist'
+ '[' gl = ./ ']'
+ srcdir=/var/tmp/portage/glib-1.2.10-r5/distdir/
+ [[ glib-1.2.10.tar.gz == /var/tmp/portage/glib-1.2.10-r5/distdir* ]]
+ '[' '!' -s /var/tmp/portage/glib-1.2.10-r5/distdir/glib-1.2.10.tar.gz ']'
+ myfail='failure unpacking glib-1.2.10.tar.gz'
+ case "${x##*.}" in
+ '[' tar == tar ']'
+ tar zxf /var/tmp/portage/glib-1.2.10-r5/distdir/glib-1.2.10.tar.gz 
--no-same-owner
+ chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /var/tmp/portage/glib-1.2.10-r5/work/glib-1.2.10
+ epatch /usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch
+ local PIPE_CMD=
+ local STDERR_TARGET=/var/tmp/portage/glib-1.2.10-r5/temp/3567.out
+ local PATCH_TARGET=/var/tmp/portage/glib-1.2.10-r5/temp/3567.patch
+ local PATCH_SUFFIX=
+ local SINGLE_PATCH=no
+ local x=
+ unset P4CONFIG P4PORT P4USER
+ '[' 1 -gt 1 ']'
+ '[' -n /usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch -a -f 
/usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch ']'
+ SINGLE_PATCH=yes
+ local EPATCH_SOURCE=/usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch
+ local EPATCH_SUFFIX=patch
+ case ${EPATCH_SUFFIX##*\.} in
+ PIPE_CMD=cat
+ PATCH_SUFFIX=patch
+ '[' yes = no ']'
+ for x in '${EPATCH_SOURCE}'
+ '[' -f /usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch ']'
+ '[' yes = yes -o /usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch '!=' 
/usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch -o 
/usr/portage/dev-libs/glib/files/glib-1.2.10-m4.patch '!=' 
/usr/portage/dev-libs/glib/files/glib-1.2.10-m4

Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Norman Rieß

Neil Bothwick schrieb:


These files are owned by nothing and used by nothing. all they do is take
up a small amount of disk space. They won't start to think for themselves
unless you have skynet in your USE flags.


  


No, but my flags contain USE="hive-mind".  Any problems with that?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Rumen Yotov
Norman Rieß wrote:
> Hi
> 
> according to revdep-rebuild, quite a few libraries on my system are broken.
> But at the end of revdep-rebuild, it tells me, my system was consistent.
> I think some libraries are really broken, because the sound of my vlc
> player stutters sometimes lately.
> I had some problems with the arts-daemon and now i have "-arts" as useflag
> an did a emerge -puN world because of that. (Just in case that this
> matters somehow)
> 
> How can i fix this?
> 
> I paste the revdep-rebuild -p output in this mail.
> 
> Regards
> 
> Norman
> 
> 
> revdep-rebuild -p
> Configuring search environment for revdep-rebuild
> 
> Checking reverse dependencies...
> 
> Packages containing binaries and libraries broken by a package update
> will be emerged.
> 
> Collecting system binaries and libraries... done.
>   (/root/.revdep-rebuild.1_files)
> 
> Collecting complete LD_LIBRARY_PATH... done.
>   (/root/.revdep-rebuild.2_ldpath)
> 
> Checking dynamic linking consistency...
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libqtmcop.la)
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libsoundserver_idl.la)
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libkmedia2_idl.la)
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libartsflow.la)
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libartsflow_idl.la)
>   broken /usr/kde/3.4/lib/kde3/kfileaudiopreview.la (requires
> /usr/kde/3.4/lib/libmcop.la)
>   broken /usr/kde/3.4/lib/kde3/knotify.la (requires
> /usr/kde/3.4/lib/libqtmcop.la)
>   broken /usr/kde/3.4/lib/kde3/knotify.la (requires
> /usr/kde/3.4/lib/libsoundserver_idl.la)
>   broken /usr/kde/3.4/lib/kde3/knotify.la (requires
> /usr/kde/3.4/lib/libkmedia2_idl.la)
>   broken /usr/kde/3.4/lib/kde3/knotify.la (requires
> /usr/kde/3.4/lib/libartsflow.la)
>   broken /usr/kde/3.4/lib/kde3/knotify.la (requires
> /usr/kde/3.4/lib/libartsflow_idl.la)
>   broken /usr/kde/3.4/lib/kde3/knotify.la (requires
> /usr/kde/3.4/lib/libmcop.la)
>   broken /usr/kde/3.4/lib/libartskde.la (requires
> /usr/kde/3.4/lib/libqtmcop.la)
>   broken /usr/kde/3.4/lib/libartskde.la (requires
> /usr/kde/3.4/lib/libsoundserver_idl.la)
>   broken /usr/kde/3.4/lib/libartskde.la (requires
> /usr/kde/3.4/lib/libkmedia2_idl.la)
>   broken /usr/kde/3.4/lib/libartskde.la (requires
> /usr/kde/3.4/lib/libartsflow.la)
>   broken /usr/kde/3.4/lib/libartskde.la (requires
> /usr/kde/3.4/lib/libartsflow_idl.la)
>   broken /usr/kde/3.4/lib/libartskde.la (requires
> /usr/kde/3.4/lib/libmcop.la)
>   broken /usr/lib/avifile-0.7/ac3pass.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/ac3pass.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/audiodec.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/audiodec.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/ffmpeg.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/ffmpeg.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/mad_audiodec.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/mad_audiodec.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/osmjpeg.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/osmjpeg.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/vorbis_audio.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/vorbis_audio.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/win32.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/win32.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/avifile-0.7/xvid4.la (requires
> /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/avifile-0.7/xvid4.la (requires
> /usr/lib/libaviplayavcodec.la)
>   broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavformat.la)
>   broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavcodec.la)
>  done.
>   (/root/.revdep-rebuild.3_rebuild)
> 
> Assigning files to ebuilds... done.
>   (/root/.revdep-rebuild.4_ebuilds)
> 
> Evaluating package order... done.
>   (/root/.revdep-rebuild.5_order)
> 
> Dynami

Re: [gentoo-user] gamin

2006-06-14 Thread Arnau Bria
On Tue, 13 Jun 2006 22:26:44 +0200
Benno Schulenberg <[EMAIL PROTECTED]> wrote:

> Arnau Bria wrote:
> > That's it! kdelibs! I can't figure why equery does not show it...
> 
> It appears to have been fixed in gentoolkit-0.2.2.  After a sync and 
> an upgrade:
>   $ equery depends fam
>   [ Searching for packages depending on fam... ]
>   gnome-base/gnome-vfs-2.12.2
>   kde-base/kdelibs-3.5.3-r1

> But for you, when you've removed the fam flag, this should still 
> output nothing, I suppose.

Without the USE flag:

lx-arnau ~ # equery depends fam
[ Searching for packages depending on fam... ]
kde-base/kdelibs-3.4.3-r1
kde-base/kdelibs-3.5.2-r6

(I must remove kde 3.4)

lx-arnau ~ # equery depends gamin
[ Searching for packages depending on gamin... ]
 
> There's room for improvement,though:
> 
>   $equery depends gamin
>   [ Searching for packages depending on gamin... ]
> 
> Equery should detect that gamin provides a virtual, and then check 
> for the dependents of that.  Are you any good at Python?  :)

No, just a little perl and bash :-(

> Benno
Thanks for your replies.

-- 
Arnau Bria
http://blog.emergetux.net
"Flanders, de nada sirve rezar: yo mismo acabo de hacerlo y los dos 
no vamos a ganar"
~Homer J. Simpson~
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how does a pipe work? Which process wait for which one, or they don't actually wait each other?

2006-06-14 Thread Uwe Thiem
On 14 June 2006 14:12, 张韡武 wrote:
> Hello. This might be OT but I am pretty interested in this and being
> unlucky not able to find a real in-depth explanation of pipe on the
> Internet.
>
> How does pipe actually work? I mean, when there is a pipe like this:
> $ appA | appB
> What happen if appA produced output when appB is still busy processing
> the data and did not require any data from input?
>
> possibility 1) as long as appA can get the resource (CPU?), it simply
> keep outputing data, and this data is cached in memory, as long as there
> is enough memory, and will finally feed to appB when appB finished his
> business and begin to accept more data;
>
> possibility 2) as long as appB stop requiring data, appA is suspended,
> the resource goes to appB. appA is only given resource (CPU?) when appB
> finished his business and begin to accept more data;
>
> Which one is true? I know usually 1) and 2) makes no difference to most
> users, that's why the detail explanation of "1) or 2)" is so hard to
> google out.

Neither nor. ;-)

It's called "blacking IO". An app that has to wait for IO (whether it's 
reading or writing doesn't matter) doesn't get CPU until the IO resource is 
ready. Of course, the scheduler in your kernel can take your app off the CPU 
for other reasons even if the resource is ready.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Use and removal of binary packages

2006-06-14 Thread Neil Bothwick
On Wed, 14 Jun 2006 07:42:43 -0700, Kevin O'Gorman wrote:

> > treat dev-libs # emerge -avk =glib-1.2.10-r5
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies -
> > emerge: there are no ebuilds to satisfy "virtual/glibc".
> > (dependency required by "dev-libs/glib-1.2.10-r5" [binary])

As you obviously have glibc installed, try using the --nodeps option.


-- 
Neil Bothwick

Multitasking: Reading in the bathroom.


signature.asc
Description: PGP signature


Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Neil Bothwick
On Wed, 14 Jun 2006 17:25:11 +0200, Norman Rieß wrote:

> No, but my flags contain USE="hive-mind".  Any problems with that?

Not if you're a Windows user ;-)


-- 
Neil Bothwick

I will always cherish the initial misconceptions I had about you.


signature.asc
Description: PGP signature


[gentoo-user] Re: gamin

2006-06-14 Thread Caster
> This morning I noticed that gam_server was eating 80 90% of cpu...> I'm trying to find who installed gamin in my system, the dependency,> but I found nothing... ('equery depends gamin' shows nothing, with -a,
> equery breaks)Got inotify enabled in your kernel? See http://www.gentoo.org/news/en/gwn/20060320-newsletter.xml#doc_chap5 for more info.
If not, enable it and try gamin + fam useflag again, it can be handy.> Equery should detect that gamin provides a virtual, and then check > for the dependents of that.  Are you any good at Python?  :) 
You don't need. Just check if this problem is known in bugs.gentoo.org, and if not, add it :)Seems there is a bug... but kinda dead - 
http://bugs.gentoo.org/show_bug.cgi?id=101420Caster


Re: [gentoo-user] Gentoo system crumbling, reports of gcc death

2006-06-14 Thread Richard Fish

On 6/14/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:


Done.  Results attached.  Sorry about the HTML.  I hadn't noticed it
was turned on.  And I generally oppose HTML mail.



Hmm, the problem first shows up here:

+ append-ldflags -ldl
+ [[ -z -ldl ]]
+ export 'LDFLAGS=-Wl,-O1 -ldl'
+ LDFLAGS='-Wl,-O1 -ldl'

Just to explain, this occurs when the src_unpack step in the
glib-1.2.10-r5.ebuild calls "append-ldflags $(dlopen_lib).  The
append-ldflags function is defined in
/usr/portage/eclass/flag-o-matic.eclass.

But what this tells me is that LDFLAGS already exists in the
environment, because the -Wl,-O1 part is already there.  That means
either it is in your make.conf or environment and we are missing it
somehow, or it is being defined in some part of portage that is missed
by the --debug option.

So here is one more thing to try to figure this out:

grep -r -- -Wl,-O1 /usr/portage/profiles /usr/portage/eclass
/etc/portage /etc/profile* \
   /usr/local/portage /usr/lib/portage /usr/portage/dev-libs/glib/

This had better turn up something...or I am out of ideas. :-<

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



Re: [gentoo-user] Use and removal of binary packages

2006-06-14 Thread Kevin O'Gorman

On 6/14/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:

On Wed, 14 Jun 2006 07:42:43 -0700, Kevin O'Gorman wrote:

> > treat dev-libs # emerge -avk =glib-1.2.10-r5
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies -
> > emerge: there are no ebuilds to satisfy "virtual/glibc".
> > (dependency required by "dev-libs/glib-1.2.10-r5" [binary])

As you obviously have glibc installed, try using the --nodeps option.


--
Neil Bothwick


Good.  Now progress has been made, and the packages that depended on
glib are emerging.  One down, 6 to go.

++ kevin

--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how does a pipe work? Which process wait for which one, or they don't actually wait each other?

2006-06-14 Thread Boyd Stephen Smith Jr.
On Wednesday 14 June 2006 08:12, 张韡武 <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] how does a pipe work? Which process wait for which 
one, or they don't actually wait each other?':
> How does pipe actually work? I mean, when there is a pipe like this:
> $ appA | appB
> What happen if appA produced output when appB is still busy processing
> the data and did not require any data from input?
>
> possibility 1) as long as appA can get the resource (CPU?), it simply
> keep outputing data, and this data is cached in memory, as long as there
> is enough memory, and will finally feed to appB when appB finished his
> business and begin to accept more data;
>
> possibility 2) as long as appB stop requiring data, appA is suspended,
> the resource goes to appB. appA is only given resource (CPU?) when appB
> finished his business and begin to accept more data;
>
> Which one is true? I know usually 1) and 2) makes no difference to most
> users, that's why the detail explanation of "1) or 2)" is so hard to
> google out.

Neither! Both!

The implementation of pipes varies from *NIX to *NIX, and possibly within 
the same *NIX, since a shell might 'enhance' the pipes provided by the 
kernel/libc.  (The shell binary is ultimately responsible for implementing 
the pipe, so it may arbitrarily 'decorate' a standard pipe.)

In any case, you can't depend on any particular behavior if you want your 
shell script to be portable.

In linux/bash I believe it works like this:  Each, pipe has a small (~1 
page) FIFO buffer in memory.  (Not sure if this is kernel or userspace.)  
Both processes are started and compete for CPU time in the standard way.  
Either process may block on I/O when it performs standard, blocking I/O on 
the pipe. appA will block if the FIFO gets full; appB will block if the 
FIFO gets empty.

If you really must know: Use the Source, Luke.

> In my case appA gets the data from another host who have very short
> timeout settings, appB is used to compress the data obtained from appA.
> the compression is very difficult, usually at 30Kbps, the network is
> very fast, around 10Mbps. appB compress the data tunck by tunck, if
> Linux actually works in mode 2), the network connection is dropped when
> the interval of two tuncks of appB compressing data is longer then the
> network timeout setting. appA acutally don't know how to restart
> connection from where it was dropped, thus understanding this difference
> makes sense to me.

This also depends a lot on the application. appA can use asynchronous I/O, 
provide a larger buffer (perhaps even a temporary file), and/or send 
keepalives through the network.  Also, appB's compression my be 
interrupted while more data is written to the buffer.

> I made several experiements and my appA and appB both works fine, but I
> don't dare to share this appA/B to others unless I get the mechnism
> understood.

With the speeds you mention, the timeout would have to be ~8s or less for 
the socket to be dropped.[1]  Once a socket is established, they are 
amazingly stable; timeout for an established socket is usually more like 
5-10 minutes or even an hour.  Heck, I think OBSD 3.8 defaulted to a 1 DAY 
timeout before the OS reaped an established socket.

Also, you generally want to compress stuff before putting it on the wire, 
not after...

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh

[1] That's assuming 15Kbps compression rate and the ability to send 
full-size 16KB ip packets.  Most likely, ~1s would suffice, since packets 
are generally 1500B ~= 15Kb in size.


pgpKAzANEGw3G.pgp
Description: PGP signature


Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Richard Fish

On 6/14/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:

up a small amount of disk space. They won't start to think for themselves
unless you have skynet in your USE flags.


Damn, and I was _so_ hoping that was really a valid USE flag! :->
That would have to be the coolest flag ever...we must find an ebuild
to add it to...maybe busybox, or one of the network monitoring tools.

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



Re: [gentoo-user] a star-map wallpaper?

2006-06-14 Thread Frédéric Grosshans
Le mercredi 14 juin 2006 à 17:30 +0800, 张 韡武 a écrit :
> Hello. Sorry for my English if there is a more correct way of saying "Star
> map". By Star Map I mean something that shows the position of starts, as
> well as brightness. The more like photo, the better.

I think the keyword to google at is "planetarium". I woulsd be
interested to hear of your final solution, even if I'm too lazy to do it
myself.

Fred

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broken libraries but library-linking is consistent ;-)

2006-06-14 Thread Neil Bothwick
On Wed, 14 Jun 2006 09:39:51 -0700, Richard Fish wrote:

> Damn, and I was _so_ hoping that was really a valid USE flag! :->
> That would have to be the coolest flag ever...

Nah! The coolest, froopiest ever would be USE="towel" :)


-- 
Neil Bothwick

I'd prefer the non-smoking lifeboat, please.


signature.asc
Description: PGP signature


Re: [gentoo-user] a star-map wallpaper?

2006-06-14 Thread Roy Wright
Devon Miller wrote:
> KStars (http://edu.kde.org/kstars/) has a command line mode for image
> generation.
> It should not be difficult to script that to generate an image, then
> set it as the background.
>
> dcm
>
You can do the scripting using DCOP to change the background.
Here's an intro:

http://www-128.ibm.com/developerworks/linux/library/l-dcop/?ca=dgr-kdeml01KDEDCOP


HTH,
Roy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a star-map wallpaper?

2006-06-14 Thread Willie Wong
On Wed, Jun 14, 2006 at 05:30:04PM +0800, Penguin Lover ??? ?? squawked:
> Hello. Sorry for my English if there is a more correct way of saying "Star
> map". By Star Map I mean something that shows the position of starts, as
> well as brightness. The more like photo, the better.

The word you are looking for is 'chart', as in 'star chart'. Google
for 'star chart wallpaper linux' or some phrase like that. 

> Star moves in the sky all the time:
> 1) the star map in 20:00 is different from 21:00
> 2) the star map in today 20:00 is different from what it was yesterday 20:00
> 3) the star map in one city is different from in another city at the same
> time
> 
> I am looking for an application dynamically change the backgroup of my gnome
> desktop, showing the correct starmap of the very city I am in, of the very
> day and correct moment. That might require the desktop image being replaced
> once 15 miniutes, that doesn't matter, that's what I need.

I don't know if any program of your specification is available, but
for KDE at least you can run a graphic program in the root window and
use that as a desktop image, thought I don't know about gnome. 
 
Try looking at some of the following to see if you can at least use it
to meet your needs:
  xephem:  http://www.clearskyinstitute.com/xephem/
  pp3: http://pp3.sourceforge.net/
  kstars (yes, I know you are running gnome):
   http://edu.kde.org/kstars/
  Mag 7 star charts: http://www.cloudynights.com/item.php?item_id=1052

If you don't care too much about accuracy, some elementary mathematics
plus the Mag 7 star charts, a cron job, and an image viewer with
ability to set the background image (like qiv or xli) should allow you
to dynamically switch the background image to the roughly correct star
chart. 

W
-- 
Santa's helpers are subordinate clauses.
Sortir en Pantoufles: up 4 days, 18:25
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a star-map wallpaper?

2006-06-14 Thread b.n.
Devon Miller wrote:
> KStars (http://edu.kde.org/kstars/) has a command line mode for image
> generation.
> It should not be difficult to script that to generate an image, then
> set it as the background.

I always hoped for Celestia to have this functionality. It would be
wonderful to follow, let's say, Cassini from my desktop :)

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



[gentoo-user] webcam problem

2006-06-14 Thread Biru Ionut
I use for my webcam the latest spca5xx driver. everything work well
until i want to test my webcam. When i try this thing

 mplayer tv:// -tv
driver=v4l:width=352:height=288:outfmt=rgb24:device=/dev/video0:noaudio
-flip

91 audio & 208 video codecs
Playing tv://.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
unable to open '/dev/video0': No space left on device


Exiting... (End of file)

I have connected several devices on the same root hub a mouse,printer
and webcam. if i unplug the mouse and the printer and i try it my webcam
work very well. I have GA-K8N Ultra 9 motherboard with Nforce4 Ultra
Chipset.

My kernel config is:

# USB devices
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SND_USB_USX2Y is not set
# USB support
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# USB Device Class drivers
# CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
# may also be needed; see USB_STORAGE Help for more information
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_LIBUSUAL is not set
# USB Input Devices
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_ITMTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_ATI_REMOTE2 is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_PWC is not set
# USB Network Adapters
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
CONFIG_USB_MON=y
# USB port drivers
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TEST is not set
# USB DSL modem support
# USB Gadget Support
# CONFIG_USB_GADGET is not set

Does somebody experience that error?if yes that can i do to make my
webcam work
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: a star-map wallpaper?

2006-06-14 Thread Mick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roy Wright wrote:

> Devon Miller wrote:
>> KStars (http://edu.kde.org/kstars/) has a command line mode for image
>> generation.
>> It should not be difficult to script that to generate an image, then
>> set it as the background.
>>
>> dcm
>>
> You can do the scripting using DCOP to change the background.
> Here's an intro:

I recall of a wall paper/screen saver, which would fetch satellite images of
the globe and update your desktop (almost) in real time.

I think it used this link.

http://meteosat.e-technik.uni-ulm.de/meteosat/index-latest.html

The same script with a satellite that captures and feeds images away from
Earth as opposed towards it should come close enough to what you're after.
Not sure if this helps.  If it does, unlike a simulator like Kstars it will
of course show all the latest supernova and eclipses of planets, more or
less as they occur in Earth time.
- -- 
Regards,
Mick
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEkHVD5Fp0QerLYPcRAiGIAJ9NBsGl8Px/Mllf1AD+dVzQ749caQCfWlKv
kLhueHwWaoL+5mPJ9y0eFog=
=V96j
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: gamin

2006-06-14 Thread Benno Schulenberg
Caster wrote:
[and snipped an attribution]
> > Equery should detect that gamin provides a virtual, and then
> > check for the dependents of that.  Are you any good at Python? 
> > :)
>
> You don't need.  [...]  Seems there is a bug... but kinda dead -
> http://bugs.gentoo.org/show_bug.cgi?id=101420

Sure.  But it's better to help yourself, if you can, than to wait 
for others to help you.  :)

BTW, please configure your Gmail to leave the "References:" header 
intact.  Your replies are now showing up as new threads.  (No, not 
for you, because Gmail groups things on subject, but for those that 
use real mailers.  And yes, I've got threading by subject switched 
on, but it doesn't seem to work.)

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



[gentoo-user] google earth 4- beta

2006-06-14 Thread Matthew R. Lee
I've just tried to install google earth and got the following:

Calculating dependencies ... done!
>>> Emerging (1 of 1) x11-misc/googleearth-4_beta to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking GoogleEarthLinux.bin ;-)
>>> Unpacking source...
>>> Unpacking GoogleEarthLinux.bin to /var/tmp/portage/googleearth-4_beta/work
1912+1 records in
16581+1 records out
16979788 bytes (17 MB) copied, 15.8498 seconds, 1.1 MB/s

bzip2: (stdin): trailing garbage after EOF ignored
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/googleearth-4_beta/work ...
>>> Source compiled.
>>> Test phase [not enabled]: x11-misc/googleearth-4_beta

>>> Install googleearth-4_beta into /var/tmp/portage/googleearth-4_beta/image/ 
category x11-misc
Installing mimetypes...
 [31;01mACCESS DENIED [0m  
open_wr:   /usr/share/mime/packages/googleearth-mimetypes.xml
cp: cannot create regular file 
`/usr/share/mime/packages//googleearth-mimetypes.xml': Permission denied
Installing desktop menu entries...
 [31;01mACCESS DENIED [0m  
open_wr:   /usr/kde/3.5/share/applications/googleearth.desktop
cp: cannot create regular file 
`/usr/kde/3.5/share/applications/googleearth.desktop': Permission denied
>>> Completed installing googleearth-4_beta 
into /var/tmp/portage/googleearth-4_beta/image/

 [31;01m--- ACCESS VIOLATION SUMMARY --- [0m
 [31;01mLOG FILE 
= "/var/log/sandbox/sandbox-x11-misc_-_googleearth-4_beta-13576.log" [0m

open_wr:   /usr/share/mime/packages/googleearth-mimetypes.xml
open_wr:   /usr/kde/3.5/share/applications/googleearth.desktop
 [31;01m- [0m
  
anyone else had this problem?  Can anyone point me in the direction of how to 
fix it?
Thanks
Matt
-- 
%%%
Dr. Matthew R. Lee.
CASEB & ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago,
CP 6513677
CHILE.

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gcc upgrade and Portage questions

2006-06-14 Thread Jesse Hannah
1. Has anyone noticed if programs compiled with the latest gcc (4.1.1, I 
believe) are any faster than those compiled with 3.4.6-r1? Also, is there any 
difference in the required time to compile? Any other issues I should know 
about with upgrading from 3.4.6-r1 to 4.1.1? (I use a pre-Prescott P4 
3000MHz, so it'd be nice if anyone had information for that or a comparable 
architecture.)

2. If I want to upgrade and rebuild my entire system (using a new gcc), is:
emerge -u gcc
emerge -e world
the right thing to do? Am I missing anything there?

(Note: if it makes any difference, I have ACCEPT_KEYWORDS="~x86" set in 
my /etc/make.conf. Any problems this could cause?)
-- 
Jesse Hannah

Homepage: 
IRC Nick: [EMAIL PROTECTED]
GPG Key: 0x78F156E7
Available on the keyservers (search the key or for "Jedi Web-Penguin")
or from 


pgpStGeQ0oiUe.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Gentoo Sweatshirts

2006-06-14 Thread Ow Mun Heng
On Tue, 2006-06-13 at 20:37 -0500, Teresa and Dale wrote:
> Ow Mun Heng wrote:
> 
> >Hi guys,
> >
> > Am here in the US. Would like to purchase a Gentoo Branded sweatshirt.
> >There's one I found on Cafepress @29.99 which is hooded. Anyone knows of
> >one which does not have a hood?
> >
> >Preferably something even cheaper than that??
> >
> >  
> >
> 
> If you are here long enough you can order one from here.
> 
> http://www.cafepress.com/officialgentoo/617982
> 
> Is that what you are looking for or are you looking for a store where
> you are that has them?
Yeah.. That's the exact same one I'm talking about.

If possible, if there's a store which I can get it from, it would be
even better.


> 
> Dale
> :-)  :-)
-- 
Ow Mun Heng <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc upgrade and Portage questions

2006-06-14 Thread Daniel da Veiga

On 6/14/06, Jesse Hannah <[EMAIL PROTECTED]> wrote:

1. Has anyone noticed if programs compiled with the latest gcc (4.1.1, I
believe) are any faster than those compiled with 3.4.6-r1? Also, is there any
difference in the required time to compile? Any other issues I should know
about with upgrading from 3.4.6-r1 to 4.1.1? (I use a pre-Prescott P4
3000MHz, so it'd be nice if anyone had information for that or a comparable
architecture.)



I didn't notice any speed change after recompiling.


2. If I want to upgrade and rebuild my entire system (using a new gcc), is:
emerge -u gcc
emerge -e world
the right thing to do? Am I missing anything there?


http://www.gentoo.org/doc/en/gcc-upgrading.xml
Has everything you need to know...



(Note: if it makes any difference, I have ACCEPT_KEYWORDS="~x86" set in
my /etc/make.conf. Any problems this could cause?)


So do I. So far, so good... Except that I use binary openoffice.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



[gentoo-user] splitdebug

2006-06-14 Thread Bo Ørsted Andresen
If I want to take full advantage of the new splitdebug feature. Should I then 
emerge -e world? I don't think the backtraces doc [1] answers that.

[1] http://www.gentoo.org/proj/en/qa/backtraces.xml

-- 
Bo Andresen


pgpvq828oGjCZ.pgp
Description: PGP signature


Re: [gentoo-user] splitdebug

2006-06-14 Thread Richard Fish

On 6/14/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

If I want to take full advantage of the new splitdebug feature. Should I then
emerge -e world? I don't think the backtraces doc [1] answers that.


For "full" advantage, yes, you would need to emerge -e world, since
otherwise the debugging information will only be generated for new
merges.  And of course, any binary packages won't get debug symbols in
any case.

But if there is a specific program you are wanting to get backtraces
from, you can simplify by just re-merging that program and dependant
libraries.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc upgrade and Portage questions

2006-06-14 Thread Richard Fish

On 6/14/06, Daniel da Veiga <[EMAIL PROTECTED]> wrote:

On 6/14/06, Jesse Hannah <[EMAIL PROTECTED]> wrote:
> 2. If I want to upgrade and rebuild my entire system (using a new gcc), is:
> emerge -u gcc
> emerge -e world
> the right thing to do? Am I missing anything there?

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Has everything you need to know...


Yes, definitely follow the guide.

During the emege -e world, if you use MAKEOPTS=-jN, where N>1, you may
notice some things fail to build (at least I did).  Doing a
"MAKEOPTS=-j1 emerge -e --resume world" is the way around most
problems.

Also, if you use KDE, you may want to checkout the kdehiddenvisibility
flag before commencing the emerge -e world.  Setting it should improve
KDE startup times.  I can't say I noticed a dramatic speedup, but my
laptop is definitely at the high-end of the performance range...

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



Re: [gentoo-user] splitdebug

2006-06-14 Thread Bo Ørsted Andresen
On Wednesday 14 June 2006 23:28, Richard Fish wrote:
> For "full" advantage, yes, you would need to emerge -e world, since
> otherwise the debugging information will only be generated for new
> merges.  And of course, any binary packages won't get debug symbols in
> any case.

Thanks. Good to know.

> But if there is a specific program you are wanting to get backtraces
> from, you can simplify by just re-merging that program and dependant
> libraries.

Like this:

# emerge -ep kontact kmail knode akregator | awk '$1~/ebuild/{print $4}' | \
sed -e 's/\-[0-9][A-Za-z0-9._-]*$//' | grep lib | xargs emerge -vp 

Or how else to know?

-- 
Bo Andresen


pgpn69SVIaqIQ.pgp
Description: PGP signature


Re: [gentoo-user] really annoying boxes in firefox and evolution

2006-06-14 Thread Mick

On 14/06/06, Iain Buchanan <[EMAIL PROTECTED]> wrote:


Thanks for the suggestion, unfortunately different encodings didn't make
much difference.  However, I did notice this when I started firefox from
the command line:

$ firefox
No running windows found
Warning: Cannot convert string
"-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type
FontStruct

what on earth does that mean?  I tried installing
font-bh-lucidatypewriter-100dpi and font-bh-lucidatypewriter-75dpi but
that didn't seem to do anything.  I think I'm barking up the wrong
tree...


If changing the encoding did not help, it is worth checking your font
file permissions.  Have a look at this thread:
http://forums.gentoo.org/viewtopic.php?p=1427510 and the link it
provides at the bottom:
http://forums.gentoo.org/viewtopic.php?p=1618075#1618075

HTH
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub + pxeboot

2006-06-14 Thread Mike Huber

Awesome tidbit, I'll be sure to file that one away.  Also, if you're
configuring for a netboot, the definitive place to look is in the
kernel tree itself.  I would especially recommend
Documentation/initrd.txt, which is great for netbooting something
that's not going to be a diskless thinclient.  Regardless, that should
tell you everything you need to know, or where to look for the few
pieces you're missing.

--Mike



On 6/13/06, YoYo Siska <[EMAIL PROTECTED]> wrote:

Mike Huber wrote:
> There was a really good guide on how to do this (at least, from the
> point of view of booting an nfs-mounted root directory) in the alternate
> installation guide.  I'm pretty sure that you have to compile grub with
> the --enable-diskless option.  I'm not really sure how to do that easily
> within portage, but I'm sure someone will chime in with an appropiate
> answer.

The "netboot" use flag seems to be the right thing ;) it seems that it
enables other things beside "--enable-diskless" that look like network
drivers/whatever.. (never tried it)

BTW if you want to pass something to ./configure in an  emerge, just use

EXTRA_ECONF="--enable-diskless" emerge -av grub

But I don't know if it can be set pernamently for that package in some
file in /etc/portage/
>
> On 6/2/06, *Enrico Weigelt* < [EMAIL PROTECTED]
> > wrote:
>
>
> Hi folks,
>
>
> I'd like to let grub boot an PXE bootloader, so I've got the
> option to boot from network instead of local disk.
> How can I do this ?
>
> Currently I'm using an PXE bootdisk to boot from network, but
> this is not satisfying.
>
>



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



--
gentoo-user@gentoo.org mailing list



[gentoo-user] no prompt for password

2006-06-14 Thread Sean
Just built a system and all was going great, first time I have tried 
Linux in a very long time. After finishing up the build all worked fine 
till I was trying to get sound in place, followed the instructions for 
alsa in the handbook.


Anyway, finished up, restarted the system, and now the system will show 
a login, I enter the user or root, but it never prompts to enter a password.

Then just times out and eventually shows the login again.

No X configured, just the console, like I said, a brand new setup.

Using the Live CD booted up and tried to change the password, hopefully 
thought that would just kick things back in place, no luck, neither root 
or the one user I currently have added is being prompted to enter a 
password.

Also looked at the modules that are to be loaded, it looks fine.
Before configuring for sound the only module was s2io, obviously have 
more now.


Any suggestions to get things working again, I would hate having to 
rebuild the system again.


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



[gentoo-user] mounting cdrom during boot

2006-06-14 Thread Bo Ørsted Andresen
Everytime I boot my system I see this message:
==
/dev/cdrom: open failed: No medium found
==

Everytime I shut down my system I see these (those two lines were repeated 23 
times during last shutdown):
==
/dev/cdrom: open failed: No medium found
Attempt to close device: '/dev/cdrom' which is not open.
/dev/cdrom: open failed: No medium found
Attempt to close device: '/dev/cdrom' which is not open.
...
==

I do not have a cd in the drive. Earlier /dev/cdrom was in /etc/fstab with the 
noauto option. After I discovered this I tried removing it from /etc/fstab. 
But no change. Any ideas?

-- 
Bo Andresen


pgp9jvEcpE8mZ.pgp
Description: PGP signature


Re: [gentoo-user] no prompt for password

2006-06-14 Thread James Ausmus

On 6/14/06, Sean <[EMAIL PROTECTED]> wrote:

Just built a system and all was going great, first time I have tried
Linux in a very long time. After finishing up the build all worked fine
till I was trying to get sound in place, followed the instructions for
alsa in the handbook.

Anyway, finished up, restarted the system, and now the system will show
a login, I enter the user or root, but it never prompts to enter a password.
Then just times out and eventually shows the login again.


OK, so what happened is that you un-emerged pam-login (to remove the
block for the new version of shadow), but didn't emerge the new
version of shadow (or didn't have the pam USE flag set for shadow).

What you'll need to do is to boot the LiveCD again, mount your hard
drive, chroot, env-update, source /etc/profile, and emerge the latest
version of shadow, ensuring that the pam USE flag is set.

If one of my assumptions above is wrong, let me know, and we'll get
the problem figured out. :)

-James





No X configured, just the console, like I said, a brand new setup.

Using the Live CD booted up and tried to change the password, hopefully
thought that would just kick things back in place, no luck, neither root
or the one user I currently have added is being prompted to enter a
password.
Also looked at the modules that are to be loaded, it looks fine.
Before configuring for sound the only module was s2io, obviously have
more now.

Any suggestions to get things working again, I would hate having to
rebuild the system again.

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mounting cdrom during boot

2006-06-14 Thread Neil Bothwick
On Thu, 15 Jun 2006 01:18:34 +0200, Bo Ørsted Andresen wrote:

> /dev/cdrom: open failed: No medium found
> Attempt to close device: '/dev/cdrom' which is not open.
> /dev/cdrom: open failed: No medium found
> Attempt to close device: '/dev/cdrom' which is not open.

Are you using LVM?


-- 
Neil Bothwick

Phasers don't kill people...Unless you set them too high.


signature.asc
Description: PGP signature


Re: [gentoo-user] mounting cdrom during boot

2006-06-14 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 01:31, Neil Bothwick wrote:
> Are you using LVM?

Sure. So it's because of this?


# grep ^\ *filter /etc/lvm/lvm.conf
filter = [ "a/.*/" ]


Thanks for the pointer. I forgot to change that when I reinstalled after my 
old harddrive was replaced. :)

-- 
Bo Andresen


pgpODxPtW6pHJ.pgp
Description: PGP signature


Re: [gentoo-user] no prompt for password

2006-06-14 Thread Sean

James Ausmus wrote:

On 6/14/06, Sean <[EMAIL PROTECTED]> wrote:

Just built a system and all was going great, first time I have tried
Linux in a very long time. After finishing up the build all worked fine
till I was trying to get sound in place, followed the instructions for
alsa in the handbook.

Anyway, finished up, restarted the system, and now the system will show
a login, I enter the user or root, but it never prompts to enter a 
password.

Then just times out and eventually shows the login again.


OK, so what happened is that you un-emerged pam-login (to remove the
block for the new version of shadow), but didn't emerge the new
version of shadow (or didn't have the pam USE flag set for shadow).

What you'll need to do is to boot the LiveCD again, mount your hard
drive, chroot, env-update, source /etc/profile, and emerge the latest
version of shadow, ensuring that the pam USE flag is set.

If one of my assumptions above is wrong, let me know, and we'll get
the problem figured out. :)

-James




Thanks James,

	Pam and Shadow did show installed. Pam also showing in the USE flag. 
Isn't that one a default one?

Anyway, added it manually as well to make.conf.

Even though Shadow was in place, based on your message, I removed and 
added shadow again and am now able to log in.

Still not sure what happened, but it is working.

Thanks again,
Sean
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] splitdebug

2006-06-14 Thread Richard Fish

On 6/14/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

Like this:

# emerge -ep kontact kmail knode akregator | awk '$1~/ebuild/{print $4}' | \
sed -e 's/\-[0-9][A-Za-z0-9._-]*$//' | grep lib | xargs emerge -vp


This will merge all of system.  I was thinking more like:

ldd `which kontact kmail knode akregator` | grep '=>' | awk '{print $3}' \
   | sort | uniq | xargs equery belongs | grep '/' | sort | uniq \
   | xargs printf "=%s\n" | xargs emerge -p --oneshot

(Ok people, have at it.  Show me how you can do this in 5 commands or less.)

-Richard






Or how else to know?

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo system crumbling, reports of gcc death

2006-06-14 Thread Kevin O'Gorman

On 6/14/06, Richard Fish <[EMAIL PROTECTED]> wrote:

On 6/14/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:
>
> Done.  Results attached.  Sorry about the HTML.  I hadn't noticed it
> was turned on.  And I generally oppose HTML mail.


Hmm, the problem first shows up here:

+ append-ldflags -ldl
+ [[ -z -ldl ]]
+ export 'LDFLAGS=-Wl,-O1 -ldl'
+ LDFLAGS='-Wl,-O1 -ldl'

Just to explain, this occurs when the src_unpack step in the
glib-1.2.10-r5.ebuild calls "append-ldflags $(dlopen_lib).  The
append-ldflags function is defined in
/usr/portage/eclass/flag-o-matic.eclass.

But what this tells me is that LDFLAGS already exists in the
environment, because the -Wl,-O1 part is already there.  That means
either it is in your make.conf or environment and we are missing it
somehow, or it is being defined in some part of portage that is missed
by the --debug option.

So here is one more thing to try to figure this out:

grep -r -- -Wl,-O1 /usr/portage/profiles /usr/portage/eclass
/etc/portage /etc/profile* \
/usr/local/portage /usr/lib/portage /usr/portage/dev-libs/glib/

This had better turn up something...or I am out of ideas. :-<

-Richard


I would guess you're out of ideas then, except in desperation, I tried
looking for just part
of that: "-W1" and came up with some stuff I hope will further inspire you:


 treat ~ # grep -r -- -Wl /usr/portage/profiles /usr/portage/eclass 
/etc/portage /etc/profile* /usr/local/portage /usr/lib/portage 
/usr/portage/dev-libs/glib/
 /usr/portage/eclass/flag-o-matic.eclass:
-fPIC|-fpic|-fPIE|-fpie|-Wl,pie|-pie)
 /usr/portage/eclass/flag-o-matic.eclass:# Turn C style ldflags (-Wl,-foo) into 
straight ldflags - the results
 /usr/portage/eclass/flag-o-matic.eclass:# to gcc where it needs the '-Wl,'.
 /usr/portage/eclass/flag-o-matic.eclass:x=${x#-Wl,}
 /usr/portage/eclass/flag-o-matic.eclass:echo "-Wl,-z,now" ;;
 /usr/portage/eclass/flag-o-matic.eclass:echo 
"-Wl,-z,now" ;;
 /usr/portage/eclass/toolchain.eclass:   LC_ALL=C gcc "${T}"/libctest.c -lc -o libctest 
-Wl,-verbose &> "${T}"/libctest.log || return 1
 /usr/portage/eclass/x-modular.eclass:   filter-ldflags -Wl,-z,now
 /usr/lib/portage/bin/misc-functions.sh: vecho " 
LDFLAGS='-Wl,-z,now' emerge ${PN}"
 treat ~ #


But before you go breaking a braincell on this, realize that the
ebuild became moot yesterday
when I was able to create a binary package from a backup image and
install it on the running
image.  So pursuing this may be wasted effort.  The package is very
old after all.

So: would you like to help me figure out why revdep-rebuild cannot
rebuild the *current* version
of kdevelop for me?   Now that all this time has been freed up
.  It is a concern because I'm going to be using kdevelop quite
a lot for a while now, so even though I've got
a installed version, I worry about hidden bugs and breakage.

Context: right now revdep-rebuild thinks it needs to remake kdevelop
and kmyfirewall.  Nothing else.  Its reasons seem to be a thousand or
so (!) breakages involving /usr/lib/kde3/*.la files.  If I've got it
right, these are libtool files that are not part of what's
distributed, but are built by libtool.

kdevelop won't emerge because it winds up needing a *.h file that does
not exist, in a *.cpp file that is itself built from a *.ui file.  It
strikes me that this one's gonna have a huge learning curve (for me at
least).

So: what do you wanna do?

--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no prompt for password

2006-06-14 Thread James Ausmus

No problem-

May have just been a /etc/pam.d/* file that hadn't updated properly in
the first emerge of shadow.

Enjoy your new system (and Welcome to Gentoo, it sounds like!)

:)

-James


On 6/14/06, Sean <[EMAIL PROTECTED]> wrote:

James Ausmus wrote:
> On 6/14/06, Sean <[EMAIL PROTECTED]> wrote:
>> Just built a system and all was going great, first time I have tried
>> Linux in a very long time. After finishing up the build all worked fine
>> till I was trying to get sound in place, followed the instructions for
>> alsa in the handbook.
>>
>> Anyway, finished up, restarted the system, and now the system will show
>> a login, I enter the user or root, but it never prompts to enter a
>> password.
>> Then just times out and eventually shows the login again.
>
> OK, so what happened is that you un-emerged pam-login (to remove the
> block for the new version of shadow), but didn't emerge the new
> version of shadow (or didn't have the pam USE flag set for shadow).
>
> What you'll need to do is to boot the LiveCD again, mount your hard
> drive, chroot, env-update, source /etc/profile, and emerge the latest
> version of shadow, ensuring that the pam USE flag is set.
>
> If one of my assumptions above is wrong, let me know, and we'll get
> the problem figured out. :)
>
> -James
>
>

Thanks James,

Pam and Shadow did show installed. Pam also showing in the USE flag.
Isn't that one a default one?
Anyway, added it manually as well to make.conf.

Even though Shadow was in place, based on your message, I removed and
added shadow again and am now able to log in.
Still not sure what happened, but it is working.

Thanks again,
Sean
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] splitdebug

2006-06-14 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 02:01, Richard Fish wrote:
> I was thinking more like:
>
> ldd `which kontact kmail knode akregator` | grep '=>' | awk '{print $3}' \
>     | sort | uniq | xargs equery belongs | grep '/' | sort | uniq \
>     | xargs printf "=%s\n" | xargs emerge -p --oneshot
>
> (Ok people, have at it.  Show me how you can do this in 5 commands or
> less.)

Very nice. :)

I guess this would do:

# ldd `which kontact kmail knode akregator` | awk '$2~/^=>$/{print $3}' | \
sort -u | xargs equery belongs | sort -u | while read pkg; do grep -q \
splitdebug /var/db/pkg/"$pkg"/FEATURES || echo ="$pkg"; done | \
xargs emerge -p1

:)

-- 
Bo Andresen


pgpqWvR0uUjo1.pgp
Description: PGP signature


Re: [gentoo-user] splitdebug

2006-06-14 Thread Bo Ørsted Andresen
Just in case others are interested I ended out with this script:

===
#/bin/bash

for arg in $@; do
if [[ "${arg}" =~ "^\-" ]]; then
EMERGE_ARGS="${EMERGE_ARGS} ${arg}"
else
BINARIES="${BINARIES} ${arg}"
fi
done

PKG_LIST=`which ${BINARIES} | xargs -r ldd | awk '$2~/^=>$/{print $3}' | \
sort -u | xargs -r equery belongs | sort -u | while read pkg; do grep 
-q \
splitdebug /var/db/pkg/"$pkg"/FEATURES || echo ="$pkg"; done | xargs`

if [[ -n "${PKG_LIST}" ]]; then
emerge --verbose --oneshot ${EMERGE_ARGS} ${PKG_LIST}
fi
===

This allows me to run it with -a or --ask to avoid having to wait for equery 
and emerge twice.

Thanks Richard. :)

-- 
Bo Andresen


pgp1iEsw0HKys.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo system crumbling, reports of gcc death

2006-06-14 Thread Richard Fish

On 6/14/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:

I would guess you're out of ideas then, except in desperation, I tried
looking for just part
of that: "-W1" and came up with some stuff I hope will further inspire you:


Nope, all of that is normal...


But before you go breaking a braincell on this, realize that the
ebuild became moot yesterday
when I was able to create a binary package from a backup image and
install it on the running
image.  So pursuing this may be wasted effort.  The package is very
old after all.


Well let me take this opportunity to apologize for not giving you
directions on how to work around this problem.  Getting around it
probably would have been fairly simple...I think an 'LDFLAGS="" emerge
--oneshot glib-1.2.10-r5' might have done it.

I am still concerned though, since we don't know where those flags
were coming from, they may return to bite you again.


kdevelop won't emerge because it winds up needing a *.h file that does
not exist, in a *.cpp file that is itself built from a *.ui file.  It
strikes me that this one's gonna have a huge learning curve (for me at
least).


Sounds like a pretty common problem with MAKEOPTS=-jN (N>1).  What can
happen with a parallel make is that if one step needs a file that is
generated by another step, it can start executing before the file is
complete generated by the other step.  The flow looks something like:

thread-a: generating foo.h and foo.cpp from foo.ui...
thread-b: waiting for foo.h and foo.cpp to make foo.o...
thread-a: writing to foo.h and foo.cpp...
thread-b: compiling foo.o from foo.cpp...
thread-b: ERROR compiling foo.cpp!
thread-a: finished writing to foo.h and foo.cpp...

Makefiles have to be specially written to properly avoid the above scenario...

The workaround is to 'MAKEOPTS=-j1 emerge --oneshot kdevelop'

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



Re: [gentoo-user] splitdebug

2006-06-14 Thread Richard Fish

On 6/14/06, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

Just in case others are interested I ended out with this script:


Very nice!

-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] nvidia and kernel support

2006-06-14 Thread Sean

Trying to setup my system to support my nvidia vid card.

Per instructions I am supposed to enable agpgart in the kernel, which is 
under device drivers--->

character devices--->
--- /dev/agpgart (agp support)

As you can see above my system does not allow anything to be done for 
/dev/agpgart, it just has three lines before it.

How do I enable this in the kernel towards getting my nvidia card working?

Please note: if it makes a difference I am running amd64.

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



Re: [gentoo-user] nvidia and kernel support

2006-06-14 Thread Sean

Sean wrote:

Trying to setup my system to support my nvidia vid card.

Per instructions I am supposed to enable agpgart in the kernel, which is 
under device drivers--->

character devices--->
--- /dev/agpgart (agp support)

As you can see above my system does not allow anything to be done for 
/dev/agpgart, it just has three lines before it.

How do I enable this in the kernel towards getting my nvidia card working?

Please note: if it makes a difference I am running amd64.

Thanks
Sean

Additional, when I run the glxinfo  | grep direct, the reponse I get is
Error: unable to open display (null)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no prompt for password

2006-06-14 Thread Sean

James Ausmus wrote:

No problem-

May have just been a /etc/pam.d/* file that hadn't updated properly in
the first emerge of shadow.

Enjoy your new system (and Welcome to Gentoo, it sounds like!)

:)

-James


Thanks, looking forward to trying it out.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia and kernel support

2006-06-14 Thread Hemmann, Volker Armin
On Thursday 15 June 2006 04:24, Sean wrote:
> Trying to setup my system to support my nvidia vid card.
>
> Per instructions I am supposed to enable agpgart in the kernel, which is
> under device drivers--->
>   character devices--->
>   --- /dev/agpgart (agp support)
>
> As you can see above my system does not allow anything to be done for
> /dev/agpgart, it just has three lines before it.
> How do I enable this in the kernel towards getting my nvidia card working?
>
> Please note: if it makes a difference I am running amd64.
>

you don't set anything else on amd64.

Just agp support.

That is enough.

Rebuild, configure X properly, emerge nvidia-kernel, eselect opengl set 
nvidia, start X.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia and kernel support

2006-06-14 Thread Sean

Hemmann, Volker Armin wrote:

On Thursday 15 June 2006 04:24, Sean wrote:

Trying to setup my system to support my nvidia vid card.

Per instructions I am supposed to enable agpgart in the kernel, which is
under device drivers--->
character devices--->
--- /dev/agpgart (agp support)

As you can see above my system does not allow anything to be done for
/dev/agpgart, it just has three lines before it.
How do I enable this in the kernel towards getting my nvidia card working?

Please note: if it makes a difference I am running amd64.



you don't set anything else on amd64.

Just agp support.

That is enough.

Rebuild, configure X properly, emerge nvidia-kernel, eselect opengl set 
nvidia, start X.


Is this "Just agp support" something else other then what the handbook 
instructions state about /dev/agpgart (agp support)?

As mentioned above that option is not available to me.

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



Re: [gentoo-user] nvidia and kernel support

2006-06-14 Thread Norberto Bensa
Sean wrote:
> > How do I enable this in the kernel towards getting my nvidia card
> > working?

"---" means it's enabled (another part of your kernel wants it built-in)


> Additional, when I run the glxinfo  | grep direct, the reponse I get is
> Error: unable to open display (null)

You need to run glxinfo inside X

Do: emerge nvidia-{kernel,glx}


-- 
Norberto Bensa
Cel: 011-5654-9539
Ciudad de Buenos Aires, Argentina



pgpQkRu98vT6x.pgp
Description: PGP signature


Re: [gentoo-user] mounting cdrom during boot

2006-06-14 Thread Norberto Bensa
Bo Ørsted Andresen wrote:
> On Thursday 15 June 2006 01:31, Neil Bothwick wrote:
> > Are you using LVM?
>
> Sure. So it's because of this?

Yup. Remove the cdrom and then:

# lvchange -a y

-- 
Norberto Bensa
Cel: 011-5654-9539
Ciudad de Buenos Aires, Argentina



pgpISnWleCM4m.pgp
Description: PGP signature


[gentoo-user] Error on login: *** glibc detected *** double free or corruption...

2006-06-14 Thread Rennie deGraaf
A few minutes ago, I discovered that I can't log into my firewall

If I try SSH from inside, it gives me my login banner and immediately
disconnects, without prompting for a password. This suggested to me that
when trying to clean up the mess left by upgrading the shadow package
yesterday (and first removing pam-login) as reccomended by a
GLSA-200606-02, I left something incorrectly configured.

If I try SSH from outside, the connection times out. I don't know why
this happens - the iptables configuration should allow SSH connections
from outside, and the timing suggests a problem before reaching the
login or pam code.

If I try to log in via a virtual TTY on a serial port, I get the message
"*** glibc detected *** double free or corruption (!prev): 0x142e1cc8
***" (the address varies) after entering a username, but before entering
a password. This suggests a problem with either the login or pam
software; I can't see how a configuration error could cause this.

If I try to log in via the system console, I get the same error as with
the serial line.

My firewall is running a tightly locked-down minimal install of Gentoo
2005.1 with the hardened kernel and toolkit and all relavant security
updates applied.  I think that the kernel is 2.6.11-hardened-r15.  Other
than my inability to log in, it seems to be working - the DNS server is
still responding, and it still seems to be forwarding packets correctly.
 The system has been up since some time in late august or early
september 2005.

I guess that the only way to get into the system and try to fix it is to
reboot into single-user mode, but before I take it down for maintenance,
I'd like to know if I'm dealing with a software problem or a
configuration problem (since with my firewall down, I will have no way
to look up more information from the Internet).  Does anyone know what
this error signifies in this context, or have any suggestions on how to
recover?

Thanks,
Rennie deGraaf

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] really annoying boxes in firefox and evolution

2006-06-14 Thread Iain Buchanan
On Wed, 2006-06-14 at 22:21 +, Mick wrote:
> On 14/06/06, Iain Buchanan <[EMAIL PROTECTED]> wrote:
> 
> > Thanks for the suggestion, unfortunately different encodings didn't make
> > much difference.  However, I did notice this when I started firefox from
> > the command line:
> >
> > $ firefox
> > No running windows found
> > Warning: Cannot convert string
> > "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type
> > FontStruct
> >
> > what on earth does that mean?  I tried installing
> > font-bh-lucidatypewriter-100dpi and font-bh-lucidatypewriter-75dpi but
> > that didn't seem to do anything.  I think I'm barking up the wrong
> > tree...
> 
> If changing the encoding did not help, it is worth checking your font
> file permissions.  Have a look at this thread:
> http://forums.gentoo.org/viewtopic.php?p=1427510 and the link it
> provides at the bottom:
> http://forums.gentoo.org/viewtopic.php?p=1618075#1618075


I looked there, but all I could find was some permissions problems, none
of which I had...

any other tips?

thanks,
-- 
Iain Buchanan 

Maybe you can't buy happiness, but these days you can certainly charge it.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Typesetting systems

2006-06-14 Thread Vladimir G. Ivanovic
On Tue, 2006-06-13 at 22:25 -0600, Justin R Findlay wrote: 
> LaTeX is awesome if you're not going to be diverging from the builtin
> document layout styles too much.  If you are then you're likely going to
> be editing raw TeX to get things done,

I don't agree. "The LaTeX Companion"[1] documents hundreds of packages
that extend the basic capabilities of LaTeX, and none of these packages
require that you do anything in raw TeX. ("The LaTeX Companion" is over
1000 pages, but Leslie Lamport's original LaTeX documentation[2] is 272
pages. LaTeX has been used many times to typeset books.)

> and unfortunately though TeX is very clean and very good at what it does 
> it's not a language that's easy to understand.

Yes, it is true that LaTeX + packages require a significant investment
of time to learn. TeX is, after all, a language for typesetting, and as
a language, it is extensible, witness LaTeX and the LaTeX packages.
(METAFONT is a sister language for designing typefaces.) But the reward
for learning TeX and friends is beautiful books, especially if you're
doing mathematics.

If you don't want to deal with hundreds of packages just to typeset a
book, check out Peter Wilson's very capable memoir package[4] for
LaTeX. 

--- Vladimir

P.S. You'd be set to go if you got "The LaTeX Companion" and the "Guide
to LaTeX"[3].

[1] "The LaTeX Companion", 2/e, F. Mittelbach & M. Goossens,
http://tinyurl.com/g2tnr
[2] "LaTeX: A Document Preparation System". L. Lamport,
http://tinyurl.com/m6dk4
[3] "Guide to LaTeX", 4/e, H. Kopka & P. Daly, http://tinyurl.com/kc7m4
[4] memoir: a LaTeX package to typeset fiction, non-fiction and
mathematical books, P. Wilson, http://tinyurl.com/qlm4o

-- 
Vladimir G. Ivanovic <[EMAIL PROTECTED]>
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia and kernel support

2006-06-14 Thread Daniel Iliev
As Mr. Norberto Bensa wrote: "---" means it's enabled (another part of your 
kernel
wants it built-in)

Additionally the help about this feature reads:

  │ Symbol: AGP [=n]
  │ Prompt: /dev/agpgart (AGP Support)
  │   Defined at drivers/char/agp/Kconfig:1
  │   Depends on: (ALPHA || IA64 || PPC || X86) && !GART_IOMMU
  │   Location:
  │ -> Device Drivers
  │   -> Character devices
  │   Selected by: FB_I810 && FB && EXPERIMENTAL && PCI && X86_32 || 
FB_INTEL
&& FB && EXPERI
  │

I would suppose you have some of the Intel cards under "Device Drivers/Graphics
support" enabled by "YES". My suggestion is that under "Graphics Support" you
disable everything but:

 <*> Support for frame buffer devices
  │ [*]   Enable Video Mode Handling Helpers
  │ [*]   VESA VGA graphics support

Then go back to Character Devices and enable apggart.


-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Explore2fs and Gentoo

2006-06-14 Thread Leandro Melo de Sales

Hi,

  in my laptop I use linux and windows. Sometimes when I'm using
windows I need to access data from my linux ext3 partition. So I tried
to use Explore2fs application. It detects my two ext3 (hda3 and hda4)
partitions, but when I click to explore the hda3 partition (root
partition) I got the following message:

"Error: Access violation at address 0009A8C9 in module
'explore2fs.exe'. Read of address 00E09084"

But if I explore the hda4 partition, I can see the files. Does someone
can help me?

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



Re: [gentoo-user] Error on login: *** glibc detected *** double free or corruption...

2006-06-14 Thread Rumen Yotov
Rennie deGraaf wrote:
> A few minutes ago, I discovered that I can't log into my firewall
> 
> If I try SSH from inside, it gives me my login banner and immediately
> disconnects, without prompting for a password. This suggested to me that
> when trying to clean up the mess left by upgrading the shadow package
> yesterday (and first removing pam-login) as reccomended by a
> GLSA-200606-02, I left something incorrectly configured.
> 
> If I try SSH from outside, the connection times out. I don't know why
> this happens - the iptables configuration should allow SSH connections
> from outside, and the timing suggests a problem before reaching the
> login or pam code.
> 
> If I try to log in via a virtual TTY on a serial port, I get the message
> "*** glibc detected *** double free or corruption (!prev): 0x142e1cc8
> ***" (the address varies) after entering a username, but before entering
> a password. This suggests a problem with either the login or pam
> software; I can't see how a configuration error could cause this.
> 
> If I try to log in via the system console, I get the same error as with
> the serial line.
> 
> My firewall is running a tightly locked-down minimal install of Gentoo
> 2005.1 with the hardened kernel and toolkit and all relavant security
> updates applied.  I think that the kernel is 2.6.11-hardened-r15.  Other
> than my inability to log in, it seems to be working - the DNS server is
> still responding, and it still seems to be forwarding packets correctly.
>  The system has been up since some time in late august or early
> september 2005.
> 
> I guess that the only way to get into the system and try to fix it is to
> reboot into single-user mode, but before I take it down for maintenance,
> I'd like to know if I'm dealing with a software problem or a
> configuration problem (since with my firewall down, I will have no way
> to look up more information from the Internet).  Does anyone know what
> this error signifies in this context, or have any suggestions on how to
> recover?
> 
> Thanks,
> Rennie deGraaf
> 
Hi,
Just reboot and try again.
IIRC the solution was to rebuild "openssh" after the new "shadow"
package within the same ssh-session (assuming that's the way you do it).
HTH.Rumen


smime.p7s
Description: S/MIME Cryptographic Signature