Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy

2007-01-06 Thread Mick
On Saturday 06 January 2007 04:32, Boyd Stephen Smith Jr. wrote:
 On Friday 05 January 2007 15:44, Etaoin Shrdlu [EMAIL PROTECTED]

 wrote about 'Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy':
  On Friday 5 January 2007 21:25, Mick wrote:
   OK.  I don't think I need to run a full VPN.  I just want to securely
   connect to my router at home while I am out  about using public wifi
   hot spots and thereby to be able to connect to the internet using my
   ISP for browsing  email.  The only ports I should need to forward via
   ssh to the router/server are those serving http/https for browsing and
   110/995/143/25/587 for email.
 
  If I understand correctly then, you need ssh (and a public IP address)
  running on the router.

 [snip: and then forward a ton of ports]

 Or you could forward X over the ssh tunnel, and run your web browser on
 your router. :)

Thanks, I also thought of running FreeNX on the router, if only the router 
were capable of running apps.  It seems that openwrt is not (yet?) covering 
the netgear DG834.  The wireless version DG834G is shown as WIP on the 
openwrt website.  I'll keep an eye on it, or one day upgrade my router.

 Finally, if your email program and browser are SOCKS aware, you could
 simply set them up to use your ssh connection as a SOCKS proxy.  There's
 specific support for this in OpenSSH, so that you don't have to open ports
 individually, it can be done dynamically on-demand.

Cool!  I'll check it out. 

  Never used it myself, but take a look at the openwrt project.
  From what I understand, it seems that it lets you put linux into the
  firmware of many popular routers, and manage it using a web interface.

 While there has been some work done on a web interface, it's not a priority
 for the core OpenWRT team.  For me, manging my router from a command
 prompt worked better anyway.

How do you set firewall rules using opewrt?  Through a script?
-- 
Regards,
Mick


pgpPj0zrohA4h.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy

2007-01-06 Thread Etaoin Shrdlu
On Saturday 6 January 2007 05:32, Boyd Stephen Smith Jr. wrote:

 Finally, if your email program and browser are SOCKS aware, you could
 simply set them up to use your ssh connection as a SOCKS proxy. 
 There's specific support for this in OpenSSH, so that you don't have
 to open ports individually, it can be done dynamically on-demand.

Thanks. As I said in another reply, I'll have to look more deeply into 
SOCKS.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How packages are made stable - suggestion for improvement

2007-01-06 Thread Andrey Gerasimenko
On Sat, 06 Jan 2007 04:24:58 +0300, David Relson  
[EMAIL PROTECTED] wrote:



On Fri, 05 Jan 2007 17:23:51 -0700
Steve Dibb wrote:


I've been reading this thread as well as the earlier (July) threads
(from gmane) and notice that everyone is discussing 30 days,
automatic, and stabilization bugs.  What if there were 2 time
periods - a minimum and a maximum.  For example:

with a 30 day min, a package would have to be bug free for 30 days
before a stabilization bug _could_ be acted upon.

If there are no open bugs and no stabilization bug was submitted , then
a maximum period (perhaps 60 days, perhaps 6 months) would cause an
_automatic_ upgrade to stable.

Having an acceptably large max period would take some of the load off
of developer shoulders and would prevent the current situation of having
really old ~ARCH packges (some of which currently seem to measure in
the hundreds of days).

Just my $.02

David


The problem is that currently all that is stable has been marked so by a  
human being. Adding any automation to the process will change the meaning  
of stable. I feel that the change will be substantial, like the  
difference between a Google search result and a report from an analyst.


My feeling is that the major part of the users is happy with what we have  
now, that is


- the most stable system that can be constructed with ARCH
- the most recent possibly usable system with ~ARCH
- the most recent system we know about with masked

Looking at the list, I feel that the key points on the stable - unstable  
axis has been marked. Thus, I do not really want to move any of the  
markers, especially the stable one, since it will be bad for those who  
need a really stable system.


My $0.02 is that there are 3 options:

- do nothing, possibly explain the meaning of arch, ~arch, and masked  
better in the docs.
- add a new level of stability, like ^ARCH, and move from ~ARCH to ^ARCH  
automatically.
- encourage development of tools that will make it easier to maintain  
stable - unstable - deliberately outdated mixture. Such a tool may,  
among other things, request the list of ~arch packages together with the  
number of days there are no unresolved bug reports other than version bump  
and stabilize.



Andrei Gerasimenko
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: anti-portage wreckage?

