Re: [gentoo-user] apache problem (can't find libpq.so.4)

2007-11-28 Thread Ricardo Saffi Marques
Hey, did revdep-rebuild help on anything, after all?

On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote:

 As a matter of fact i have not, will give it a try inmediately!

 thanks for the tip

 2007/11/27, Ricardo Saffi Marques [EMAIL PROTECTED] :
 
  Have you tried revdep-rebuild?
 
  On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED]  wrote:
  
   Hello, i have the following problem when trying to start apache
  
   *Apache2 has detected a syntax error in your configuration files:
  
   /usr/sbin/apache2: error while loading shared libraries: libpq.so.4:
   cannot open shared object file: No such file or directory
  
   i searched for libpq.so.4 and found out that i only had libpq.so.5, so
   i tried a symlink (which i inmediately undoed after seeing that it led to 
   a
   new error which frightened me)
  
   i have postgresql 8.2.4 installed
  
   libpq.so.4 should be there? or apache should use libpq.so.5?
  
   as usual, a lot of true hart felt sincere thanks in advance
  
   Rafael
  
  
 
 
  --
  *Ricardo Saffi Marques*
  Laboratório de Administração e Segurança de Sistemas (LAS/IC)
  Universidade Estadual de Campinas (UNICAMP)
  *Cell:* +55 (19) 8128-0435
  *Skype:* ricardo_saffi_marques
  *Website:* *http://www.rsaffi.com*





-- 
*Ricardo Saffi Marques*
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
*Cell:* +55 (19) 8128-0435
*Skype:* ricardo_saffi_marques
*Website:* *http://www.rsaffi.com*


Re: [gentoo-user] Re: static IP, gateway and netmask setting

2007-11-28 Thread Etaoin Shrdlu
On Monday 26 November 2007, Dan Farrell wrote:

 you don't have to list the broadcast or netmask, if they can be
 guessed from context.  In the case of using a 192.168.x/24 network
 they can generally both be guessed properly, because that's a Class C
 private address .

 However, in the case of 10.0.0/24, this may not be true.  that is
 defined as class A private address space, and the networking utilities
 would probably assume it was 10.0.0/8, a netmask of 255.0.0.0 and a
 broadcast of 10.255.255.255.  That is what ifconfig does at least:

 pascal ~ # ifconfig eth0:1 10.0.0.1
 pascal ~ # ifconfig eth0:1
 eth0:1Link encap:Ethernet  HWaddr 00:50:70:56:2E:CA
   inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   Interrupt:225 Base address:0xc000

That is what ifconfig does, if you don't specify a netmask:

[EMAIL PROTECTED] /x]# ifconfig eth0:1 10.0.0.1 netmask 255.255.255.0
[EMAIL PROTECTED] /x]# ifconfig eth0:1
eth0:1Link encap:Ethernet  HWaddr 00:11:2F:BB:F6:0D
  inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Interrupt:17


I don't know exactly how initscripts work, but I suppose that if the /24 
is given in /etc/conf.d/net, then both the resulting iproute2 and 
ifconfig command that bring the interface up will include the netmask 
specification.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ssh connections time out

2007-11-28 Thread Etaoin Shrdlu
On Wednesday 28 November 2007, Dale wrote:

 Billy Holmes wrote:
 
  that's what the REMOTE machine will do after you connect to it, but
  before you get a prompt. This can (normally) be configured on an
  application basis to not do it.

 OK.  I read most of it, what I could get a grip on anyway.  Basically
 it looks to see if that IP address has a name too.  Sort of silly but,
 whatever works I guess.

It does not stop there. It's usually used to prevent spoofing.

The complete process is more or less as follows: suppose you connect with 
a spoofed IP address, then the remote end will do the reverse lookup to 
find out your dns name, do a forward lookup with the name it just found, 
and see if the resulting IP is the one you are connecting from.

From man sshd_config:

UseDNSSpecifies whether sshd(8) should look up the remote host name
  and check that the resolved host name for the remote IP address
  maps back to the very same IP address.  The default is ``yes''.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ssh connections time out

2007-11-28 Thread Mick
On Tuesday 27 November 2007, Vladimir Rusinov wrote:
 On 11/27/07, Mick [EMAIL PROTECTED] wrote:
  Have you come across such a problem before?  How can I troubleshoot
  it?  In
  this day and age of broadband connections it seems strange to get worse
  performance than on a dialup network . . .  I mean I have run VNC
  connections
  over a 56k dial up with more responsiveness than this!

 Tune QoS (Quality of Service). It's not very trivial, but there are some
 good howtos/articles.

Trying to stick to the OP:

I just ran some quick tcptraceroute tests and can see that my random port 
number has the same or less latency than port 80, or port 22 
connections . . .
-- 
Regards,
Mick


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


Re: [gentoo-user] Converting HTML to PDF or PS

2007-11-28 Thread Ralf Stephan
You wrote 
 I need to convert web pages to PDF files under program control,

* app-text/htmldoc [N 1.8.27] target
Convert HTML pages into a PDF document
-fltk ssl

Use flags:

* fltk: Adds support for the Fast Light Toolkit gui 
interface
* ssl:  Adds support for Secure Socket Layer connections


ralf
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Java problem (with pylucene)

2007-11-28 Thread Helmut Jarausch
Hi,

hopefully someone can help with that (for me) obscure error message.

I'm trying to install  pylucene (with JCC) see
http://pylucene.osafoundation.org/

(Unfortunately, pylucene is not part of the GenToo
repository)

I have configured JCC (part of pylucene) to
use the sun-jdk-1.6

During build I get the error message

  File /usr/lib/python2.5/site-packages/jcc/__init__.py, line 30, in module
from _jcc import initVM
ImportError: /usr/lib/jvm/sun-jdk-1.6/jre/lib/i386/libjava.so: symbol 
JVM_GetClassSignature, 
version SUNWprivate_1.1 not defined in file libjvm.so with link time reference

Would anybody please so nice to explain (the reason for) this error
message?

Many thanks,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ssh connections time out

2007-11-28 Thread Dale
Etaoin Shrdlu wrote:
 On Wednesday 28 November 2007, Dale wrote:

   
 Billy Holmes wrote:
 
 that's what the REMOTE machine will do after you connect to it, but
 before you get a prompt. This can (normally) be configured on an
 application basis to not do it.
   
 OK.  I read most of it, what I could get a grip on anyway.  Basically
 it looks to see if that IP address has a name too.  Sort of silly but,
 whatever works I guess.
 

 It does not stop there. It's usually used to prevent spoofing.

 The complete process is more or less as follows: suppose you connect with 
 a spoofed IP address, then the remote end will do the reverse lookup to 
 find out your dns name, do a forward lookup with the name it just found, 
 and see if the resulting IP is the one you are connecting from.

 From man sshd_config:

 UseDNSSpecifies whether sshd(8) should look up the remote host name
   and check that the resolved host name for the remote IP address
   maps back to the very same IP address.  The default is ``yes''.
   

