Re: [gentoo-user] Getting rid of all kde components

2008-11-19 Thread Dirk Uys
On Tue, Nov 18, 2008 at 8:14 AM, Harry Putnam <[EMAIL PROTECTED]> wrote:
> I've decided to stop using KDE after yrs of use... given that gentoo
> compiles everything from scratch, its just getting to much time lost
> jacking around with kde during upgrades.
>
> But also I'd forgotten what the oldtime linux desktops were like.
> fvwm was the main one in use when I started circa 1997.
>
> I see blackbox is even a bit more stark... but since I am mainly
> command line oriented it doesn't present a problem.
>
> ...


I don't know if you have all the KDE stuff installed, because that
does take ages, and pulls in the whole KDE kitchen sync. When I
install kde I emerge kdesktop (or startkde, cant remember now) and let
it pull all its dependencies. This normally results in a very cut down
kde - no sound mixer, games, kmail, moonphase applets, etc. (a lot
less time spent updating)

Or try WindowMaker, I used to use it and I'm still very fond of it.

Regards
Dirk



Re: [gentoo-user] package masked perl left and right... what now??

2008-11-19 Thread Stroller


On 18 Nov 2008, at 20:13, Michael Higgins wrote:

...
All I can say (beyond "WTF") is *wow*, someone did something knowing  
it would/could/did create havoc, but didn't bother to broadcast it  
to those it would affect.


That's because havoc is The Gentoo Way (tm).
:D

Stroller.



Re: [gentoo-user] Deny flash to a specific user?

2008-11-19 Thread Stroller


On 19 Nov 2008, at 04:06, Albert Hopkins wrote:

...
Why do you want to do this? ... I don't understand why.
What is your justification for doing that?


To prevent his kids from watching YouPorn.

Stroller.




Re: [gentoo-user] Deny flash to a specific user?

2008-11-19 Thread Qian Qiao
On Wed, Nov 19, 2008 at 09:54, Stroller <[EMAIL PROTECTED]> wrote:
>
> On 19 Nov 2008, at 04:06, Albert Hopkins wrote:
>>
>> ...
>> Why do you want to do this? ... I don't understand why.
>> What is your justification for doing that?
>
> To prevent his kids from watching YouPorn.
>
> Stroller.

In that case, isn't putting

127.0.0.1 ADDRESSES_TO_BE_BLOCKED

into /etc/hosts easier?

Or just set up a proxy.

Joe

-- 
There are 3 kinds of people in the world: those who can count, and
those who can't.



[gentoo-user] could not build apache2

2008-11-19 Thread Vladimir Rusinov
Hi.

I can't build apache2. It fails with following error:


checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for SSLeay_version in -lcrypto... yes
checking for SSL_CTX_new in -lssl... no
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for SSL_set_cert_store... no
configure: error: ... Error, SSL/TLS libraries were missing or unusable

!!! Please attach the following file when seeking support:
!!! /tmp/portage/app-admin/apache-tools-2.2.9/work/httpd-2.2.9/config.log
 *
 * ERROR: app-admin/apache-tools-2.2.9 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2364:  Called econf '--sbindir=/usr/sbin'
'--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr'
'--with-ssl=/usr' '--enable-ssl'
 *   ebuild.sh, line  526:  Called die
 * The specific snippet of code:
 *  die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/tmp/portage/app-admin/apache-tools-2.2.9/temp/build.log'.
 * The ebuild environment file is located at
'/tmp/portage/app-admin/apache-tools-2.2.9/temp/environment'.
 *

Here are most ineresting lines from config.log:

configure:15675: checking for SSL_set_cert_store
configure:15731: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O3 -pipe
-fomit-frame-pointer -pthread  -DLINUX=2 -D_REENTRANT -D_GNU_
SOURCE  -Wl,--no-as-needed -L/usr/lib64/mozldap/ -L/usr/lib64/nss/
-L/usr/lib64/nspr -L/usr/lib64 -L/usr/lib conftest.c -lcrypto -lm -L/us
r/lib64 -lpcre  -luuid -lrt -lcrypt  -lpthread -ldl >&5
/tmp/portage/app-admin/apache-tools-2.2.9/temp/ccTIrw3a.o: In function
`main':
conftest.c:(.text+0x7): undefined reference to `SSL_set_cert_store'

# emerge -pv openssl

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

Calculating dependencies... done!
[ebuild   R   ] dev-libs/openssl-0.9.8g-r2  USE="sse2 zlib -bindist -gmp
-kerberos -test" 0 kB

What's wrong?

-- 
Vladimir Rusinov
http://greenmice.info/