2007-01-06 Thread Boyd Stephen Smith Jr.
On Saturday 06 January 2007 00:43, Daniel Barkalow [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] Re: anti-portage wreckage?':
 (Actually, I think that it would be even better
 to have the etc-update/dispatch-conf step done before the ebuild qmerge
 step, so that the user's chosen config file is merged at the same time
 as everything else, but that's another thing entirely.)

Well, emerge is supposed to be able to be run without interaction; some 
packages (doom3, for example) do require action, but it's generally 
frowned upon.  (And some ebuilds, like webapp-config's have be be massaged 
because configuration files are modified after all merges are complete.)

More on topic, I like your idea, but not in a position right now to make 
the necessary hacks to portage.

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


pgpYggehHmkn2.pgp
Description: PGP signature


Re: [gentoo-user] can't find my partition when config grub

2007-01-06 Thread Chuanwen Wu

2007/1/6, Oliver Schmidt [EMAIL PROTECTED]:

Hello Chuanwen

Not sure about the trail here ... seems you want to boot from a hp/compaq 
smart-array

You need to install grub with the batch option.

grub --batch --device-map=/boot/grub/device.map 
--config-file=/boot/grub/grub.conf --no-floppy

then

root (hd0,0)
setup (hd0)
quit


Yeah!I can enter grub when I reboot now!!Thank you so much
You know,last time I used grub  --device-map=/boot/grub/device.map
and the result was also succeeded and Done.

It's very wizardly!Now I can boot up just by change the command that
start grub!!

make sure your fstab and your mtab (!!), also you proc is mounted and your 
device.map is correct.

Have also two servers with smart-array.



cheers
Oli






 2007/1/6, Neil Walker [EMAIL PROTECTED]:
 Chuanwen Wu wrote:
 
  Now,I can't boot any OS and can't even enter the grub menu.
 TBH, all the machines I have had with SmartArrays have also had a
 simple SCSI or IDE HD for the purposes of booting. It makes life so much
 simpler. ;) Given the low price of IDE HDs these days, you don't need a
 big one, I think I would install one pretty damn quick. ;)

 Is it the only way?

 Be lucky,
 Neil


 --
 gentoo-user@gentoo.org mailing list




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







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



Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy

2007-01-06 Thread Boyd Stephen Smith Jr.
On Saturday 06 January 2007 04:06, Mick [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy':
 On Saturday 06 January 2007 04:32, Boyd Stephen Smith Jr. wrote:
  On Friday 05 January 2007 15:44, Etaoin Shrdlu
  [EMAIL PROTECTED]
 
  wrote about 'Re: [gentoo-user] [OT] Router for ssh tunnel/SOCKS proxy':
   On Friday 5 January 2007 21:25, Mick wrote:
I just want to
securely connect to my router at home while I am out  about using
public wifi hot spots and thereby to be able to connect to the
internet using my ISP for browsing  email.  The only ports I
should need to forward via ssh to the router/server are those
serving http/https for browsing and 110/995/143/25/587 for email.
   If I understand correctly then, you need ssh (and a public IP
   address) running on the router.
  Or you could forward X over the ssh tunnel, and run your web browser
  on your router. :)
 Thanks, I also thought of running FreeNX on the router, if only the
 router were capable of running apps.  It seems that openwrt is not
 (yet?) covering the netgear DG834.  The wireless version DG834G is shown
 as WIP on the openwrt website.  I'll keep an eye on it, or one day
 upgrade my router.

There may be another project out there that works with your router -- I 
know there was one specifically targeting D-Links for a while... search 
around.  You might also see if anyone has tested OpenWRT on your firmware, 
WIP might mean that it just takes some massaging (which could mean 
anything from a few minor config file changes, to a custom build of 
Kamikaze), but is still available an an option.

  While there has been some work done on a web interface, it's not a
  priority for the core OpenWRT team.  For me, manging my router from a
  command prompt worked better anyway.

 How do you set firewall rules using opewrt?  Through a script?

Well, you can use the WIP web interface, or you can get a shell and edit 
the firewall rules.  It's standard linux, so you can use iptables directly 
for simple one-off changes that last until you reboot.  IIRC, there is 
also an /etc/init.d/20firewall script that reads iptables rules out 
of /etc/firewall or somesuch.  (Haven't messed with the OpenWRT since I 
moved in May.)  I believe shorewall is also available as an ipkg from the 
WRT developers.

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


pgp0sbZV9rOq3.pgp
Description: PGP signature


Re: [gentoo-user] distcc

2007-01-06 Thread Pawel Kraszewski
Dnia piątek, 5 stycznia 2007 14:47, sean napisał:

 I am reading over the info on distcc so that I might be able to setup an
 older P4 1.3 Ghz system to have help compiling from my dual Opteron
 (amd64 mode).

 I only want the Opteron to help the P4, not the other way around, the
 Opteron does not need the help.

 Is that configurable as such?

   Thanks
   Sean

Well, http://wiki.kraszewscy.net/Cross_DistCC shows how to do it (in Polish, 
sorry).

In short:

---8X---[ setup for COMPILER machine (AMD64) ]---

1. make directory /opt/cross32/bin
2. make there a file i686-pc-linux-gnu-wrapper containing

  #!/bin/bash
  exec /usr/bin/x86_64-pc-linux-gnu-g${0:$[-2]} -m32 $@