I was sort of thinking about it helping with that.  I just wasn't sure
that would work like I was thinking.  I suspected it may be a security
thing.  It seems that most things with Linux are security related
anyway.  That's pretty cool.  Some geek got a great idea.  o_O

Now it makes good sense.  I think it is pretty cool that it does that,
even if it messed me up at first.  Just wish this wouold have fixed the
OP's problem.

Thanks.

Dale

:-)  :-)  :-)


Re: [gentoo-user] apache problem (can't find libpq.so.4)

2007-11-28 Thread Rafael Barrera Oro
   Sorry for taking so long to reply. The thing is that revdep-rebuild
attempted to re emerge gcc, which failed. However, i was able to fix this by
emerging manually libstdc++ (which i guess its a completely different
issue), after that, revdep-rebuild worked.
   After the revdep-rebuild finished (took quite long cause it pulled in a
lot ebuilds) apache was working again (no libpq.so.4 not found error no
more)

Thanks for the assistance Ric!, next time i am going to try revdep-rebuild
before posting a message here (if its another case of missing libraries of
course)

PD: It was a work related issue, so again, thanks a lot

2007/11/28, Ricardo Saffi Marques [EMAIL PROTECTED]:

 Hey, did revdep-rebuild help on anything, after all?

 On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote:
 
  As a matter of fact i have not, will give it a try inmediately!
 
  thanks for the tip
 
  2007/11/27, Ricardo Saffi Marques [EMAIL PROTECTED] :
  
   Have you tried revdep-rebuild?
  
   On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED]  wrote:
   
Hello, i have the following problem when trying to start apache
   
*Apache2 has detected a syntax error in your configuration files:
   
/usr/sbin/apache2: error while loading shared libraries: libpq.so.4:
cannot open shared object file: No such file or directory
   
i searched for libpq.so.4 and found out that i only had libpq.so.5,
so i tried a symlink (which i inmediately undoed after seeing that it 
led to
a new error which frightened me)
   
i have postgresql 8.2.4 installed
   
libpq.so.4 should be there? or apache should use libpq.so.5?
   
as usual, a lot of true hart felt sincere thanks in advance
   
Rafael
   
   
  
  
   --
   *Ricardo Saffi Marques*
   Laboratório de Administração e Segurança de Sistemas (LAS/IC)
   Universidade Estadual de Campinas (UNICAMP)
   *Cell:* +55 (19) 8128-0435
   *Skype:* ricardo_saffi_marques
   *Website:* *http://www.rsaffi.com*
 
 
 


 --
 *Ricardo Saffi Marques*
 Laboratório de Administração e Segurança de Sistemas (LAS/IC)
 Universidade Estadual de Campinas (UNICAMP)
 *Cell:* +55 (19) 8128-0435
 *Skype:* ricardo_saffi_marques
 *Website:* *http://www.rsaffi.com*



Re: [gentoo-user] Install a 64bit system from a 32bit minimal CD

2007-11-28 Thread Yoav Luft
Well, seems like the other PC's cd writer got mildly broken so it can only
read cds, not burn any. So after some thought, I salvaged my old PC's cd
writer and installed it (in quite an ugly way, as ide cables were to short)
in the windows box, burnt the LiveCD and installed Linux on my new machine.
I just booted it up for the first time, and it looks... ok. I think I forgot
to include vesa or other standart video support in the kernel.

On Nov 27, 2007 2:46 AM, David Relson [EMAIL PROTECTED] wrote:

 On Mon, 26 Nov 2007 10:53:42 -0500
 Aaron Clark wrote:

  Yoav Luft wrote:
   Hi all,
   Got myself a new machine, AMD Athlon x2 4000 based, all up and
   running, but I have no functional CD writer! Can I use the
   previously burnt 2006 minimal x86 cd to install on my x86_64 system?
   Or can you think of any other way to install without a burning a
   new CD?
 
  It depends.  You can install a regular i686 (32bit) system on the
  Athlon 64 chips just fine.  if you want to do that, you should be ok
  with your old minimal CD assuming your hardware is supported by it.
  If you want to install an x86_64 aka amd64 sytem (64bit) from your
  32bit install environment, then you're SOL as the chroot will fail.
 
  Aaron

 I too upgraded my hardware from an Athlon to an Athlon X2 and asked
 about using my 32 bit gentoo system as the base from which to install
 64 bit gentoo.  When queried, the unanimous response from the list
 is can't be done -- have to use a CD.

 It seems like it ought to be doable.  I anticipated something like
   download a 64-bit iso,
   mount it,
   uncompress/unsqueeze/whatever
   copy files to the hard drive
   configure grub/lilo
   reboot
   emerge ...

 However conventional wisdom is this won't work.  So, yesterday, I
 booted from the AMD64 LiveCD, saw the LiveCD choke on my video setup
 and incorrectly mounted partitions, then (on the 4th or 5th try) start
 giving NMI watchdog ... LOCKUP messages.  Someone suggested trying
 the AMD64 Minimal Install CD and, through using it, I can now boot to
 either a 32 bit or a 64 bit kernel (with different partitions for the
 32 and 64 bit environments).   There's more emerging to do to get X
 fully built and all my desired applications running, but progress is
 being made.

 If you'd like (and you're in the US), I'll be glad to send you one of my
 AMD64 LiveCDs (as I have 2 and neither is happy with my mobo).

 Regards,

 David
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] graphviz-2.12 fails to compile

2007-11-28 Thread Albert Hopkins

On Wed, 2007-11-28 at 00:31 -0500, Andrey Vul wrote:
 last few lines of build log:
 [libtool]
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
 -I../../lib/common -I../../lib/graph -I../../lib/cdt
 -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
 -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
 -mtune=athlon64 -finline-functions -MT gv_perl.lo -MD -MP -MF
 .deps/gv_perl.Tpo -c gv_perl.cpp -fPIC -DPIC -o .libs/gv_perl.o
 [libtool]
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
 -I../../lib/common -I../../lib/graph -I../../lib/cdt
 -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
 -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
 -mtune=athlon64 -finline-functions -MT gv_python.lo -MD -MP -MF
 .deps/gv_python.Tpo -c gv_python.cpp -fPIC -DPIC -o .libs/gv_python.o
 gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification
 make[3]: *** [gv_perl.lo] Error 1
 [make stack]
 
 known bug or is something wtf?

