Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Justin R Findlay
On Sat, Jul 08, 2006 at 02:00:27AM +0300, Daniel Iliev wrote:
> 1) I would like to see an implementation of "PAUSE".

-s, -q seems to work for me.

> 2) More control over portages verbosity. Most of the time I only need to see
> the portages messages, not all the compilation stuff. The later is
> interesting
> to me only if the compilation fails.

In my /etc/make.conf I have:

PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="mail syslog"
PORTAGE_ELOG_MAILURI="[EMAIL PROTECTED]"

with sys-apps/portage-2.1.1_pre2-r4.  I don't remember which version it
was introduced.  That doesn't control build verbosity but you can always
do 

# emerge {package} 1>/var/tmp/portage/emerge.out
2>/var/tmp/portage/emerge.err

or something like that.  If you tell it to, portage will log every last
configure and gcc statement spewed forth on the command line into
/var/log/portage/.

> 3) I hate ebuilds that are rewriting variables that I have set. For
> example I
> couldn't find a way to compile mplayer with
> "--disable-runtime-cpudetection",
> many packages overwrite C(XX)FLAGS. They change "-O3" to "-O2" etc.
> "Gentoo is about choices" but why this happens? My opinion is that portage
> should warn about the "too aggressive setting" but to let ME chose to change
> the settings or not.

Gentoo generally overwrites C(XX)FLAGS only when they are problematic
(unpredictable or cause breakage) for certain platforms/packages.  If
you have a customized ebuild you can always drop it into your own
overlay.  Mine is in /usr/local/portage.  If you have multiple overlays
you can use gensync from the gentoolkit-dev package to sync with them.


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



[gentoo-user] vim backspace key problem

2006-07-08 Thread Shaochun Wang
Hi Everyone:

Every time I use vim -u myvimrcfile foo.txt,
I get weird problem as following:

1. When in insert mode, I can't use backspace key to 
delete the first character of the last line
and any character of the other lines.

Any suggestion? 

-- 
Shaochun Wang <[EMAIL PROTECTED]>

GPG Fingerprint: 70C2 6945 0E46 E08B 419A  007C AC5C F21F 358A 0833
You can get my publickey from the following url:
http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I ensure all fontpaths are loaded?

2006-07-08 Thread Donnie Berkholz
Walter Dnes wrote:
>   The subject says it all.  As part of the Xorg7 update I emerged some
> font groups.  How do I find all the directories and include them
> xorg.conf?

ls /usr/share/fonts/ -- all Gentoo font packages install there.

Add each dir to xorg.conf as another FontPath directive.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] "nvidia-drivers" ebuild?

2006-07-08 Thread Donnie Berkholz
Alan E. Davis wrote:
> I haven't noticed this ebuild before.  I am seeing a new ebuild in
> 
>   /usr/portage/x11-drivers/nvidia-drivers
> 
> Can someone explain this?  I can only hope this is the end of a long
> and troubling issue with xorg and nvidia-kernel.    I fear not,
> however: (I am running with ~amd64)

The nvidia driver maintainers decided to switch them to a single ebuild,
since it matches how they're distributed and makes a number of issues
easier related to maintainance, FreeBSD drivers and, for users, version
mismatches between kernel module and userland driver.

Also note the new nvidia-legacy-drivers package for older cards, so you
don't need to fiddle around with package.mask anymore.

> |  RDEPEND="kernel_linux? ( virtual/modutils |
> | || ( x11-base/xorg-server virtual/x11 |
> | !>=x11-base/xorg-server-1.0.99
> | || ( media-libs/mesa virtual/x11 )
> | app-admin/eselect-opengl
> | kernel_linux? ( !media-video/nvidia-kernel )
> | kernel_FreeBSD? ( !media-video/nvidia-freebsd )
> | !app-emulation/emul-linux-x86-nvidia
> | !x11-drivers/nvidia-legacy-drivers
> | !media-video/nvidia-glx"
> 
> Maybe I just didn't notice this before?  I think not, however.  I have
> found a couple of messages on the forum referring to nvidia-drivers as
> a new replacement (??) for nvidia-kernel/nvidia-glx.  Does this mean a
> major xorg downgrade?

No binary drivers currently exist for use with xorg 7.1, so you'll need
to downgrade xorg-server to 1.0.x and any drivers (`emerge portage-utils
&& qlist -I x11-drivers/`) if you want binary drivers. That's what's
holding 7.1 from being marked stable on x86 and amd64.

> I have nvidia drivers and glx working pretty well, with only very
> minimal redrawing issues maybe two or three times over the last 24
> hours.  Should one avoid any upgrade, or what?  If so, HOW?

Uninstall nvidia-* and install nvidia-drivers.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Sun SparcStation 5 (Gentoo LiveCD)

2006-07-08 Thread Donnie Berkholz
Grzegorz Sójka wrote:
> Hi there!
> 
> I decided to set up GenToo linux on Sun SparcStation 5. Since this
> computer is quite old (32 bit architecture, 170MHz CPU) I need a bit
> older version of Getoo (I do not think that this old hardware is
> supported by new versions). So my question is where can I find the
> Gentoo 2004.x LiveCD for SPARC? I did search ftp archives but
> unfortunately I was not able to find it.

Try the gentoo-sparc list, they can give you more specific help and
definitely tell you whether you need an older LiveCD.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Hemmann, Volker Armin
On Saturday 08 July 2006 04:23, Zac Medico wrote:
>
> Look inside $PORTDIR/sys-apps/portage/files/README.RESCUE and you'll see
> this:
>
> Please see
> http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml for a
> recovery guide for a broken portage installation.
>

yeah, but that does not change the fact, that some time (years?) ago, there 
was a portage-rescue package.

Which I even used once ... unpack it and you had a working portage - if you 
did not have destroyed python 

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



[gentoo-user] Wine won't build

2006-07-08 Thread Alex Bennee
Hi,

I can't get wine to build. The configure script complains that it can't
find freetype (despite it being installed) but I'm not sure if thats the
problem. I assume an exit status of 1 from the configure script is bad?

malory alex #
tail /var/tmp/portage/wine-0.9.16/work/wine-0.9.16/config.log
#define HAVE_SIGINFO_T_SI_FD 1
#define HAVE_STRUCT_MTGET_MT_GSTAT 1
#define HAVE_STRUCT_MTGET_MT_BLKNO 1
#define HAVE_STRUCT_OPTION_NAME 1
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_TIMEZONE 1
#define HAVE_DAYLIGHT 1

configure: exit 1

The last few lines of the ebuild where:

config.status: executing dlls/gdi/mfdrv commands
config.status: executing dlls/kernel/messages commands
config.status: executing dlls/user/resources commands
config.status: executing dlls/wineps.drv/data commands
config.status: executing include/wine commands

configure: WARNING: FreeType is missing.
configure: WARNING: Fonts will not be built. Dialog text may be
invisible or unaligned.

Configure finished.  Do 'make depend && make' to compile Wine.


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

!!! ERROR: app-emulation/wine-0.9.16 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  wine-0.9.16.ebuild, line 100:   Called econf '--sysconfdir=/etc/wine'
'--with-curses' '--with-opengl' '--with-x' '--disable-trace'
'--disable-debug'
  ebuild.sh, line 541:   Called die

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




--
Alex, homepage: http://www.bennee.com/~alex/
I WILL NOT DO MATH IN CLASS I WILL NOT DO MATH IN CLASS I WILL NOT DO
MATH IN CLASS I WILL NOT DO MATH IN CLASS Lisa Simpson on chalkboard in
episode BABF07

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] "nvidia-drivers" ebuild?

2006-07-08 Thread thomas blomme
the new drivers solve the nvidia problems with newer kernels tooOn 7/8/06, Donnie Berkholz <[EMAIL PROTECTED]
> wrote:Alan E. Davis wrote:> I haven't noticed this ebuild before.  I am seeing a new ebuild in
>>   /usr/portage/x11-drivers/nvidia-drivers>> Can someone explain this?  I can only hope this is the end of a long> and troubling issue with xorg and nvidia-kernel.    I fear not,
> however: (I am running with ~amd64)The nvidia driver maintainers decided to switch them to a single ebuild,since it matches how they're distributed and makes a number of issueseasier related to maintainance, FreeBSD drivers and, for users, version
mismatches between kernel module and userland driver.Also note the new nvidia-legacy-drivers package for older cards, so youdon't need to fiddle around with package.mask anymore.> |  RDEPEND="kernel_linux? ( virtual/modutils |
> | || ( x11-base/xorg-server virtual/x11 |> | !>=x11-base/xorg-server-1.0.99> | || ( media-libs/mesa virtual/x11 )> | app-admin/eselect-opengl> | kernel_linux? ( !media-video/nvidia-kernel )
> | kernel_FreeBSD? ( !media-video/nvidia-freebsd )> | !app-emulation/emul-linux-x86-nvidia> | !x11-drivers/nvidia-legacy-drivers> | !media-video/nvidia-glx"
>> Maybe I just didn't notice this before?  I think not, however.  I have> found a couple of messages on the forum referring to nvidia-drivers as> a new replacement (??) for nvidia-kernel/nvidia-glx.  Does this mean a
> major xorg downgrade?No binary drivers currently exist for use with xorg 7.1, so you'll needto downgrade xorg-server to 1.0.x and any drivers (`emerge portage-utils&& qlist -I x11-drivers/`) if you want binary drivers. That's what's
holding 7.1 from being marked stable on x86 and amd64.> I have nvidia drivers and glx working pretty well, with only very> minimal redrawing issues maybe two or three times over the last 24> hours.  Should one avoid any upgrade, or what?  If so, HOW?
Uninstall nvidia-* and install nvidia-drivers.Thanks,Donnie-- VanThomas Blomme


[gentoo-user] Console vanishes after X server is run

2006-07-08 Thread Jim Burwell




Hi,

I'm having an issue with text console of one of my gentoo boxes not
coming back after the X server exits.  The console is there and works
fine up to the point when the X server starts (for instance, when gdm
comes up).  After this, using the key sequences to call up the text
vtys, shutting down gdm, etc, results in a black screen.  

I've tried the various key combos, etc, and the screen just stays black
until the system is rebooted (it stays black until the system warm
boots and the BIOS screen pops up), or until an X server is started up
again (gdm will start up and display the login screen normally).  It's
as if the whatever is responsible for switching the video mode and/or
FB address back to the console settings is not doing its job.

I run gensplash and the vesa-tng frame buffer drivers.  The graphics
card I have is an old Nvidia GeForce 3, and I run the Nvidia binary
drivers (x11-drivers/nvidia-drivers) under Xorg 7.0.  Here is my boot
line:

kernel (hd0,0)/kernel-genkernel-x86-2.6.16-gentoo-r12
root=/dev/ram0 init=/linuxrc real_root=/dev/vg00/root dolvm2
lvmraid=/dev/md0 lvmraid=/dev/md1 video=vesafb:[EMAIL PROTECTED]
splash=verbose,fadein,mtrr,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
initrd (hd0,0)/initramfs-genkernel-x86-2.6.16-gentoo-r12
  
(1280x1024-16 mode is listed in the /proc/fb0/modes file, so it's a
valid BIOS mode)

Any ideas ?  Suggestions ?

- Jim





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Neil Bothwick
On Sat, 08 Jul 2006 02:00:27 +0300, Daniel Iliev wrote:

> 1) I would like to see an implementation of "PAUSE". I mean, during most
> of the emerges there is not only one package to be emerged. Some of the
> packages have instructions for additional post installation steps that
> the user
> should take. Well, I think there should be a "FETURE", a flag to
> "emerge" or
> some other mechanism to tell portage to wait for confirmation if the
> ebuild gives such information.

emerge is, by definition, a non-interactive program (apart from --ask
which works before emerge starts its business). Use the ELOG features of
portage 2.1 to have this messages save to a file, mailed to you or read
out with festival.

> 3) I hate ebuilds that are rewriting variables that I have set. For
> example I
> couldn't find a way to compile mplayer with
> "--disable-runtime-cpudetection",

EXTRA_ECONF="--disable-runtime-cpudetection" emerge --options mplayer

This doesn't work with every ebuild, but it does with most of them.

> many packages overwrite C(XX)FLAGS. They change "-O3" to "-O2" etc.
> "Gentoo is about choices" but why this happens? My opinion is that
> portage should warn about the "too aggressive setting" but to let ME
> chose to change the settings or not.

If it is know that the package will fail with -O3, what is the point of
letting it through, even if it warns you. However, an einfo message
whenever CFLAGS are overridden would be nice.
 

-- 
Neil Bothwick

I can see clearly now, the brain is gone...


signature.asc
Description: PGP signature


Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Neil Bothwick
On Sat, 8 Jul 2006 10:00:19 +0200, Hemmann, Volker Armin wrote:

> yeah, but that does not change the fact, that some time (years?) ago,
> there was a portage-rescue package.
> 
> Which I even used once ... unpack it and you had a working portage - if
> you did not have destroyed python 

FEATURES="buildpkg" emerge --oneshot portage python

Now you have packages for both portage and python that you can unpack
into / to repair and damage. It might be a good idea to do the same for
glibc, gcc and bash.

I have buildpkg set by default, but if space is limited, it would be
useful to be able to specify this on a per-package basis (I know this can
be done with /etc/portage/bashrc) or even be able to tell portage to only
save packages for system ebuilds.


-- 
Neil Bothwick

If nothing sticks to Teflon, how do they stick teflon on the pan?


signature.asc
Description: PGP signature


Re: [gentoo-user] OT: A/V muxing application ?

2006-07-08 Thread Neil Bothwick
On Sat, 08 Jul 2006 08:47:53 +0200 (CEST), Meino Christian Cramer wrote:

>  I would like to mux them again...which application can do
>  that job for me (formats: *.m2c/*.ac3 ) ???

mplex should do this, it's part of mjpegtools.

Do you know of a decent graphical program for editing DVB files. All I
really need is to be able to cut out commercials etc. A command line
program would do, but graphical would be easier.


-- 
Neil Bothwick

IRQs? We don't need no stinking IRQs!


signature.asc
Description: PGP signature


[gentoo-user] Clean up world file

2006-07-08 Thread Anthony E. Caudel
There was a recent thread about about what should or should not be in
the world file.

Regarding that, my world file is bloated.  Until recently, I had a
tendency to do updates piecemeal but did not use --oneshot.  This put
packages in that I do not think belong.

Looking for a means to clean up the world file, I ran across Ed Catmur's
 "dep".

Has anyone here used it?  Is it the best means available to clean the
world file?  Anything in the gentoo tree to do this?

Tony

BTW, I ran it with the --pretend option and it told me that 44 of the
119 packages in my world file were redundant.
-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vim backspace key problem

2006-07-08 Thread Benno Schulenberg
Shaochun Wang wrote:
> Every time I use vim -u myvimrcfile foo.txt,
> I get weird problem as following:
>
> 1. When in insert mode, I can't use backspace key to
> delete the first character of the last line
> and any character of the other lines.

What's in your myvimrcfile?  You will want "set bs=2" in there.  And 
why not rename it to ~/.vimrc so it gets read automatically?

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



Re: [gentoo-user] Problem emerging kdebase

2006-07-08 Thread David Corbin
On Thursday 06 July 2006 19:43, Richard Fish wrote:
> On 7/6/06, David Corbin <[EMAIL PROTECTED]> wrote:
> > /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld
> >: warning: libstdc++.so.5, needed by /usr/qt/3/lib/libqt-mt.so, may
> > conflict with libstdc++.so.6
> > /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld
> >: warning: libstdc++.so.5, needed by /usr/qt/3/lib/libqt-mt.so, may
> > conflict with libstdc++.so.6
>
> Ok, you *really* need to run:
>
> revdep-rebuild --library=libstdc++.so.5
>

Revdep-rebuild was not magic, but it helped.   It tried to remerge a whole 
bunch of packages, and numerous ones failed due to no longer being available.  
I edited the emerge statement to remove things I don't really use (a lot of 
kde 3.4 packages), but I still get the same failure on kdebase-3.5.

It also said: Warning: Failed to resolve package order.
Will merge in "random" order!  

However, the last thing in the emerge library was a qt library.  I emerged 
that first, and it seems to have fixed the kdebase problem.

Thanks for all the help.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT logitech mouse recommendation (MX1000 vs G7)

2006-07-08 Thread Daniel Waeber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hullo

Richard Fish wrote:
> On 7/7/06, Daniel Waeber <[EMAIL PROTECTED]> wrote:
>> At least in my laptop the devices still work like they did before.
>> I only got one problem right now: xorg does not start, if the mouse is
>> inside the xorg.conf (using evdev driver) but not attached. but perhaps
>> this is my fault.
> 
> Do you need to use the evdev driver?  If not, just use the mouse
> driver and point it at /dev/input/mice.  That is what I do for my
> logitech cordless.  The touchpad uses the synaptics driver and an
> event interface, while the USB mouse is using the standard mouse
> driver and /dev/input/mice.

The left and right movement of the mouse wheel is only supported by the
evdev driver. As this feature is really handy I'll have to use evdev.
In conjunction with imwheel it is usable for all applications.
But as the reciver is just about 10mm x 30mm x 5mm big, you'll easily
can carry it with you. Somewhere I read that you can configure udev so
it chances the xorg.conf. Perhaps I'll try that some day and will post
it if I have success.

> BTW, how is the mobility for the G7/MX1000?  Do they come with bulky
> cradles that one would have to carry around?

It has a bulky charging station, but this is only needed to changce the
batteries. The receiver itself is very small and can be carried around
easily.

wabu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEr5+TBbWbHb9PeLsRAmbqAJ4+4uShFRbRG5Yi420ax/yeTRpJrQCeL3JZ
1mS5+kfqhJ+BVX058qTVPjQ=
=BScj
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Daniel Waeber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If I'm not mistaken, you can simply run "vim /var/lib/portage/world",
:sort it and ddelete the packages you don't need. It did work for me,
but I'm not sure if something breaks if you just edit the world file or
if you have to chance something else.

Anthony E. Caudel wrote:
> There was a recent thread about about what should or should not be in
> the world file.
> 
> Regarding that, my world file is bloated.  Until recently, I had a
> tendency to do updates piecemeal but did not use --oneshot.  This put
> packages in that I do not think belong.
> 
> Looking for a means to clean up the world file, I ran across Ed Catmur's
>  "dep".
> 
> Has anyone here used it?  Is it the best means available to clean the
> world file?  Anything in the gentoo tree to do this?
> 
> Tony
> 
> BTW, I ran it with the --pretend option and it told me that 44 of the
> 119 packages in my world file were redundant.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEr5/TBbWbHb9PeLsRAjFUAJ4sAcpXKSIVch0iT0H1jF9oRYC2tgCfc9Q4
TlDp5dIHwSdNwchjuaeKt7Q=
=8E4L
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vim backspace key problem

2006-07-08 Thread Shaochun Wang
Yes, it works.

Thank you!
-- 
Shaochun Wang <[EMAIL PROTECTED]>

GPG Fingerprint: 70C2 6945 0E46 E08B 419A  007C AC5C F21F 358A 0833
You can get my publickey from the following url:
http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Rafael Fernández López
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi guys,

There are some things that I forgot to tell ya.

I know that lots of you don't know "dpkg-reconfigure", well, it will
write the /etc/whatever.conf file for you asking you in an interactive
way what do you want to do. I'd compare it to some package's "ebuild
/usr/portage/whatever/whatever-0.0.1.ebuild conf".

I would add a mark for packages that can be configured, as there is a
mark for UPDATE, NEW, RE-EMERGE, FETCH... I'd add another one like "C"
for ebuilds that admit "conf" option.

As someone said here before, EMERGE is a not interactive tool (if we
don't take in count --ask), but in general it is not interactive. And we
can assume that anybody stays in front of monitor all the emerge
process, so I'd suggest to print information (or warning) messages in a
more efficient way, for example: AT THE END OF THE EMERGE PROCESS, not
at the end of each package emerge process. I think that
PORTAGE_ELOG_CLASSES, PORTAGE_ELOG_SYSTEM and PORTAGE_ELOG_MAILURI is
not so necessary if all messages are printed out at the end of the
global emerge process.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEr6UAWFfYaTyFH8oRAisJAJ9rzuxt/wKJPAvXoCdU9d4JcCoIkACghuPf
xEju9eUjrUPsOG7HMnM7F9A=
=cqyw
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Rafael Fernández López
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well you can do it by hand but you'll notice that if you run
"regenworld" they'll be added to your world file again.

Just delete it manually from /var/lib/portage/world file and later
delete /var/log/emerge.log if you don't want they to be added to your
world file when running "regenworld" again.

If you want to install libraries or something that you don't want to be
in portage but you've to install it explicitly (is not a explicit
dependency), just do a "emerge --oneshot whatever", and it won't be
added to your world file.

Bye,
Rafael Fernández López.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEr6YzWFfYaTyFH8oRAm78AKCZZyZtobbseZAz/IL+3uHoaEqKWgCbBm/y
tBUbgjNgm7UhE5A5BqD0O2I=
=jpxX
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage on RHEL4?

2006-07-08 Thread Daniel Iliev
Randy Barlow wrote:
> Howdy,
> 
>   I've got a fun little project to install portage on RHEL 4.
> Unfortunately, the powers that be won't allow me to put Gentoo, so I
> figured I'd do the best I can and put portage :)
> 

If there are powers that won't allow you to install Gentoo I think it is
better to discontinue your fun little project because installing portage
and using it will turn your system into Gentoo.

>   So I pulled the tar ball, and put the binaries where they go and such.
>  I set my profile up, and my make.conf.  Now I try to emerge -e system,
> and everything goes well until it gets to gcc.  At this stage, I get
> hundreds of errors along the lines of einfo, eend, and ebegin being
> commands that are "not found".
> 

So it may be too late for you to stop. Then I would recommend you to
read about bootstrapping [1],  gentoo stage1 installation [2] and "Linux
from scratch" [3].

Here are some links where you could start:

1) http://www.gentoo.org/doc/en/faq.xml#stage12
2)
http://gentoo-wiki.com/HOWTO_Install_Gentoo_-_The_Gentoo_Developers_Method_with_NPTL_and_2.6_from_Stage1
3) http://www.linuxfromscratch.org/lfs/

But I have to warn you again: If there are reasons that you shouldn't
install Gentoo you better not. Following the steps in [1] or [2] will
lead you to finally assimilating the previous system and turning it into
Gentoo.

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Rafael Fernández López
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

SORRY, IN "that you don't want to be in portage" should be "that you
don't want to be in your world file".

Bye,
Rafael Fernández López.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEr6hvWFfYaTyFH8oRAlPIAJ4nXnwUZzBkop9qperYev5Loref8QCfWSDo
rH/kfxsYHOG42rTRqLMKhxU=
=AW9p
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Rumen Yotov
Anthony E. Caudel wrote:
> There was a recent thread about about what should or should not be in
> the world file.
> 
> Regarding that, my world file is bloated.  Until recently, I had a
> tendency to do updates piecemeal but did not use --oneshot.  This put
> packages in that I do not think belong.
> 
> Looking for a means to clean up the world file, I ran across Ed Catmur's
>  "dep".
> 
> Has anyone here used it?  Is it the best means available to clean the
> world file?  Anything in the gentoo tree to do this?
> 
> Tony
> 
> BTW, I ran it with the --pretend option and it told me that 44 of the
> 119 packages in my world file were redundant.
Hi,
So far only used ecatmur's "dep" script (it's/was called 'udept').
To get the latest - emerge layman & import ecatmur's overlay.
Then run dep --help and check the options.
Using it for over a year or two excellent script, Thanks Ed.
HTH.Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] scanner not working for user

2006-07-08 Thread Paul Stear
Hi all,
I have just tried to use my scanner for the first time in months and it is not 
recognized.  However, if I run xscanimage as root it all works well.
I have read the man pages and my setup seems to be correct scanimage -L find 
the scanner  as root but not as a user.
My conclusion is that I have a permmissions problem, but I can't find out 
where or how to change them.
Can anybody help please?
I have device epson:libusb:003:005
vendor=0x04b8 product=0x0808

Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Clean up world file

2006-07-08 Thread Francesco Talamona
On Saturday 08 July 2006 14:06, Daniel Waeber wrote:
> If I'm not mistaken, you can simply run "vim /var/lib/portage/world",
>
> :sort it and ddelete the packages you don't need. It did work for me,
>
> but I'm not sure if something breaks if you just edit the world file
> or if you have to chance something else.

I think the question is more subtle, the problem arises when you want to 
remove from /var/lib/portage/world those entries belonging to program 
that would *not* be unmerged by emerge --depclean (as deeper 
dependencies of some other package), whether they are listed in world 
file or not. All those entries are redundant.

I used dep for a while, then I switched to unclepine [1], I don't know 
if today there are suitable tools. IIRC regenworld can be a lifesaver 
but nonetheless is the biggest redundancy builder.

ciao
Francesco

[1] http://gentooexperimental.org/script/repo/show/27

-- 
Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51 
CEST 2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.91 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] modular X, nvidia, and unresolved symbols

2006-07-08 Thread John Blinka
Hi,

I've successfully upgraded to modular X on 4 machines without any
issues, but the 5th box is fighting me.  The 5th box, a Dell Inspiron
8200, has an nvidia card, and I've used the proprietary nvidia
video drivers for years without problems.  I've followed the
instructions in

http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
and
http://www.gentoo.org/doc/en/nvidia-guide.xml

but X fails to start.  The end of the Xorg.0.log file contains

(II) Loading /usr/lib/xorg/modules/libddc.so
(II) Module ddc: vendor="X.Org Foundation"
compiled for 7.0.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.8
Symbol fbWinPrivateIndex from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Required symbol xf86InterpretEDID from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Required symbol xf86PrintEDID from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbPictureInit from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbValidateGC from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbGCPrivateIndex from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbCreateGC from module /usr/lib/xorg/modules/drivers/nvidia_drv.o
is unresolved!
Symbol fbCreateWindow from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbWinPrivateIndex from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbCloseScreen from module
/usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!

Fatal server error:
Some required symbols were unresolved


X works fine, although slowly, with the "nv" driver.

Any thoughts on what's going on?

John Blinka
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Daniel Iliev
Daniel Waeber wrote:
> If I'm not mistaken, you can simply run "vim /var/lib/portage/world",
> :sort it and ddelete the packages you don't need. It did work for me,
> but I'm not sure if something breaks if you just edit the world file or
> if you have to chance something else.

I don't think anything will break.

There is also, let me name it "reverse approach".

You first make a back up and empty your world file:
1) gentoo ~ #cp /var/lib/portage/world ~/ && >/var/lib/portage/world
and then build it again:
2) gentoo ~ #regenworld

"regenworld" will put some packages which it thinks belong to the world
list.
Now check what portage finds to be useless when the world set is almost
empty:
3) gentoo ~ #emerge --depclean --pretend

>From the list shown by the above command you chose the program packages
you *want* to have installed and put them in the world file. One "atom"
("category-name/package-name", without version numbers) per line.
Now do as "emerge --depclean" recommends:

4) gentoo ~ #emerge --update --newuse --deep world

Repeat the steps from (2) to (4) until (3) shows only packages that are
not familiar to you and (4) doesn't want to install anything.

Next. Check if there are no system packages in the list (3) shows:
5) gentoo ~ #emerge -pve system

It should not happen that (3) wants to remove system packages but its
better to be sure.

Now "cross your fingers" and execute emerge --deplcean for real (without
--pretend).
6) emerge --deplcean
Immediately after (6) finishes you *must* do:
7) emerge -DuN world
8) revdep-rebuild

When (8) is successfully finished you should have a "clean" world set
within a healthy system.
If something goes wrong you can bring back your working "world" and
recheck all packages:

#cp ~/world /var/lib/portage/world
#emerge -DuN world
#revdep-rebuild

One more thing. You remember that saying "If it works don't fix it",
don't you? :)
I mean your system should work properly even with "polluted" world set,
no matter there are additional packages in it.

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] scanner not working for user

2006-07-08 Thread Gian Domeni Calgeer
Hi

Normally, you have to be in the scanner group. You should try gpasswd -a 
 scanner and then logout and login.

Gian

Am Samstag, 8. Juli 2006 13:16 schrieb Paul Stear:
> Hi all,
> I have just tried to use my scanner for the first time in months and it is
> not recognized.  However, if I run xscanimage as root it all works well. I
> have read the man pages and my setup seems to be correct scanimage -L find
> the scanner  as root but not as a user.
> My conclusion is that I have a permmissions problem, but I can't find out
> where or how to change them.
> Can anybody help please?
> I have device epson:libusb:003:005
> vendor=0x04b8 product=0x0808
>
> Paul
> --
> This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Console vanishes after X server is run

2006-07-08 Thread Philip Webb
060708 Jim Burwell wrote:
> The text console of one of my gentoo boxes does not come back
> after the X server exits.  The console is there and works fine
> up to the point when the X server starts (eg when gdm comes up).
> After this, using the key sequences to call up the text vtys,
> shutting down gdm, etc, results in a black screen. 
> The graphics card I have is an old Nvidia GeForce 3

My back-up machine has an Nvidia card bought in 2001
& it shows the opposite behaviour to yours:
it refuses to display anything before X starts,
but does show the console data after X is stopped.
I was never able to find out why & long ago accepted it was defective.
It now has Mandriva 2005, as I couldn't see to install Slackware.
Your best bet mb simply to buy another card.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Per-process CPU % usage limit

2006-07-08 Thread Etaoin Shrdlu
As the subject says, is there any way to force a particular process to 
use at most a given CPU percentage?

Ulimit does not help, since I don't want a CPU time limit and I don't 
want the process to be killed.

The problem is that some very CPU-consuming apps, even if started with 
the lowest priority (eg, nice -n 19), still eat up 100% CPU (with 
subsequent overheating, fan start, throttling, etc.) if the system is 
not busy and has nothing else to do. What I'd like to know is whether it 
is possible to impose such a CPU percentage usage limit.

Thanks for any help.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Daniel Iliev
Justin R Findlay wrote:
> -s, -q seems to work for me.

This means one still has to monitor the output.

> In my /etc/make.conf I have:
> 
> PORTAGE_ELOG_CLASSES="info warn error log"
> PORTAGE_ELOG_SYSTEM="mail syslog"
> PORTAGE_ELOG_MAILURI="[EMAIL PROTECTED]"

Thank you for pointing this out. It is a new stuff for me. I'll
investigate the documentation and give it a try.

--snip

>  If you tell it to, portage will log every last
> configure and gcc statement spewed forth on the command line into
> /var/log/portage/.

Yes, I already have about 400MB of logs there. I still wonder when will
come the day I'll wipe them out. :)

> Gentoo generally overwrites C(XX)FLAGS only when they are problematic
> (unpredictable or cause breakage) for certain platforms/packages.  If
> you have a customized ebuild you can always drop it into your own
> overlay.  Mine is in /usr/local/portage.  If you have multiple overlays
> you can use gensync from the gentoolkit-dev package to sync with them.
> 


The truth is there are only a few ebuilds I want to change something in.
Up to now in case I want to change something or the packages doesn't
compile the normal way, my practice is to use "ebuild `equery w
package-name` unpack", do my things in the temp dir, compile manually,
put a file ".compiled" and resume the installation.
May be I'll start using my own overlay after I collect "enough" packages.


-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] scanner not working for user

2006-07-08 Thread Paul Stear
On Saturday 08 July 2006 14:45, Gian Domeni Calgeer wrote:
> Hi
>
> Normally, you have to be in the scanner group. You should try gpasswd -a
>  scanner and then logout and login.
>
> Gian
>
> Am Samstag, 8. Juli 2006 13:16 schrieb Paul Stear:
> > Hi all,
> > I have just tried to use my scanner for the first time in months and it
> > is not recognized.  However, if I run xscanimage as root it all works
> > well. I have read the man pages and my setup seems to be correct
> > scanimage -L find the scanner  as root but not as a user.
> > My conclusion is that I have a permmissions problem, but I can't find out
> > where or how to change them.
> > Can anybody help please?
> > I have device epson:libusb:003:005
> > vendor=0x04b8 product=0x0808

the user is in group scanner, any other ideas?
Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Daniel Iliev
Neil Bothwick wrote:
> On Sat, 08 Jul 2006 02:00:27 +0300, Daniel Iliev wrote:

> emerge is, by definition, a non-interactive program (apart from --ask
> which works before emerge starts its business). Use the ELOG features of
> portage 2.1 to have this messages save to a file, mailed to you or read
> out with festival.

As I already replied to Mr Justin R Findlay's email "ELOG" is something
new to me. I have to check it out. Thank you for pointing this out.

> 
> EXTRA_ECONF="--disable-runtime-cpudetection" emerge --options mplayer
> 
> This doesn't work with every ebuild, but it does with most of them.
> 

Correct. This doesn't work for mplayer.


> If it is know that the package will fail with -O3, what is the point of
> letting it through, even if it warns you. However, an einfo message
> whenever CFLAGS are overridden would be nice.
>  

Well, I can't imagine that gentoo maintainers have the opportunity to
check all the possible combinations of flags and system setting before
they release an ebuild. It is of course better that they prefer to use
the "safe way".
I thing an einfo message is the least thing they could give us, though I
prefer to have the choice to try the aggressive setting and if they
don't work for me to revert to the recommended flags.


-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Daniel Iliev
Rafael Fernández López wrote:
> Hi guys,
> 
>   There are some things that I forgot to tell ya.
> 
>   I know that lots of you don't know "dpkg-reconfigure", well, it will
> write the /etc/whatever.conf file for you asking you in an interactive
> way what do you want to do. I'd compare it to some package's "ebuild
> /usr/portage/whatever/whatever-0.0.1.ebuild conf".
> 
>   I would add a mark for packages that can be configured, as there is a
> mark for UPDATE, NEW, RE-EMERGE, FETCH... I'd add another one like "C"
> for ebuilds that admit "conf" option.
> 
>   As someone said here before, EMERGE is a not interactive tool (if we
> don't take in count --ask), but in general it is not interactive. And we
> can assume that anybody stays in front of monitor all the emerge
> process, so I'd suggest to print information (or warning) messages in a
> more efficient way, for example: AT THE END OF THE EMERGE PROCESS, not
> at the end of each package emerge process. I think that
> PORTAGE_ELOG_CLASSES, PORTAGE_ELOG_SYSTEM and PORTAGE_ELOG_MAILURI is
> not so necessary if all messages are printed out at the end of the
> global emerge process.

I haven't investigated yet this "ELOG" thing but I couldn't I agree more
than this with you!

*CHEERS*

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Neil Bothwick
On Sat, 08 Jul 2006 05:30:54 -0500, Anthony E. Caudel wrote:

> Has anyone here used it?  Is it the best means available to clean the
> world file?  Anything in the gentoo tree to do this?

I've done this manually in the past. Edit /var/lib/world and remove
everything you think shouldn't be in there. Be brutal, if you never run
the program directly, you probably don't want it in world.

Then run "emerge --depclean --pretend". If this lists any packages you
know you want (directly, not as dependencies) add them to world with
"emerge -n package".

Rinse and repeat.

Finally, when everything listed by "emerge --depclean" is not something
you want to keep, run it without --pretend.


-- 
Neil Bothwick

If God had intended man to smoke, He would have set him on fire.


signature.asc
Description: PGP signature


Re: [gentoo-user] scanner not working for user

2006-07-08 Thread Neil Bothwick
On Sat, 8 Jul 2006 14:16:03 +0100, Paul Stear wrote:

> My conclusion is that I have a permmissions problem, but I can't find
> out where or how to change them.
> Can anybody help please?
> I have device epson:libusb:003:005
> vendor=0x04b8 product=0x0808

This happened to me recently too. The permissions in /proc/bus/usb were
correct, but /dev/bus/usb nodes were root-only. I fixed this with a udev
rule 

SYSFS{product}=="CanoScan", SYSFS{manufacturer}=="Canon", GROUP:="scanner", 
MODE:="0660"

You'll need to use udevinfo to get the correct setting for your device.


-- 
Neil Bothwick

Vital papers will demonstrate their vitality by moving to where you
can't find them.


signature.asc
Description: PGP signature


Re: [gentoo-user] DRI? ATI X300 PCIe

2006-07-08 Thread fire-eyes
On Friday 07 July 2006 21:51, Ryan Tandy wrote:
> Set VIDEO_CARDS="radeon" or USE="video_cards_radeon", and emerge -N
> xorg-x11.  Worked for me (Radeon 9600 XT) as of the first X -configure
> run, with no additional messing about.  The driver name is "radeon" if
> you like to do xorg.conf by hand.

Hm. I had VIDEO_CARDS at radeon already, however, I am curious about the 
video_cards_radeon USE flag. I set this and an emerge -Np xorg-x11 doesn't 
show anything. What listens to that USE flag?

-- 
99% of politicians make the rest look bad.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] scanner not working for user

2006-07-08 Thread Paul Stear
On Saturday 08 July 2006 16:45, Neil Bothwick wrote:
> SYSFS{product}=="CanoScan", SYSFS{manufacturer}=="Canon", GROUP:="scanner",
> MODE:="0660"
Neil,
Thanks that's just what I'm looking for.
SYSFS{product}=="0x0808", SYSFS{manufacturer}=="0x04b8", GROUP:="scanner", 
MODE:="0660"

But where do I put this?
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Guidance requested for setting up ndiswrapper wireless under Gentoo

2006-07-08 Thread Willie Wong
On Thu, Jul 06, 2006 at 08:18:39PM -0700, Penguin Lover Mark Knecht squawked:
> 4) I emerged wpa_supplicant based on info here that says
> wpa_supplicant can be used with ndiswrapper:
> 
> http://ndiswrapper.sourceforge.net/mediawiki/index.php/WPA
> 
> 5) When I emerged wpa_supplicant it said I needed to create a config
> file /etc/wpa_supplicant/wpa_supplicant.conf and gave a path to an
> example, so I've extracted the example file and copied it to the
> prescribed location. However the Gentoo pages say the right location
> is /etc/wpa_supplicant.conf. Which location is correct?

I have mine in /etc/wpa_cupplicant.conf, and it works for me there. 
 
> 6) it's so deep in examples I'm currently not clear how to modify it
> or even why I'm using it. What is a wpa_supplicant and why does one
> use it?

When I first installed it, it was the only way to get WPA wireless.
And it allows a much simpler way to manage the three different
wireless networks that I would be using (I used to have to switch
config files for the wlan device based on which building I was in...)

I am sure there are other reasons, but I don't know any of them of the
top of my head. Perhaps you should visit the website for
wpa_supplicant to find out?

>   At this point I'm pretty lost. I'm guess I'm making some headway
> with ndiswrapper being that it's loaded not complaining too much, but
> none of my iwconfig commands seem to change its state so far. I.e. - I
> tell it an essid but it doesn't show that it changed the essid:
> 
>   I think that if someone can get me clued in about wpa's and how to
> configure for real network I'll likely get there pretty quickly from
> here.

Look again at the example file for wpa_supplicant. The first half you
most likely won't need to change... there's one option in it that
might be important for NDIS users, so you might just want to search
for NDIS in the comments and see if that applies to you. 

Then you can just scroll all the way to bottom, pick out an example
network-block configuration that most closely resembles the one you
have, and modify it to suit yourself. The configuration commands are
pretty self-explanatory, and if you are confused, croll up a page or
two, and you'll find the documentation for the commands. 

W
-- 
fornicate people, fornicate!
~Guillem Peir? Noguer of Spain. On the country's negative population growth
Sortir en Pantoufles: up 28 days, 17:12
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Newly emerged cups 1.2.1-r2 won't print, won't talk to admin tools

2006-07-08 Thread Kevin O'Gorman

On 7/7/06, Francesco Talamona <[EMAIL PROTECTED]> wrote:

On Saturday 08 July 2006 06:12, Kevin O'Gorman wrote:
> The light dawned... Gotcha!  And thanks.
Good!

> On 7/7/06, Kevin O'Gorman <[EMAIL PROTECTED]> wrote:
> > This looks like a helpful reply.  Too bad I'm so clueless.  I seem
> > to keep finding that there's more homework to do about gentoo, and
> > I never seem to have the time.  So I'm in continual crisis mode.
> >
> > Details (questions) below:
> >
> > On 7/7/06, Francesco Talamona <[EMAIL PROTECTED]> wrote:
> > > On Saturday 08 July 2006 00:08, Kevin O'Gorman wrote:
> > > > Yesterday, I emerged cups 1.2.1-r2.  Now I cannot print at all.
> > > >
> > > > I use KDE, and the configuration tools cannot make a
> > > > connection. Even bare-bones init stuff doesn't work right:
> > > > /etc/init.d/cupsd stop
> > > > says it stopped the server, but
> > > > /etc/init.d/cupsd start
> > > >   WARNING: "cupsd" has already been started
> > > >
> > > > but 'ps' show that it has NOT been started.
Try
ps fax | grep cups
ps without options don't show every process


Actually, I usually use
  ps axlw | grep cups

In any event, this part has settled down now, probably because of one or more
things that I rebuilt.



> > > > lpstat -t
> > > > shows confusing info about my printer:
> > > >
> > > >
> > > > treat init.d # lpstat -t
> > > > scheduler is running
> > > > system default destination: lp0
> > > > device for lp0: parallel:/dev/lp0
> > > > device for lp0: /dev/null
> > > > lp0 not accepting requests since Fri Jul  7 14:23:34 2006 -
> > > > Paused
> > > > lp0 accepting requests since Fri Jul  7 14:15:50 2006
> > > > printer lp0 disabled since Fri Jul  7 14:23:34 2006 -
> > > > Paused
> > > > printer lp0 is idle.  enabled since Fri Jul  7 14:15:50 2006
> > > > lp0-2458root 14336   Fri Jul  7
> > > > 14:21:24 2006 lp0-2459root 14336
> > > > Fri Jul  7 14:55:25 2006 treat init.d #
> > > >
> > > > SO: is it enabled or not?
> > >
> > > Really strange, it seem a cupsd process is responding some way
> > >
> > > Is it there something listenting on port 631?
> >
> > I have no idea.  I want it to listen on 515 which is the printer
> > spooler port that
> > WinXP has been using up until now.

Try:
lsof | grep LIS
this command will list all open "files" containing "LIS" (uppercase) in
their name. All LIStening ports and estabLIShed connection will show
up.


This shows only
  TCP localhost:ipp
  UDP *:ipp

I fooled around with the config file a bit, and uncovered a misunderstanding.
I thought I could put a netmask on  Listen lines in the config file.
Apparently,
I'm supposed to put just * or the IP of one of my interfaces.  This opens things
up a bit.  Nevertheless, cups is complaining a lot (in the error log) about
"address already in use" for cases where I cannot see that this is the case,
even when I wait 10 minutes to restart cups.

I'm going to keep trying things with this confi file.  Right now, I've got it to
cupsd 19119root0u IPv41023028TCP
*:ipp (LISTEN)
cupsd 19119root2u IPv41023030TCP
localhost:printer (LISTEN)
cupsd 19119root3u IPv41023031TCP
treat.kosmanor.com:printer (LISTEN)
cupsd 19119root4u IPv41023033TCP
lan:printer (LISTEN)

I'm gonna keep working on this.



> > > cribrum ~ # /etc/init.d/cupsd stop
> > >  * Stopping cupsd ...
> > > [ ok ]
> > > cribrum ~ # lpstat -t
> > > lpstat: Unable to connect to server
> > >
> > > > I guess I'll submit a bug, but I'd like to know if it's best to
> > > > go back to cups-1.1.23-r7,
> > > > which I had before, and for which I have a binary package.
> > >
> > > Side notes:
> > > 1) I had to generate /etc/cups/ssl/server.crt
> > > and /etc/cups/ssl/server.key by hand to connect via https web
> > > interface.
> >
> > I don't know anything about that.  Up until now, I've been doing my
> > admin either from the command line, or with the minimal KDE tools.
> > Someone would have to point me at docs for creating such a key and
> > how to use it.

openssl req -new -x509 -keyout /etc/cups/ssl/server.key \
-out /etc/cups/ssl/server.crt -days 365 -nodes

chmod 600 /etc/cups/ssl/server.*

Referrer:
http://www.opensource.apple.com/darwinsource/Current/cups-97.1/ENCRYPTION.txt

It's a bit dated, but works well.

[...]
> -- I'll emerge portage-utils
> -- I'll use qfile to find those pesky packages that plopped parts in
> cups.
>
> RIght after the emerge of kdelibs, which is right now processing html
> files for some reason.
I bet it's the "doc" USE flag.


Probably.  I like to generate the stuff, even if the quantity is so great I know
I'll never read it all in my life.



Ciao
Francesco
--
Linux Version 2.6.17-gentoo-r1, Compiled #1 PREEMPT Mon Jul 3 22:29:51
CEST 2006
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.81 Bogomips Total
aemae

Re: [gentoo-user] tun/tap - ifconfig tun0 - device not found

2006-07-08 Thread Hans-Werner Hilse
Hi,

On Fri, 7 Jul 2006 19:04:41 -0300
"Claudinei Matos" <[EMAIL PROTECTED]> wrote:

> I'm trying to use tun/tap to assign some ip to my server (since I'll need it
> to my LVS solution) and I think it's a trivial task to put tun to work, but
> I'm trying in 3 different machines (with 2  different kernels) and in both
> they when I try to ifconfig tun0 I get the follow message:
> tun0: error fetching interface information: Device not found
> 
> Well, I'd try to look if is something wrong with my kernel configuration but
> is everything ok since it just need tun/tap support to be compiled (I did
> tried both module and built-in).
> 
> /dev/net/tun is a valid character device with 10, 200 (major/minor)

...and, is at first all you get by enabling TUN support in the kernel.
See /usr/src/linux/Documentation/networking/tuntap.txt for more
information about the ioctl() you have to issue in order to register a
tun network device (TUNSETIFF). The docs have a code example, too.

Oh, and I think OpenVPN has inbuilt functionality to create or remove
tun network devices (independent from OpenVPNs other functionality).

I've not completely understood what your usage scenario was, but maybe
a dummy network device is enough?

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



Re: [gentoo-user] OT: A/V muxing application ?

2006-07-08 Thread Hans-Werner Hilse
Hi,

On Sat, 8 Jul 2006 10:48:28 +0100
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Sat, 08 Jul 2006 08:47:53 +0200 (CEST), Meino Christian Cramer wrote:
> 
> >  I would like to mux them again...which application can do
> >  that job for me (formats: *.m2c/*.ac3 ) ???
> 
> mplex should do this, it's part of mjpegtools.

...and the tcmplex-panteltje fork, that's what I'm using. (IIRC it
supports more audio streams)

> Do you know of a decent graphical program for editing DVB files. All I
> really need is to be able to cut out commercials etc. A command line
> program would do, but graphical would be easier.

That would be the ProjectX mentioned by Meino Christian. Works well for
me. lve (Linux Video Editor) can do this, too, but I found the
interface quite non-intuitive and dropped it after all in favor of
ProjectX.

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



[gentoo-user] Thinkpad T43: wireless keeps dropping, firmware error

2006-07-08 Thread fire-eyes
I am using an IBM Thinkpad T43 laptop. It has an Intel Pro Wireless 2915 abg 
wireless card in it. This uses the ipw2200 driver.

Most of the time when I use wireless, it is solid. However every few days or 
weeks (there seems to be no pattern), I run into a day where 6 - 20 times in 
that given day, the wireless just plain drops. I have to unload the modules, 
reload them, restart the network interface, etc etc.

This is one of those days. In logs I see:

ipw2200: Firmware error detected.  Restarting.
ipw2200: Firmware error detected.  Restarting.

This situation is extremely annoying. I have posted on lists before, but I 
have never found any solution to this.

Any ideas?

lappie ~ # equery l ieee80211
[ Searching for package 'ieee80211' in all categories among: ]
 * installed packages
[I--] [  ] net-wireless/ieee80211-1.1.13-r1 (0)

lappie ~ # equery l ipw2200
[ Searching for package 'ipw2200' in all categories among: ]
 * installed packages
[I--] [  ] net-wireless/ipw2200-1.1.2-r1 (0)
[I--] [  ] net-wireless/ipw2200-firmware-3.0 (0)



Portage 2.1.1_pre2-r4 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, 
glibc-2.3.6-r4, 2.6.17.4-ifc i686)
=
System uname: 2.6.17.4-ifc i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env 
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref 
/usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf 
/etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms 
strict"
GENTOO_MIRRORS="http://fido.online.kz/gentoo http://src.gentoo.pl 
http://ftp.twaren.net/Linux/Gentoo/ 
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
ftp://ftp.twaren.net/Linux/Gentoo/";
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 alsa apache2 apm avi berkdb bitmap-fonts bzip2 cdr chroot 
cli crypt dlloader dri dv dvd dvdr dvdread eds emboss encode ffmpeg flac 
foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg kde 
kdeenablefinal libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses network 
nls ogg opengl oss pam pcre pdflib perl png pppd pwdb python qt qt3 qt4 
quicktime readline reflection sdl session spell spl sse ssl theora tiff 
truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv 
xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse 
input_devices_synaptics kernel_linux linguas_en userland_GNU video_cards_ati 
video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS


-- 
99% of politicians make the rest look bad.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless Help

2006-07-08 Thread Willie Wong
On Fri, Jul 07, 2006 at 09:01:40PM -0400, Penguin Lover Colleen Beamer squawked:
> Next, the wiki said to put these lines into the /etc/conf.d/net file (which
> had nothing in it because it assumes dhcp):
> 
> 
> 
> modules=( "wpa_supplicant" )
> 
> wpa_supplicant_wlan0="-Dndiswrapper"
> wpa_timeout_wlan0=60
> 
> Again, these lines have been modified to suit my situation.
> 
> However, if I boot the laptop without the ethernet cable connected, it hangs
> when running the dhcpcd daemon.
> 
> I'm sure I'm missing something, but I don't know what.
> 

Did you remove net.eth0 from the default runlevel? i.e. 
  rc-update del net.eth0
If it is hanging at boot time it might be because it is trying to
connect to eth0 using dhcp, which is obviously not available without
the ethernet cable. 

W
-- 
"So we just have to integrate around the ring to get the gravitational force?"
"Yeah."
"But that doesn't sound fun."
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 28 days, 17:25
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Justin R Findlay
On Sat, Jul 08, 2006 at 05:42:25PM +0300, Daniel Iliev wrote:
> 
> Yes, I already have about 400MB of logs there. I still wonder when will
> come the day I'll wipe them out. :)

I have a simple cron job that bzip2's them and about a year's worth of
logs amounts to about 30 Mib, but I should probably rework it to expire
old logs.

> The truth is there are only a few ebuilds I want to change something in.
> Up to now in case I want to change something or the packages doesn't
> compile the normal way, my practice is to use "ebuild `equery w
> package-name` unpack", do my things in the temp dir, compile manually,
> put a file ".compiled" and resume the installation.
> May be I'll start using my own overlay after I collect "enough" packages.

I suggest putting your modifications into your own ebuild in an overlay
because it may be simpler and neater to apply your changes to the new
version/ebuild of the package when it comes out rather than having to
remember everything you did the first time manually.


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



Re: [gentoo-user] tun/tap - ifconfig tun0 - device not found

2006-07-08 Thread Claudinei Matos
tks for the help.. I was really thinking about give dummy interface a try but instead I did solved my problem using an lo alias like this:ifconfig lo:0 192.168.1.2 broadcast 
192.168.1.2 netmask 255.255.255.255 supposing that eth0 is on the same network ;)what is funny is that on all LVS guides I'd read, they just mention the sequence:
modprobe tunifconfig tun0 x.x.x.xno one talk about initiate the tun device or to use some other software to do that.tks,claudinei matosOn 7/8/06, 
Hans-Werner Hilse <[EMAIL PROTECTED]> wrote:Hi,
On Fri, 7 Jul 2006 19:04:41 -0300"Claudinei Matos" <[EMAIL PROTECTED]> wrote:> I'm trying to use tun/tap to assign some ip to my server (since I'll need it
> to my LVS solution) and I think it's a trivial task to put tun to work, but> I'm trying in 3 different machines (with 2  different kernels) and in both> they when I try to ifconfig tun0 I get the follow message:
> tun0: error fetching interface information: Device not found>> Well, I'd try to look if is something wrong with my kernel configuration but> is everything ok since it just need tun/tap support to be compiled (I did
> tried both module and built-in).>> /dev/net/tun is a valid character device with 10, 200 (major/minor)...and, is at first all you get by enabling TUN support in the kernel.See /usr/src/linux/Documentation/networking/tuntap.txt for more
information about the ioctl() you have to issue in order to register atun network device (TUNSETIFF). The docs have a code example, too.Oh, and I think OpenVPN has inbuilt functionality to create or remove
tun network devices (independent from OpenVPNs other functionality).I've not completely understood what your usage scenario was, but maybea dummy network device is enough?-hwh--
gentoo-user@gentoo.org mailing list


[gentoo-user] Sharing access to my laptop

2006-07-08 Thread Grant

My girlfriend's laptop's internal wireless card doesn't seem to
compatible with WPA and I don't want to use WEP on my Gentoo router.
This leaves me with the options of either getting her to buy a new
wireless card or sharing my laptop.  She has a user account on my
laptop and I use gdm so it's easy for her to log in, but is there
anything that can be done about the situation where I'm logged in and
away, xscreensaver has locked the screen, and she wants to log into
her account and use the system?

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



[gentoo-user] Wireless worked, rebuilt kernel, wireless no longer works

2006-07-08 Thread Mark Knecht

Hi,
  Why would wireless no longer work after rebuilding the kernel to
add USB OHCI support only?

  The title more or less says it. My network is a bunch of LinkSys
access points and a LinkSys wireless router. I use WEP and broadcast
my ESSID, for now.

  I emerged wireless-tools, wpa_supplicant (which I am not using at
this time) and ndiswrapper. Using ndiswrapper I installed the Windows
driver and ndiswrapper installed and working:

christmas ~ # ndiswrapper -l
Installed ndis drivers:
net8180 driver present, hardware present
christmas ~ #

christmas ~ # lsmod | grep ndis
ndiswrapper   162288  0
christmas ~ #

  I added ndiswrapper to /etc/modules.autoload.d/kernel-2.6:

christmas ~ # cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x
sis900
ndiswrapper
christmas ~ #

  I configured the following files yesterday and got wireless working:

christmas ~ # cat /etc/conf.d/wireless
# /etc/conf.d/wireless:
# Global wireless config file for net.* rc-scripts
##
# SETTINGS
##

essid_wlan0="LadySmithBliss"
preferred_aps=( "LadySmithBliss" )
channel_wlan0="6"
key_LadySmithBliss="------GG enc restricted"

christmas ~ #

christmas ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

config_eth0=( "192.168.1.58/24" )
routes_eth0=( "default via 192.168.1.1" )

config_wlan0=( "192.168.1.59/24" )
routes_wlan0=( "default via 192.168.1.1" )
christmas ~ #

I created the link for wlan0:

christmas ~ # ls -la /etc/init.d/net.*
lrwxrwxrwx 1 root root 6 Jul  4 22:33 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 24324 Jul  4 22:33 /etc/init.d/net.lo
lrwxrwxrwx 1 root root 6 Jul  8 02:09 /etc/init.d/net.wlan0 -> net.lo
christmas ~ #

At this point I could start and use the network by hand so I used
rc-update to add net.wlan0 to default. Everything was working fine. I
powered the machine completely down and booted cold. The wireless
network can up and ran fine.

  I thought everything was great until we tried to configure my son's
printer and found the kernel didn't have the right USB support so I
rebuilt the kernel. After rebuilding the kernel I can no longer get
wireless to run:

christmas ~ # /etc/init.d/net.wlan0 start
* Starting wlan0
*   Configuring wireless network for wlan0
*   Failed to configure wireless for wlan0
   [ !! ]
christmas ~ #

  I tried re-emerging ndiswrapper but that didn't help.

  I'm really confused at this point. Can someone suggest some things
for me to look at?

Thanks very much,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Guidance requested for setting up ndiswrapper wireless under Gentoo

2006-07-08 Thread Mark Knecht

On 7/8/06, Willie Wong <[EMAIL PROTECTED]> wrote:

On Thu, Jul 06, 2006 at 08:18:39PM -0700, Penguin Lover Mark Knecht squawked:
> 4) I emerged wpa_supplicant based on info here that says
> wpa_supplicant can be used with ndiswrapper:
>
> http://ndiswrapper.sourceforge.net/mediawiki/index.php/WPA
>
> 5) When I emerged wpa_supplicant it said I needed to create a config
> file /etc/wpa_supplicant/wpa_supplicant.conf and gave a path to an
> example, so I've extracted the example file and copied it to the
> prescribed location. However the Gentoo pages say the right location
> is /etc/wpa_supplicant.conf. Which location is correct?

I have mine in /etc/wpa_cupplicant.conf, and it works for me there.

> 6) it's so deep in examples I'm currently not clear how to modify it
> or even why I'm using it. What is a wpa_supplicant and why does one
> use it?

When I first installed it, it was the only way to get WPA wireless.
And it allows a much simpler way to manage the three different
wireless networks that I would be using (I used to have to switch
config files for the wlan device based on which building I was in...)

I am sure there are other reasons, but I don't know any of them of the
top of my head. Perhaps you should visit the website for
wpa_supplicant to find out?

>   At this point I'm pretty lost. I'm guess I'm making some headway
> with ndiswrapper being that it's loaded not complaining too much, but
> none of my iwconfig commands seem to change its state so far. I.e. - I
> tell it an essid but it doesn't show that it changed the essid:
>
>   I think that if someone can get me clued in about wpa's and how to
> configure for real network I'll likely get there pretty quickly from
> here.

Look again at the example file for wpa_supplicant. The first half you
most likely won't need to change... there's one option in it that
might be important for NDIS users, so you might just want to search
for NDIS in the comments and see if that applies to you.

Then you can just scroll all the way to bottom, pick out an example
network-block configuration that most closely resembles the one you
have, and modify it to suit yourself. The configuration commands are
pretty self-explanatory, and if you are confused, croll up a page or
two, and you'll find the documentation for the commands.

W


Thanks Willie,
  I got it working yesterday but it's broken today. See the post I
just made to the list for more details. Maybe you can see what mistake
I'm making.

  Thanks for the response.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Alexander Skwar

Rafael Fernández López schrieb:


The first thing that I'd change is "etc-update" or "dispatch-conf". I'd
suggest to create some kind of tool like "dpkg-reconfigure" in Debian.
More intuitive than reading /etc files and writing them by hand that is
more probably to be mistaken when writing.


Please do *NOT* do that! I don't want some kind of "wizard" offering
me choices, of which none might fit my needs.

Alexander Skwar
--
Im Endeffekt war alles cooler als letztes Jahr, obwohl
ich bis Donnerstag dachte, das es nicht geht.
-- Igor Gilitschenski
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Alexander Skwar

Rafael Fernández López schrieb:


Second thing that I'd improve is a security one. I know that "emerge"
is a very cared package, but it is a script. Suppose that someone
commits portage with a emerge failure in its code (he forgot a comma
!!)... if someone updates portage won't be able to update it again
because it will fail ever and ever again... So I suggest to have a
backuped emerge script that we are sure that worked (like the last
emerge tool that was used), and if the new emerge tool is mistaken (so
that user doesn't need to know python) only has to run "regenemerge" for
example, and will have the latest emerge working tool.


I disagree with that as well. Changes should only happen in the keyworded
packages (ie. ~x86, ...). That's the testing area of Gentoo. If a package
breaks in testing: "Fine"! That's what's testing is for.

Alexander Skwar
--
Im Endeffekt war alles cooler als letztes Jahr, obwohl
ich bis Donnerstag dachte, das es nicht geht.
-- Igor Gilitschenski
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Alexander Skwar

Lord Sauron schrieb:

On 7/7/06, Zac Medico <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lord Sauron wrote:
> My personal gripe is how slow emerge is on just plain old emerge-ish
> things.  That we have to use things like eix to search is pathetic.
> This NEVER happened in Debian.

emerge/portage has lots of room for improvement.  Lots of the code is quite 
messy and it has been largely neglected because most people simply refuse to do 
much work on such a mess.  However, since I've joined the project, I've been 
doing doing lots of work to clean up this code that most people won't touch.  
It's getting better, slowly but surely.


Yes, it does.  However, portage aside, it lacks something like
aptitude to really fill in the loose ends.


There are so many technical issues that remain to be solved in portage that 
it's difficult to justify spending time on problems that have already been 
solved in one way or another.  There many tools in existence that already do 
the search part pretty well.  Lots of other things still need fixing...


Yeah.  Portage works, however, I think it's really in need of a large
overhaul.  If what you're saying is true, and it's really just a load
of scripts, then I really would HIGHLY suggest that you consider
beginning to make smaller helper applications in C and stuff to speed
things up.


What makes you think, that emerge in C would be faster? Would
it really be noticeably faster?


Scripts are great, but they aren't for whole applications.


I disagree. Scripts ("interpreted computing languages" would be
more to the point, though) are great, EVEN for whole applications.
Reason: Easier and faster development.


Alexander Skwar
--
Im Endeffekt war alles cooler als letztes Jahr, obwohl
ich bis Donnerstag dachte, das es nicht geht.
-- Igor Gilitschenski
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Alexander Skwar

Rafael Fernández López schrieb:


I know that lots of you don't know "dpkg-reconfigure", well, it will
write the /etc/whatever.conf file for you asking you in an interactive
way what do you want to do.


But etc-update is interactive as well, isn't it?


process, so I'd suggest to print information (or warning) messages in a
more efficient way, for example: AT THE END OF THE EMERGE PROCESS, not
at the end of each package emerge process. I think that
PORTAGE_ELOG_CLASSES, PORTAGE_ELOG_SYSTEM and PORTAGE_ELOG_MAILURI is
not so necessary if all messages are printed out at the end of the
global emerge process.


I used to think the same, but changed my mind with the introduction
of PORTAGE_ELOG_SYSTEM="mail" (or actually, ="custom"). Reason: This
way, I get all the messages mailed to me, for me to review. That's
*IMO* even better. Reason: You get the messages earlier and suppose
the system crashes in the middle of the emerge. If all the messages
were just shown at the end, some messages might be lost.

No. With the advent of PORTAGE_ELOG_*, everything is fine as far as
I'm concerned.

Alexander Skwar
--
Im Endeffekt war alles cooler als letztes Jahr, obwohl
ich bis Donnerstag dachte, das es nicht geht.
-- Igor Gilitschenski
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer is slow in xfce but Ok in other X

2006-07-08 Thread Walter Dnes
On Sat, Jul 08, 2006 at 04:43:55AM +, Chuanwen Wu wrote
> I found that the problem is the gmplayer,but no mplayer.
> I start mplayer from terminal,everything is fluent.
> Is there any other way to use mplayer in xfce(just no use gmplayer)??

  There are 2 possible solutions for your problem...

  1) I assume that gmplayer is a front-end to mplayer.  Find out what
parameters gmplayer passes to mplayer, and change them.

  2) I don't know if xfce has a built-in icon or launch-panel.  I run
Blackbox, and I use pypanel as my launcher/panel.  Other panels, like
gnome-panel, seem to want to build 90% of GNOME, which defeats the
purpose of running Blackbox.  I put stuff I use a lot into the panel.
You have to edit a text file, but I don't make changes all that often.

-- 
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] OT: A/V muxing application ?

2006-07-08 Thread Daniel Pielmeier
> Do you know of a decent graphical program for editing DVB files. All I
> really need is to be able to cut out commercials etc. A command line
> program would do, but graphical would be easier.

@ Neil

If you just want to cut out commercials i recommend you ttcut, it is
only designed for this purpose. Ttcut is able to cut the video
frame-accurate and not only on I-Frames. I recently added an ebuild [1]
for it to the sunrise overlay [2]. I agree with you that video-editing
with is much more convienient with graphical tools. ;-)

@ Meimo

Sorry for you that ttcut did not work with Ati-cards and DRI enabled.

[locale_de] on

Habe vor kurzem mit dem Autor des Programms gesprochen und er meinte
vielleicht realisiert er die Anzeige ohne Opengl was dein Problem
beheben könnte, aber das kann dauern da ttcut für ihn nur ein
Steckenpferd ist. Falls es mal soweit ist sage ich dir gerne Bescheid!

Gruß Daniel

[locale_de] off

[1] http://gentoo-sunrise.org/svn/sunrise/media-video/ttcut/
[2] http://gentoo-sunrise.org/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless Help

2006-07-08 Thread Neil Bothwick
On Fri, 7 Jul 2006 21:01:40 -0400, Colleen Beamer wrote:

> However, if I boot the laptop without the ethernet cable connected, it
> hangs when running the dhcpcd daemon.
> 
> I'm sure I'm missing something, but I don't know what.

emerge ifplugd and read the comments in /etc/conf.d/net.example


-- 
Neil Bothwick

Last words of a Windows user: = Where do I have to click now? - There?


signature.asc
Description: PGP signature


Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Neil Bothwick
On Sat, 08 Jul 2006 20:30:06 +0200, Alexander Skwar wrote:

> > I know that lots of you don't know "dpkg-reconfigure", well,
> > it will write the /etc/whatever.conf file for you asking you in an
> > interactive way what do you want to do.
> 
> But etc-update is interactive as well, isn't it?

And you can configure etc-update and dispatch-conf to use whatever you
want to applky changes to files, such as vimdiff, kdiff3 or meld.


-- 
Neil Bothwick

If you consult enough experts, you can confirm any opinion.


signature.asc
Description: PGP signature


Re: [gentoo-user] scanner not working for user

2006-07-08 Thread Neil Bothwick
On Sat, 8 Jul 2006 17:29:15 +0100, Paul Stear wrote:

> Thanks that's just what I'm looking for.
> SYSFS{product}=="0x0808", SYSFS{manufacturer}=="0x04b8",
> GROUP:="scanner", MODE:="0660"
> 
> But where do I put this?

/etc/udev/rules.d/10-udev.rules


-- 
Neil Bothwick

Oxymoron: Reagan memoirs.


signature.asc
Description: PGP signature


Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Ow Mun Heng
On Sat, 2006-07-08 at 11:09 -0700, Grant wrote:
> My girlfriend's laptop's internal wireless card doesn't seem to
> compatible with WPA and I don't want to use WEP on my Gentoo router.
> This leaves me with the options of either getting her to buy a new
> wireless card or sharing my laptop.  She has a user account on my
> laptop and I use gdm so it's easy for her to log in, but is there
> anything that can be done about the situation where I'm logged in and
> away, xscreensaver has locked the screen, and she wants to log into
> her account and use the system?


er... click "New Login" as it's presented at the xscreensaver prompt?

> - Grant
-- 
Ow Mun Heng <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular xorg mouse problem

2006-07-08 Thread Mick

On 08/07/06, Richard Fish <[EMAIL PROTECTED]> wrote:


Nope.  Odd.  Oh well, as long as it's working...


I hope you don't mind me running with this thread, as I have a similar
problem (I think) to the OP.  On my laptop I have also installed SUSE
10.0 which seems to behave in a different way:  when I double-tap on
the mouse pad while the cursor is over the scroll-bar, it 'captures'
it and by dragging my finger I can scroll up and down.  Lifting my
finger results in the scrollbar being released.  In Gentoo this
feature does not exist and to drag the scroll bar I have to press the
LH mouse pad button.

I've tried copying parts of the SUSE xorg.conf onto gentoo's, but it
won't play ball:

Section "InputDevice"
   Identifier  "Mouse0"
   Driver  "synaptics"
   Option  "Protocol" "event"
   Option  "InputFashion" "Mouse"
   Option  "Device" "/dev/input/mice"
   Option   "Name" "Synaptics;Touchpad"
   Option   "SHMConfig" "on"
   Option   "Vendor" "Sysp"
   Option  "ZAxisMapping"  "4 5"
   Option  "Emulate3Buttons"   "True"
   Option  "Buttons"   "3"
EndSection


The touchpad mouse worked fine with my previous non-synaptics settings:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "IMPS/2"
Option  "Device" "/dev/input/mice"
   Option  "ZAxisMapping"  "4 5"
   Option  "Emulate3Buttons"   "False"
   Option  "Buttons"   "5"
EndSection


Is the synaptics setup what I need to be able to lock & drag the
scroll bar?  Is there anything obvious wrong?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Justin R Findlay
On Sat, Jul 08, 2006 at 12:12:56PM -0700, Ow Mun Heng wrote:
> 
> er... click "New Login" as it's presented at the xscreensaver prompt?

I believe the newlogin feature was just introduced in xscreensaver-5.00
which came out just recently.  Be sure to enable the new-login USE flag
in /etc/portage/package.use for x11-misc/xscreensaver.

Alternatively, gnome+gdm has a "New Login" feature which is buried
somewhere in the gnome menu somewhere.  The problem with the "New Login"
thing is that it doesn't seem to be very well thought out yet.  You have
to be logged in as another user to be able to access it and when user #2
is done and logs out, user #1's screen is locked no matter what what
user #1's preferences are.  The KDE situation is about the same, but I
think the WindowsXP model is the best:  have the GDM screen always
running on VT7 and have it spawn new user desktops on VT8+ as needed, so
when all the user desktops are locked the new user can always get to GDM
and login.  Or maybe you just bring up GDM when the other desktops are
all locked.


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



Re: [gentoo-user] Wine won't build

2006-07-08 Thread Richard Fish

On 7/8/06, Alex Bennee <[EMAIL PROTECTED]> wrote:

Hi,

I can't get wine to build. The configure script complains that it can't
find freetype (despite it being installed) but I'm not sure if thats the
problem. I assume an exit status of 1 from the configure script is bad?


Is this on amd64?  If so, you are probably hitting an eselect bug
involving multilib profiles and the selected ABI, and there does not
appear to be a solution as of yet:

http://bugs.gentoo.org/show_bug.cgi?id=138296

The origins of the above are:

http://bugs.gentoo.org/show_bug.cgi?id=138264

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



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Hemmann, Volker Armin
On Saturday 08 July 2006 11:31, Neil Bothwick wrote:
> On Sat, 8 Jul 2006 10:00:19 +0200, Hemmann, Volker Armin wrote:
> > yeah, but that does not change the fact, that some time (years?) ago,
> > there was a portage-rescue package.
> >
> > Which I even used once ... unpack it and you had a working portage - if
> > you did not have destroyed python 
>
> FEATURES="buildpkg" emerge --oneshot portage python
>

I know that. I prefer quickpkg. ;) 

Before a big, scary update, I quickpkg gcc, glibc or what else gets updated.

Still. portage-rescue was a usefull thing.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Walter Dnes
On Fri, Jul 07, 2006 at 09:22:29PM +0200, Rafael Fern??ndez L??pez wrote

>   This is not flame war. I love Gentoo, and it is the distribution
> that fits me perfectly, but I've been wondering this last year what
> things can be improved in this wonderful distro.
> 
>   The first thing that I'd change is "etc-update" or "dispatch-conf".

  etc-update needs only one change to make it perfect for me, namely the
ability to protect changes to default parameters.  Here are 3 examples
from a recent update, where an automaton has no business touching
certain lines...

/etc/conf.d/bootmisc
-WIPE_TMP="yes"
+WIPE_TMP="no"

/etc/conf.d/local.start
 # This is a good place to load any misc programs
-# on startup ( use 1>&2 to hide output)
-modprobe snd-virmidi index=1
+# on startup (use &>/dev/null to hide output)
+

/etc/conf.d/rc
@@ -74,7 +89,12 @@
 # and restore it on startup.  This is useful if you have a lot of
 # custom device nodes that udev does not handle/know about.

-RC_DEVICE_TARBALL="yes"
+RC_DEVICE_TARBALL="no"
+

  When I say "yes" I mean "yes".  When I say "no" I mean "no".  And I
don't mean "just until the next update" either.  I have reasons for my
settings; please don't act like Windows and assume that you know better
than me.  And there is no excuse whatsoever for wiping out the custom
settings in /etc/conf.d/local.start

  Would it be possible to have some comment declaration like...

#etc-update-protect-begin
WIPE_TMP="yes"
#etc-update-protect-end

...to protect a block of lines against changes, while allowing other
lines to be changed?

-- 
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] Modular xorg mouse problem

2006-07-08 Thread Richard Fish

On 7/8/06, Mick <[EMAIL PROTECTED]> wrote:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "synaptics"
Option  "Protocol" "event"
Option  "InputFashion" "Mouse"
Option  "Device" "/dev/input/mice"


Did you read the whole thread?  You need to use an event node to use
the synaptics driver:

My original response to Grant:
"""
I believe if you want to use the synaptics driver, you should be using
an "event" interface.  From my xorg.conf:

  Identifier  "touchpad"
  Driver  "synaptics"
  Option  "Device" "/dev/input/trackpad_evt"
  Option  "Protocol" "event"

I use a special device node because my trackpad and keyboard would
sometimes move around on the generic event nodes.  So I have a udev
rule in 10-local.rules for this:

BUS=="input", KERNEL=="event*", SYSFS{phys}=="isa0060/serio1/input0",
NAME:="input/trackpad_evt", SYMLINK="input/%k"

You can use dmesg to figure out the right setting for SYFS{phys}, or
just use /dev/input/eventX in your xorg.conf.

Of course you'll need to have CONFIG_INPUT_EVDEV in your kernel
configuration to get the event interfaces.
"""

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



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Neil Bothwick
On Sat, 8 Jul 2006 22:32:58 +0200, Hemmann, Volker Armin wrote:

> > FEATURES="buildpkg" emerge --oneshot portage python
> >
> 
> I know that. I prefer quickpkg. ;) 

The difference is that the buildpkg approach verifies the package by
building it and then installing from it.
 
> Before a big, scary update, I quickpkg gcc, glibc or what else gets
> updated.

Using buildpkg means I never have to worry about forgetting to run
quickpkg, i can concentrate on all the other things I forget to do :)


-- 
Neil Bothwick

Those who can, do. Those who cannot, teach. Those who cannot teach, HACK!


signature.asc
Description: PGP signature


Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Gerhard Hoogterp
>   When I say "yes" I mean "yes".  When I say "no" I mean "no".  And I
> don't mean "just until the next update" either.  I have reasons for my
> settings; please don't act like Windows and assume that you know better
> than me.  And there is no excuse whatsoever for wiping out the custom
> settings in /etc/conf.d/local.start

As I wrote in an other mail: Stop interfering with the actual configfile and 
add the changes to a config.conf.dist file. There you don't have to ask for 
permission and a simple diff can reveal the changes whenever I want. 

During install a copy of this file could be installed already for direct use..

Something alike for the messages during an emerge. Often I see instructions on 
what to do after the emerge flashing by while doing an emerge world, I don't 
even want to know how many I miss.. Why not log those to a seperate file so 
one can actually find them back afterwards?

I know Gentoo is supposed to be for those who know how to deal with things, 
but that doesn't mean it should be more complicated of dangerous than 
needed.. 

Gerhard
-- 
Ithaka photography, http://funsite.mine.nu
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Rafael Fernández López
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What to do when your smtp server needs authentification ?

Cheers,
Rafael Fernández López.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEsB2PWFfYaTyFH8oRAj9pAJwIQtBnh4+aKBHYgHeEo+YxoIjBMACfZHWr
zbnjGAFVS/F+JqZnR2HPc6E=
=i9LC
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular xorg mouse problem

2006-07-08 Thread Mick

On 08/07/06, Richard Fish <[EMAIL PROTECTED]> wrote:


Did you read the whole thread?  You need to use an event node to use
the synaptics driver:

My original response to Grant:


Thanks I did read it.  I'm afraid I do not understand the term "event"
(as in event-node, event device, event protocol, etc.)  and was not
sure if it is a necessary precondition.  Is a udev rule necessary?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Hemmann, Volker Armin
On Saturday 08 July 2006 23:00, Neil Bothwick wrote:
> On Sat, 8 Jul 2006 22:32:58 +0200, Hemmann, Volker Armin wrote:
> > > FEATURES="buildpkg" emerge --oneshot portage python
> >
> > I know that. I prefer quickpkg. ;)
>
> The difference is that the buildpkg approach verifies the package by
> building it and then installing from it.
>
> > Before a big, scary update, I quickpkg gcc, glibc or what else gets
> > updated.
>
> Using buildpkg means I never have to worry about forgetting to run
> quickpkg, i can concentrate on all the other things I forget to do :)

yeah, but some people are a little bit harddisc-space constraint ;)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Per-process CPU % usage limit

2006-07-08 Thread Richard Fish

On 7/8/06, Etaoin Shrdlu <[EMAIL PROTECTED]> wrote:

The problem is that some very CPU-consuming apps, even if started with
the lowest priority (eg, nice -n 19), still eat up 100% CPU (with
subsequent overheating, fan start, throttling, etc.) if the system is
not busy and has nothing else to do. What I'd like to know is whether it
is possible to impose such a CPU percentage usage limit.


Well, I would first upgrade my cooling fans so the processor couldn't
overheat! :-)

But you could also enable "CPU freqency scaling" in the kernel, with
the ondemand governor, and use the various settings in
/sys/devices/system/cpu/cpu0/cpufreq to control the clock speed and
behavior of the system.  You can use scaling_max_freq to specify the
maximum frequency of the processor so that it will not overheat or
throttle, no matter what the load is, and the
ondemand/ignore_nice_load setting will tell the governor not to
increase the clock speed for niced processes.

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



Re: [gentoo-user] modular X, nvidia, and unresolved symbols

2006-07-08 Thread Richard Fish

On 7/8/06, John Blinka <[EMAIL PROTECTED]> wrote:

Hi,

I've successfully upgraded to modular X on 4 machines without any
issues, but the 5th box is fighting me.  The 5th box, a Dell Inspiron
8200, has an nvidia card, and I've used the proprietary nvidia
video drivers for years without problems.  I've followed the
instructions in


What versions of xorg-server and the nvidia drivers are you trying to use?

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



Re: [gentoo-user] OT logitech mouse recommendation (MX1000 vs G7)

2006-07-08 Thread Richard Fish

On 7/8/06, Daniel Waeber <[EMAIL PROTECTED]> wrote:

The left and right movement of the mouse wheel is only supported by the
evdev driver. As this feature is really handy I'll have to use evdev.


Ok, well you'll probably be very happy when xorg 7.2 comes out with
input hotplug support. :-)

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



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Ryan Tandy

Daniel Iliev wrote:

Neil Bothwick wrote:

EXTRA_ECONF="--disable-runtime-cpudetection" emerge --options mplayer

This doesn't work with every ebuild, but it does with most of them.



Correct. This doesn't work for mplayer.



[EMAIL PROTECTED] ~ $ equery u mplayer
[ Searching for packages matching mplayer... ]
[ Colour Code : set unset ]
[ Legend: Left column  (U) - USE flags from make.conf ]
[  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-video/mplayer-1.0_pre8 ]
 U I

 - - cpudetection  : Enables runtime cpudetection


So, you want USE="-cpudetection" for mplayer.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DRI? ATI X300 PCIe

2006-07-08 Thread Ryan Tandy

fire-eyes wrote:

On Friday 07 July 2006 21:51, Ryan Tandy wrote:

Set VIDEO_CARDS="radeon" or USE="video_cards_radeon", and emerge -N
xorg-x11.  Worked for me (Radeon 9600 XT) as of the first X -configure
run, with no additional messing about.  The driver name is "radeon" if
you like to do xorg.conf by hand.


Hm. I had VIDEO_CARDS at radeon already, however, I am curious about the 
video_cards_radeon USE flag. I set this and an emerge -Np xorg-x11 doesn't 
show anything. What listens to that USE flag?




VIDEO_CARDS="radeon" implies USE="video_cards_radeon" (a nifty Portage 
feature called USE_EXPAND).  Depending on your xorg-x11 version and 
ACCEPT_KEYWORDS:


for ~arch (~x11-base/xorg-x11-7.1), xorg-server and mesa are the ones 
that use it.


for arch (~x11-base/xorg-x11-7.0), it's the xorg-x11 ebuild itself that 
has it.


If you're running ~arch, installing 7.0 will still pull in the newer, 
~arch mesa and xorg-server, so all 3 ebuilds will have the flag.  I'm 
not sure how well this configuration works.


And when I said emerge -N xorg-x11 in my original mail, it should have 
been emerge -ND xorg-x11, so that xorg-server and mesa get updated with 
the new flag as well.  On the other hand, if you already have it set, 
nothing will be rebuilt.


Have you checked that your xorg.conf is set to use that driver?  Also, 
I've never owned a PCIe system, so I don't know what support for that is 
like.  As always, YMMV ;)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Neil Bothwick
On Sat, 8 Jul 2006 23:10:17 +0200, Hemmann, Volker Armin wrote:

> > Using buildpkg means I never have to worry about forgetting to run
> > quickpkg, i can concentrate on all the other things I forget to do :)
> 
> yeah, but some people are a little bit harddisc-space constraint ;)

Yeah, I know. That's why I thought it would be useful to be able to do
this on a per-package basis, or just for system packages.

-- 
Neil Bothwick

I've been fishing with Salvador Dali, he used a
dotted line and caught every other fish.


signature.asc
Description: PGP signature


Re: [gentoo-user] Things that can be improved

2006-07-08 Thread Neil Bothwick
On Sat, 8 Jul 2006 22:59:24 +0200, Gerhard Hoogterp wrote:

> Something alike for the messages during an emerge. Often I see
> instructions on what to do after the emerge flashing by while doing an
> emerge world, I don't even want to know how many I miss.. Why not log
> those to a seperate file so one can actually find them back afterwards?

Have you missed the dozens of references to ELOG already in this thread?


-- 
Neil Bothwick

SUBLIMINALsendmoneyTAGLINE


signature.asc
Description: PGP signature


Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Ryan Tandy

Grant wrote:

My girlfriend's laptop's internal wireless card doesn't seem to
compatible with WPA and I don't want to use WEP on my Gentoo router.
This leaves me with the options of either getting her to buy a new
wireless card or sharing my laptop.  She has a user account on my
laptop and I use gdm so it's easy for her to log in, but is there
anything that can be done about the situation where I'm logged in and
away, xscreensaver has locked the screen, and she wants to log into
her account and use the system?

- Grant


[EMAIL PROTECTED] ~ $ equery u xscreensaver
[ Searching for packages matching xscreensaver... ]
[ Colour Code : set unset ]
[ Legend: Left column  (U) - USE flags from make.conf   
  ]
[  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-misc/xscreensaver-5.00 ]
 U I

 - - new-login   : Enables users to create new logins even if the X 
screen is locked by someone else



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



Re: [gentoo-user] Wireless worked, rebuilt kernel, wireless no longer works

2006-07-08 Thread Willie Wong
On Sat, Jul 08, 2006 at 11:09:39AM -0700, Penguin Lover Mark Knecht squawked:
> Hi,
>   Why would wireless no longer work after rebuilding the kernel to
> add USB OHCI support only?
> 
Since you rebuilt the kernel, you'd probably need to recompile
ndiswrapper against the new kernel. I saw that you mentioned that you
did just that. Perhaps first remove ndis from module.autoload, and see
if you can modprobe it by hand? It could be that even though you
recompiled ndiswrapper, it was compiled against the wrong kernel
version or something, so the module cannot load?

This is the only thing that comes to mind right now. 

The new kernel that you compiled, is it the same version? Or a
different one? If it is different, perhaps you can try (if you saved
it) booting into the old one and see if you can modprobe ndiswrapper
(The old one should still be in /lib/modules under the correct kernel
version). 

Best, 

W
-- 
The Short History of Medicine

2000 B.C. - Here, eat this root
1000 A.D. - That root is heathen.
Here, say this prayer.
1850 A.D. - That prayer is superstition.
Here, drink this potion.
1940 A.D. - That potion is snake oil.
Here, swallow this pill.
1985 A.D. - That pill is ineffective.
Here, take this antibiotic.
2000 A.D. - That antibiotic doesn't work any more.
Here, eat this root.
Sortir en Pantoufles: up 28 days, 23:39
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular xorg mouse problem

2006-07-08 Thread Richard Fish

On 7/8/06, Mick <[EMAIL PROTECTED]> wrote:

Thanks I did read it.  I'm afraid I do not understand the term "event"
(as in event-node, event device, event protocol, etc.)  and was not
sure if it is a necessary precondition.  Is a udev rule necessary?


The minimum you need is CONFIG_INPUT_EVDEV in your kerrnel.  In "make
menuconfig", select Device Drivers->Input device support->Event
Interface".  This will give you device nodes /dev/input/eventN for
your keyboard and mouse, in addition to /dev/input/mouseN and
/dev/input/mice.  You need to use a /dev/input/eventN node with the
synaptics driver.

As I mentioned in my email, I encountered a problem where the event
nodes would switch around on me.  For example, at one boot event0
would be my keyboard and event1 would be the trackpad, but on the next
boot event0 would be the trackpad and event1 would be the keyboard.
The custom udev rule fixed that particular problem.  But you may never
have the same problem, so this is optional.

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



[gentoo-user] snmpd.conf location confusion

2006-07-08 Thread Michael [Plouj] Ploujnikov

Hi,
I noticed that after emerging net-snmp and starting /etc/init.d/snmpd
I got the following results from snmpwalk:

$ snmpwalk -v1 -cpublic localhost
Timeout: No Response from localhost

Then I thought maybe SNMP is not configured properly. I looked up the
Gentoo SNMP howto
(http://gentoo-wiki.com/HOWTO_SNMP_and_MRTG_Made_Easy), which told me
to edit my /etc/snmp/snmpd.conf

When I opened /etc/snmp/snmpd.conf it said:

#
# net-snmp (or ucd-snmp) persistent data file.
#

# STOP STOP STOP STOP STOP STOP STOP STOP STOP
#
#   DO NOT EDIT THIS FILE 
#
# STOP STOP STOP STOP STOP STOP STOP STOP STOP

#
# DO NOT STORE CONFIGURATION ENTRIES HERE.
# Please save normal configuration tokens for snmpd in SNMPCONFPATH/snmpd.conf.
# Only "createUser" tokens should be placed here by snmpd administrators.
# (Did I mention: do not edit this file?)
#

followed by many blank lines, followed by something like:

usmUser ...
setserialno ...
engineBoots 3
oldEngineID ...


I am quite puzzled at this message. Not only does it fail to give me a
reason not to edit this file, I don't even know what SNMPCONFPATH
could possibly be and how to configure it. Is SNMPCONFPATH an env var?
Should it be set for all users? For the user under which snmpd runs?

I was brave enough, and I went a head and ignored this "STOP" message.
I replaced the contents of /etc/snmp/snmpd.conf with what the Gentoo
howto recommended, and all of the sudden the above snmpwalk command
returned tonnes of SNMP info, like expected.

I would like to have some clarification in this matter. Should I
ignore this message? Should I configure SNMPCONFPATH somehow?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless worked, rebuilt kernel, wireless no longer works

2006-07-08 Thread Mark Knecht

On 7/8/06, Willie Wong <[EMAIL PROTECTED]> wrote:

On Sat, Jul 08, 2006 at 11:09:39AM -0700, Penguin Lover Mark Knecht squawked:
> Hi,
>   Why would wireless no longer work after rebuilding the kernel to
> add USB OHCI support only?
>
Since you rebuilt the kernel, you'd probably need to recompile
ndiswrapper against the new kernel. I saw that you mentioned that you
did just that. Perhaps first remove ndis from module.autoload, and see
if you can modprobe it by hand? It could be that even though you
recompiled ndiswrapper, it was compiled against the wrong kernel
version or something, so the module cannot load?

This is the only thing that comes to mind right now.

The new kernel that you compiled, is it the same version? Or a
different one? If it is different, perhaps you can try (if you saved
it) booting into the old one and see if you can modprobe ndiswrapper
(The old one should still be in /lib/modules under the correct kernel
version).

Best,

W


Willie,
  Thanks. I did at least recompile ndiswrapper before I wrote this
post. That alone did not fix it. The kernel was the same kernel -
Gentoo stable - so 2.6.16-gentoo-r9 I think.

  I noticed that the machine was sort of sluggish with that kernel so
I built a new real-time one - 2.6.17-rt5 from the pro-audio overlay.
For that kernel I needed to build ndiswrapper for the first time,
which I did, and low and behold when I booted into that kernel
wireless did come up running right away so I think you're on the right
track but for somereason it didn't work for me on the earlier kernel.
I cannot explain why right now.

  I do have some problems that I'm going to have to work out. I am
getting messages about 'device initiated installation' - or something
like that - early in the boot process. Later the kernel posts a
message telling me either net.eth0 or net.wlan0 cannot start until the
boot process completes. I checked rc-update show and I see that I'm
startign these in default, not boot, so I think what I'm doing is
correct but possibly coldplug or hotplug is doing something wrong the
way I'm configured.

  Anyway - right now I have wireless connectivity, which is great,
but some problems persist that need to be addressed tomorrow.

Thanks much,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Ow Mun Heng
On Sat, 2006-07-08 at 13:40 -0600, Justin R Findlay wrote:
> On Sat, Jul 08, 2006 at 12:12:56PM -0700, Ow Mun Heng wrote:
> > 
> > er... click "New Login" as it's presented at the xscreensaver prompt?
> 
> I believe the newlogin feature was just introduced in xscreensaver-5.00
> which came out just recently. 

$sudo emerge -pv xscreensaver
[ebuild   R   ] x11-misc/xscreensaver-4.24  USE="gnome jpeg krb4
new-login nls offensive opengl pam -insecure-savers -kerberos -xinerama"
0 kB 

$quse new-login
x11-misc/xscreensaver/xscreensaver-4.22-r4.ebuild gnome jpeg kerberos
krb4 insecure-savers new-login nls offensive opengl pam xinerama 
x11-misc/xscreensaver/xscreensaver-4.23-r1.ebuild gnome jpeg kerberos
krb4 insecure-savers new-login nls offensive opengl pam xinerama 
x11-misc/xscreensaver/xscreensaver-4.24.ebuild gnome jpeg kerberos krb4
insecure-savers new-login nls offensive opengl pam xinerama 
x11-misc/xscreensaver/xscreensaver-5.00.ebuild gnome jpeg kerberos krb4
insecure-savers new-login nls offensive opengl pam xinerama 



-- 
Ow Mun Heng <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless worked, rebuilt kernel, wireless no longer works

2006-07-08 Thread Willie Wong
On Sat, Jul 08, 2006 at 04:15:29PM -0700, Penguin Lover Mark Knecht squawked:
>   I do have some problems that I'm going to have to work out. I am
> getting messages about 'device initiated installation' - or something
> like that - early in the boot process. Later the kernel posts a
> message telling me either net.eth0 or net.wlan0 cannot start until the
> boot process completes. I checked rc-update show and I see that I'm
> startign these in default, not boot, so I think what I'm doing is
> correct but possibly coldplug or hotplug is doing something wrong the
> way I'm configured.

there has been a recent thread about this. You might be able to play
around with /etc/conf.d/rc (I think RC_PLUG_SERVICES) [I am not quite
sure if this is the right solution though].

W
-- 
AlexMc: Physics? Physics is EZ..
M: The Langrangian is self evident.
AlexMc: Well... not that easy.
Sortir en Pantoufles: up 29 days, 39 min
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Imagemagick fails

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

revdep-rebuild tells me that I need to remerge ImageMagick, but then
fails during the remerge.  This is the error I get:

libxml2  -O2 -march=pentium4 -fomit-frame-pointer -Wall -pthread -MT
coders/coders_png_la-png.lo -MD -MP -MF
"coders/.deps/coders_png_la-png.Tpo" -c -o coders/coders_png_la-png.lo
`test -f 'coders/png.c' || echo './'`coders/png.c; \
then mv -f "coders/.deps/coders_png_la-png.Tpo"
"coders/.deps/coders_png_la-png.Plo"; else rm -f
"coders/.deps/coders_png_la-png.Tpo"; exit 1; fi
coders/png.c: In function 'ReadOnePNGImage':
coders/png.c:1755: warning: implicit declaration of function
'png_access_version'
coders/png.c:1764: error: 'png_ptr' undeclared (first use in this
function)
coders/png.c:1764: error: (Each undeclared identifier is reported only
once
coders/png.c:1764: error: for each function it appears in.)
make: *** [coders/coders_png_la-png.lo] Error 1
make: *** Waiting for unfinished jobs

!!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  imagemagick-6.2.5.5.ebuild, line 86:   Called die

Any ideas?

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

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEsEPUTPA54hjTSp4RAt1AAJ0Uwn+pbGdjEIAFIAvKg+zygmYmpwCffSW6
JoklQthphWWLh4h/qoxNPzw=
=zYM/
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless worked, rebuilt kernel, wireless no longer works

2006-07-08 Thread Mark Knecht

On 7/8/06, Willie Wong <[EMAIL PROTECTED]> wrote:

On Sat, Jul 08, 2006 at 04:15:29PM -0700, Penguin Lover Mark Knecht squawked:
>   I do have some problems that I'm going to have to work out. I am
> getting messages about 'device initiated installation' - or something
> like that - early in the boot process. Later the kernel posts a
> message telling me either net.eth0 or net.wlan0 cannot start until the
> boot process completes. I checked rc-update show and I see that I'm
> startign these in default, not boot, so I think what I'm doing is
> correct but possibly coldplug or hotplug is doing something wrong the
> way I'm configured.

there has been a recent thread about this. You might be able to play
around with /etc/conf.d/rc (I think RC_PLUG_SERVICES) [I am not quite
sure if this is the right solution though].

W


Thanks. I missed that thread so I'll go looking tomorrow morning.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



[gentoo-user] EIX and sunrise overlay

2006-07-08 Thread Ow Mun Heng
I just found out about sunrise overlay and I've added a few overlays
into my tree.
Seems that eix doesn't know about it. How can I inform eix about it?

when I do a update-eix --dump I do see that I didn't exclude any trees.

Eix however, does know about my overlays in /usr/local/portage

and yes, I did put in source /usr/portage/layman/make.conf in make.conf

-- 
Ow Mun Heng <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Imagemagick fails

2006-07-08 Thread Ryan Tandy

gentuxx wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

revdep-rebuild tells me that I need to remerge ImageMagick, but then
fails during the remerge.  This is the error I get:

libxml2  -O2 -march=pentium4 -fomit-frame-pointer -Wall -pthread -MT
coders/coders_png_la-png.lo -MD -MP -MF
"coders/.deps/coders_png_la-png.Tpo" -c -o coders/coders_png_la-png.lo
`test -f 'coders/png.c' || echo './'`coders/png.c; \
then mv -f "coders/.deps/coders_png_la-png.Tpo"
"coders/.deps/coders_png_la-png.Plo"; else rm -f
"coders/.deps/coders_png_la-png.Tpo"; exit 1; fi
coders/png.c: In function 'ReadOnePNGImage':
coders/png.c:1755: warning: implicit declaration of function
'png_access_version'
coders/png.c:1764: error: 'png_ptr' undeclared (first use in this
function)
coders/png.c:1764: error: (Each undeclared identifier is reported only
once
coders/png.c:1764: error: for each function it appears in.)
make: *** [coders/coders_png_la-png.lo] Error 1
make: *** Waiting for unfinished jobs

!!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  imagemagick-6.2.5.5.ebuild, line 86:   Called die

Any ideas?

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

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEsEPUTPA54hjTSp4RAt1AAJ0Uwn+pbGdjEIAFIAvKg+zygmYmpwCffSW6
JoklQthphWWLh4h/qoxNPzw=
=zYM/
-END PGP SIGNATURE-



Try remerging libpng and/or libxml2.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer is slow in xfce but Ok in other X

2006-07-08 Thread Daniel Iliev
Chuanwen Wu wrote:
> I found that the problem is the gmplayer,but no mplayer.
> I start mplayer from terminal,everything is fluent.
> Is there any other way to use mplayer in xfce(just no use gmplayer)??

Have you tried to run "gmplayer" (not "mplayer") from terminal and check
for error messages in the terminal?
Have you tried to run gmplayer like a different user and see if the
problem remains or disappears?
There should be something that indicates where the problem is.


-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage on RHEL4?

2006-07-08 Thread Mark Kirkwood

Randy Barlow wrote:

Howdy,

I've got a fun little project to install portage on RHEL 4.
Unfortunately, the powers that be won't allow me to put Gentoo, so I
figured I'd do the best I can and put portage :)



I would recommend attacking this at the "Business" level:

1/ Find out why they (think they) want Redhat.
2/ See if you can get agreement to build a Gentoo demo system to show 
them that Gentoo is better (it is typically gonna perform better at least!).


Cheers

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



Re: [gentoo-user] Clean up world file

2006-07-08 Thread Walter Dnes
On Sat, Jul 08, 2006 at 05:30:54AM -0500, Anthony E. Caudel wrote
> There was a recent thread about about what should or should not be in
> the world file.
> 
> Regarding that, my world file is bloated.  Until recently, I had a
> tendency to do updates piecemeal but did not use --oneshot.  This put
> packages in that I do not think belong.

  This may not help now, but keep it in mind next time you install from
scratch...
  step 1) install a basic text-console-only system
  step 2) "emerge gimp" (or some other X app).  You'll end up with a gimp
  and a functional X and twm.  I prefer blackbox.  So I would
  "emerge bbkeys".  This pulls in and sets up blackbox on X.

  The emerge at step 2) pulls in umpteen dependancies, and is an
overnight job on a 400 mhz PII.  I have quite a few apps, and my world
is 85 lines.

-- 
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] [OT] xfs recovery + kernel panic

2006-07-08 Thread Daniel Iliev
Richard Fish wrote:
> On 7/7/06, Daniel Iliev <[EMAIL PROTECTED]> wrote:
>> A way out of the topic, but its a question that I want to ask.
>> What is the performance hit of using encrypted file system?
>> I hate laptops, but you never know ;-)
> 
> Not so bad.  I really don't notice any real performance problem using
> it, certainly not much worse than a typical laptop HD:
> 
> carcharias rjf # hdparm -Tt /dev/sda /dev/sys/swap
> 
> /dev/sda:
> Timing cached reads:   4096 MB in  1.99 seconds = 2053.20 MB/sec
> Timing buffered disk reads:  142 MB in  3.01 seconds =  47.17 MB/sec
> 
> /dev/sys/swap:
> Timing cached reads:   4848 MB in  1.99 seconds = 2432.13 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
> ioctl for device
> Timing buffered disk reads:  138 MB in  3.01 seconds =  45.79 MB/sec
> HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
> ioctl for device
> 
> The biggest hit is in CPU, and having a dual-core system helps *a lot*
> here.  Running  a "dd if=/dev/sys/root of=/dev/null bs=64k" while
> running top at the same time shows that kcryptd consumes about 75% of
> the processor time on a *single* CPU.
> 
> BTW, I also use dm-crypt on my AMD X2 desktop at home.  There I have a
> raid0 array which can read at almost 130MB/sec total bandwidth.  If
> memory serves, using dm-crypt there cut my read bandwidth down to
> about 105MB/s, and writes to 90MB/s.  The issue there seems mostly
> that dm-crypt is a single-thread, even when encrypting multiple
> devices, so cannot really take advantage of my dual-core processor in
> that system.
> 
> I think loop-AES gives higher performance on that box due to having
> one thread per encrypted device, but it isn't enough for me to worry
> about.
> 
> Side note: I think it is appalling that government and business
> laptops are generally so insecure.  Every week brings news of yet
> another laptop theft that contained sensitive data for hundreds of
> thousands to millions of people, and oh, btw, we didn't encrypt it
> "because it's hard".  Maybe I'm paranoid, but I like knowing that if
> my house is ever robbed and my computer stolen, I don't have to worry
> that the crooks have all my financial records!
> 
>> Bug-report...Well I'm very confused here. Isn't it Gentoo the right
>> place to file
>> a bug-report at? After all these sources get patched with gentoo
>> patches. I haven't
> 
> Well you can certainly file on bugs.gentoo.org, and let the gentoo
> devs work with upstream to find a fix.  And in many cases that is the
> right thing to do, so I'll leave it up to you.
> 
> My view is that Gentoo devs are all volunteers, and very busy, so if I
> come across an issue that is clearly a problem with $upstream, and not
> with any gentoo patches or compile options, and I feel confident that
> I can communicate properly with $upstream, then I will file the bug
> there instead.  The fix can then get filtered down to Gentoo.  In
> fact, if it might be awhile before the fix filters down, I would file
> a bug both places, with the gentoo one being "please apply patch
> referenced in http://bugs.upstream.org/#12345";.
> 
>> On the other hand gentoo people have masked these sources with "~" so
>> they
>> could also refuse to take the report (unlikely,but..).
> 
> Yeah, unlikely, considering that ~arch is supposed to be for testing!!
> 
>> them and send bug-reports directly to the mainstream developers who of
>> course refuse to accept the report because Gentoo has patched their
>> sources
> 
> Well, like I said, for me this depends on the nature of the bug.  So
> far I've never had $upstream reject a bug report because I was using
> Gentoo.  Well, ok, I have, but that was a commercial software company
> that just said "try {RedHat,SuSe}".
> 
> -Richard

Richard, thank you very much for this detailed answer.

I'm very impressed by the results of your dual core CPU. May be the time
has really come for me to upgrade the box.
On my AthlonXP 1700+ the results show that the CPU-intensive *cached
reads* are far beyond slow compared to yours. I had *buffered disk read*
results about 104MB/s only when the disks were new and empty. Now the
file system is about 90% full and its normal to get decreased speeds.
Here are my results for comparison.

 hdparm -Tt /dev/sd{a,b} /dev/md{0,1}

/dev/sda:
 Timing cached reads:   1796 MB in  2.00 seconds = 897.19 MB/sec
 Timing buffered disk reads:  140 MB in  3.04 seconds =  46.05 MB/sec

/dev/sdb:
 Timing cached reads:   1740 MB in  2.00 seconds = 868.99 MB/sec
 Timing buffered disk reads:  160 MB in  3.10 seconds =  51.58 MB/sec

/dev/md0:
 Timing cached reads:   1756 MB in  2.00 seconds = 877.73 MB/sec
 Timing buffered disk reads:  298 MB in  3.01 seconds =  99.13 MB/sec

/dev/md1:
 Timing cached reads:   1724 MB in  2.00 seconds = 861.35 MB/sec
 Timing buffered disk reads:  272 MB in  3.01 seconds =  90.30 MB/sec

The conclusion is that I am not going to encrypt the disks. Not at least
until I

Re: [gentoo-user] [SOLVED] xfs recovery + kernel panic

2006-07-08 Thread Daniel Iliev
The workaround I applied is to put an initfs image into kernel.
The init script there "pre-mounts" the root file system and afterwards
switches root. Nothing else.
I tested twice by booting the machine and intentionally turning its
power off.
When stared again xfs recovery starts, finishes, then the switch_root
takes place followed by the real init routine. In other words everything
seems to work as supposed to.
If the problem doesn't appear again after several unclean shutdowns I am
going to send a bug report.

So this should hopefully be the last message in this thread.

Thanks everyone!

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modular X, nvidia, and unresolved symbols

2006-07-08 Thread Donnie Berkholz
John Blinka wrote:
> Symbol fbCloseScreen from module
> /usr/lib/xorg/modules/drivers/nvidia_drv.o is unresolved!

See how all your nvidia driver ends with .o instead of .so? That means
you didn't build the drivers with USE=dlloader (which is now set by
default).

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user][OT]Things that can be improved

2006-07-08 Thread Daniel Iliev
Ryan Tandy wrote:

> 
> [EMAIL PROTECTED] ~ $ equery u mplayer
> [ Searching for packages matching mplayer... ]
> [ Colour Code : set unset ]
> [ Legend: Left column  (U) - USE flags from make.conf ]
> [   : Right column (I) - USE flags packages was installed with ]
> [ Found these USE variables for media-video/mplayer-1.0_pre8 ]
>  U I
> 
>  - - cpudetection  : Enables runtime cpudetection
> 
> 
> So, you want USE="-cpudetection" for mplayer.

Ryan, thank you for trying to help.
I want runtime CPU detection disabled. This flag is supposed to enable
it when set.

Well, I want it disabled, so my flag is set correctly.

[ebuild   R   ] media-video/mplayer-1.0_pre8  USE="... -cpudetection
..." 8,882 kB

For the matter of fact after your mail I turned the flag on and off and
tried again and again. The result of ./configure phase was always the same:

Quote:
==
Config files successfully generated by ./configure !

  Install prefix: /usr
  Data directory: /usr/share/mplayer
  Config direct.: /usr/share/mplayer


  Byte order: little-endian
  Optimizing for: Runtime CPU-Detection enabled
==

Anyway this is not so important - mplayer performs fine. I used this
only for an example but it turns that may be we are talking about a bug.

Has anyone observed the same thing? That the flag "cpudetection" does
nothing, no matter if enabled or disabled?

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Imagemagick fails

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

Ryan Tandy wrote:
> gentuxx wrote:
> revdep-rebuild tells me that I need to remerge ImageMagick, but then
> fails during the remerge.  This is the error I get:
>
> libxml2  -O2 -march=pentium4 -fomit-frame-pointer -Wall -pthread -MT
> coders/coders_png_la-png.lo -MD -MP -MF
> "coders/.deps/coders_png_la-png.Tpo" -c -o coders/coders_png_la-png.lo
> `test -f 'coders/png.c' || echo './'`coders/png.c; \
> then mv -f "coders/.deps/coders_png_la-png.Tpo"
> "coders/.deps/coders_png_la-png.Plo"; else rm -f
> "coders/.deps/coders_png_la-png.Tpo"; exit 1; fi
> coders/png.c: In function 'ReadOnePNGImage':
> coders/png.c:1755: warning: implicit declaration of function
> 'png_access_version'
> coders/png.c:1764: error: 'png_ptr' undeclared (first use in this
> function)
> coders/png.c:1764: error: (Each undeclared identifier is reported only
> once
> coders/png.c:1764: error: for each function it appears in.)
> make: *** [coders/coders_png_la-png.lo] Error 1
> make: *** Waiting for unfinished jobs
>
> !!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   imagemagick-6.2.5.5.ebuild, line 86:   Called die
>
> Any ideas?
>
> >>
>
> > Try remerging libpng and/or libxml2.
>
>
Thanks for the response, but, unfortunately, that didn't help.  I
re-ran revdep-rebuild with the -pv options this time, and realized
that tetex and graphviz also need to be recompiled.  They were also
immediately before imagemagick in the rebuild order.  I checked
`equery depgraph' and both were in the depgraph for imagemagick, so I
recompiled both of those and ran `fix_libtool_files.sh'.  That didn't
seem to work either.

I was able to capture this when it failed:

ImageMagick is configured as follows. Please verify that this
configuration
matches your expectations.

Host system type : i686-pc-linux-gnu

  OptionValue
- -
Shared libraries  --enable-shared=yes   yes
Static libraries  --enable-static=yes   yes
Module support--with-modules=yesyes
GNU ld--with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16   16

Delegate Configuration:
BZLIB --with-bzlib=no   no
DPS   --with-dps=yesno
FlashPIX  --with-fpx=no no
FreeType 2.0  --with-ttf=yesyes
GhostPCL  None  pcl6 (unknown)
Ghostscript   None  gs (8.15.2)
Ghostscript fonts
- --with-gs-font-dir=/usr/share/fonts/default/ghostscript
/usr/share/fonts/default/ghostscript/
Ghostscript lib   --with-gslib=no   no
Graphviz  --with-gvc=no no
JBIG  --with-jbig=nono
JPEG v1   --with-jpeg=yes   yes
JPEG-2000 --with-jp2=no no
LCMS  --with-lcms=nono
Magick++  --with-magick-plus-plus=yes   yes
PERL  --with-perl=nono
PNG   --with-png=yesyes
TIFF  --with-tiff=nono
Windows fonts --with-windows-font-dir=  none
WMF   --with-wmf=no no
X11   --with-x=yes  yes
XML   --with-xml=yesyes
ZLIB  --with-zlib=yes   yes


What's interesting to me is that all of the "expected" option/value
pairs match and/or make sense except for DPS.  So I installed gtkDPS
to see if that would make any difference.  The DPS option was now
enabled as expected, but the compile still fails in the same spot.

> --
> gentux
> echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
> gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0
> 39E2 18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFEsGmCTPA54hjTSp4RAhREAJsHwvHGQrHvsIIZxqUL6MusRZOSOQCfWP05
hYh8Lec3eRXmI+a6iuwFzbM=
=s5Ca
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing access to my laptop

2006-07-08 Thread Grant

I believe the newlogin feature was just introduced in xscreensaver-5.00
which came out just recently.  Be sure to enable the new-login USE flag
in /etc/portage/package.use for x11-misc/xscreensaver.


I've tried xscreensaver-4.24 and 5.00 both compiled with new-login and
I don't see any kind of a new login button on the locked screen
display.  How can I get that to work?

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



Re: [gentoo-user]MPlayer: CPU Detection? (was: [OT]Things that can be improved)

2006-07-08 Thread Ryan Tandy

Daniel Iliev wrote:

Quote:
==
Config files successfully generated by ./configure !

  Install prefix: /usr
  Data directory: /usr/share/mplayer
  Config direct.: /usr/share/mplayer


  Byte order: little-endian
  Optimizing for: Runtime CPU-Detection enabled
==


Byte order: little-endian
Optimizing for: pentium4 mmx mmxext sse sse2 mtrr

[ebuild   R   ] media-video/mplayer-1.0_pre8  USE="X alsa gif gtk i8x0 
jpeg mmx mmxext opengl png sse sse2 truetype unicode vorbis win32codecs 
xv xvid -3dfx -3dnow -3dnowext -aac -aalib -arts -bidi -bindist -bl 
-cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts 
-dv -dvb -dvd -dvdread -encode -esd -fbcon -ggi -ipv6 -jack -joystick 
-libcaca -lirc -live -livecd -lzo -mad -matrox -musepack -nas -nvidia 
-openal -oss -real -rtc -samba -sdl -speex -svga -tga -theora -v4l -v4l2 
-x264 -xanim -xinerama -xmms -xvmc" 0 kB


And according to the ebuild, it works properly...

if use cpudetection || use livecd || use bindist
myconf = "${myconf} --enable-runtime-cpudetection"
fi

I'm hoping they aren't, but are livecd or bindist in your USE?  Is your 
MPlayer ebuild coming from an overlay?  Have you synced recently?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Imagemagick fails

2006-07-08 Thread Ryan Tandy
if /bin/sh ./libtool --silent --tag=CC --mode=compile 
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand 
-I/usr/include/freetype2 -I/usr/include/libxml2  -O2 -march=pentium4 
-pipe -Wall -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF 
"coders/.deps/coders_png_la-png.Tpo" -c -o coders/coders_png_la-png.lo 
`test -f 'coders/png.c' || echo './'`coders/png.c; \
	then mv -f "coders/.deps/coders_png_la-png.Tpo" 
"coders/.deps/coders_png_la-png.Plo"; else rm -f 
"coders/.deps/coders_png_la-png.Tpo"; exit 1; fi

coders/png.c: In function 'ReadOnePNGImage':
coders/png.c:1755: warning: implicit declaration of function 
'png_access_version'

coders/png.c:1764: error: 'png_ptr' undeclared (first use in this function)
coders/png.c:1764: error: (Each undeclared identifier is reported only once
coders/png.c:1764: error: for each function it appears in.)
make: *** [coders/coders_png_la-png.lo] Error 1

!!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  imagemagick-6.2.5.5.ebuild, line 86:   Called die

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


[EMAIL PROTECTED] ~ $

Well. :P

On second thought, I should have checked Bugzilla *before* downloading 
and compiling all that...


https://bugs.gentoo.org/show_bug.cgi?id=136452

Bottom line: you need ~x86 libpng and imagemagick until libpng-1.2.12-r1 
and imagemagick-6.2.8.0 are stabled.


HTH. ;)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user]MPlayer: CPU Detection?

2006-07-08 Thread Daniel Iliev
Ryan Tandy wrote:
> And according to the ebuild, it works properly...
> 
> if use cpudetection || use livecd || use bindist
> myconf = "${myconf} --enable-runtime-cpudetection"
> fi
> 
> I'm hoping they aren't, but are livecd or bindist in your USE?  Is your
> MPlayer ebuild coming from an overlay?  Have you synced recently?

Blaah! It is all my fault. "bindist" was on. And I can't even remember
why and when I have done this. Strange.

The good news is:
===
Config files successfully generated by ./configure !

  Install prefix: /usr
  Data directory: /usr/share/mplayer
  Config direct.: /usr/share/mplayer

  Byte order: little-endian
  Optimizing for: athlon-xp mmx mmxext 3dnow 3dnowext sse mtrr
===


Thank you very much, Ryan!

-- 
Best regards,
Daniel

-- 
gentoo-user@gentoo.org mailing list



  1   2   >