3. make it executable
4. make soft links in that directory

 ln -s i686-pc-linux-gnu-wrapper gcc
 ln -s i686-pc-linux-gnu-wrapper g++
 ln -s i686-pc-linux-gnu-wrapper c++
 ln -s i686-pc-linux-gnu-wrapper cc
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-gcc
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-g++
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-c++
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-cc

5. copy /etc/init.d/distccd to /etc/init.d/distccd32

6. fix /etc/init.d/distccd32 to have

   TMPDIR=${TMPDIR} \
   PATH=/opt/cross32/bin \
   /sbin/start-stop-daemon –start –quiet –startas ${DISTCCD_EXEC} \

7. copy /etc/conf.d/distccd to /etc/conf.d/distccd32

8. fix /etc/conf.d/distccd to have

DISTCCD_OPTS=${DISTCCD_OPTS} --port 3664

---8X---[ end of setup for COMPILER machine (AMD64) ]---

Now you have two distccd daemons: 
* one at port 3632 for 32-bit distcompiling
* one at port 3664 for 64-bit distcompiling

At this point your Opterons will handle remote 32-bit compiling - you don't 
need to make any changes on P4 machine other than activating regular distcc.

-- 
 Pawel Kraszewski
 www.kraszewscy.net

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: gtk+ wants to install xorg-server

2007-01-06 Thread Enrico Weigelt
* Neil Bothwick [EMAIL PROTECTED] wrote:
 On Sun, 31 Dec 2006 17:23:07 +0100, Enrico Weigelt wrote:
 
  By reading the virtualx.eclass file, I really wonder what this 
  is necessary for. Why is an X server needed to build gtk ?
 
 Clearly it is not needed, otherwise it wouldn't be optional.

But what exactly does it bring us ? (besides lots of confusion ?)
Does it make any bit of sense pulling in an X server for building
packages like GTK ?

Would it do any harm removing this stuff from the ebuild ?


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Dale
Hi,

I'm still re-emerging everything on my box.  I run into a boo boo on
occassion.  Some I have been able to fix myself.  I can't seem to find
anything on this one though. 

 i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -momit-leaf-frame-pointer
 -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -march=athlon-xp -O2 -momit-leaf-frame-pointer -fPIC -DPIC
 -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual
 -fno-rtti -fno-exceptions -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -Woverloaded-virtual -DWVSTREAMS_RELEASE=\4.2.2\ -c
 linuxstreams/wvipaliaser.cc -o linuxstreams/wvipaliaser.o
 linuxstreams/wvinterface.cc:24:28: error: linux/compiler.h: No such
 file or directory
 i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -momit-leaf-frame-pointer
 -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -march=athlon-xp -O2 -momit-leaf-frame-pointer -fPIC -DPIC
 -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual
 -fno-rtti -fno-exceptions -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -Woverloaded-virtual -DWVSTREAMS_RELEASE=\4.2.2\ -M -E
 linuxstreams/wvipaliaser.cc | perl -we '$a =
 '''linuxstreams/wvipaliaser.o'''; $\ = $/; local $/; while () {
 for (split(/(?!\\)$/m)) { s/^[^:]+:\s*/$a: /; print; if (s/^$a: //) {
 map {print $_: unless m/^\\$/} (split(/\s+/)); } } }'
 linuxstreams/.wvipaliaser.d
 i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -momit-leaf-frame-pointer
 -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -march=athlon-xp -O2 -momit-leaf-frame-pointer -fPIC -DPIC
 -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual
 -fno-rtti -fno-exceptions -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -Woverloaded-virtual -DWVSTREAMS_RELEASE=\4.2.2\ -c
 linuxstreams/wvipfirewall.cc -o linuxstreams/wvipfirewall.o
 make: *** [linuxstreams/wvinterface.o] Error 1
 make: *** Waiting for unfinished jobs
 i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -momit-leaf-frame-pointer
 -fPIC -DPIC -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0  -O2 -Wall -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -march=athlon-xp -O2 -momit-leaf-frame-pointer -fPIC -DPIC
 -D_BSD_SOURCE -D_GNU_SOURCE -DISLINUX -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -g -DDEBUG=0 -O2 -Wall -Woverloaded-virtual
 -fno-rtti -fno-exceptions -I/usr/qt/3//include
 -I/usr/qt/3//include/qt3 -I/usr/include/xplc-0.3.13-I./include
 -Iinclude -Iinclude -Ignulib -pipe -fPIC -DPIC -D_GNU_SOURCE
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall
 -Woverloaded-virtual -DWVSTREAMS_RELEASE=\4.2.2\ -M -E
 linuxstreams/wvipfirewall.cc | perl -we '$a =
 '''linuxstreams/wvipfirewall.o'''; $\ = $/; local $/; while () {
 for (split(/(?!\\)$/m)) { s/^[^:]+:\s*/$a: /; print; if (s/^$a: //) {
 map {print $_: unless m/^\\$/} (split(/\s+/)); } } }'
 linuxstreams/.wvipfirewall.d

 !!! ERROR: net-libs/wvstreams-4.2.2-r2 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   wvstreams-4.2.2-r2.ebuild, line 82:   Called die

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

 ERROR: Emerge failed return code 1!
 [EMAIL PROTECTED] ~ #