From the looks of it, your -finline-functions flag allowed a static
function to be compiled inline and caused some kind of linkage problem.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] python bug on gentoo with webbrowser module

2007-11-28 Thread Benno Schulenberg
Stéphane ANCELOT wrote:
 import webbrowser
 webbrowser.open('http://www.python.org')

Works fine for me, opens the site in Firefox.

What version of Python?
What's in your webbrowser._browsers?


Python 2.4.4 (#1, Nov  9 2007, 16:26:42)

 webbrowser._browsers
{'kfm': [class webbrowser.Konqueror at 0xb7bfc68c, 
webbrowser.Konqueror instance at 0xb7c0054c], 'links': [None, 
webbrowser.GenericBrowser instance at 0xb7c003cc], 'lynx': [None, 
webbrowser.GenericBrowser instance at 0xb7c0048c]}

There's no Firefox in there, but it is marked as default browser 
somewhere in KControl.

When doing:

webbrowser.register(firefox, None, webbrowser.Netscape(firefox))
webbrowser._browsers['firefox'][1].open('http://www.python.org')

it opens two Firefoxes, and opens the site in a second tab of the 
first window.  Strange.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] python bug on gentoo with webbrowser module

2007-11-28 Thread Stéphane ANCELOT
Benno Schulenberg a écrit :
 Stéphane ANCELOT wrote:
 import webbrowser
 webbrowser.open('http://www.python.org')
 
 Works fine for me, opens the site in Firefox.
 
 What version of Python?
v2.5
 What's in your webbrowser._browsers?

this is :
 Python 2.5.1 (r251:54863, Nov 19 2007, 10:54:31)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type help, copyright, credits or license for more information.
 import webbrowser
 webbrowser._browsers
{'konqueror': [class 'webbrowser.Konqueror', webbrowser.Konqueror
object at 0xb7b061ac], 'firefox': [None, webbrowser.Mozilla object at
0xb7b0612c], 'gnome': [None, webbrowser.BackgroundBrowser object at
0xb7b0606c], 'links': [None, webbrowser.GenericBrowser object at
0xb7b0626c], 'opera': [None, webbrowser.Opera object at 0xb7b0622c],
'seamonkey': [None, webbrowser.Mozilla object at 0xb7b0614c],
'epiphany': [None, webbrowser.Galeon object at 0xb7b0616c], 'lynx':
[None, webbrowser.GenericBrowser object at 0xb7b062ec]}
 


 Python 2.4.4 (#1, Nov  9 2007, 16:26:42)
 
 webbrowser._browsers
 {'kfm': [class webbrowser.Konqueror at 0xb7bfc68c, 
 webbrowser.Konqueror instance at 0xb7c0054c], 'links': [None, 
 webbrowser.GenericBrowser instance at 0xb7c003cc], 'lynx': [None, 
 webbrowser.GenericBrowser instance at 0xb7c0048c]}
 
 There's no Firefox in there, but it is marked as default browser 
 somewhere in KControl.
 
 When doing:

This works :

 webbrowser.register(firefox, None, webbrowser.Netscape(firefox))
 webbrowser._browsers['firefox'][1].open('http://www.python.org')
 
 it opens two Firefoxes, and opens the site in a second tab of the 
 first window.  Strange.
 
 Benno

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Converting HTML to PDF or PS

2007-11-28 Thread felix
On Wed, Nov 28, 2007 at 11:14:33AM +0100, Ralf Stephan wrote:
 You wrote 
  I need to convert web pages to PDF files under program control,
 
 * app-text/htmldoc [N 1.8.27] target
 Convert HTML pages into a PDF document
 -fltk ssl

I tried, but it has too many deficiencies, and doesn't support
javascript.  The pages don't render well enough.

 * fltk: Adds support for the Fast Light Toolkit gui 
 interface

I need to it run under program control, not a gui.  I could do gui
with firefox.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] ebuild for a rails application

2007-11-28 Thread Thufir
I'm working on a rails application and am considering the install process 
for the rails application itself.  I don't mean installing rails nor the 
database, but the rails application.

Would an ebuild be able to install/uninstall the rails application itself?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java problem (with pylucene)

2007-11-28 Thread Helmut Jarausch
On 28 Nov, ezotrank wrote:
 On 12:03 Wed 28 Nov , Helmut Jarausch wrote:
 Hi,
 
 hopefully someone can help with that (for me) obscure error message.
 
 I'm trying to install  pylucene (with JCC) see
 http://pylucene.osafoundation.org/
 
 (Unfortunately, pylucene is not part of the GenToo
 repository)
 
 I have configured JCC (part of pylucene) to
 use the sun-jdk-1.6
 
 During build I get the error message
 
   File /usr/lib/python2.5/site-packages/jcc/__init__.py, line 30, in 
 module
 from _jcc import initVM
 ImportError: /usr/lib/jvm/sun-jdk-1.6/jre/lib/i386/libjava.so: symbol 
 JVM_GetClassSignature, 
 version SUNWprivate_1.1 not defined in file libjvm.so with link time 
 reference
 
 Would anybody please so nice to explain (the reason for) this error
 message?
 
 Many thanks,
 
 Helmut Jarausch
 
 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany
 -- 
 [EMAIL PROTECTED] mailing list
 
 Maybe help edit  CFLAGS and add  -DNDEBUG

Thanks, but unfortunately that doesn't help either,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread felix
On Tue, Nov 27, 2007 at 10:07:10PM +, Neil Bothwick wrote:
 On Tue, 27 Nov 2007 13:53:10 -0800, [EMAIL PROTECTED] wrote:
 
  These web pages use Javascript; some render so-so without javascript,
  some don't render at all well.  What I would like is some firefox (or
  Konqueror or ...)  command line option to render the page and save it
  as any other format -- jpg, pdf, ps, doesn't matter.
 
 You could probably do this with a shell script that loads Konqueror with
 the given URL and send it DCOP command(s) to print.

I have been fooling around with this and following some of the google
treasure, and it is a decent substitute for the nice simple command
line options that I want.  But it has a few problems:

1.  The 'print' DCOP command pops up the print menu and requires at
least one click.  I can set the print type (to PDF file) and the
default file name ahead of time, but I still have to click on
Print.

2.  When I pass it the URL to display, it returns immediately, and I
have to insert a sleep to wait before sending the print command.
Is there any way to find out when the page is complete?