Re: [gentoo-user] Deny flash to a specific user?

2008-11-19 Thread Michael Moore
On 10:05 Wed 19 Nov , Qian Qiao wrote:
> On Wed, Nov 19, 2008 at 09:54, Stroller <[EMAIL PROTECTED]> wrote:
> >
> > On 19 Nov 2008, at 04:06, Albert Hopkins wrote:
> >>
> >> ...
> >> Why do you want to do this? ... I don't understand why.
> >> What is your justification for doing that?
> >
> > To prevent his kids from watching YouPorn.
> >
> > Stroller.
> 
> In that case, isn't putting
> 
> 127.0.0.1 ADDRESSES_TO_BE_BLOCKED
> 
> into /etc/hosts easier?
> 
> Or just set up a proxy.
> 
> Joe
> 
> -- 
> There are 3 kinds of people in the world: those who can count, and
> those who can't.

No, perhaps not, considering the fact that there are so many sites with
pron. Maintaining such a massive hosts file is a disaster and worse still 
the solution is not fullproof. But then, FWIW such problems seldom have
foolproof solutions.

The idea of proxy is very valid(in particular the transparent proxy
implementation), mixed with mime-type handling could do the trick. What
complicates the situation slightly is that it is to be done for just one
user. I don't personally use proxy so not sure about the implementation
details. Perhaps somebody with the usage experience can provide a
detailed solution, once we are sure as to the reason for the question.

-- 

Regards,
Michael Moore 
About *NIX: If its not fun, why do it?



Re: [gentoo-user] Unable to build sys-kernel/hardened-sources-2.6.25-r9

2008-11-19 Thread Sergey Ovcharenko

Chris Lieb пишет:

I am attempting to switch a VM over to the hardened profile and the
hardened kernel.  I have rebuilt almost all of the packages on my
computer after switching to th hardened profile, save for a few kernel
modules.  I have emerged hardened-sources-2.6.25-r9 and am trying to
build it.  I tried copying the .config that I had used with
gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
/usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
followed by a `make && make modules_install`, but received an error
almost right out of the gate.  The error concerns some part of the frame
buffer driver.  Here is the output I get from make:

  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  CALLscripts/checksyscalls.sh
  CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
  CC  drivers/video/uvesafb.o
drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
this function)
drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
reported only once
drivers/video/uvesafb.c:593: error: for each function it appears in.)
make[2]: *** [drivers/video/uvesafb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
  INSTALL drivers/crypto/geode-aes.ko
  INSTALL drivers/scsi/scsi_wait_scan.ko
  INSTALL drivers/usb/core/usbcore.ko
  INSTALL drivers/usb/host/ehci-hcd.ko
  INSTALL drivers/usb/host/uhci-hcd.ko
  INSTALL drivers/usb/storage/usb-storage.ko
  DEPMOD  2.6.25-hardened-r9

The only way I can get rid of the error is to disable frame buffer
entirely (Device drivers -> Graphics support -> Support for frame buffer
devices), which is not optimal.

Does anyone know what is causing this?

Thanks,
Chris

Attached: `emerge --info` and .config being used
  

Did you emerge sys-apps/v86d before compiling your kernel?
I'm not sure if this is the case but when i build  a tuxonice-2.6.26 
kernel the uvesafb driver won't compile without  it.




Re: [gentoo-user] Deny flash to a specific user?

2008-11-19 Thread Qian Qiao
On Wed, Nov 19, 2008 at 15:07, Michael Moore <[EMAIL PROTECTED]> wrote:
> On 10:05 Wed 19 Nov , Qian Qiao wrote:
>> On Wed, Nov 19, 2008 at 09:54, Stroller <[EMAIL PROTECTED]> wrote:
>> >
>> > On 19 Nov 2008, at 04:06, Albert Hopkins wrote:
>> >>
>> >> ...
>> >> Why do you want to do this? ... I don't understand why.
>> >> What is your justification for doing that?
>> >
>> > To prevent his kids from watching YouPorn.
>> >
>> > Stroller.
>>
>> In that case, isn't putting
>>
>> 127.0.0.1 ADDRESSES_TO_BE_BLOCKED
>>
>> into /etc/hosts easier?
>>
>> Or just set up a proxy.
>>
>> Joe
>>
>> --
>> There are 3 kinds of people in the world: those who can count, and
>> those who can't.
>
> No, perhaps not, considering the fact that there are so many sites with
> pron. Maintaining such a massive hosts file is a disaster and worse still
> the solution is not fullproof. But then, FWIW such problems seldom have
> foolproof solutions.
>
> The idea of proxy is very valid(in particular the transparent proxy
> implementation), mixed with mime-type handling could do the trick. What
> complicates the situation slightly is that it is to be done for just one
> user. I don't personally use proxy so not sure about the implementation
> details. Perhaps somebody with the usage experience can provide a
> detailed solution, once we are sure as to the reason for the question.

I did a quick google for "linux parental control", turned out there
are a couple of solutions, each with their strengths and weaknesses
ofc.

If it's parental control that the OP is after, then he can have a look at them.

Then again, we are only guessing the OP's intention.

-- Joe

-- 
There are 3 kinds of people in the world: those who can count, and
those who can't.



Re: [gentoo-user] Unable to build sys-kernel/hardened-sources-2.6.25-r9

2008-11-19 Thread Chris Lieb


Sergey Ovcharenko wrote:
> Chris Lieb пишет:
>> I am attempting to switch a VM over to the hardened profile and the
>> hardened kernel.  I have rebuilt almost all of the packages on my
>> computer after switching to th hardened profile, save for a few kernel
>> modules.  I have emerged hardened-sources-2.6.25-r9 and am trying to
>> build it.  I tried copying the .config that I had used with
>> gentoo-sources-2.6.25-r9 to /usr/src/linux (symlinked to
>> /usr/src/linux-2.6.25-hardened-r9) and doing a `make menuconfig`
>> followed by a `make && make modules_install`, but received an error
>> almost right out of the gate.  The error concerns some part of the frame
>> buffer driver.  Here is the output I get from make:
>>
>>   CHK include/linux/version.h
>>   CHK include/linux/utsrelease.h
>>   CALLscripts/checksyscalls.sh
>>   CHK include/linux/compile.h
>> dnsdomainname: Host name lookup failure
>>   CC  drivers/video/uvesafb.o
>> drivers/video/uvesafb.c: In function `uvesafb_vbe_getpmi':
>> drivers/video/uvesafb.c:593: error: `pmi_code' undeclared (first use in
>> this function)
>> drivers/video/uvesafb.c:593: error: (Each undeclared identifier is
>> reported only once
>> drivers/video/uvesafb.c:593: error: for each function it appears in.)
>> make[2]: *** [drivers/video/uvesafb.o] Error 1
>> make[1]: *** [drivers/video] Error 2
>> make: *** [drivers] Error 2
>>   INSTALL drivers/crypto/geode-aes.ko
>>   INSTALL drivers/scsi/scsi_wait_scan.ko
>>   INSTALL drivers/usb/core/usbcore.ko
>>   INSTALL drivers/usb/host/ehci-hcd.ko
>>   INSTALL drivers/usb/host/uhci-hcd.ko
>>   INSTALL drivers/usb/storage/usb-storage.ko
>>   DEPMOD  2.6.25-hardened-r9
>>
>> The only way I can get rid of the error is to disable frame buffer
>> entirely (Device drivers -> Graphics support -> Support for frame buffer
>> devices), which is not optimal.
>>
>> Does anyone know what is causing this?
>>
>> Thanks,
>> Chris
>>
>> Attached: `emerge --info` and .config being used
>>   
> Did you emerge sys-apps/v86d before compiling your kernel?
> I'm not sure if this is the case but when i build  a tuxonice-2.6.26
> kernel the uvesafb driver won't compile without  it.
>
The problem seems to have been fixed by a patch in
sys-kernel/hardened-sources-2.6.25-r10

Chris




Re: [gentoo-user] Java "bad version number" - what to up/downgrade?

2008-11-19 Thread Grant
>> >> I'm getting the following from dumphd:
>> >>
>> >> "bad version number in .class file"
>> >>
>> >> I gather that I may have the wrong version of something Java installed
>> >> but I don't know how that works.  Can anyone tell me what package I
>> >> should try upgrading or downgrading?
>> >
>> > This normally means the class file is from a new version of Java then
>> > the
>> > virtual machine trying to run it (i.e. class files compiled under Java
>> > 1.5, but your trying to run it in Java 1.4).
>> >
>> > "java-config -L" (without quotes) will show you what virtual machines
>> > you
>> > have installed. On my machine it shows (the asterisk is the currently
>> > selected one, i.e. what will be used to run java applications):
>> >
>> > [EMAIL PROTECTED] ~ $ java-config -L
>> > The following VMs are available for generation-2:
>> > 1)  Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
>> > 2)  Sun JDK 1.5.0.16 [sun-jdk-1.5]
>> > *)  Sun JDK 1.6.0.07 [sun-jdk-1.6]
>> > [EMAIL PROTECTED] ~ $
>> >
>> > If the newest VM isn't selected as the default, read the man page for
>> > java-config and tell it to set the newest one as default (1.6 is the
>> > newest version).
>> >
>> > Shawn
>>
>> Thank you very much.  Since I'm not a Java developer, do I want jre as
>> opposed to jdk?
>>
>> - Grabt
>
> Yeah, the JRE will be fine. The important thing is just which version is
> active. I do Java development, hence the JDK.
>
> Shawn