Anybody have any ideas what would cause this?  I see where it says
something is missing like usual.  

Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Dale
Dale wrote:
 Hi,

 I'm still re-emerging everything on my box.  I run into a boo boo on
 occassion.  Some I have been able to fix myself.  I can't seem to find
 anything on this one though. 

   
 snip


 Anybody have any ideas what would cause this?  I see where it says
 something is missing like usual.  Could have swore I had a compiler
 installed on here.  :D

 Thanks

 Dale

 :-)  :-)  :-)

   

OK.  It's not this package.  It seems to be a dependency.  I backed up
one version and it failed the same way.  Maybe that will help someone to
figure this out.

Thanks

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967



[gentoo-user] Great problems with ATI Mobility X700

2007-01-06 Thread Леонид Моргун
It behaves so strange that I have no words :)
At first, I cannot config any drivers, not fglrx, not radeon. I mean, they 
work, but DRI is off
But it isn't the problem. I believe if I spend a littli bit more time with it, 
it will work. The strangest thing is that:
1) radeon driver -- when I switch virtual console (ctrl+alt+f3), there are a 
lot of problems with image -- it breaks and doesn't restores to the normal 
state
2) fglrx -- when I switch to another console -- I just see thne black screen!

Kernel: 2.6.19-r2 (the same thing with 2.6.18, but the second problem doesn't 
exists in 2.6.17)
Hardware: ATI Mobility Radeon X700 on ACER Aspire 3020
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Which Laptop is recommended for Gentoo GNU/Linux?

2007-01-06 Thread 7v5w7go9ub0o

On Fri, 05 Jan 2007 23:49:48 -0500, »Q« [EMAIL PROTECTED] wrote:


qfpvajdy [EMAIL PROTECTED] wrote:


I'm interessted to buy a laptop on which I would like to install
Gentoo GNU/Linux by using 100% all hardware functions of the laptop
for which I have bought.


I've just installed Gentoo on a Sony VAIO VGN-FS740, and I recommend
against it.  Almost everything in it is well-supported, but one of the
most important things is a PiTA.  Sony uses some unusual system to
handle power management, and there are things the drivers available
with the kernel will not handle.  Most notably, I could not get control
of LCD brightness without installing a driver which is (a) not in
portage and (b) AFAICT not in most distros' repositories.  If someone
hadn't published a portage overlay for it, I would still be struggling
with it.  From what I've read (which was a lot more than I wanted to,
this is the situation with most (all?) of Sony's FS models.


Think that this is exactly right.

However, I wouldn't limit my laptop selection to one that is 100%  
Gentooable.


e.g. I went with Sony (their smallest) and would do so again, because  
small size, light weight, and high-quality display (necessary on a tiny  
box) were so important. As you indicated, it was a PITA; Lot of stuff  
still doesn't work :-( , but it's light enough (2.7 lbs) and small enought  
that I stick it in the backpack and don't resent it.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Boyd Stephen Smith Jr.
On Saturday 06 January 2007 12:15, Dale [EMAIL PROTECTED] wrote 
about '[gentoo-user] net-libs/wvstreams-4.2.2-r2 failed 
[linuxstreams/wvinterface.o] Error 1':
 Hi,

 I'm still re-emerging everything on my box.  I run into a boo boo on
 occassion.  Some I have been able to fix myself.  I can't seem to find
 anything on this one though.

  linuxstreams/wvinterface.cc:24:28: error: linux/compiler.h: No such
  file or directory

 Anybody have any ideas what would cause this?

What version of linux-headers do you have installed?  I believe this is 
complaining about a missing /usr/include/linux/compiler.h, but I don't 
have that file either.

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


pgpT9QdkDsuxf.pgp
Description: PGP signature


Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Dale
Boyd Stephen Smith Jr. wrote:


 What version of linux-headers do you have installed?  I believe this is 
 complaining about a missing /usr/include/linux/compiler.h, but I don't 
 have that file either.

   
This is what I have installed:

 [EMAIL PROTECTED] / # equery list linux-headers
 [ Searching for package 'linux-headers' in all categories among: ]
  * installed packages
 [I--] [ ~] sys-kernel/linux-headers-2.6.19 (0)
 [EMAIL PROTECTED] / #

Something else was complaining about that.  Maybe that package has a bug
in it??  Should I back up a version of the headers??

Thanks

Dale

:-)  :-)  :-)


-- 
www.myspace.com/dalek1967



Re: [gentoo-user] distcc

2007-01-06 Thread Randy Barlow


On Jan 5, 2007, at 1:36 PM, Uwe Thiem wrote:
Yes, but you need to set up a cross-compiler on the Opteron. Or can 
the