3.  If I put in a one minute pause to allow even the slowest web sites
to fully load, that limits how many of these URLs I can process.
Is there any way to run multiple konqueror sessions at once?

#1 is a real show stopper.  The others are merely annoying.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Openoffice 2.3.0 compile error - Firefox

2007-11-28 Thread Pongracz Istvan
Hi,

I decided to compile openoffice 2.3.0 but I run into an error.

The compilation error is this:

checking whether to enable build of Mozilla/Mozilla NSS-using
components... yes
checking whether to build Mozilla addressbook connectivity... no, not
possible with system-mozilla
checking whether to build XML Security support... yes
checking whether to build LDAP configuration backend... no
checking which mozilla to use... external
checking which Mozilla flavour to use... Firefox
checking for firefox-xpcom ... Package firefox-firefox-nspr was not
found in the pkg-config search path. Perhaps you should add the
directory containing `firefox-firefox-nspr.pc' to the PKG_CONFIG_PATH
environment variable Package 'firefox-firefox-nspr', required by
'XPCOM', not found
configure: error: Library requirements (firefox-xpcom ) not met;
consider adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Error 1



The compilation parameters are:
[ebuild  N] app-office/openoffice-2.3.0  USE=cairo cups dbus eds
firefox gnome gstreamer gtk java mono pam sound webdav -binfilter -debug
-kde -ldap -odk -seamonkey -xulrunner LINGUAS=en hu -af -ar -as_IN
-be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_US -en_ZA
-eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -it -ja -km -ko
-ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl
-pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN
-te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW
-zu 0 kB


My firefox has the following USE flags:
gnome ipv6 java linguas_hu

I would like to ask a hint, how to solve this strange error?
I did not find any useful on the internet. Yet.

Thank you,
István

-- 
eGroupWare, gLiveCD, gentoo és barátai
http://www.osbusiness.hu
„A humor a méltóság támasza, fölényünket hirdeti 
mindazzal szemben, amit a sors ránk mér.” 
(Romain Gary)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] missing libraries in mesa-6.5.2-r1 emerge ??

2007-11-28 Thread de Almeida, Valmor F.


Hello,

When emerging mesa-6.5.2-r1 I don't get the library libOSMesa.so* built.
Did this library go away or is it a problem of selecting the correct USE
parameter. Currently I am using what is listed below.

Thanks for your help.

--
Valmor


-equery uses mesa
[ Searching for packages matching mesa... ]
[ 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-libs/mesa-6.5.2-r1 ]
 U I
 - - debug   : Enable extra debug codepaths, like asserts
and extra output. If you want to get meaningful backtraces see
http://www.gentoo.org/proj/en/qa/backtraces.xml .
 + + doc : Adds extra documentation (API, Javadoc, etc)
 - - kernel_FreeBSD  : unknown
 + + motif   : Adds motif support (x11-libs/openmotif
x11-libs/lesstif)
 + + nptl: Enable support for Native POSIX Threads
Library, the new threading module (requires linux-2.6 or better usually)
 - - pic : Build Position Independent Code.  Do not
utilize this flag unless you know what you're doing.
 - - video_cards_i810: unknown
 - - video_cards_mach64  : unknown
 - - video_cards_mga : unknown
 - - video_cards_none: unknown
 - - video_cards_r128: unknown
 - - video_cards_radeon  : unknown
 - - video_cards_s3virge : unknown
 - - video_cards_savage  : unknown
 - - video_cards_sis : unknown
 - - video_cards_sunffb  : unknown
 - - video_cards_tdfx: unknown
 - - video_cards_trident : unknown
 - - video_cards_via : unknown
 - - xcb : Support the X C-language Binding, a
replacement for Xlib





-emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22.9 i686)
=
System uname: 2.6.22.9 i686 Intel(R) Xeon(TM) CPU 2.66GHz
Timestamp of tree: Sat, 17 Nov 2007 04:30:01 +
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O3 -march=pentium4 -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-O3 -march=pentium4 -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch
GENTOO_MIRRORS=http://gentoo.mirrors.tds.net/gentoo
http://212.219.56.131/sites/www.ibiblio.org/gentoo/
ftp://gentoo.mirrors.tds.net/gentoo;
LC_ALL=en_US.utf8
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
--filter=H_**/files/digest-*
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread Neil Bothwick
On Wed, 28 Nov 2007 08:37:16 -0800, [EMAIL PROTECTED] wrote:

 1.  The 'print' DCOP command pops up the print menu and requires at
 least one click.  I can set the print type (to PDF file) and the
 default file name ahead of time, but I still have to click on
 Print.

Browsing kdcop, the print option accepts an option boolean argument,
quick. This skips the print requester. Try 'print 1' instead of 'print'.

 2.  When I pass it the URL to display, it returns immediately, and I
 have to insert a sleep to wait before sending the print command.
 Is there any way to find out when the page is complete?

ISTR there's a dcop comand to test whether a page has finished loading.


-- 
Neil Bothwick

Midget psychic escapes from prison, small medium at large!


signature.asc
Description: PGP signature


Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread felix
On Wed, Nov 28, 2007 at 05:18:03PM +, Neil Bothwick wrote:
 On Wed, 28 Nov 2007 08:37:16 -0800, [EMAIL PROTECTED] wrote:
 
  1.  The 'print' DCOP command pops up the print menu and requires at
  least one click.  I can set the print type (to PDF file) and the
  default file name ahead of time, but I still have to click on
  Print.
 
 Browsing kdcop, the print option accepts an option boolean argument,
 quick. This skips the print requester. Try 'print 1' instead of 'print'.

Unfortunately, it then ignores the default changes I've made and tries
to print straight to a non-existent printer.

I'm going to subscribe to the kde mailing list.  I think this is
getting a bit away from gentoo-specific, but I will post any useful
answers here.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Gentoo on the server side

2007-11-28 Thread Rafael Barrera Oro
   The issue is, as you should already must have guessed, if its a good idea
to deploy Gentoo in a server. For the first time, i have the opportunity to
install Gentoo on a properly set (almost pimped out) server and i wanted to
be sure i know what i am doing before getting on with it. Where i work at,
the tradition is to go with FreeBSD (which is, without a doubt, very stable)
but since our FreeBSD guru parted i've been juggling the idea of starting to
use Gentoo on servers instead of using it only on desktops.
   I have always found very useful stuff in www.gentoo.org, however, i have
not found a specific server side faq. Does anyone know where i could get
such documentation?

Any pointers, opinions, faqs, insights, etc will be greatly appreciated

best wishes

Rafael


Re: [gentoo-user] graphviz-2.12 fails to compile

2007-11-28 Thread Andrey Vul
How do I enable custom CFLAGS for graphviz (or at least cancel out the
inlining flag in the ebuilld)?
Also, could this be a gcc-4.2 bug?
If it is, I'll send a bug report to the gcc mailing list.

On 11/28/07, Albert Hopkins [EMAIL PROTECTED] wrote:

 On Wed, 2007-11-28 at 00:31 -0500, Andrey Vul wrote:
  last few lines of build log:
  [libtool]
  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
  -I../../lib/common -I../../lib/graph -I../../lib/cdt
  -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
  -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
  -mtune=athlon64 -finline-functions -MT gv_perl.lo -MD -MP -MF
  .deps/gv_perl.Tpo -c gv_perl.cpp -fPIC -DPIC -o .libs/gv_perl.o
  [libtool]
  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
  -I../../lib/common -I../../lib/graph -I../../lib/cdt
  -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
  -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
  -mtune=athlon64 -finline-functions -MT gv_python.lo -MD -MP -MF
  .deps/gv_python.Tpo -c gv_python.cpp -fPIC -DPIC -o .libs/gv_python.o
  gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification
  make[3]: *** [gv_perl.lo] Error 1
  [make stack]
 
  known bug or is something wtf?

 From the looks of it, your -finline-functions flag allowed a static
 function to be compiled inline and caused some kind of linkage problem.

 --
 Albert W. Hopkins

 --
 [EMAIL PROTECTED] mailing list




-- 
Andrey Vul
int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\
o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: static IP, gateway and netmask setting

2007-11-28 Thread Dan Farrell
On Wed, 28 Nov 2007 10:18:05 +0100
Etaoin Shrdlu [EMAIL PROTECTED] wrote:

 I don't know exactly how initscripts work, but I suppose that if
 the /24 is given in /etc/conf.d/net, then both the resulting iproute2
 and ifconfig command that bring the interface up will include the
 netmask specification.

How the net init script works (there's really only one, generally net.*
is linked to net.lo for update simplicity) is configured
in /etc/conf.d/net.  /etc/conf.d/net.example holds examples for just
about every imaginable configuration, but from my net, iproute2 looks
something like:

modules=(iproute2);
config_eth0=( 192.168.1.87/24 brd 192.168.1.255);
routes_eth0=( default via 192.168.1.1 );
config_eth1=( 192.168.1.88/24 brd 192.168.1.255 );

but as you can see, that still doesn't set up a netmask but uses the
default.  I agree that in both cases the default would be /8 for a
10.xxx network, but as you can see the config syntax is different for
iproute2 and ifconfig.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: static IP, gateway and netmask setting

2007-11-28 Thread Rafael Barrera Oro
Indeed, setting the ip, gateway, and netmask was enough to make it work in
my case.

Thanks to all for your replies.

2007/11/28, Dan Farrell [EMAIL PROTECTED]:

 On Wed, 28 Nov 2007 10:18:05 +0100
 Etaoin Shrdlu [EMAIL PROTECTED] wrote:

  I don't know exactly how initscripts work, but I suppose that if
  the /24 is given in /etc/conf.d/net, then both the resulting iproute2
  and ifconfig command that bring the interface up will include the
  netmask specification.

 How the net init script works (there's really only one, generally net.*
 is linked to net.lo for update simplicity) is configured
 in /etc/conf.d/net.  /etc/conf.d/net.example holds examples for just
 about every imaginable configuration, but from my net, iproute2 looks
 something like:

 modules=(iproute2);
 config_eth0=( 192.168.1.87/24 brd 192.168.1.255);
 routes_eth0=( default via 192.168.1.1 );
 config_eth1=( 192.168.1.88/24 brd 192.168.1.255 );

 but as you can see, that still doesn't set up a netmask but uses the
 default.  I agree that in both cases the default would be /8 for a
 10.xxx network, but as you can see the config syntax is different for
 iproute2 and ifconfig.
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] Removing a nuissance message regarding FreeFontPath on exitting X

2007-11-28 Thread Dan Farrell
On Wed, 28 Nov 2007 02:40:52 +
Nick [EMAIL PROTECTED] wrote:

 Hi there,
 
 My gentoo system is now in the lovely state that I can start asking
 more asthetic, perfectionist questions.
 
 Every time I quit X (after starting with startx, regardless of
 window manager) I get the message:
 
 FreeFontPath:  FPE  /usr/X11R6/lib/X11/fonts/misc/  refcount  is
 2, should be 1; fixing.
 
 Evidently it doesn't do a very good job of fixing, as the message
 appears every time. I tried mkfontcache etc to no avail, and was
 wondering if anyone else experiences this, what it means, and how to
 stop it complaining?
 
 Thanks for any advice / clues.
 
 
 Nick
 

heh, i've been getting that message for years now.  never really
thought too much about fixing it, but it'd be nice to get rid of it...
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ssh connections time out

2007-11-28 Thread Dan Farrell
On Wed, 28 Nov 2007 09:57:25 +
Mick [EMAIL PROTECTED] wrote:

 I just ran some quick tcptraceroute tests and can see that my random
 port number has the same or less latency than port 80, or port 22 
 connections . . .

DNS Servers over loaded, on one side of the transaction or the other?  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: static IP, gateway and netmask setting

2007-11-28 Thread Etaoin Shrdlu
On Wednesday 28 November 2007, Dan Farrell wrote:

 How the net init script works (there's really only one, generally
 net.* is linked to net.lo for update simplicity)

That script only calls functions defined elsewhere. The hard (and 
module-dependent) work is done by the files located 
in /lib/rcscripts/net. In particular, /lib/rcscripts/net/iproute2.sh 
and /lib/rcscripts/net/ifconfig.sh define all the various *_up(), 
*_down(), *_add_address(), etc. functions that are invoked by net.lo.
 
 /etc/conf.d/net.example holds examples for just 
 about every imaginable configuration, but from my net, iproute2 looks
 something like:

 modules=(iproute2);
 config_eth0=( 192.168.1.87/24 brd 192.168.1.255);
 routes_eth0=( default via 192.168.1.1 );
 config_eth1=( 192.168.1.88/24 brd 192.168.1.255 );

 but as you can see, that still doesn't set up a netmask but uses the
 default.  

What I see is that you are explicitly specifying the netmask. The /24 in 
your lines specifies the netmask. Even if you didn't, in your case 
things would probably still work, because iproute2 would probably use a 
class C netmask, which is also /24. But nonetheless you are not 
using the default (whatever this means), but are instead explicitly 
specifying a netmask.

 I agree that in both cases the default would be /8 for a 
 10.xxx network, but as you can see the config syntax is different for
 iproute2 and ifconfig.

As I understand it, the syntax is exactly the same. What is different are 
the commands that are run behind the scenes to configure the interfaces, 
and these depend on the module you choose (iproute2 or ifconfig). In 
other words, if you substituted modules=(iproute2) with 
modules=(ifconfig) in your etc/conf.d/net, everything would still work 
as expected.
The lack of a netmask specification will result in the tool used for the 
configuration (ifconfig or iproute2) doing whatever is appropriate for 
it: usually, this would just mean use the default classful netmask,
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Mark Shields
I run Gentoo on a server, but it's just a hobby, low-end one.  Athlon XP
processor, 1.5 gigs of ram, raid 1 (hardware-controlled).  I have a few
daemons/servers on it, such as Apache, snmp, and an MTA.  Runs fine.

You might try talking to some of the web hosts who run dedicated Gentoo
servers.  Links are on the main Gentoo website to some of these hosts.

On Nov 28, 2007 1:01 PM, Rafael Barrera Oro [EMAIL PROTECTED] wrote:

The issue is, as you should already must have guessed, if its a good
 idea to deploy Gentoo in a server. For the first time, i have the
 opportunity to install Gentoo on a properly set (almost pimped out) server
 and i wanted to be sure i know what i am doing before getting on with it.
 Where i work at, the tradition is to go with FreeBSD (which is, without a
 doubt, very stable) but since our FreeBSD guru parted i've been juggling the
 idea of starting to use Gentoo on servers instead of using it only on
 desktops.
I have always found very useful stuff in www.gentoo.org, however, i
 have not found a specific server side faq. Does anyone know where i could
 get such documentation?

 Any pointers, opinions, faqs, insights, etc will be greatly appreciated

 best wishes

 Rafael




-- 
- Mark Shields


RE: [gentoo-user] missing libraries in mesa-6.5.2-r1 emerge ??

2007-11-28 Thread de Almeida, Valmor F.

Additional info and question.

From the log of the install of mesa-6.5.2-r1 I see

make[2]: Entering directory
`/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src'
Making sources for linux-dri-x86
mkdir ../lib