Can you tell me the best way to Gentoo all of this?  I've now got:

# java-config -L
The following VMs are available for generation-2:
1)  Sun 32bit JRE 1.6.0.07 [emul-linux-x86-java-1.6]
2)  Sun JDK 1.5.0.16 [sun-jdk-1.5]
*)  Sun JDK 1.6.0.07 [sun-jdk-1.6]

and dev-java/sun-jdk in my world file, and it wasn't there before.
Also, emerge world wants to install virtual/jre-1.6.0 and
virtual/jdk-1.6.0.  Should I un-emerge sun-jdk-1.5?

- Grant



Re: [gentoo-user] Back up a server in real-time

2008-11-19 Thread Mark Somerville
On Sat, Nov 15, 2008 at 07:45:04PM +, Mick wrote:
> Without gentoo-wiki my knowledge level is rather poor (just like my memory!)
> 
> What would you use to back up a running server without taking it off line?

I like rdiff-backup, which gives incremental backups over rsync.

Mark


pgpHGlsB6HS3f.pgp
Description: PGP signature


[gentoo-user] Re: Back up a server in real-time

2008-11-19 Thread Harry Putnam
Mark Somerville <[EMAIL PROTECTED]> writes:

> On Sat, Nov 15, 2008 at 07:45:04PM +, Mick wrote:
>> Without gentoo-wiki my knowledge level is rather poor (just like my memory!)
>> 
>> What would you use to back up a running server without taking it off line?
>
> I like rdiff-backup, which gives incremental backups over rsync.

I just started playing with rdiff-backup.  If you are familiar with
rsnapshot maybe you'll know if rdiff-backup is better in some way.

I've been using rsnapshot for quite a while but haven't had to do a
serious restore (knock on wood).

The small scale restores I've needed seemed to be something of a pita.

I guess you have to search the rsnapshot created hardlinks for the
version you want manually.  At least that is what I ended up doing.

There may be better ways but rsnapshot doesn't supply any help in that
regard far as I know.  Other than the biggest part of having created
the file you need that is.




Re: [gentoo-user] Testing lyx-1.6.0

2008-11-19 Thread Pavel Sanda
> I have been very disappointed by lyx-1.6.0 as it seemingly misses some 
> features (and files):
> - no icons for the toolbars
> - no config files for displaying lyx files as dvi, postscript or pdf
> - no conversion files
> Did I miss something, or v.1.6.0 has still to be completed ?

there must be something wrong with your instalation.
does tools->reconfigure help?

pavel



[gentoo-user] Re: tools currently available for update of etc files after updates

2008-11-19 Thread Harry Putnam
Dirk Heinrichs <[EMAIL PROTECTED]> writes:

> Am Sonntag, 16. November 2008 00:05:56 schrieb Harry Putnam:
>
>> I did try `cfg-update' but I thought it was really slow.
>
> Slow? For me it's blazingly fast.

I opened this thread back up to eat a little crow.

Now that some of my config files have been thru cfg-updates process
once.  I see new updates processed literally in the blink of an eye.

So I now agree that `blazingly' is quite appropriate.




[gentoo-user] This is driving me crazy - firefox3 jumping windows

2008-11-19 Thread William Kenworthy
This is driving me crazy - firefox3 jumping windows whenever I click on
a URL in evolution.

>From some emails I found on the gnome lists, it appears to be a design
change in metacity that was reverted due to (firefox3) user outcry

