[gentoo-ppc-user] newbie help with emerge --update --deep --newuse world

2006-08-02 Thread Daryl P. Williams

dear gentoo people,

i am trying to migrate to gentoo ppc64 from osx tiger.  unfortunately i 
have run myself
into some problems, probably due to my own newbiness and unfamiliarity's 
with gentoo.

i was trying to do a:

emerge --update --deep --newuse world

as described in the gentoo handbook.  when it stopped with a complaint 
about a conflict
between the pam-login and shadow packages.  i made the mistake of 
unmerging pam-login
and now i can only access the system by booting the kernel with the arg: 
init=/bin/bash.
however after removing the above conflict the build continued, but 
eventually stopped
with another problem, which i don't have a clue where to begin - except 
here on the
list. and so i am hoping you gracious and patient folks might be willing 
to lend a

helping hand to someone trying to make the move from osx to gentoo.
and so with that hope i hand,  i now present you with the details:

the system is a 2 CPU PPC G5, w/internal SATA drive, and a 20 
CinemaDisplay.


my make.conf includes the following USE definition:

USE=-unicode -gnome -gtk kde qt gtk2 hal

i added the -unicode because i was having trouble building the audacity 
program

which complained about wxWidgets (or something) needing to be re-emerged
w/out unicode, and after trying a local package USE=-unicode which 
wouldn't
work,  i decided to try adding it to the make.conf. my ultimate goal is 
to set up an

audio/recording system.

i have included below the output from emerge --info as well as the 
broken make.
again, thanks for your patience, and if i need to supply any other 
information please

let me know.

thanks,

daryl
daryl at weblane dot com


emerge --info:

Gentoo Base System version 1.6.14
Portage 2.1.1_pre4 (default-linux/ppc/ppc64/2006.0/64bit-userland, 
gcc-3.4.4/vanilla, glibc-2.3.4.20041102-r2, 2.6.17-gentoo-r4tochtli-01 
ppc64)

=
System uname: 2.6.17-gentoo-r4tochtli-01 ppc64 unknown
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS=ppc64 ~ppc64
AUTOCLEAN=yes
CBUILD=powerpc64-unknown-linux-gnu
CFLAGS=-O2 -pipe -mtune=970 -mcpu=970 -maltivec -mabi=altivec
CHOST=powerpc64-unknown-linux-gnu
CONFIG_PROTECT=
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf
CXXFLAGS=-O2 -pipe -mtune=970 -mcpu=970 -maltivec -mabi=altivec
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ 

MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--compress --force --whole-file --delete --delete-after --stats 
--timeout=180 --exclude='/distfiles' --exclude='/local' 
--exclude='/packages'

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=ppc64 X alsa apache2 apm arts berkdb bitmap-fonts cdr cli cups 
dlloader dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gpm 
gstreamer gtk2 hal ibm imlib ipv6 isdnlog jpeg kde libg++ libwww mad 
mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre 
pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl 
session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev 
vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard 
input_devices_mouse kernel_linux userland_GNU
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, 
LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY




make output:

../include/sys/uio.h:5: warning: `altivec' attribute ignored
../include/sys/uio.h:7: warning: `altivec' attribute ignored
../include/sys/uio.h:9: warning: `altivec' attribute ignored
../include/sys/uio.h:11: warning: `altivec' attribute ignored
powerpc64-unknown-linux-gnu-gcc printf_fp.c -c -std=gnu99 -O2 -Wall 
-Winline -Wwrite-strings -fmerge-all-constants -mcpu=970 -mtune=970 
-pipe -mnew-mnemonics -Wstrict-prototypes -mlong-double-128  -fpic
-I../include 
-I/var/tmp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gnu-nptl/stdio-common 
-I/var/tmp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gnu-nptl 
-I../sysdeps/powerpc/powerpc64/elf -I../sysdeps/powerpc/elf 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu 
-I../sysdeps/powerpc/powerpc64/fpu 
-I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc64 
-I../sysdeps/unix/sysv/linux/wordsize-64 

Re: [gentoo-ppc-user] newbie help with emerge --update --deep --newuse world

2006-08-02 Thread David B?langer

Hi Daryl,

The builds fail.  Could be a bug in Gentoo, a misconfiguration, etc.
I do not have the answer of what is going on wrong in this case,
maybe someone else will know.

I will do the following suggestions though.

1) Remove ~ppc64 from your keywords or try the glibc marked stable
(ppc64).  ~ppc64 denotes the testing versions.  If you are new, you
might want to go with the stable version for most packages, they
have been slightly tested better.

2) You can always skip glibc for now and install the other packages.
With:
emerge -av --oneshot pkg1 pkg2 ...
you will be able to merge pkg1 pkg2 ...
--oneshot will prevent them from being recorded in the world file.
If there is a build bug for glibc, it might be fixed some time soon.
Check bugs.gentoo.org and forums.gentoo.org for info too.

Welcome to the Gentoo world and good luck with this problem.

David