which looks like it is doing a make linux-dri-x86. I would rather have
it do make linux which I expect it will create the off-screen missing
library. 

Therefore, is there a way to tell the ebuild to use the make option
linux as opposed to linux-dri-x86? I suppose this could have an impact
on the packages that depend on mesa-6.5.2-r1.

Thanks for any comments/answers.

--
Valmor

 -Original Message-
 From: de Almeida, Valmor F. [mailto:[EMAIL PROTECTED]
 
 Hello,
 
 When emerging mesa-6.5.2-r1 I don't get the library libOSMesa.so*
built.
 Did this library go away or is it a problem of selecting the correct
USE
 parameter. Currently I am using what is listed below.
 
 Thanks for your help.
 
 --
 Valmor
 
 
 -equery uses mesa
 [ Searching for packages matching mesa... ]
 [ 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-libs/mesa-6.5.2-r1 ]
  U I
  - - debug   : Enable extra debug codepaths, like asserts
 and extra output. If you want to get meaningful backtraces see
 http://www.gentoo.org/proj/en/qa/backtraces.xml .
  + + doc : Adds extra documentation (API, Javadoc,
etc)
  - - kernel_FreeBSD  : unknown
  + + motif   : Adds motif support (x11-libs/openmotif
 x11-libs/lesstif)
  + + nptl: Enable support for Native POSIX Threads
 Library, the new threading module (requires linux-2.6 or better
usually)
  - - pic : Build Position Independent Code.  Do not
 utilize this flag unless you know what you're doing.
  - - video_cards_i810: unknown
  - - video_cards_mach64  : unknown
  - - video_cards_mga : unknown
  - - video_cards_none: unknown
  - - video_cards_r128: unknown
  - - video_cards_radeon  : unknown
  - - video_cards_s3virge : unknown
  - - video_cards_savage  : unknown
  - - video_cards_sis : unknown
  - - video_cards_sunffb  : unknown
  - - video_cards_tdfx: unknown
  - - video_cards_trident : unknown
  - - video_cards_via : unknown
  - - xcb : Support the X C-language Binding, a
 replacement for Xlib
 
 
 
 
 
 -emerge --info
 Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
 2.6.22.9 i686)
 =
 System uname: 2.6.22.9 i686 Intel(R) Xeon(TM) CPU 2.66GHz
 Timestamp of tree: Sat, 17 Nov 2007 04:30:01 +
 app-shells/bash: 3.2_p17
 dev-java/java-config: 1.3.7, 2.0.33-r1
 dev-lang/python: 2.4.4-r6
 dev-python/pycrypto: 2.0.1-r6
 sys-apps/baselayout: 1.12.9-r2
 sys-apps/sandbox:1.2.18.1-r2
 sys-devel/autoconf:  2.13, 2.61-r1
 sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
 sys-devel/binutils:  2.18-r1
 sys-devel/gcc-config: 1.3.16
 sys-devel/libtool:   1.5.24
 virtual/os-headers:  2.6.22-r2
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O3 -march=pentium4 -fomit-frame-pointer
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/X11/xkb
 CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
 /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d
 CXXFLAGS=-O3 -march=pentium4 -fomit-frame-pointer
 DISTDIR=/usr/portage/distfiles
 FEATURES=distlocks metadata-transfer sandbox sfperms strict
 unmerge-orphans userfetch
 GENTOO_MIRRORS=http://gentoo.mirrors.tds.net/gentoo
 http://212.219.56.131/sites/www.ibiblio.org/gentoo/
 ftp://gentoo.mirrors.tds.net/gentoo;
 LC_ALL=en_US.utf8
 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
 --filter=H_**/files/digest-*
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 SYNC=rsync://rsync.gentoo.org/gentoo-portage
 --
 [EMAIL PROTECTED] mailing list

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread YoYo Siska
[EMAIL PROTECTED] wrote:
 On Tue, Nov 27, 2007 at 10:07:10PM +, Neil Bothwick wrote:
 On Tue, 27 Nov 2007 13:53:10 -0800, [EMAIL PROTECTED] wrote:

 These web pages use Javascript; some render so-so without javascript,
 some don't render at all well.  What I would like is some firefox (or
 Konqueror or ...)  command line option to render the page and save it
 as any other format -- jpg, pdf, ps, doesn't matter.
 You could probably do this with a shell script that loads Konqueror with
 the given URL and send it DCOP command(s) to print.
 
 I have been fooling around with this and following some of the google
 treasure, and it is a decent substitute for the nice simple command
 line options that I want.  But it has a few problems:
 
 1.  The 'print' DCOP command pops up the print menu and requires at
 least one click.  I can set the print type (to PDF file) and the
 default file name ahead of time, but I still have to click on
 Print.
 
 2.  When I pass it the URL to display, it returns immediately, and I
 have to insert a sleep to wait before sending the print command.
 Is there any way to find out when the page is complete?
 
 3.  If I put in a one minute pause to allow even the slowest web sites
 to fully load, that limits how many of these URLs I can process.
 Is there any way to run multiple konqueror sessions at once?
 
 #1 is a real show stopper.  The others are merely annoying.