However, I have two systems with the same gnome/metacity/firefox
versions that behave differently - both old installs (~1999 and 2002)
but otherwise up to date.  Ive rebuilt metacity a couple of times and
firefox has been through a few upgrades - rebooted but no change :( One
jumps, one doesnt which implies it may be a config option somewhere.

Its possible it can be fixed by deleting the .gnome stuff, but I dont
want to do this unless I have to ...

BillK


-- 
William Kenworthy <[EMAIL PROTECTED]>
Home in Perth!




[gentoo-user] Hoe to stop em8300-modulesinstalling?

2008-11-19 Thread William Kenworthy
An emerge world wants to install em8300-modules which according to
equery is caused by sys-kernel/gentoo-sources-2.6.27-r3 which is
installed but not in use - yet.

As em8300 wont build, and I dont have a one (I presume its a video
chip-set??) I dont want to fuss with it, so how do I stop world trying
to install it?

Billk


-- 
William Kenworthy <[EMAIL PROTECTED]>
Home in Perth!




Re: [gentoo-user] Hoe to stop em8300-modulesinstalling?

2008-11-19 Thread Dale
William Kenworthy wrote:
> An emerge world wants to install em8300-modules which according to
> equery is caused by sys-kernel/gentoo-sources-2.6.27-r3 which is
> installed but not in use - yet.
>
> As em8300 wont build, and I dont have a one (I presume its a video
> chip-set??) I dont want to fuss with it, so how do I stop world trying
> to install it?
>
> Billk
>
>
>   

Is there a USE flag that is causing gentoo-sources to pull it in? 
That's all I can think of unless there is a roach in the works somewhere. 

If you are new to Gentoo, add the -v option to emerge so it will show
the USE flags and other info that may shed some light.

Dale

:-)  :-) 



Re: [gentoo-user] Hoe to stop em8300-modulesinstalling?

2008-11-19 Thread Dave Jones
Hi,

Dale wrote on 20/11/08 02:40:
> William Kenworthy wrote:
>> An emerge world wants to install em8300-modules which according to
>> equery is caused by sys-kernel/gentoo-sources-2.6.27-r3 which is
>> installed but not in use - yet.
>>
>> As em8300 wont build, and I dont have a one (I presume its a video
>> chip-set??) I dont want to fuss with it, so how do I stop world trying
>> to install it?

> Is there a USE flag that is causing gentoo-sources to pull it in? 
> That's all I can think of unless there is a roach in the works somewhere. 

> If you are new to Gentoo, add the -v option to emerge so it will show
> the USE flags and other info that may shed some light.

Removing the USE=dxr3 flag seemed to work for me.

Cheers, Dave



Re: [gentoo-user] Hoe to stop em8300-modulesinstalling?

2008-11-19 Thread Dale
Dave Jones wrote:
> Hi,
>
> Dale wrote on 20/11/08 02:40:
>   
>> William Kenworthy wrote:
>> 
>>> An emerge world wants to install em8300-modules which according to
>>> equery is caused by sys-kernel/gentoo-sources-2.6.27-r3 which is
>>> installed but not in use - yet.
>>>
>>> As em8300 wont build, and I dont have a one (I presume its a video
>>> chip-set??) I dont want to fuss with it, so how do I stop world trying
>>> to install it?
>>>   
>
>   
>> Is there a USE flag that is causing gentoo-sources to pull it in? 
>> That's all I can think of unless there is a roach in the works somewhere. 
>> 
>
>   
>> If you are new to Gentoo, add the -v option to emerge so it will show
>> the USE flags and other info that may shed some light.
>> 
>
> Removing the USE=dxr3 flag seemed to work for me.
>
> Cheers, Dave
>
>
>   

Cool.  I have no clue what that was but USE flag will usually pull in
things we don't want.  I figured it was worth a shot.

Glad to help.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Back up a server in real-time

2008-11-19 Thread Dirk Heinrichs
Am Mittwoch 19 November 2008 18:15:01 schrieb ext Harry Putnam:

> I guess you have to search the rsnapshot created hardlinks for the
> version you want manually.  At least that is what I ended up doing.

Yes, that's true. But although it may be a pain to search through it, it's 
already a good step forward to even have that capability. AFAIK no traditional 
backup system has content search capabilities. One can usually only tell it to 
restore a set of files as of a specific date. You have to restore first, then 
check the content and iterate that until you finally found the version you 
want.

Now, with those rsync based backup tools, you get a plain copy of your data 
somewhere, so you can reverse that process. You can search through it using 
find/grep/awk/whatever (or even use one of those desktop search engines to 
index the whole backup like you would do for your home directory) and then 
restore exactly the version you want.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: tools currently available for update of etc files after updates

2008-11-19 Thread Dirk Heinrichs
Am Mittwoch 19 November 2008 21:54:42 schrieb ext Harry Putnam:

> Now that some of my config files have been thru cfg-updates process
> once.  I see new updates processed literally in the blink of an eye.
>
> So I now agree that `blazingly' is quite appropriate.

That's what I meant. As long as no manual intervention is needed (which is the 
case most of the time), cfg-update is the fastest you can get. This comes from 
its use of the backups for comparison, which enables it to resolve more cases 
automatically (3-way diff/merge).

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net



signature.asc
Description: This is a digitally signed message part.