On Wed, Aug 02, 2006 at 12:36:37PM -0700, Daryl P. Williams wrote:
 dear gentoo people,
 
 i am trying to migrate to gentoo ppc64 from osx tiger.  unfortunately i 
 have run myself
 into some problems, probably due to my own newbiness and unfamiliarity's 
 with gentoo.
 i was trying to do a:
 
 emerge --update --deep --newuse world
 
 as described in the gentoo handbook.  when it stopped with a complaint 
 about a conflict
 between the pam-login and shadow packages.  i made the mistake of 
 unmerging pam-login
 and now i can only access the system by booting the kernel with the arg: 
 init=/bin/bash.
 however after removing the above conflict the build continued, but 
 eventually stopped
 with another problem, which i don't have a clue where to begin - except 
 here on the
 list. and so i am hoping you gracious and patient folks might be willing 
 to lend a
 helping hand to someone trying to make the move from osx to gentoo.
 and so with that hope i hand,  i now present you with the details:
 
 the system is a 2 CPU PPC G5, w/internal SATA drive, and a 20 
 CinemaDisplay.
 
 my make.conf includes the following USE definition:
 
 USE=-unicode -gnome -gtk kde qt gtk2 hal
 
 i added the -unicode because i was having trouble building the audacity 
 program
 which complained about wxWidgets (or something) needing to be re-emerged
 w/out unicode, and after trying a local package USE=-unicode which 
 wouldn't
 work,  i decided to try adding it to the make.conf. my ultimate goal is 
 to set up an
 audio/recording system.
 
 i have included below the output from emerge --info as well as the 
 broken make.
 again, thanks for your patience, and if i need to supply any other 
 information please
 let me know.
 
 thanks,
 
 daryl
 daryl at weblane dot com
 
 
 emerge --info:
 
 Gentoo Base System version 1.6.14
 Portage 2.1.1_pre4 (default-linux/ppc/ppc64/2006.0/64bit-userland, 
 gcc-3.4.4/vanilla, glibc-2.3.4.20041102-r2, 2.6.17-gentoo-r4tochtli-01 
 ppc64)
 =
 System uname: 2.6.17-gentoo-r4tochtli-01 ppc64 unknown
 app-admin/eselect-compiler: 2.0.0_rc2-r1
 dev-lang/python: 2.4.3-r1
 dev-python/pycrypto: 2.0.1-r5
 dev-util/ccache: [Not Present]
 dev-util/confcache:  [Not Present]
 sys-apps/sandbox:1.2.18.1
 sys-devel/autoconf:  2.13, 2.60
 sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
 sys-devel/binutils:  2.17
 sys-devel/gcc-config: 2.0.0_rc1
 sys-devel/libtool:   1.5.22
 virtual/os-headers:  2.6.16
 ACCEPT_KEYWORDS=ppc64 ~ppc64
 AUTOCLEAN=yes
 CBUILD=powerpc64-unknown-linux-gnu
 CFLAGS=-O2 -pipe -mtune=970 -mcpu=970 -maltivec -mabi=altivec
 CHOST=powerpc64-unknown-linux-gnu
 CONFIG_PROTECT=
 CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf
 CXXFLAGS=-O2 -pipe -mtune=970 -mcpu=970 -maltivec -mabi=altivec
 DISTDIR=/usr/portage/distfiles
 FEATURES=autoconfig distlocks metadata-transfer sandbox sfperms strict
 GENTOO_MIRRORS=http://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
 http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
 http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ 
 MAKEOPTS=-j3
 PKGDIR=/usr/portage/packages
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
 --compress --force --whole-file --delete --delete-after --stats 
 --timeout=180 --exclude='/distfiles' --exclude='/local' 
 --exclude='/packages'
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
 USE=ppc64 X alsa apache2 apm arts berkdb bitmap-fonts cdr cli cups 
 dlloader dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gpm 
 gstreamer gtk2 hal ibm imlib ipv6 isdnlog jpeg kde libg++ libwww mad 
 mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre 
 pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl 
 session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev 
 vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard 
 input_devices_mouse kernel_linux userland_GNU
 Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, 
 LDFLAGS, 

[gentoo-user] Re: Start printer automatically

2006-08-02 Thread Francesco Talamona
On Tuesday 01 August 2006 19:24, Grant wrote:
 How can I keep from having to manually start my printer in CUPS
 every so often?

Does the printer silently go offline? Sometimes a document contains an 
error and CUPS set the printer off-line.

Raise CUPS log level and check the logs.

Maybe there's a problem in you printing subsystem (also firefox emerge 
fails at some point around xprint, from your other post). Perhaps it's 
time to run revdep-rebuild

ciao
Francesco
-- 
Linux Version 2.6.17-gentoo-r4, Compiled #1 PREEMPT Mon Jul 24 07:52:46 
CEST 2006
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4410.78 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gentoo linux in hp proliant DL 360

2006-08-02 Thread Shain Lee
hi ,   I have a hp proliant DL 360 server. actually i tried to install RedHat linux 9 and fedora core 5 . Those Os's are giving me major problems . But RedHat linux 9 , some extend it's good . I could manage to install . Actually , i would like to ask you guys , whether gentoo linux can we instal without any problems to that particular machine ? If it's possible , can u give me a little guide ? does current gentoo version supports for server capabilities ?  Thank you, Shaine.  
		 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine

Re: [gentoo-user] gentoo linux in hp proliant DL 360

2006-08-02 Thread kashani

Shain Lee wrote:

hi ,

I have  a hp proliant DL 360 server. actually i tried to install RedHat 
linux 9 and fedora core 5 . Those Os's are giving me major problems . 
But RedHat linux 9 , some extend it's good . I could manage to install .
Actually , i would like to ask you guys , whether gentoo linux can we 
instal without any problems to that particular machine ?
If it's possible , can u give me a little guide ? does current gentoo 
version  supports for server capabilities ?


Works fine with Gentoo from 2005.1 install disk going forward. My 
personal server is one and I have the Compaq RAID card as well which was 
supported without issue though the naming is a bit odd ie /dev/sda1 on 
another system is actually /dev/cciss/c0d0p1 on that system. Keep that 
in mind and follow the install guide and you should have no issues.


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



Re: [gentoo-user] gentoo linux in hp proliant DL 360

2006-08-02 Thread Uwe Thiem
On 02 August 2006 08:16, Shain Lee wrote:
 hi ,

  I have  a hp proliant DL 360 server. actually i tried to install RedHat
 linux 9 and fedora core 5 . Those Os's are giving me major problems . But
 RedHat linux 9 , some extend it's good . I could manage to install .
 Actually , i would like to ask you guys , whether gentoo linux can we
 instal without any problems to that particular machine ? If it's possible ,
 can u give me a little guide ? does current gentoo version  supports for
 server capabilities ?

I did install gentoo on a DL360 (one Xeon,SCSI but no RAID) without any 
problems. Actually, I wouldn't know what special guide to give. It went 
completely smoothly.

What are your problems?

Uwe

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



[gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Hello,
I use gtk+ for my soft's graphic interface.
But valgrind make an log file containing approximately 22700 lines for an
simple source code like : 
#include gtk/gtk.h

int main(int argc, char **argv) {
gtk_init(argc, argv);
  GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);
  g_signal_connect(G_OBJECT(win), destroy, G_CALLBACK(gtk_main_quit), 
NULL);  
  gtk_widget_show_all(win);
  gtk_main();
  return EXIT_SUCCESS;
}
It's difficult to write more simple code...
I've made many searchs on the web but nothing information to resolve this 
problem.
I've recompiling all with : emerge -e world
downgrading all of X parts and gtk+  glib. But the result are the same.
Visibly the big part of error are in gtk_init - gdk_display_open and 
XOpenDisplay in libX11

Someone has the same problem or an solution to solve this leak of memory?
Thank you very much.
It's difficult to write more simple code...  
I've made many search on the web but nothing informations to resolve this 
problem.  
I've recompilling all with : emerge -e world  
downgrading all of X parts and gtk+  glib. 
But results are the same.  
Visibly the most big part of errors are in gtk_init - gdk_display_open and 
XOpenDisplay in libX11
Someone has the same problem or an solution to solve this leak of memory?  
Thank you very much.
Gwenhaël

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Hello,
I use gtk+ for my soft's graphic interface.
But valgrind make an log file containing approximately 22700 lines for an
simple source code like : 
#include gtk/gtk.h