emerge -av x11-misc/xautomation
xte --help

it allows you to move mouse, click, send keypresses...
finding the right coordinates to click might not be easy (although the
package contains som programs that allow you to find specific pictures
on screen...) but sending the correct  tab and enter sequence should be
enough (I expect just pressing enter in the dialog should be enough)

you should be able to use this also with firefox
send alt-f, p, few tabs to get to the print to file, space, enter,
name of the file, enter
;))

yoyo
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I run Gentoo on 5+ servers (the rest are Ubuntu Linux servers and OpenBSD). I 
have to admit that the
upgrading procedure and certain Java/libs issues are making it a little painful 
to maintain, but on
the other side, I LOVE webapp-config. It makes wordpress (for example) 
upgrading for 200+
installations a quick and painless task.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Apoye la Musica Libre - Vote Futurabanda desde: (ver sgte. linea)
http://www.frecuenciazero.com.ar/realityrock/votar.htm
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHTeeOAlpOsGhXcE0RCkw6AJY7D/Gdrei84glHHbutTg96/BX3AJ9P4tkm
Tx25xSFjBIW8HCxBvg1w1g==
=s5Mp
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Jason Carson
I have been using Gentoo for my server for several years. Just a hobby but
I run the following services...

Apache, MySQL, Qmail, VSFTPD, SAMBA, BIND, Squid and Courier Imap.