64bit compiler generate 32bit code? Not too sure here.


It will produce 32 bit code if you pass it the -m32 flag...

R

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Boyd Stephen Smith Jr.
On Saturday 06 January 2007 12:56, Dale [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed 
[linuxstreams/wvinterface.o] Error 1':
 Boyd Stephen Smith Jr. wrote:
  What version of linux-headers do you have installed?  I believe this
  is complaining about a missing /usr/include/linux/compiler.h, but I
  don't have that file either.

 This is what I have installed:
  [EMAIL PROTECTED] / # equery list linux-headers
  [ Searching for package 'linux-headers' in all categories among: ]
   * installed packages
  [I--] [ ~] sys-kernel/linux-headers-2.6.19 (0)
  [EMAIL PROTECTED] / #

 Something else was complaining about that.  Maybe that package has a bug
 in it??  Should I back up a version of the headers??

http://www.linux-stats.org/?search=*compiler.hlanguage=englishc=gentoo_searchsubmit=Search+File...
says that file is provided by (some version) of linux-headers, so I'd say 
yes for now, but please file a bug on b.g.o.; wvstreams will need to be 
patched (or upgraded) to not build against headers that aren't available 
(to userland) in newer kernels.

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


pgpIJe6cWnvuv.pgp
Description: PGP signature


[gentoo-user] OT - suPHP weirdness

2007-01-06 Thread Michael Sullivan
Whenever I request a page on my server that runs PHP (with suPHP/PHP5) I
get Internal Server Errors.  From my log files:

bullet apache2 # cat suphp_log
[Sat Jan 06 15:15:07 2007] [info] Executing
/home/michael/webspace/html/camera/index.php as UID 1000, GID 100
[Sat Jan 06 15:17:05 2007] [info] Executing
/home/michael/webspace/html/camera/index.php as UID 1000, GID 100
bullet apache2 # cat error_log
[Sat Jan 06 15:14:46 2007] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec2)
[Sat Jan 06 15:14:53 2007] [notice] Digest: generating secret for digest
authentication ...
[Sat Jan 06 15:14:53 2007] [notice] Digest: done
[Sat Jan 06 15:14:55 2007] [notice] Apache configured -- resuming normal
operations
[Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] Premature end
of script headers: index.php
[Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] terminate
called after throwing an instance of 'suPHP::SystemException'
[Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] Premature end
of script headers: index.php
[Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] terminate
called after throwing an instance of 'suPHP::SystemException'
bullet apache2 # 


This annoys me because there is no other information.  Has anyone dealt
with this before?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg.freedesktop.org server down, xextproto

2007-01-06 Thread Enrico Weigelt
* Mihamina Rakotomandimby [EMAIL PROTECTED] wrote:
 On Wed, 2007-01-03 at 20:14 +0900, William Kenworthy wrote:
  or google for xextproto-7.0.2.tar.bz2 and download manually
  to /usr/portage/distfiles 
 
 It's about downloading _all_ the needed tarballs hosted on freedesktop,
 man.
 Manual way is not wise... I created a local mirror using ftp.x.org
 (see my other post)

Maybe you like to change your ebuilds to use CSDB 
(http://csdb-wiki.metux.de/) 


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] information about installed files

2007-01-06 Thread Helmut Jarausch
Hi,

I'd like to modify a 'systemrescuecd' to setup my network,
i.e. load firmware, etc.
For that I need to know which files are installed (where) by
a given package, in my case
net-dialup/ppp 
net-misc/br2684ctl
net-dialup/speedtouch-usb

Gentoo has to keep this information for 'unmerge'.

Many thanks for a hint and perhaps a hint where to
find such internals about Gentoo in future,


Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] information about installed files

2007-01-06 Thread Neil Bothwick
On Sat, 06 Jan 2007 22:22:56 +0100 (CET), Helmut Jarausch wrote:

 For that I need to know which files are installed (where) by
 a given package, in my case
 net-dialup/ppp 
 net-misc/br2684ctl
 net-dialup/speedtouch-usb
 
 Gentoo has to keep this information for 'unmerge'.
 
 Many thanks for a hint and perhaps a hint where to
 find such internals about Gentoo in future,

One of

emerge gentoolkit
equery files packagename

emerge portage-utils
qlist packagename

cat /var/db/pkg/category/package-version/CONTENTS


-- 
Neil Bothwick

The best antiques are old friends.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem upgrading mediawiki

2007-01-06 Thread Enrico Weigelt

Okay folks, 

here's a little script for assisting wiki updates. 
It does not yet fix the database permissions, since I'm not yet 
shure how I like to pass the superuser login/passwd.
(suggestions welcomed)

cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
#!/usr/bin/php
?php
//
// Copyright 2006, Enrico Weigelt, metux IT service [EMAIL PROTECTED]
//
// This script may be redistributed under the terms of the GPL.
//