int main(int argc, char **argv) {
gtk_init(argc, argv);
  GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);
  g_signal_connect(G_OBJECT(win), destroy, G_CALLBACK(gtk_main_quit), 
NULL);  
  gtk_widget_show_all(win);
  gtk_main();
  return EXIT_SUCCESS;
}
It's difficult to write more simple code...
I've made many searchs on the web but nothing information to resolve this 
problem.
I've recompiling all with : emerge -e world
downgrading all of X parts and gtk+  glib. But the result are the same.
Visibly the big part of error are in gtk_init - gdk_display_open and 
XOpenDisplay in libX11

Someone has the same problem or an solution to solve this leak of memory?
Thank you very much.
It's difficult to write more simple code...  
I've made many search on the web but nothing informations to resolve this 
problem.  
I've recompilling all with : emerge -e world  
downgrading all of X parts and gtk+  glib. 
But results are the same.  
Visibly the most big part of errors are in gtk_init - gdk_display_open and 
XOpenDisplay in libX11
Someone has the same problem or an solution to solve this leak of memory?  
Thank you very much.
Gwenhaël

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

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

On Wed, 02 Aug 2006 12:58:33 +0200 gwe [EMAIL PROTECTED] wrote:

 Someone has the same problem or an solution to solve this leak of
 memory? Thank you very much.

You should at least describe the problem you have. You're just
describing the things you've tried to nail it down, but what are the
symptoms? What makes you think there's a memory leak in your program?

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



Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Le Wed, 02 Aug 2006 13:20:07 +0200, Hans-Werner Hilse a écrit :

 Hi,
 
 On Wed, 02 Aug 2006 12:58:33 +0200 gwe [EMAIL PROTECTED] wrote:
 
 Someone has the same problem or an solution to solve this leak of
 memory? Thank you very much.
 
 You should at least describe the problem you have. You're just
 describing the things you've tried to nail it down, but what are the
 symptoms? What makes you think there's a memory leak in your program?
 
 -hwh
I'm sorry
I post only the end of log file of valgrind (the entire file is very big
~22500 lines).
This is the result of execute the source code :
==13767== LEAK SUMMARY:
==13767==definitely lost: 36 bytes in 1 blocks.
==13767==indirectly lost: 120 bytes in 10 blocks.
==13767==  possibly lost: 40,264 bytes in 47 blocks.
==13767==still reachable: 118,673 bytes in 1,963 blocks.
==13767== suppressed: 0 bytes in 0 blocks.
--13767--  memcheck: sanity checks: 59 cheap, 3 expensive
--13767--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--13767--  memcheck: auxmaps: 0 searches, 0 comparisons
--13767--  memcheck: secondaries: 53 issued (3392k, 3M)
--13767--  memcheck: secondaries: 115 accessible and distinguished (7360k, 7M)
--13767-- tt/tc: 46,665 tt lookups requiring 56,738 probes
--13767-- tt/tc: 46,665 fast-cache updates, 8 flushes
--13767-- translate: new19,998 (425,678 - 6,983,632; ratio 164:10) [0 
scs]
--13767-- translate: dumped 0 (0 - ??)
--13767-- translate: discarded  209 (3,781 - ??)
--13767-- scheduler: 2,984,389 jumps (bb entries).
--13767-- scheduler: 59/33,828 major/minor sched events.
--13767--sanity: 60 cheap, 3 expensive checks.
--13767--exectx: 30,011 lists, 4,057 contexts (avg 0 per list)
--13767--exectx: 6,894 searches, 3,112 full compares (451 per 1000)
--13767--exectx: 0 cmp2, 196 cmp4, 1,062,968 cmpAll

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] driver for wireless pcmcia card ?

2006-08-02 Thread Ptitjack
Hi all,

I have just one question :
Do you know a driver for the Dexlan 54 Mbps 802.11G wireless pcmcia card ?
After a lot of Googling, I have not found anything  :-(

My config
AMD Athlon 1.2 MHz  512Mo
gentoo-sources-2.6.17-r4

Thanks a lot for your help.


Cheers,

Ptitjack


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] print to PDF within Firefox

2006-08-02 Thread Cláudio Henrique

I can't remember wich, but an old version of firefox allowed me to
print to PDF. how do I do this in this new one (1.5)?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] print to PDF within Firefox

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

On Wed, 2 Aug 2006 09:54:42 -0300
Cláudio Henrique [EMAIL PROTECTED] wrote:

 I can't remember wich, but an old version of firefox allowed me to
 print to PDF. how do I do this in this new one (1.5)?

Firefox was probably compiled with XPrint support. The USE flag
xprint should do this. At least I think that XPrint configured a PDF
Printer by default. Another option would be to use CUPS and configure a
PDF printer there. It wouldn't matter in that case if Firefox has
Xprint support, but that would probably make switching printers easier,
too.

-hwh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] print to PDF within Firefox

2006-08-02 Thread Boris Fersing

2006/8/2, Cláudio Henrique [EMAIL PROTECTED]:

I can't remember wich, but an old version of firefox allowed me to
print to PDF. how do I do this in this new one (1.5)?
--
gentoo-user@gentoo.org mailing list




Print what you want in a file (Postscript) and convert it with ps2pdf
... I don't remember a version of firefox which allowed to print
directly in pdf...

Boris.

--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] driver for wireless pcmcia card ?

2006-08-02 Thread Uwe Klosa
Did you try the madwifi-ng driver. There are a lot of cards which are based on 
the Atheros chipset.

What does does lspci -v show?

Cheers
Uwe