Use Webmin for configuration and setting it up is easy as pie.

The issue is, as you should already must have guessed, if its a good
 idea
 to deploy Gentoo in a server. For the first time, i have the opportunity
 to
 install Gentoo on a properly set (almost pimped out) server and i wanted
 to
 be sure i know what i am doing before getting on with it. Where i work at,
 the tradition is to go with FreeBSD (which is, without a doubt, very
 stable)
 but since our FreeBSD guru parted i've been juggling the idea of starting
 to
 use Gentoo on servers instead of using it only on desktops.
I have always found very useful stuff in www.gentoo.org, however, i
 have
 not found a specific server side faq. Does anyone know where i could get
 such documentation?

 Any pointers, opinions, faqs, insights, etc will be greatly appreciated

 best wishes

 Rafael



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread Ricardo Saffi Marques
If you use KDE, you can right click the Title Bar and go to Application
Specific Settings (or something like that. I'm on a Mac now :-) ) and
configure the windows to always open at the center, for instance. That helps
on the finding the right coordinates to click might not be easy issue. =)

On 11/28/07, YoYo Siska [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
  On Tue, Nov 27, 2007 at 10:07:10PM +, Neil Bothwick wrote:
  On Tue, 27 Nov 2007 13:53:10 -0800, [EMAIL PROTECTED] wrote:
 
  These web pages use Javascript; some render so-so without javascript,
  some don't render at all well.  What I would like is some firefox (or
  Konqueror or ...)  command line option to render the page and save it
  as any other format -- jpg, pdf, ps, doesn't matter.
  You could probably do this with a shell script that loads Konqueror
 with
  the given URL and send it DCOP command(s) to print.
 
  I have been fooling around with this and following some of the google
  treasure, and it is a decent substitute for the nice simple command
  line options that I want.  But it has a few problems:
 
  1.  The 'print' DCOP command pops up the print menu and requires at
  least one click.  I can set the print type (to PDF file) and the
  default file name ahead of time, but I still have to click on
  Print.
 
  2.  When I pass it the URL to display, it returns immediately, and I
  have to insert a sleep to wait before sending the print command.
  Is there any way to find out when the page is complete?
 
  3.  If I put in a one minute pause to allow even the slowest web sites
  to fully load, that limits how many of these URLs I can process.
  Is there any way to run multiple konqueror sessions at once?
 
  #1 is a real show stopper.  The others are merely annoying.

 emerge -av x11-misc/xautomation
 xte --help

 it allows you to move mouse, click, send keypresses...
 finding the right coordinates to click might not be easy (although the
 package contains som programs that allow you to find specific pictures
 on screen...) but sending the correct  tab and enter sequence should be
 enough (I expect just pressing enter in the dialog should be enough)

 you should be able to use this also with firefox
 send alt-f, p, few tabs to get to the print to file, space, enter,
 name of the file, enter
 ;))

 yoyo
 --
 [EMAIL PROTECTED] mailing list




-- 
*Ricardo Saffi Marques*
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
*Cell:* +55 (19) 8128-0435
*Skype:* ricardo_saffi_marques
*Website:* *http://www.rsaffi.com*


Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Ricardo Saffi Marques
Our main server, which hosts the Latin America Official Gentoo Mirror runs
Gentoo. So does our Web-server. So does our Backup server. So does our
datacenter. By our I mean the laboratory I work at (check signature). I
see no major issue on running Gentoo on servers.

On 11/28/07, Jason Carson [EMAIL PROTECTED] wrote:

 I have been using Gentoo for my server for several years. Just a hobby but
 I run the following services...

 Apache, MySQL, Qmail, VSFTPD, SAMBA, BIND, Squid and Courier Imap.

 Use Webmin for configuration and setting it up is easy as pie.

 The issue is, as you should already must have guessed, if its a good
  idea
  to deploy Gentoo in a server. For the first time, i have the opportunity
  to
  install Gentoo on a properly set (almost pimped out) server and i wanted
  to
  be sure i know what i am doing before getting on with it. Where i work
 at,
  the tradition is to go with FreeBSD (which is, without a doubt, very
  stable)
  but since our FreeBSD guru parted i've been juggling the idea of
 starting
  to
  use Gentoo on servers instead of using it only on desktops.
 I have always found very useful stuff in www.gentoo.org, however, i
  have
  not found a specific server side faq. Does anyone know where i could get
  such documentation?
 
  Any pointers, opinions, faqs, insights, etc will be greatly appreciated
 
  best wishes
 
  Rafael
 


 --
 [EMAIL PROTECTED] mailing list