$WEBAPP=mediawiki;
$DBSUPERUSER_NAME=root;
$DBSUPERUSER_PASSWORD=pemnj92;

if (!$_SERVER{'argv'}[2])
die (update-wiki: hostname version);

$HOSTNAME=$_SERVER{'argv'}[1];
$VERSION=$_SERVER{'argv'}[2];
$WWWROOT=/var/www/$HOSTNAME/htdocs;
$MNTDIR=$WWWROOT/maintenance/;
$LOCALSETTINGS=$WWWROOT/LocalSettings.php;
$ADMINSETTINGS=$WWWROOT/AdminSettings.php;

if ([EMAIL PROTECTED]($LOCALSETTINGS,r))
die ( missing LocalSettings.php - you have to configure it first );

if ([EMAIL PROTECTED]($ADMINSETTINGS,r))
{
echo missing AdminSettings.php ... creating it\n;
define('MEDIAWIKI',1);
require_once($LOCALSETTINGS);
$fp_in=fopen($LOCALSETTINGS,r);
$fp_out=fopen($ADMINSETTINGS,w);
while (!feof($fp_in))
{
$line=fgets($fp_in,4096);
if (trim($line)=='?')
{
fputs($fp_out,'$wgDBadminuser='.$wgDBuser.\;\n);
fputs($fp_out,'$wgDBadminpassword='.$wgDBpassword.\;\n);
fputs($fp_out,\n);
fputs($fp_out,$line);
while (!feof($fp_in))
fputs($fp_out,fgets($fp_in,4096));
$gotend = true;
}
else
fputs($fp_out,$line);
}
if (!$gotend)
{
fputs($fp_out,'$wgDBadminuser='.$wgDBuser.\;\n);
fputs($fp_out,'$wgDBadminpassword='.$wgDBpassword.\;\n);
}
fclose($fp_in);
fclose($fp_out);
}

print Upgrading the webapp code (-webapp-config)\n;
if (passthru(webapp-config -U -h $HOSTNAME $WEBAPP $VERSION,$ret)||($ret==0))
print Okay\n;
else
die ( webapp-config failed: $ret\n);

print Now calling the update script\n;
print If it cannot do certain structure changes (ie. creating tables),\n;
print you have to give full db access to the wiki user\n;
print \n;

if (passthru(cd $MNTDIR  php update.php,$res)||($res==0))
print OKAY\n;
else
die(ERROR\n);


Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Dale
Boyd Stephen Smith Jr. wrote:
 On Saturday 06 January 2007 12:56, Dale [EMAIL PROTECTED] wrote 
 about 'Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed 
 [linuxstreams/wvinterface.o] Error 1':
   
 Boyd Stephen Smith Jr. wrote:
 
 What version of linux-headers do you have installed?  I believe this
 is complaining about a missing /usr/include/linux/compiler.h, but I
 don't have that file either.
   
 This is what I have installed:
 
 [EMAIL PROTECTED] / # equery list linux-headers
 [ Searching for package 'linux-headers' in all categories among: ]
  * installed packages
 [I--] [ ~] sys-kernel/linux-headers-2.6.19 (0)
 [EMAIL PROTECTED] / #
   
 Something else was complaining about that.  Maybe that package has a bug
 in it??  Should I back up a version of the headers??
 

 http://www.linux-stats.org/?search=*compiler.hlanguage=englishc=gentoo_searchsubmit=Search+File...
 says that file is provided by (some version) of linux-headers, so I'd say 
 yes for now, but please file a bug on b.g.o.; wvstreams will need to be 
 patched (or upgraded) to not build against headers that aren't available 
 (to userland) in newer kernels.

   

OK.  I masked that specific version and got a older version.  Will try
that and see what blows up.  ;-)

Thanks

Dale

:D :D :D :D

-- 
www.myspace.com/dalek1967



[gentoo-user] bash_completion

2007-01-06 Thread Jorge Almeida

I gave bash_completion a try, and it seemed a Good Thing. Problem is it
was behaving like a pig, consuming all cpu ressources (99%) and freezing
the computer (temporarily). This has to be a misconfiguration issue.
I have both /etc/bash-completion and /etc/conf.d/bash_completion. Is
this normal? Both files have a command to source a user completion
file. I have a line
[[ -f /etc/profile.d/bash-completion ]]  source /etc/profile.d/bash-completion
at the beginning of ~/.bashrc.

Any suggestion?

--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash_completion

2007-01-06 Thread Willie Wong
On Sat, Jan 06, 2007 at 10:44:19PM +, Penguin Lover Jorge Almeida squawked:
 I gave bash_completion a try, and it seemed a Good Thing. Problem is it
 was behaving like a pig, consuming all cpu ressources (99%) and freezing
 the computer (temporarily). This has to be a misconfiguration issue.
 I have both /etc/bash-completion and /etc/conf.d/bash_completion. Is
 this normal? Both files have a command to source a user completion
 file. I have a line
 [[ -f /etc/profile.d/bash-completion ]]  source 
 /etc/profile.d/bash-completion
 at the beginning of ~/.bashrc.
 
 Any suggestion?