Ptitjack wrote:
 Hi all,
 
 I have just one question :
 Do you know a driver for the Dexlan 54 Mbps 802.11G wireless pcmcia card ?
 After a lot of Googling, I have not found anything  :-(
 
 My config
 AMD Athlon 1.2 MHz  512Mo
 gentoo-sources-2.6.17-r4
 
 Thanks a lot for your help.
 
 
 Cheers,
 
 Ptitjack
 
 
begin:vcard
fn:Uwe Klosa
n:Klosa;Uwe
org:Uppsala University;Electronic Publishing Centre
adr:;;;Uppsala;;75120;Sweden
email;internet:[EMAIL PROTECTED]
tel;work:+46 (0)18 471 7658
url:http://publications.uu.se/epcentre
version:2.1
end:vcard



Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

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

On Wed, 02 Aug 2006 13:49:04 +0200 gwe [EMAIL PROTECTED] wrote:

 I'm sorry
 I post only the end of log file of valgrind (the entire file is very big
 ~22500 lines).
 This is the result of execute the source code :
 ==13767== LEAK SUMMARY:
 ==13767==definitely lost: 36 bytes in 1 blocks.
 ==13767==indirectly lost: 120 bytes in 10 blocks.
 ==13767==  possibly lost: 40,264 bytes in 47 blocks.
 ==13767==still reachable: 118,673 bytes in 1,963 blocks.
 ==13767== suppressed: 0 bytes in 0 blocks.

OK, but memory usage doesn't add up while the program is running,
right? I think it may be just the missing call to gtk_exit(EXIT_SUCCESS)
instead of return EXITSUCCESS. At least gtk_exit() is supposed to do
final cleanup work.

But I think this is rather OT for this list. If you don't get more
answers here, you may seek help at the GTK project...

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



[gentoo-user] A couple questions

2006-08-02 Thread Timothy A. Holmes

Hi Folks:

I have a couple things that I am working on and I could use some help:

1. VPN

I have a VPN set up on my pix firewall, its using the MS-CHAPP protocol
(it's a PIX501)  I need to set up a good (easy to use) VPN Client for my
gentoo laptop

2. Backup

I have Backup Exec 10 from Veritas, with a quantum DLT loader -- I need
to come up with a way to back up to that device from the Gentoo Servers
(2 right now) -- I had it working on fedora, so im guessing I can make
it work on gentoo, but any alternative solutions etc would be most
appreciated

3. Work Log

Im looking for a good hours logging program that can handle real times.
The main problem with excel / open office spreadsheet is that it does
not like times, and cant easily calculate the hours expended.  I don't
need the financial side of the package, just an easy way to track my
hours by project.


Thanks folks

Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread Randy Barlow

gwe wrote:

Hello,
I use gtk+ for my soft's graphic interface.
But valgrind make an log file containing approximately 22700 lines for an
simple source code like : 
#include gtk/gtk.h


int main(int argc, char **argv) {
gtk_init(argc, argv);
  GtkWidget *win= gtk_window_new(GTK_WINDOW_TOPLEVEL);
	  g_signal_connect(G_OBJECT(win), destroy, G_CALLBACK(gtk_main_quit), NULL);  
	  gtk_widget_show_all(win);

  gtk_main();
  return EXIT_SUCCESS;
}


For one, you didn't delete the dynamic memory you allocated when you 
were finished with it.  Before EXIT_SUCCESS, add:


delete win;

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



Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread Randy Barlow

Hans-Werner Hilse wrote:

Hi,

On Wed, 02 Aug 2006 13:49:04 +0200 gwe [EMAIL PROTECTED] wrote:


I'm sorry
I post only the end of log file of valgrind (the entire file is very big
~22500 lines).
This is the result of execute the source code :
==13767== LEAK SUMMARY:
==13767==definitely lost: 36 bytes in 1 blocks.
==13767==indirectly lost: 120 bytes in 10 blocks.
==13767==  possibly lost: 40,264 bytes in 47 blocks.
==13767==still reachable: 118,673 bytes in 1,963 blocks.
==13767== suppressed: 0 bytes in 0 blocks.


OK, but memory usage doesn't add up while the program is running,
right? I think it may be just the missing call to gtk_exit(EXIT_SUCCESS)
instead of return EXITSUCCESS. At least gtk_exit() is supposed to do
final cleanup work.


Ah yes, I wasn't aware that there was a function for this.  You should 
definitely use this in place of the delete statement because it will do 
deeper cleaning.


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



Re: [gentoo-user] nvidia-drivers and revdep-rebuild problems

2006-08-02 Thread billyd
 On Monday 24 July 2006 00:41, Philip Webb wrote:
  060723 billydw wrote:
   I am pretty much a Gentoo newbie, but less so with linux.
   I have successfully installed Gentoo 2006.0
   from the  Universal Install CD (amd64 arch).
   I have Xorg-x11 7.0 emerged and I think configured correctly -
   no unresolved EEs or WWs in /var/log/Xorg.0.log.
   Using startx brings up twm and it looks fine.
   I first emerged nvidia-glx and nvidia-kernel.
   While running # revdep-rebuild, I get this message:

 For the Nvidia card I have I had to go to Nidiias web site and download the
 driver from there to get it to work. after I ran the file from Nvidia mt
 Card works fine even in dual mode ( tv , CRT).



 rob
Thanks to all those who tried to help with this issue.  Being kind of a Gentoo 
newbie and not a programmer or developer, I am not sure what the problem 
could be.  I have tried this on two different computers and always get the 
same result.  Since everything seems to work except for the recurring 
revdep-rebuild issue, I am choosing to ignore it at this time.  

I did look into the drivers on the nVidia web site per rob's suggestion.  The 
extensive install notes showed me a possible solution.  It involves checking 
for conflicting libraries and/or symlinks.  Sounds like it could be what I am 
experiencing.  I will experiment with that although I am not sure I will know 
what I am doing.  No matter though.  I am retired and am experimenting with 
Genoo on testing machines, so it doesn't really matter if I break 
something.  I have learned a lot about Gentoo this way and I am getting 
better with it.

I was thinking someone else may have experienced the same problem and had 
found the solution.

Thanks, all!  I will keep my eyes on the gentoo-user list.  If I succeed in 
solving this issue, I will let you all know.

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



[gentoo-user] How to determine what ethernet is doing

2006-08-02 Thread reader
How to learn what ethernet connections are passing and how they are
setup?

I haven't had to do something like this for quite a while and have
forgotten how to go about it.

I have two ethernet adaptors but using only one, a gigabit ethernet
card.

I want to determine if it is actually passing a gigabit of data as
advertised.

What do I use to get that kind of info?

Dmesg id's it like this:
  r8169 Gigabit Ethernet driver 2.2LK loaded
  ACPI: PCI Interrupt :02:03.0[A] - GSI 19 (level, low) - IRQ 177
  eth0: Identified chip type is 'RTL8169s/8110s'.
  eth0: RTL8169 at 0xf8840f00, 00:40:f4:b5:29:41, IRQ 177

Ifconfig, like this:

eth0  Link encap:Ethernet  HWaddr 00:40:F4:B5:29:41  
  inet addr:192.168.xxx.xxx  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:7723745 errors:0 dropped:0 overruns:0 frame:0
  TX packets:7978529 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:3009127191 (2869.7 Mb)  TX bytes:2812484270 (2682.1 Mb)
  Interrupt:177 Base address:0xf00 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

2006-08-02 Thread gwe
Le Wed, 02 Aug 2006 17:30:10 +0200, Randy Barlow a écrit :

 Ah yes, I wasn't aware that there was a function for this.  You should 
 definitely use this in place of the delete statement because it will do 
 deeper cleaning.

the GTK Api said gtk_exit is deprecated and should not be used.  
In fact, i'm very astonished because it's not the first software with GTK
I  wrote but it's the first time that I have this problem.  
It's so recent

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to determine what ethernet is doing

2006-08-02 Thread Neil Bothwick
On Wed, 02 Aug 2006 10:51:32 -0500, [EMAIL PROTECTED] wrote:

 How to learn what ethernet connections are passing and how they are
 setup?

bmon shows throughput, ethtool show negotiated speed, full/half duplex
etc. Both are in portage


-- 
Neil Bothwick

What if there were no hypothetical situations?


signature.asc
Description: PGP signature


Re: [gentoo-user] memory leak with gtk+-2.8.20-r1

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

On Wed, 02 Aug 2006 18:14:02 +0200
gwe [EMAIL PROTECTED] wrote:

  Ah yes, I wasn't aware that there was a function for this.  You should 
  definitely use this in place of the delete statement because it will do 
  deeper cleaning.
 
 the GTK Api said gtk_exit is deprecated and should not be used.  
 In fact, i'm very astonished because it's not the first software with GTK
 I  wrote but it's the first time that I have this problem.  
 It's so recent

OK, I didn't counter-check it and was probably reading some outdated
documentation. I was just searching for some kind of cleanup function
and thought I found it. So it's probably in fact a gtk memory leak. Are
you by chance running non-x86? That might explain why it passed some
tests though buggy on that arch...

OK, I'm out of suggestions :-) Maybe a manual delete would help, but I
somehow doubt that (cleanup is probably done by gtk_main_quit() now?)

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



Re: [gentoo-user] A couple questions

2006-08-02 Thread Michael Crute

On 8/2/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:


I have a couple things that I am working on and I could use some help:

1. VPN



http://gentoo-portage.com/Search?search=vpn



2. Backup



http://gentoo-portage.com/app-backup



3. Work Log



http://www.google.com/search?q=excel+time+difference



Timothy A. Holmes




Google and Gentoo-Portage are your friend... please use them!

-Mike

--

Michael E. Crute
http://mike.crute.org

I may not have gone where I intended to go, but I think I have ended
up where I intended to be. --Douglas Adams
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] A couple questions

2006-08-02 Thread Timothy A. Holmes



 On 8/2/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:
 
  I have a couple things that I am working on and I could use some
help:
 
  1. VPN
 
 http://gentoo-portage.com/Search?search=vpn
 
  2. Backup
 
 http://gentoo-portage.com/app-backup
 
  3. Work Log
 
 http://www.google.com/search?q=excel+time+difference
 
  Timothy A. Holmes
 Google and Gentoo-Portage are your friend... please use them!
 
 -Mike

[Timothy A. Holmes] 

Sorry -- I wrote that initial message in a hurry - and wasn't detailed
enough:

The vpn issue is not the ability to find clients it is the ability to
make the clients work.  I have tested / tried all the clients listed
there and none of them would allow me to connect to my PIX VPN,  the
idea of a VPN Server surfaced, and that will not work because the PIX
insists on glomming on to the vpn traffic instead of letting it past.  I
was hoping someone had a work around.

Backup:

I was hoping someone knew of a way to get my gentoo servers to talk to
the BackupExec engine easily -- Amanda and such will not work with
windows etc, I exist in a mixed environment and must back up both types
of boxes

Work Log -- hadn't managed to find that one yet -- will investigate
further

Thanks


Timothy A. Holmes


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] A couple questions