-- 
*Ricardo Saffi Marques*
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
*Cell:* +55 (19) 8128-0435
*Skype:* ricardo_saffi_marques
*Website:* *http://www.rsaffi.com*


Re: [gentoo-user] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread felix
On Wed, Nov 28, 2007 at 11:06:25PM +0100, YoYo Siska wrote:

 emerge -av x11-misc/xautomation
 xte --help

This could be useful.  I have downloaded the firefox sources and am
carwling thru, trying to see how much trouble a customized --print
option would be.  It is sleep inducing :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] graphviz-2.12 fails to compile

2007-11-28 Thread Andrey Vul
On Nov 28, 2007 8:17 AM, Albert Hopkins [EMAIL PROTECTED] wrote:

 On Wed, 2007-11-28 at 00:31 -0500, Andrey Vul wrote:
  last few lines of build log:
  [libtool]
  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
  -I../../lib/common -I../../lib/graph -I../../lib/cdt
  -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
  -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
  -mtune=athlon64 -finline-functions -MT gv_perl.lo -MD -MP -MF
  .deps/gv_perl.Tpo -c gv_perl.cpp -fPIC -DPIC -o .libs/gv_perl.o
  [libtool]
  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
  -I../../lib/common -I../../lib/graph -I../../lib/cdt
  -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
  -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
  -mtune=athlon64 -finline-functions -MT gv_python.lo -MD -MP -MF
  .deps/gv_python.Tpo -c gv_python.cpp -fPIC -DPIC -o .libs/gv_python.o
  gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification
  make[3]: *** [gv_perl.lo] Error 1
  [make stack]
 
  known bug or is something wtf?

 From the looks of it, your -finline-functions flag allowed a static
 function to be compiled inline and caused some kind of linkage problem.


I removed the '-finline-functions' from my CFLAGS and the same error
still happens.


-- 
Andrey Vul
int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\
o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Ric de France
I can't claim to have done anything as fancy as Ricardo, but in my
previous place of work I used Gentoo on three different servers to:

Apache, PHP, Perl, MySQL, Squid, SVN, and other bits and pieces...

Generally things ran smoothly... but upgrades did take some time...
and I only trusted a small subset of the team to upgrade the PCs...
Still... it meant that some areas got to move up from the technology
that was offered with Red Hat 7.1 to more current technologies /
versions...

Never saw a problem with it... most major upgrades were done out of
hours, and most of the customers were informed if there was going to
be any loss of service. Fortunately they weren't 24/7 systems...
mainly business hours 9-5...

...Ric

On 29/11/2007, Ricardo Saffi Marques [EMAIL PROTECTED] wrote:
 Our main server, which hosts the Latin America Official Gentoo Mirror runs
 Gentoo. So does our Web-server. So does our Backup server. So does our
 datacenter. By our I mean the laboratory I work at (check signature). I
 see no major issue on running Gentoo on servers.

-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
 == Do you, uh... Gentoo? Gent-hooo!! ==
== http://www.gentoo.org/main/en/about.xml ==
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Mark Kirkwood

Rafael Barrera Oro wrote:
   The issue is, as you should already must have guessed, if its a 
good idea to deploy Gentoo in a server. For the first time, i have the 
opportunity to install Gentoo on a properly set (almost pimped out) 
server and i wanted to be sure i know what i am doing before getting 
on with it. Where i work at, the tradition is to go with FreeBSD 
(which is, without a doubt, very stable) but since our FreeBSD guru 
parted i've been juggling the idea of starting to use Gentoo on 
servers instead of using it only on desktops.
   I have always found very useful stuff in www.gentoo.org 
http://www.gentoo.org, however, i have not found a specific server 
side faq. Does anyone know where i could get such documentation?


Any pointers, opinions, faqs, insights, etc will be greatly appreciated


I use 2 Gentoo servers for my work activities (I need at least 2 Linux 
deploy hosts for the database cluster product I participate in building).


Since using Gentoo early in 2006, I haven't had any stability issues, 
and I'm fairly aggressive with updates - every month.


Cheers

Mark

P.s: Funny - I use FreeBSD as my workstation os...
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ssh connections time out

2007-11-28 Thread Billy Holmes
Mick wrote:
 I just ran some quick tcptraceroute tests and can see that my random port 
 number has the same or less latency than port 80, or port 22 
 connections . . .
   

try two things:

1) put your sshd on port 443 if you can. see if you can connect with no
latency.

or

2) perform this as root on BOTH boxes:

# echo 0  /proc/sys/net/ipv4/tcp_window_scaling

that will disable the large tcp window negotiation. some broken
firewalls/packet filters cause connections with this enabled to fail or
become unfriendly.

http://lists.debian.org/debian-kernel/2007/01/msg00652.html
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Java problem (with pylucene)

2007-11-28 Thread Billy Holmes
Helmut Jarausch wrote:
 ImportError: /usr/lib/jvm/sun-jdk-1.6/jre/lib/i386/libjava.so: symbol 
 JVM_GetClassSignature, 
 version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
   

does it really need 1.6? 1.5 and 1.6 aren't always compatible, but from
the sound of it, jcc is doing some kind of python/java hybrid?

You could always do a strace on it, and see what's loading libjava, and
see if it's trying to dlsym on sunwprivate after it loads libjvm.. but
you need to figure out WHICH libjvm it's actually loading.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo on the server side

2007-11-28 Thread Billy Holmes
Robert Spahr wrote:
 I have been running these gentoo servers since 2003, with very few
 problems. Although I am conservative in doing my updates.
   

I've run gentoo on several servers from dual intels running dns, squid,
routing, to web servers, to quad opterons running as terminal servers.

The secret to all of that is what Robert said.. update conservatively.

The update from apache 1.x to 2.x broke some things (good idea to follow
the update faqs, or as I did, rebuild the config files by hand), as did
when the gentoo apache package managers decided to change the config
file layout to better match other distros.

Also, beware of some of the library updates. They can break other things
that revdep-rebuild will have to fix.

It's a good idea to look up via google or whatever to figure out what's
being updated and why (read the changelog).

It will take a bit to get used to, but after awhile you'll just eyeball
it and know which packages are non-issues, and which should be looked
closely.

It's also a good idea to have a staging server where you can test the
updates and trash it if you need to (virtualization will help with this
a lot).

Also, some updates don't fully manifest themselves till you restart all
the processes or restart the machine. Processes that were running before
a library update still have an internal image of the previous version's
library.
-- 
[EMAIL PROTECTED] mailing list