Always using that much resources? That doesn't sound right. What
completions were you trying when it freezes up? 

What completions have you turned on? (eselect bashcomp list --global) 
I have only 'eselect' and 'gentoo' turned on. 

W
-- 
He dropped his voice still lower. In the stillness, a fly 
would not have dared cleat its throat.  
Sortir en Pantoufles: up 29 days, 21:36
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash_completion

2007-01-06 Thread Jorge Almeida

On Sat, 6 Jan 2007, Willie Wong wrote:


On Sat, Jan 06, 2007 at 10:44:19PM +, Penguin Lover Jorge Almeida squawked:

Any suggestion?


Always using that much resources? That doesn't sound right. What
completions were you trying when it freezes up?

Something trivial: less README (it froze at RE)


What completions have you turned on? (eselect bashcomp list --global)
I have only 'eselect' and 'gentoo' turned on.


Everything is as it came. eselect bashcomp list --global shows a list of
30, with only a * following gentoo.

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



Re: [gentoo-user] bash_completion

2007-01-06 Thread Mike Williams
On Sunday 07 January 2007 00:03, Jorge Almeida wrote:
  Always using that much resources? That doesn't sound right. What
  completions were you trying when it freezes up?

 Something trivial: less README (it froze at RE)

bash itself autocompletes filenames by default.
Try turning off bash-completion and try that again, on the exact same file.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash_completion

2007-01-06 Thread Jorge Almeida

On Sun, 7 Jan 2007, Mike Williams wrote:


bash itself autocompletes filenames by default.

I know, but I find bash_completion usefull for other types of completion
(e.g tar xzvf ..., it completes with tarballs only).

Try turning off bash-completion and try that again, on the exact same file.


Already did it (commented out the line in ~/.bashrc and sourced this
file...) It doesn't freeze now, of course.




--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] distcc

2007-01-06 Thread sean

Pawel Kraszewski wrote:

Dnia piątek, 5 stycznia 2007 14:47, sean napisał:


I am reading over the info on distcc so that I might be able to setup an
older P4 1.3 Ghz system to have help compiling from my dual Opteron
(amd64 mode).

I only want the Opteron to help the P4, not the other way around, the
Opteron does not need the help.

Is that configurable as such?

Thanks
Sean


Well, http://wiki.kraszewscy.net/Cross_DistCC shows how to do it (in Polish, 
sorry).


In short:

---8X---[ setup for COMPILER machine (AMD64) ]---

1. make directory /opt/cross32/bin
2. make there a file i686-pc-linux-gnu-wrapper containing

  #!/bin/bash
  exec /usr/bin/x86_64-pc-linux-gnu-g${0:$[-2]} -m32 $@

3. make it executable
4. make soft links in that directory

 ln -s i686-pc-linux-gnu-wrapper gcc
 ln -s i686-pc-linux-gnu-wrapper g++
 ln -s i686-pc-linux-gnu-wrapper c++
 ln -s i686-pc-linux-gnu-wrapper cc
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-gcc
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-g++
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-c++
 ln -s i686-pc-linux-gnu-wrapper i686-pc-linux-gnu-cc

5. copy /etc/init.d/distccd to /etc/init.d/distccd32

6. fix /etc/init.d/distccd32 to have

   TMPDIR=${TMPDIR} \
   PATH=/opt/cross32/bin \
   /sbin/start-stop-daemon –start –quiet –startas ${DISTCCD_EXEC} \

7. copy /etc/conf.d/distccd to /etc/conf.d/distccd32

8. fix /etc/conf.d/distccd to have

DISTCCD_OPTS=${DISTCCD_OPTS} --port 3664

---8X---[ end of setup for COMPILER machine (AMD64) ]---

Now you have two distccd daemons: 
* one at port 3632 for 32-bit distcompiling

* one at port 3664 for 64-bit distcompiling

At this point your Opterons will handle remote 32-bit compiling - you don't 
need to make any changes on P4 machine other than activating regular distcc.




Thanks Pawel,

Your steps are obviously a bit different then those listed here.
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml

So you are stating just emerge crossdev, the run crossdev -t
and from the point where the web page states Here is what you want to 
do: (1.2) follow the instructions you listed here, rather then the web 
page?


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



Re: [gentoo-user] OT - suPHP weirdness

2007-01-06 Thread James Lockie

Michael Sullivan wrote:

Whenever I request a page on my server that runs PHP (with suPHP/PHP5) I
get Internal Server Errors.  From my log files:

bullet apache2 # cat suphp_log
[Sat Jan 06 15:15:07 2007] [info] Executing
/home/michael/webspace/html/camera/index.php as UID 1000, GID 100
[Sat Jan 06 15:17:05 2007] [info] Executing
/home/michael/webspace/html/camera/index.php as UID 1000, GID 100
bullet apache2 # cat error_log
[Sat Jan 06 15:14:46 2007] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec2)
[Sat Jan 06 15:14:53 2007] [notice] Digest: generating secret for digest
authentication ...
[Sat Jan 06 15:14:53 2007] [notice] Digest: done
[Sat Jan 06 15:14:55 2007] [notice] Apache configured -- resuming normal
operations
[Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] Premature end
of script headers: index.php
[Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] terminate
called after throwing an instance of 'suPHP::SystemException'
[Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] Premature end
of script headers: index.php
[Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] terminate
called after throwing an instance of 'suPHP::SystemException'
bullet apache2 # 



This annoys me because there is no other information.  Has anyone dealt
with this before?


  

Check your pages: http://validator.w3.org/

Can you run the PHP from the command line?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - suPHP weirdness

2007-01-06 Thread Michael Sullivan
On Sat, 2007-01-06 at 21:50 -0500, James Lockie wrote:
 Michael Sullivan wrote:
  Whenever I request a page on my server that runs PHP (with suPHP/PHP5) I
  get Internal Server Errors.  From my log files:
 
  bullet apache2 # cat suphp_log
  [Sat Jan 06 15:15:07 2007] [info] Executing
  /home/michael/webspace/html/camera/index.php as UID 1000, GID 100
  [Sat Jan 06 15:17:05 2007] [info] Executing
  /home/michael/webspace/html/camera/index.php as UID 1000, GID 100
  bullet apache2 # cat error_log
  [Sat Jan 06 15:14:46 2007] [notice] suEXEC mechanism enabled
  (wrapper: /usr/sbin/suexec2)
  [Sat Jan 06 15:14:53 2007] [notice] Digest: generating secret for digest
  authentication ...
  [Sat Jan 06 15:14:53 2007] [notice] Digest: done
  [Sat Jan 06 15:14:55 2007] [notice] Apache configured -- resuming normal
  operations
  [Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] Premature end
  of script headers: index.php
  [Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] terminate
  called after throwing an instance of 'suPHP::SystemException'
  [Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] Premature end
  of script headers: index.php
  [Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] terminate
  called after throwing an instance of 'suPHP::SystemException'
  bullet apache2 # 
 
 
  This annoys me because there is no other information.  Has anyone dealt
  with this before?
 
 

 Check your pages: http://validator.w3.org/
 
 Can you run the PHP from the command line?
 

Yes.  I can run the the index.php script on the command line.  It spits
out text, as it should.  What was that saying about Premature end of
script headers?  If I remove the -D SUPHP bit
from /etc/conf.d/apache2 and restart apache2, it works just fine.  I
need suPHP to work for another script though.  With suPHP enabled, not
even Squirrelmail works.  It used to.  I don't know what happened...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Steen Eugen Poulsen

Dale wrote:
OK.  I masked that specific version and got a older version.  Will try 
that and see what blows up.  ;-)


I've not had time to look into this yet, but it's my understand that 
from 2.6.19+ things changed in the kernel, there is now a make headers 
install feature, so the package linux-headers is in the process of dying.


I would advice to avoid ~anything, because you are simply failing to 
understand whats going on, more than encountering actual bugs.





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] net-libs/wvstreams-4.2.2-r2 failed [linuxstreams/wvinterface.o] Error 1

2007-01-06 Thread Dale
Steen Eugen Poulsen wrote:
 Dale wrote:
 OK.  I masked that specific version and got a older version.  Will
 try that and see what blows up.  ;-)

 I've not had time to look into this yet, but it's my understand that
 from 2.6.19+ things changed in the kernel, there is now a make headers
 install feature, so the package linux-headers is in the process of dying.

 I would advice to avoid ~anything, because you are simply failing to
 understand whats going on, more than encountering actual bugs.



That may be what is going on then.  I did go back one version and
everything emerged just fine after that.  I masked that puppy.

This is something that I don't understand:

 [EMAIL PROTECTED] / # uname -r
 2.6.18-gentoo-r6
 [EMAIL PROTECTED] / # equery list linux-headers
 [ Searching for package 'linux-headers' in all categories among: ]
  * installed packages
 [I--] [ -] sys-kernel/linux-headers-2.6.17-r2 (0)
 [EMAIL PROTECTED] / #

I have and am running a 2.6.18 kernel but there is no 2.6.18 version of
linux-headers.  I'm pretty clueless on this but something looks . . . .
fishy.  ;-)

OK.  So in the future when I compile a new kernel there is something new
to add other than make all  make modules_install?

I'm learning.  Ya'll just keep teaching me.  LOL

Thanks

Dale

:-)  :-)

Now back to downloading OOo with a 28K dial-up connection.  So far, all
last night, today and most of tonight too.  :-(


-- 
www.myspace.com/dalek1967

-- 
gentoo-user@gentoo.org mailing list