2006-08-02 Thread Neil Bothwick
On Wed, 2 Aug 2006 13:27:47 -0400, Michael Crute wrote:

 Google and Gentoo-Portage are your friend... please use them!

Personal recommendation is better. When someone asks for a good program
to do XYZ, searching google/freshmeat/portage only tells them what is
available, not whether it is worth using.

Google is good for finding solutions to problems, nowhere near as useful
for this type of qualitative enquiry.


-- 
Neil Bothwick

Protect your software at all costs -- all else is meat.


signature.asc
Description: PGP signature


[gentoo-user] Authentication Issues

2006-08-02 Thread Kris Kerwin
Hi all,

I just performed a new Gentoo install, and am having a couple of issues 
regarding authentication. I think that the problem is something to do with 
PAM/Shadow. (No ... it's not the blocking issue between pam-login and 
shadow).

I run a single user system with just users for myself (username: kris) and 
root. I cannot su into the root account from my personal account. I have 
added kris to the group wheel using the `gpasswd -a kris wheel', but still 
cannot su. I verified that kris is in the wheel group by logging in and 
trying the `groups' command. 

Then, I tried editing `/etc/pam.d/su' and commenting out the line `auth 
required pam_wheel.so use_uid', as the comment above it states that doing so 
will allow users who are not in the wheel group to su. Still, no joy. Other 
comments in that file state that you may give explicit rights to specific 
users by creating the file `/etc/security/suauth.allow' with each allowed 
user on their own line. Still, no joy.

On a (possibly) related note: while trying to switch from a graphical login to 
a virtual console to work on some of these problems, I found that the usual 
Ctrl-Alt-F* incantation did not work. The only way to switch to a virtual 
console was to right click on the desktop and go through the `Switch User' 
menu function on KDE. Further, when switching back to the graphical login 
from the console, I found that the screensaver had come on and had locked the 
desktop (though this was disabled within KDE's configuration). The big 
problem, however, came when I could not unlock the screensaver with my 
password.

Also, kris' attempts to change his passwd are met with the error: 
`Authentication token manipulation error'.

Thanks in advance for all of your help. System information is appended below.

Kris Kerwin



== System Info ==

I run `pam-0.78-r3 USE=berkdb' and `shadow-4.0.15-r2 USE=nls pam' on the 
following system: 

Portage 2.1-r1 (!/usr/portage/profiles/default-linux/x86/2006.0, gcc-3.4.6, 
glibc-2.3.6-r4, 2.6.16-suspend2-r8 i686)
=
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium4 -O3 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/xdvi/
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
CXXFLAGS=-O2 -mcpu=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig ccache cvs distlocks fixpackages metadata-transfer 
notitles sandbox sfperms strict userpriv
GENTOO_MIRRORS=http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude='/distfiles' --exclude='/local' --exclude='/packages'
PORTAGE_TMPDIR=/tmp/build
PORTDIR=/usr/target/ports
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 X acpi adns aim alsa apache2 apm arts artswrappersuid asm audiofile 
avi berkdb bitmap-fonts bzip2 cddb cdparanoia cli crypt cups dga divx4linux 
dlloader doc dri dvb dvd dvdr dvdread eds emboss encode esd ethereal f77 
font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 heimdal 
icq imlib ipv6 isdnlog jabber java javascript jikes joystick jpeg kde 
kerberos koffice-plugin libg++ libwww mad mikmod mime motif mp3 mpeg mplayer 
msn ncurses nls nocd nptl offensive ogg opengl oscar oss pam pcre pda pdflib 
perl png posix pppd python qt qt3 qt4 quicktime readline real reflection sdl 
session smime spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts 
udev unicode usb videos vorbis wmf xine xinerama xml xmms xorg xscreensaver 
xv yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse 
input_devices_evdev kernel_linux userland_GNU video_cards_radeon
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, 
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] revdep-rebuild alternatives?

2006-08-02 Thread James
Hello,

What are the sanctioned and experimental alternatives to
revdep-rebuild.

tia,

James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild alternatives?

2006-08-02 Thread Paul Varner
On Wed, 2006-08-02 at 18:18 +, James wrote:
 What are the sanctioned and experimental alternatives to
 revdep-rebuild.

There are no sanctioned alternatives.

An experimental alternative that you can look at is udept written by Ed
Catmur.  You can download an ebuild for use in your overlay at
http://dev.gentoo.org/~fuzzyray/overlay/app-portage/udept/

Out of curiousity, what is wrong with revdep-rebuild that you are
looking for alternatives?

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to determine what ethernet is doing

2006-08-02 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  How to learn what ethernet connections are passing and how they are
  setup?

/etc/conf.d/net shows configurations are using
/etc/conf/net.examples  shows the possibilities.

netstat -nr   shows your routing 

cat /proc/net/ip_conntrack  to see connections


 bmon shows throughput, ethtool show negotiated speed, full/half duplex
 etc. Both are in portage



I like 'bwmon' and it's in portage.


hth,

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: revdep-rebuild alternatives?

2006-08-02 Thread James
Paul Varner fuzzyray at gentoo.org writes:


  What are the sanctioned and experimental alternatives to
  revdep-rebuild.

 There are no sanctioned alternatives.

 An experimental alternative that you can look at is udept written by Ed
 Catmur.  You can download an ebuild for use in your overlay at
 http://dev.gentoo.org/~fuzzyray/overlay/app-portage/udept/

 Out of curiousity, what is wrong with revdep-rebuild that you are
 looking for alternatives?

Absolutely nothing. I have learned (thru pain) that you need to
run 'revdep-rebuild -p' on a semi routine basis.

I have a friend (XP and FreeBSD) genius that refuses to listen
or join gentoo-user for himself.He's surpassed the 
buffer limits of fgrep..{}

So I posted a generic question so he (hi bernie)
could read the responses in
linux.gentoo.user via net-news.

Naturally, since I recommended Gentoo, I get to do
admin over the phone and email..

Here's a nice little repository of experimental scripts too:

http://gentooexperimental.org/script/repo/list

James




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to become root on 2006.0

2006-08-02 Thread james
frank sdoma at karneval.cz writes:

How to become root on 2006.0

sudo su

2006.1 should be released any day now:
http://www.gentoo.org/proj/en/releng/release/2006.1/2006.1.xml


hth,

James

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] launching iptables

2006-08-02 Thread James
Hello,

I've got my own iptables script to launch a customized firewall, located in 
/usr/local/bin. 

I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this
scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
place of preference to launch my scipt after the gentoo runscipt
'/etc/init.d/iptables'  is finished running?

Is their a way to get 'rc-update add my_firewall  default' to launch
my_firewall without putting it in the /etc/init.d/ dir and using the 
runscipt template for my script?


thoughts, suggestions and examples are most welcome.


James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] launching iptables

2006-08-02 Thread Alexander Kirillov
I've got my own iptables script to launch a customized firewall, located in 
/usr/local/bin. 


I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this
scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
place of preference to launch my scipt after the gentoo runscipt
'/etc/init.d/iptables'  is finished running?

Is their a way to get 'rc-update add my_firewall  default' to launch
my_firewall without putting it in the /etc/init.d/ dir and using the 
runscipt template for my script?


thoughts, suggestions and examples are most welcome.



Keep your script in /etc and run it once.
If you have SAVE_ON_STOP=yes in /etc/conf.d/iptables
your rules will be restored whenever you restart iptables.

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: launching iptables

2006-08-02 Thread James
Alexander Kirillov nevis2us at infoline.su writes:


  Is their a way to get 'rc-update add my_firewall  default' to launch
  my_firewall without putting it in the /etc/init.d/ dir and using the 
  runscipt template for my script?

  thoughts, suggestions and examples are most welcome.
 Keep your script in /etc and run it once.

OK, but how will it get discovered again upon reboot?

/etc/init.d/iptables will overwrite what my_firewall.sh does.
as it is currently doing


 If you have SAVE_ON_STOP=yes in /etc/conf.d/iptables
 your rules will be restored whenever you restart iptables.

Um, maybe I missing something but searching for SAVE_ON
only reveals this line in the /etc/init.d/iptables script:


stop() {
if [[ ${SAVE_ON_STOP} == yes ]] ; then
save || return 1
fi


it looks for this setting in my script?  If not, what file do 
I set the param  ${SAVE_ON_STOP}  in?


I.E. this is a conditional statement testing the setting which is 
where?

Or do I just add this line to the end for the scipt?

confused.

James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] launching iptables

2006-08-02 Thread Jerry McBride
On Wednesday 02 August 2006 16:41, James wrote:
 Hello,

 I've got my own iptables script to launch a customized firewall, located in
 /usr/local/bin.

 I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit
 this scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
 place of preference to launch my scipt after the gentoo runscipt
 '/etc/init.d/iptables'  is finished running?

 Is their a way to get 'rc-update add my_firewall  default' to launch
 my_firewall without putting it in the /etc/init.d/ dir and using the
 runscipt template for my script?


 thoughts, suggestions and examples are most welcome.



Over here I edited /etc/conf.d/local.start and have my firewall started from 
there. Then I edited local.stop to turn it off when shutting down.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] launching iptables

2006-08-02 Thread Donnie Berkholz
James wrote:
 I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this
 scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
 place of preference to launch my scipt after the gentoo runscipt
 '/etc/init.d/iptables'  is finished running?
 
 Is their a way to get 'rc-update add my_firewall  default' to launch
 my_firewall without putting it in the /etc/init.d/ dir and using the 
 runscipt template for my script?

You can run arbitrary commands in /etc/conf.d/local.{start,stop}.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Xawtv/Scantv refuses cooperation

2006-08-02 Thread Bertram Scharpf
Hi,

Am Mittwoch, 02. Aug 2006, 00:04:52 +0200 schrieb Hemmann, Volker Armin:
 On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
# scantv
[...]
vbi: open failed [/dev/vbi]
open /dev/vbi: Invalid argument
#
 
# dd if=/dev/vbi bs=8 count=1 | od -x
1+0 records in
1+0 records out
8 Bytes (8 B) copied, 0.099231 seconds, 0.1 kB/s
000 374d 1620 341e 544a
010
#
 
 and what are the rights on /dev/vbi / /dev/vbi0 ?
 And where does it point (I bet, it is just a symlink ;) )

It definitely is; I created it myself.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What is the release date for 2006.1?

2006-08-02 Thread Richard Fish

On 8/2/06, Jerônimo Backes [EMAIL PROTECTED] wrote:

I think everybody is clueless, like me...

 What is the release date for 2006.1?


When it's ready, of course!


 I would also like to know what are the new features. Can someone point me a
 link? (I googled for that information and found nothing)


This is Gentoo.  We don't wait for releases before getting new
features.  This release appears to be mainly an update to the
installer, the addition of more device drivers to the install CD, and
a (relatively) fresh set of binary packages so users wanting to stay
with stable will not have to update and recompile a bunch of stuff
right off the bat.  That is just based on what the devs said they were
going to do, and what a release typically means for Gentoo.

You can check the official project page for current status and goals
of the release:
http://www.gentoo.org/proj/en/releng/release/2006.1/2006.1.xml

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] launching iptables

2006-08-02 Thread Richard Fish

On 8/2/06, James [EMAIL PROTECTED] wrote:

Hello,

I've got my own iptables script to launch a customized firewall, located in
/usr/local/bin.

I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this
scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
place of preference to launch my scipt after the gentoo runscipt
'/etc/init.d/iptables'  is finished running?


The best way is to run your script to setup the firewall the way you
want.  Then do:

/etc/init.d/iptables save
rc-udpate -a iptables default

Then, the Gentoo iptables script will restore *your* rules every time
you boot.  Any time you make a change to the rules, just run
/etc/init.d/iptables save to have Gentoo save off your current
rules.

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



Re: [gentoo-user] launching iptables

2006-08-02 Thread dg
On Thursday 03 August 2006 00:41, James wrote:
 Hello,

 I've got my own iptables script to launch a customized firewall, located in
 /usr/local/bin.

 I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit
 this scipt as 'gentoo' updates nuke my edits therein.  Where is the gentoo
 place of preference to launch my scipt after the gentoo runscipt
 '/etc/init.d/iptables'  is finished running?

 Is their a way to get 'rc-update add my_firewall  default' to launch
 my_firewall without putting it in the /etc/init.d/ dir and using the
 runscipt template for my script?


 thoughts, suggestions and examples are most welcome.


 James

Just run your script once, then do
/etc/init.d/iptables save
/etc/init.d/iptables start
and
rc-update add iptables default

... and it will load your rules and start firewall automatically.

BR,
dmitri
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LiveCD 2006

2006-08-02 Thread Stephen
On Wednesday 02 August 2006 16:28, frank wrote:

 Booting from the Gentoo liveCD 2006 puts my clock back for 2 hours. 

Did you set the date? You need to set that with the date command. 

As mentioned in the handbook. 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=5#doc_chap1

Stephen


pgpjzFbFjwO2R.pgp
Description: PGP signature


Re: [gentoo-user] Re: launching iptables

2006-08-02 Thread Iain Buchanan
On Wed, 2006-08-02 at 21:13 +, James wrote:
 Alexander Kirillov nevis2us at infoline.su writes:
 
 
   Is their a way to get 'rc-update add my_firewall  default' to launch
   my_firewall without putting it in the /etc/init.d/ dir and using the 
   runscipt template for my script?
 
   thoughts, suggestions and examples are most welcome.
  Keep your script in /etc and run it once.
 
 OK, but how will it get discovered again upon reboot?

when you use iptables-save, your script gets saved in the IPTABLES_SAVE
location in /etc/conf.d/iptables

 /etc/init.d/iptables will overwrite what my_firewall.sh does.
 as it is currently doing
 
 
  If you have SAVE_ON_STOP=yes in /etc/conf.d/iptables
  your rules will be restored whenever you restart iptables.
 
 Um, maybe I missing something but searching for SAVE_ON
 only reveals this line in the /etc/init.d/iptables script:

you're looking in init.d, look in conf.d - this is where you customise
behaviour for init scripts...

I use webmin to create the initial iptables rules, then edit the file by
hand that I specified in /etc/conf.d/iptables, if I have to.  webmin is
pretty good, so usually I don't have to edit anything by hand...

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

By golly, I'm beginning to think Linux really *is* the best thing since
sliced bread.
(By Vance Petree, Virginia Power)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xawtv/Scantv refuses cooperation

2006-08-02 Thread Hemmann, Volker Armin
On Wednesday 02 August 2006 23:37, Bertram Scharpf wrote:
 Hi,

 Am Mittwoch, 02. Aug 2006, 00:04:52 +0200 schrieb Hemmann, Volker Armin:
  On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
 # scantv
 [...]
 vbi: open failed [/dev/vbi]
 open /dev/vbi: Invalid argument
 #
  
 # dd if=/dev/vbi bs=8 count=1 | od -x
 1+0 records in
 1+0 records out
 8 Bytes (8 B) copied, 0.099231 seconds, 0.1 kB/s
 000 374d 1620 341e 544a
 010
 #
 
  and what are the rights on /dev/vbi / /dev/vbi0 ?
  And where does it point (I bet, it is just a symlink ;) )

 It definitely is; I created it myself.

 Bertram


it is a symlink? and does it point to the right device?

I never created anything - I let udev do it for me... 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What is the release date for 2006.1?

2006-08-02 Thread Justin R Findlay
On Wed, Aug 02, 2006 at 02:38:49PM -0700, Richard Fish wrote:
 You can check the official project page for current status and goals
 of the release:
 http://www.gentoo.org/proj/en/releng/release/2006.1/2006.1.xml

So why should I bother manually changing the /etc/make.profile symlink?
Does this link get moved when the release is ready?


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



Re: [gentoo-user] What is the release date for 2006.1?

2006-08-02 Thread Richard Fish

On 8/2/06, Justin R Findlay [EMAIL PROTECTED] wrote:

So why should I bother manually changing the /etc/make.profile symlink?


Well the main reason is because profiles will disappear from portage
after a certain amount of time, and you can't really run without a
profile!!

The main effects changing the profile has for an existing install are:

1. Updates to default USE flags and masks.
2. Updates to make.defaults
3. Updates to virtual package defaults.
4. Updates to the system package set, or minimum versions of the
system packages.


Does this link get moved when the release is ready?


Changing the profile can sometimes cause a lot of updates, changes to
use flags, features, etc, so no, it is not done automatically.
Generally after changing the make.profile link, you will want to do an
emerge -DNuvp world to see what changed.

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



Re: [gentoo-user] What is the release date for 2006.1?

2006-08-02 Thread Richard Fish

On 8/2/06, Richard Fish [EMAIL PROTECTED] wrote:

 Does this link get moved when the release is ready?

Changing the profile can sometimes cause a lot of updates, changes to
use flags, features, etc, so no, it is not done automatically.
Generally after changing the make.profile link, you will want to do an
emerge -DNuvp world to see what changed.


Just as an example, as it currently sets the 2006.1 profile looks to
have use.defaults of:

USE=cups gdbm gpm libg++ nptl nptlonly ppds udev unicode

while the 2006.0 profile has:

USE=alsa apache2 apm arts avi cups eds emboss encode esd foomaticdb
gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad
mikmod motif mp3 mpeg nptl ogg opengl oss pdflib png qt qt3 qt4
quicktime sdl spell truetype udev vorbis X xml xmms xv

Thus, you could end up with a lot of missing use flags if you did just
a simple change.  What you will probabliy really want with 2006.1 is
one of the sub-profiles, like 2006.1/desktop, which has similar use
flags to 2006.0.

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



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

2006-08-02 Thread Iain Buchanan
Hi,

I managed to get rid of the evolution font boxes, by specifying courier
10 pitch in the gnome font dialog, instead of courier new, for
fixed-width fonts.

However, courier 10-pitch looks a bit ugly... What's wrong with courier
new, and why does it show boxes for spaces?

the firefox font box problem is still there too:

On Thu, 2006-06-15 at 09:30 -0700, Richard Fish wrote:
 On 6/13/06, Iain Buchanan [EMAIL PROTECTED] wrote:
  $ firefox
  No running windows found
  Warning: Cannot convert string
  -bh-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1 to type
  FontStruct
 
  what on earth does that mean?
 
 It means that firefox was looking for this font at 140dpi, and couldn't find 
 it.
 
 Assuming that this is actually important,

I am assuming it _is_ important, because firefox shows ugly squares
everywhere in between words.

  do you have any ~/.gtk*
 files?  If so, do they specify any fonts?  (grep -i font ~/.gtk*)

no, nothing.

 What dpi is your X server running at?  (xdpyinfo | grep -C 5 resolution)

$o | grep -C 5 resolution
number of screens:1

screen #0:
  print screen:no
  dimensions:1680x1050 pixels (569x356 millimeters)
  resolution:75x75 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32
  root window id:0x44
  depth of root window:24 planes
  number of colormaps:minimum 1, maximum 1
  default colormap:0x20

 Finally, what does xset -q report for FontPath.

Font Path:
  
/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1,/opt/blackdown-jdk-1.4.2.03/jre/lib/fonts/

I tried installing font-bh-lucidatypewriter-100dpi and
font-bh-lucidatypewriter-75dpi, I tried playing around with font
settings in firefox and gnome, and I still get these ugly boxes when
viewing java applets in firefox...

any more suggestions?

thanks a lot for the help - this is really annoying.  I'm starting to
see it on other machines too - not just my laptop...
-- 
Iain Buchanan iaindb at netspace dot net dot au

Never trust an operating system you don't have sources for. ;-)
-- Unknown source

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xscreensaver new-login button

2006-08-02 Thread Grant

 I've been reading that there is supposed to be a new-login button that
 appears on a locked screen if xscreensaver is compiled with
 +new-login.  I've tried xscreensaver 4.24 and 5.00 both with
 +new-login, but neither displays a new-login button on the locked
 screen.  This Debian bug describes and solves the problem, but if
 references a config in ~/.xscreensaver that doesn't seem to exist in
 mine:

 http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=336590

 Does anyone know how to make that new-login button appear?

Frankly I have no idea. Previously there was another poster which had
this problem.
I am on xscreensaver 4.24 and I have the new-login button.

[ebuild   R   ] x11-misc/xscreensaver-4.24  USE=gnome jpeg krb4
new-login nls offensive opengl pam -insecure-savers -kerberos -xinerama
0 k

I DIDN't do anything!

Looking at the bug-report and the contents of the file

$grep -i newlogin  /etc/X11/app-defaults/XScreenSaver -B4

! This command is executed by the New Login button on the lock dialog.
! (That button does not appear if this program does not exist.)
!
*newLoginCommand:   /usr/bin/gdmflexiserver


That line:

*newLoginCommand:   /usr/bin/gdmflexiserver

was:

! *newLoginCommand:   /usr/bin/gdmflexiserver

for me so I changed it and now it's working.  I definitely didn't
comment that manually.  Thanks for the help.

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



[gentoo-user] Firefox and Java

2006-08-02 Thread Grant

How can I get Java applets working in Firefox?  I have java in make.conf.

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



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

2006-08-02 Thread Iain Buchanan
I just discovered something else: when I click in a text box in java in
firefox, I get this message on the terminal:

Warning:
Name: textfield
Class: XmTextField
Character '\61' not supported in font.  Discarded.

what does that mean? is it related?

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Writing software is more fun than working.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How to determine what ethernet is doing

2006-08-02 Thread reader
James [EMAIL PROTECTED] writes:

 cat /proc/net/ip_conntrack  to see connections

I must need something installed:

cat: /proc/net/ip_conntrack: No such file or director

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: launching iptables

2006-08-02 Thread James
dg dg at kaboom.spb.ru writes:



 Just run your script once, then do
   /etc/init.d/iptables save
   /etc/init.d/iptables start

   rc-update add iptables default

 ... and it will load your rules and start firewall automatically.


Wow, lots of responses. I got the script launching upon reboot.

Thanks EVERYONE for the info and ideas


James





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How to determine what ethernet is doing

2006-08-02 Thread Ryan Tandy

[EMAIL PROTECTED] wrote:

James [EMAIL PROTECTED] writes:


cat /proc/net/ip_conntrack  to see connections


I must need something installed:

cat: /proc/net/ip_conntrack: No such file or director



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



Re: [gentoo-user] Re: launching iptables

2006-08-02 Thread Dale
James wrote:
 dg dg at kaboom.spb.ru writes:



   
 Just run your script once, then do
  /etc/init.d/iptables save
  /etc/init.d/iptables start
 

   
  rc-update add iptables default
 

   
 ... and it will load your rules and start firewall automatically.
 


 Wow, lots of responses. I got the script launching upon reboot.

 Thanks EVERYONE for the info and ideas


 James

   

Well, you got it going but this is how I did mine.  I started iptables,
ran my script and made sure all was working, then did a
/etc/init.d/iptables save.  After that it restores after I reboot and
everything.  Worked well for me at least.

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



Re: [gentoo-user] Firefox and Java

2006-08-02 Thread Andrew
The Java+Firefox wiki page should help get you started, have you tried that yet?On 8/2/06, Grant
 [EMAIL PROTECTED] wrote:How can I get Java applets working in Firefox?I have java in 
make.conf.- Grant--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] What is the release date for 2006.1?

2006-08-02 Thread Justin R Findlay
On Wed, Aug 02, 2006 at 05:40:17PM -0700, Richard Fish wrote:
 Well the main reason is because profiles will disappear from portage
 after a certain amount of time, and you can't really run without a
 profile!!

Right, but I still don't understand why it doesn't auto update when it's
ready, because for people like me who rarely visit the gentoo main
page I'm not going to know about a new profile unless I manually look
around in /usr/portage/profiles.  Mainly I don't like it because it
comes too close to violating my sense of laziness.


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