Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
On Saturday 13 May 2006 00:10, wu chuanwen [EMAIL PROTECTED] wrote about '[gentoo-user] cause jdk1.5 emerge tomcat error!': I have emerge sun-jdk1.5.**(i download it and ebuild it by myself).Now, i want to emerge tomcat,and it is dependent of dev-java/commons-daemon-1.0.1 .But when i emerge it,errors just occur: enum in jdk1.5 is a keyword,but it is used as a variable in the dev-java/commons-daemon-1.0.1. So now is there anyway to emerge tomcat? Change your system javac to a 1.4 for the emerge of commons-daemon. The resulting class/jar files will run in a 1.5 vm -- since enum and assert (introduced in 1.4) are both still valid identifiers in bytecode under a 1.5 vm. Bytecode also allows two methods with the same name that only differ in return type, which allows generics that only compile under 1.5 (and modified versions of 1.4) javac to work under a vm as far back as (at least) 1.2 -- as long as the requisite libraries are in place. Sun and the JCP have been very good to modify the bytecode specification sparingly, if at all, so that valid class files output from any javac will run on almost all vms. This common binary format goes a long way toward the goal of WORA. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpv80XTNtpNu.pgp Description: PGP signature
[gentoo-user] webapp-config overwrites config-file
Hi, When I do a webapp-config -U -d /squirrelmail/ squirrelmail any-rev it always overwrite one of my configuration files: plugins/squirrelspell/sqspell_config.php. During the update the program recognizes that the file (sqspell_config.php) has changed but overwrites it anyway. !time plugins/squirrelspell/sqspell_config.php !cfgpro plugins/retrieveuserdata/config.php !cfgpro plugins/show_ssl_link/config.php !cfgpro plugins/gpg/gpg_local_prefs.txt !cfgpro plugins/secure_login/config.php !cfgpro config/config_local.php !cfgpro config/config.php ...SNIP... ^o^ hiding /config/config.php ^o^ hiding /config/config_local.php ^o^ hiding /plugins/gpg/gpg_local_prefs.txt ^o^ hiding /plugins/retrieveuserdata/config.php ^o^ hiding /plugins/secure_login/config.php ^o^ hiding /plugins/show_ssl_link/config.php * Files and directories installed * One or more files have been config protected * To complete your install, you need to run the following command(s): * * CONFIG_PROTECT=/var/www/www.dmj.nu/htdocs/squirrelmail//config etc-update * CONFIG_PROTECT=/var/www/www.dmj.nu/htdocs/squirrelmail//plugins/gpg etc-update * CONFIG_PROTECT=/var/www/www.dmj.nu/htdocs/squirrelmail//plugins/retrieveuserdata etc-update * CONFIG_PROTECT=/var/www/www.dmj.nu/htdocs/squirrelmail//plugins/secure_login etc-update * CONFIG_PROTECT=/var/www/www.dmj.nu/htdocs/squirrelmail//plugins/show_ssl_link etc-update Note that it shows !time and not !cfgpro as for the other config files and it's not listed as protected. Is this a configuration error on my part or an error in webapp-config. Any suggestions on how to solve this are welcome. Regards, -- Dan Johansson, http://www.dmj.nu *** This message is printed on 100% recycled electrons! *** pgpQfcJ04pmWL.pgp Description: PGP signature
[gentoo-user] pppoe-status returns the wrong infomation! might be a bug..
I've configued the rp-pppoe following the updated instruction in Gentoo Handbook, and my ADSL modem can be brought up at start up , however, the pppoe-status always returns message says that the PID file could not be found (which is definity wrong!). my network was working of course.. so. I found this issue was caused by the $PIDFILE which is defined in the /etc/ppp/pppoe.conf and read by pppoe-status script. but the comment right above that line says: # NB: Gentoo overrides PIDFILE when pppoe-start is run from the# networking scripts. This setting has no effect in that case. # below is the original definition#PIDFILE=/var/run/$CF_BASE-pppoe.pid # Still wrong after I comment out the line above, so I have to change like this:PIDFILE=/var/run/rp-pppoe-eth0.pidIt works now though, I wonder if this is a small bug, i.e. the $PIDFILE has never been defined except in the pppoe.conf,and unfortunately, the only definition is not correct..
Re: [gentoo-user] pppoe-status returns the wrong infomation! might be a bug..
fei huang wrote: I've configued the rp-pppoe following the updated instruction in Gentoo Handbook, and my ADSL modem can be brought up at start up , [...] You can altogether do away with rp-pppoe, if you look in /etc/conf.d/net.example, you'll find the new confug syntax for bringing the ADSL connection up. It's like this : config_ppp0=( ppp ) link_ppp0=eth0 plugins_ppp0=( pppoe ) username_ppp0='username' password_ppp0='password' pppd_ppp0=( noauth updetach defaultroute usepeerdns holdoff 0 ) You don't need rp-pppoe package anymore to use your ADSL connection. however, the pppoe-status always returns message says that the PID file could not be found (which is definity wrong!). my network was working of course.. so. I found this issue was caused by the $PIDFILE which is defined in the /etc/ppp/pppoe.conf and read by pppoe-status script. but the comment right above that line says: # NB: Gentoo overrides PIDFILE when pppoe-start is run from the # networking scripts. This setting has no effect in that case. # below is the original definition #PIDFILE=/var/run/$CF_BASE-pppoe.pid # Still wrong after I comment out the line above, so I have to change like this: PIDFILE=/var/run/rp-pppoe-eth0.pid It works now though, I wonder if this is a small bug, i.e. the $PIDFILE has never been defined except in the pppoe.conf, and unfortunately, the only definition is not correct.. Strange!! I had never come across this issue when I was using rp-pppoe for my ADSL connection. Farhan Ahmed -- Place : Bangalore, Karnataka, India GPG Key : 8BE90E98 WengoPhone ID : farhanahmed IRC Nick: farhanahmed / farhanahmed06 (irc.freenode.net) Check Out : http://gentooisbest.blogspot.com pgpNaEb674XJm.pgp Description: PGP signature
Re: [gentoo-user] OT - which X terminal do you use?
On a limited resources box I have always used rxvt/aterm. I have also used Konsole but it slows things down. I am waiting for real transprency to work with aterm. Unlike pseudo-transparency which just looks pretty I think real transparency is useful as you can see the contents of other terminals/windows underneath the terminal you are currently working on. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - which X terminal do you use?
Bo Andresen wrote: On Friday 12 May 2006 21:18, Nagatoro wrote: Note that the prompt for konsole is blinking ie invisible every other second. What is the output of: # echo $PS1 \[\033[38;5;[EMAIL PROTECTED];5;39m\]\h \[\033[38;5;25m\]\w \[$(ps_retc_f $?)\]$? \[\033[38;5;70m\]$(ps_job_f)\[\033[38;5;52m\]$(ps_dir_f)\n\[\]\D{%a %T} \[\033[38;5;77m\]$ \[\033[0;0m\] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - which X terminal do you use?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: On a limited resources box I have always used rxvt/aterm. I have also used Konsole but it slows things down. I am waiting for real transprency to work with aterm. Unlike pseudo-transparency which just looks pretty I think real transparency is useful as you can see the contents of other terminals/windows underneath the terminal you are currently working on. hardware accelerated real transparency can be accomplished with xcompmgr and transset. But i don't like it, because you can't read either contents anymore. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEZdWeBbWbHb9PeLsRAr3zAJ9Mr2U0vNL4tgCiIvROMhmDyrFxQwCgktXS gssitJnxaSGhWHNxJ2bBhMg= =yJJW -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome and KDE on same system!
On Saturday 13 May 2006 14:05, Mick wrote: On 12/05/06, Jed R. Mallen [EMAIL PROTECTED] wrote: Install them both and if you use a graphical login (gdm is my choice), you can choose which wm/de you want to go in for that session via a menu. Is there an xdm chooser so that one can manually choose between WM/DE at the time of login? xdm - not that I know kdm - just click on 'menu' and select 'session type', there all availabe de/wm are listed. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - which X terminal do you use?
On Saturday 13 May 2006 14:02, Nagatoro wrote: What is the output of: # echo $PS1 \[\033[38;5;[EMAIL PROTECTED];5;39m\]\h \[\033[38;5;25m\]\w \[$(ps_retc_f $?)\]$? \[\033[38;5;70m\]$(ps_job_f)\[\033[38;5;52m\]$(ps_dir_f)\n\[\]\D{%a %T} \[\033[38;5;77m\]$ \[\033[0;0m\] Holy crap! How on earth did you come up with that? ;) Could you post the output of # env | grep ps too? -- Bo Andresen pgpriSptyz5sv.pgp Description: PGP signature
Re: [gentoo-user] OT - which X terminal do you use?
Hi Neil, on Tuesday, 2006-05-09 at 19:33:51, you wrote: which are your most/least favourite X terminals, and why? Almost exclusively Gnome-Terminal. Although I usually prefer console tools I never really got into screen usage, so tabs are essential. I don't have anything to complain about its color support, and its Unicode support (especially quick swicthing between encodings) is better than any other term I tried. As I use XFCE4, I also had a closer look at xfterm. Slim, fast, very nice to use, but fairly unstable last timeI looked, I'd get a frozen term about every other day. But I'm looking forward to it maturing. cheers! Matthias -- I prefer encrypted and signed messages. KeyID: FAC37665 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665 pgpTeTjYkiOzn.pgp Description: PGP signature
[gentoo-user] -unicode USE flag
Hi, I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) What is unicode and why might an end user want it or need it? Thanks, Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] QTrouble: static libraries?
I have a QT program that's supposed to run on a server. I never liked the idea of putting all this QT runtime crap on the server just for this single program, so when it still ran SuSE, I just compiled it statically and all was fine. Now under Gentoo, the program complains it couldn't open the display (yes, I'm using ssh -X and other X programs are fine). So I thought maybe it's the switch from XF86 to X.org, can't hurt to recompile with the latest libraries. But there are no static libraries (libqt.a and such) installed and I don't know how to get portage to install them. USE=static seems to work only for linking certain programs statically, not the libs itself. I'm probably overlooking something very obvious... cheers! Matthias -- I prefer encrypted and signed messages. KeyID: FAC37665 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665 pgpRSpsaF9hgs.pgp Description: PGP signature
Re: [gentoo-user] genkernel panic
On 5/13/06, maxim wexler [EMAIL PROTECTED] wrote: Hi group, My hand-made kernel was giving me grief(see bug #132141) so I did #emerge genkernel, #zcat /proc/config.gz /usr/share/genkernel/x86/kernel-config-2.6, #genkernel all, and rebooted. Here's the grub session(not using grub-conf): grub root (hd0,1): ext2fs, partition type 0x83 grub kernel /kernel-genkernel-x86-2.6.16-gentoo-r3 [Linux-bzImage, setup=0x1c00, size=0x101fb0] grub boot ... VFS: Cannot open root device NULL or unknown block (8,7) Please append a correct root= boot option Kernel panic-not syncing...unknown block (8,7) It doesn't matter if I specify the root partition in the 'kernel' line or not. The original kernel *will* boot using the same grub commands, just won't load any modules, among other things. Have you read the info after you use genkernel all? You need a lot more options when using this kind of kernel, take a look at: http://www.gentoo.org/doc/en/genkernel.xml Specially the Bootloader Configuration section. Genkernel generated kernels are NOT like hand-made, they need special options in order to use initrd and ramdisk to load stuff, among other options, like root and real root, etc. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -unicode USE flag
On 5/13/06, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) Or figured the reader would know how to use google... :-) http://www.unicode.org/standard/WhatIsUnicode.html -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - which X terminal do you use?
On Tuesday 09 May 2006 20:33, Neil Bothwick wrote: I am writing a comparative review of a number of X terminals, so I thought I'd draw on the collective wisdom of this list. which are your most/least favourite X terminals, and why? konsole, because of tabs and easy to customize. xterm, when naked X is running. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: -unicode USE flag
I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) What is unicode and why might an end user want it or need it? What the unicode-use-flag does, depends on the package you emerge. For example while emergeing baselayout, it turns on a switch in /etc/rc.conf - nothing more. On the other hand, while emerge mc, it turns on the support of mc (Midnight Command) for a unicode/utf8-console. And if you emerge wxGTK, the unicode-use-flag triggers the build of the unicode-aware version of wxGTK. So in general, i prefer my console- and my X11-apps to have unicode support. So i have the use-flag turned on, but i disabled it for baselayout since i use a non-utf8 locale. Greetings Sven signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] QTrouble: static libraries?
On 5/13/06, Matthias Bethke [EMAIL PROTECTED] wrote: I have a QT program that's supposed to run on a server. I never liked the idea of putting all this QT runtime crap on the server just for this single program, so when it still ran SuSE, I just compiled it statically and all was fine. Now under Gentoo, the program complains it couldn't open the display (yes, I'm using ssh -X and other X programs are fine). So I thought maybe it's the switch from XF86 to X.org, can't hurt to recompile with the latest libraries. But there are no static libraries (libqt.a and such) installed and I don't know how to get portage to install them. Well the building of static libraries is on a per package basis, so I guess your fastest option here is to copy the qt ebuild to your overlay directory and modify it to make a static library. You could also file a bug report on bugzilla requesting the change for qt, if there isn't already an existing report for this. However, my guess is that you are on the wrong track. It really sounds like the DISPLAY environment variable is not set correctly, or possibly the program is modifying it's own environment for some reasonmaybe an strace of the program would reveal more. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pppoe-status returns the wrong infomation! might be a bug..
Mrugesh Karnik wrote: Umm, the instructions in the Handbook point to the method where Gentoo uses the kernel based pppoe rather than rp-pppoe. So rp-pppoe is never active I think. I could be wrong. I think you are wrong. The instructions in the handbook point to rp-pppoe based setup not kernel mode pppoe. Farhan Ahmed -- Place : Bangalore, Karnataka, India GPG Key : 8BE90E98 WengoPhone ID : farhanahmed IRC Nick: farhanahmed / farhanahmed06 (irc.freenode.net) Check Out : http://gentooisbest.blogspot.com pgpehkG8hRyu9.pgp Description: PGP signature
Re: [gentoo-user] OT - which X terminal do you use?
Bo Andresen wrote: On Saturday 13 May 2006 14:02, Nagatoro wrote: What is the output of: # echo $PS1 \[\033[38;5;[EMAIL PROTECTED];5;39m\]\h \[\033[38;5;25m\]\w \[$(ps_retc_f $?)\]$? \[\033[38;5;70m\]$(ps_job_f)\[\033[38;5;52m\]$(ps_dir_f)\n\[\]\D{%a %T} \[\033[38;5;77m\]$ \[\033[0;0m\] Holy crap! How on earth did you come up with that? ;) Could you post the output of Different color for username and host based on the user and host. and some more stuff :) (borrowed from some .bashrc I found in some gentoo dev's webspace). # env | grep ps lör 19:31:33 $ env | grep ps LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*. mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36: PS1=\[\033[38;5;[EMAIL PROTECTED];5;39m\]\h \[\033[38;5;25m\]\w \[$(ps_retc_f $?)\]$? \[\033[38;5;70m\]$(ps_job_f)\[\033[38;5;52m\]$(ps_dir_f)\n\[\]\D{%a %T} \[\033[38;5;77m\]$ \[\033[0;0m\] HISTCONTROL=ignorespace:ignoredups -- Naga -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -unicode USE flag
On Saturday 13 May 2006 18:59, Mark Knecht wrote: What is unicode and why might an end user want it or need it? http://www.gentoo.org/doc/en/utf-8.xml -- Bo Andresen pgpDwUrn2UPqp.pgp Description: PGP signature
Re: [gentoo-user] -unicode USE flag
On 5/13/06, Richard Fish [EMAIL PROTECTED] wrote: On 5/13/06, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) Or figured the reader would know how to use google... :-) http://www.unicode.org/standard/WhatIsUnicode.html -Richard That much I did before writing. There are lots of similar sites. Thanks. However, being a musican and not a computer scientist all of that is mostly gibberish to lower life forms such as myself. The unicode flag possibility shows up on some new emerges for fonts. I suppose they are then fonts that use 16-bits instead of whatever they use when I don't include the unicaode flag. All that stated, then question still arises, why would I want these on my system? Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -unicode USE flag
Hi, On 5/13/06, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) What is unicode and why might an end user want it or need it? This guide explains it pretty good: http://www.gentoo.org/doc/en/utf-8.xml Thanks, Mark HTH, Max -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: -unicode USE flag
On 5/13/06, Sven Köhler [EMAIL PROTECTED] wrote: I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) What is unicode and why might an end user want it or need it? What the unicode-use-flag does, depends on the package you emerge. For example while emergeing baselayout, it turns on a switch in /etc/rc.conf - nothing more. On the other hand, while emerge mc, it turns on the support of mc (Midnight Command) for a unicode/utf8-console. And if you emerge wxGTK, the unicode-use-flag triggers the build of the unicode-aware version of wxGTK. So in general, i prefer my console- and my X11-apps to have unicode support. So i have the use-flag turned on, but i disabled it for baselayout since i use a non-utf8 locale. Greetings Sven Sven, Thanks for the descriptions. However what I asked was 'What is unicode and why might an end user want it or need it? and not What does enabling a unicode flag for a specific emerge do? Sorry - I thought it was clear from my description. Everyone is using the word 'unicode' in the definition of 'unicode', or so it is seeming to me. I've managed to get far enough to understand it's a different way of expressing font usage, I guess, but I don't understand when someone would want it or when they would not need it. Is there a Gentoo doc somewhere that I haven't read yet that says 'If you are in the U.S. and use Gentoo on a mostly desktop system browsing the web, etc., then you should enable unicode', etc.? Thanks, Mark Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
On Saturday 13 May 2006 03:19, wu chuanwen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': 2006/5/13, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: Change your system javac to a 1.4 for the emerge of commons-daemon. The resulting class/jar files will run in a 1.5 vm -- since enum and assert (introduced in 1.4) are both still valid identifiers in bytecode under a 1.5 vm. How can i change my javac to 1.4? Use java-config. You mean re-emerge sun-jdk1.4? You will have to have /a/ 1.4 javac, not necessarily Sun's. Is there any other ways? Sure, write and apply a patch to tomcat that removes all uses of enum as an identifier. For extra points, submit it back to the community. Or write and apply a patch to tomcat's native build process and/or the ebuild so that '--source 1.4' and possibly '--target 1.4' is passed to javac whenever it is called. I'd say give this back to the community, too, but we probably don't want it: Passing those options unconditionally breaks backwards compatibility and forward progress. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpLgFFPOdbfQ.pgp Description: PGP signature
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
wu chuanwen wrote: enum in jdk1.5 is a keyword,but it is used as a variable in the dev-java/commons-daemon-1.0.1. So now is there anyway to emerge tomcat? Yep. Probably you need to de-install JDK 5.0 (1.5.0) and install the Gentoo approved JDK 1.4.x. You know, there IS a reason why there's (not yet) a JDK 5.0 in portage... Alexander Skwar -- try again -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
wu chuanwen wrote: 2006/5/13, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: Change your system javac to a 1.4 for the emerge of commons-daemon. The resulting class/jar files will run in a 1.5 vm -- since enum and assert (introduced in 1.4) are both still valid identifiers in bytecode under a 1.5 vm. How can i change my javac to 1.4?You mean re-emerge sun-jdk1.4? That's probably what he mans. Is there any other ways? Why? That's a good enough way, IMO. Thanks! Bytecode also allows two methods with the same name that only differ in return type, which allows generics that only compile under 1.5 (and modified versions of 1.4) javac to work under a vm as far back as (at least) 1.2 -- as long as the requisite libraries are in place. Sun and the JCP have been very good to modify the bytecode specification sparingly, if at all, so that valid class files output from any javac will run on almost all vms. This common binary format goes a long way toward the goal of WORA. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh PS: Please delete text which you don't need, like the one which I've just quoted. Alexander Skwar -- Would ye both eat your cake and have your cake? -- John Heywood -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -unicode USE flag
Mark Knecht wrote: On 5/13/06, Richard Fish [EMAIL PROTECTED] wrote: On 5/13/06, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) Or figured the reader would know how to use google... :-) http://www.unicode.org/standard/WhatIsUnicode.html -Richard That much I did before writing. There are lots of similar sites. Thanks. However, being a musican and not a computer scientist all of that is mostly gibberish to lower life forms such as myself. The unicode flag possibility shows up on some new emerges for fonts. I suppose they are then fonts that use 16-bits instead of whatever they use when I don't include the unicaode flag. All that stated, then question still arises, why would I want these on my system? Do you speak languages other then English? If so, that is where Unicode can come in. It can handle a lot more characters then just the English alphabet. I only speak and read English and have no need for those funny characters so I built my systems with a global use flag of -unicode. It won't hurt to include Unicode. Basically if you want to work with any language other then English, just enable Unicode. Thanks, Mark Jim -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] pppoe-status returns the wrong infomation! might be a bug..
060513 Farhan Ahmed wrote: Mrugesh Karnik wrote: the instructions in the Handbook point to the method where Gentoo uses the kernel based pppoe rather than rp-pppoe. So rp-pppoe is never active I think. The instructions point to rp-pppoe based setup not kernel mode pppoe. There have been threads about this recently. IIUC Baselayout 1.12.0 removes the need for Rp-pppoe, but that version is still 'unstable', though it's probably safe enough. I'm still using 1.11.14-r8 still have Rp-pppoe installed, but I may test the new method soon. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
[gentoo-user] php-5 being forced to install?
Hi guys, I'm having weird symptoms on my gentoo 2005.x system. The system is trying to install php-5. It says... [ebuild NS ] dev-lang/php-5.1.2 [ebuild R ] dev-lang/swig-1.3.21 I don't understand why it's trying to do this, as I have not asked for php 5 to be installed. And I'm also worried about it breaking existing PHP applications. Any ideas of where I should start? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -unicode USE flag
060513 Mark Knecht wrote: being a musican and not a computer scientist, I suppose they are fonts that use 16-bits instead of whatever they use when I don't include the unicode flag. the question still arises, why would I want these on my system? If you confine yourself entirely to English, French, German Spanish, you shouldn't need Unicode; if you extend to Russian, Welsh or Esperanto, you will find it useful when switching between those languages English. That's briefly, as you are requesting (smile). -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] -unicode USE flag
On 5/13/06, Jim [EMAIL PROTECTED] wrote: Mark Knecht wrote: On 5/13/06, Richard Fish [EMAIL PROTECTED] wrote: On 5/13/06, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I wonder if anyone could explain the USE flag 'unicode' better than the Gentoo description located here: http://www.gentoo.org/dyn/use-index.xml unicode Adds support for Unicode I think the person who wrote this knows too much. ;-) Or figured the reader would know how to use google... :-) http://www.unicode.org/standard/WhatIsUnicode.html -Richard That much I did before writing. There are lots of similar sites. Thanks. However, being a musican and not a computer scientist all of that is mostly gibberish to lower life forms such as myself. The unicode flag possibility shows up on some new emerges for fonts. I suppose they are then fonts that use 16-bits instead of whatever they use when I don't include the unicaode flag. All that stated, then question still arises, why would I want these on my system? Do you speak languages other then English? No, I barely speak English actually If so, that is where Unicode can come in. It can handle a lot more characters then just the English alphabet. OK, so I thought that was what I was accomplishing that with the cjk flag and by adding UTF8 to my kernel .config file. There is one place I have required this support in the past. I have digitized my complete CD collection and found that a number of CDs had special accents on (mostly) French and German names. However it seemed that adding the stuff I speak of was enough. POssibly it was just enough to get by? I only speak and read English and have no need for those funny characters so I built my systems with a global use flag of -unicode. It won't hurt to include Unicode. Basically if you want to work with any language other then English, just enable Unicode. I guess I'll look more deeply into it. Thanks, Mark -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problem emerging gnome-extra/gnome-media-2.14.0-r1
I don't know if I should file this as a bug, or if it's on my end. gnome-extra/gnome-media-2.14.0-r1 is on the current list for emerge -uD world, but I can't build it. It always errors with the following error message(s): creating cddb-slave2-query LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po cddb-slave.desktop.in cddb-slave.desktop Possible unintended interpolation of @INTLTOOL_LIBDIR in string at ../intltool-merge line 260. Global symbol @INTLTOOL_LIBDIR requires explicit package name at ../intltool-merge line 260. Execution of ../intltool-merge aborted due to compilation errors. make[2]: *** [cddb-slave.desktop] Error 255 make[2]: Leaving directory `/var/tmp/portage/gnome-media-2.14.0-r1/work/gnome-media-2.14.0/cddb-slave2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-media-2.14.0-r1/work/gnome-media-2.14.0' make: *** [all] Error 2 Is this something I can fix, or should I report it to bugs.gentoo.org? -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT - slideshow-type screensaver with custom images
My wife would like to know if there is a slideshow-type screensaver for Linux that would allow her to display her cat pictures as a screensaver. I would like to know if anything like this is available in portage. If it helps, we have a website with all the pictures on it that would serve as input for the screensaver, however, my wife also has the individual pictures from the web site saved on her hard drive... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - slideshow-type screensaver with custom images
Michael Sullivan wrote: My wife would like to know if there is a slideshow-type screensaver for Linux that would allow her to display her cat pictures as a screensaver. I would like to know if anything like this is available in portage. If it helps, we have a website with all the pictures on it that would serve as input for the screensaver, however, my wife also has the individual pictures from the web site saved on her hard drive... If you use KDE, right click on the desktop and select configure desktop. Click screensaver, then expand Banners and Pictures and select slideshow. You can then click setup to tell where your pictures are. Hope that helps. Dale :-) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - slideshow-type screensaver with custom images
On Sat, 2006-05-13 at 17:45 -0500, Teresa and Dale wrote: Michael Sullivan wrote: My wife would like to know if there is a slideshow-type screensaver for Linux that would allow her to display her cat pictures as a screensaver. I would like to know if anything like this is available in portage. If it helps, we have a website with all the pictures on it that would serve as input for the screensaver, however, my wife also has the individual pictures from the web site saved on her hard drive... If you use KDE, right click on the desktop and select configure desktop. Click screensaver, then expand Banners and Pictures and select slideshow. You can then click setup to tell where your pictures are. Hope that helps. Dale :-) I'll forward your advice to my wife. We have both Gnome and KDE installed, but we usually use Gnome... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - slideshow-type screensaver with custom images
On Sat, May 13, 2006 at 05:36:57PM -0500, Penguin Lover Michael Sullivan squawked: My wife would like to know if there is a slideshow-type screensaver for Linux that would allow her to display her cat pictures as a screensaver. I would like to know if anything like this is available in portage. If it helps, we have a website with all the pictures on it that would serve as input for the screensaver, however, my wife also has the individual pictures from the web site saved on her hard drive... emerge xscreensaver See if there's one that suits your needs. If not, adding something like that is fairly trivial in linux: you just need to edit .xscreensaver and include a image display program. For example, if you install the image display program qiv, here's what it says in its man page: XSCREENSAVER SUPPORT To use qiv with xscreensaver, either type make install-xscreensaver or add the following to your ~/.Xresources: xscreensaver.programs: \ /usr/bin/qiv -srfid 5 your_pix/\* \n\ /usr/bin/qiv -srfid 5 your_other_pix/\* \n\ W -- Two people turned in problem set 12 without indicating their names! This is true scholarship, done for it's own sake and not for material advantage, like a grade. It is an honor to be associated with such nobility of soul. ~Prof. Kirk T. McDonald, DeathEM'03 Sortir en Pantoufles: up 182 days, 15:39 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - slideshow-type screensaver with custom images
On Sat, 2006-05-13 at 19:16 -0400, Willie Wong wrote: On Sat, May 13, 2006 at 05:36:57PM -0500, Penguin Lover Michael Sullivan squawked: My wife would like to know if there is a slideshow-type screensaver for Linux that would allow her to display her cat pictures as a screensaver. I would like to know if anything like this is available in portage. If it helps, we have a website with all the pictures on it that would serve as input for the screensaver, however, my wife also has the individual pictures from the web site saved on her hard drive... emerge xscreensaver See if there's one that suits your needs. If not, adding something like that is fairly trivial in linux: you just need to edit .xscreensaver and include a image display program. For example, if you install the image display program qiv, here's what it says in its man page: XSCREENSAVER SUPPORT To use qiv with xscreensaver, either type make install-xscreensaver or add the following to your ~/.Xresources: xscreensaver.programs: \ /usr/bin/qiv -srfid 5 your_pix/\* \n\ /usr/bin/qiv -srfid 5 your_other_pix/\* \n\ W -- Two people turned in problem set 12 without indicating their names! This is true scholarship, done for it's own sake and not for material advantage, like a grade. It is an honor to be associated with such nobility of soul. ~Prof. Kirk T. McDonald, DeathEM'03 Sortir en Pantoufles: up 182 days, 15:39 We followed your advice about adding the lines to ~/Xresources. Now, under what screensaver name will the pictures be displayed? Right now my wife has her screensaver set to Random Screensaver... -- gentoo-user@gentoo.org mailing list
[gentoo-user] Grrr: gentoo form of dependency hell was: [Bug 129864]
rant The folks who work the gentoo bugzilla do us an enormous service, and I suppose they're too busy to say more than they must in these communications, but it sure gets frustrating. I really need this thing. I want it to be stable. But sorry, the old one can't be built any more, and the new one is masked. So I'm just out of luck. Maybe I'll be able to figure out how to unmask one of them, and maybe it will work for me, but I'm thinking again about my decision to go with gentoo (partly) because of dependency hell. I guess there's just no escaping it. /rant ++ kevin --- [EMAIL PROTECTED] wrote: Subject: [Bug 129864] suite3270 does not configure To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Date: Sat, 13 May 2006 07:30:11 + Clear-Text: http://bugs.gentoo.org/show_bug.cgi?id=129864 Secure: https://bugs.gentoo.org/show_bug.cgi?id=129864 [EMAIL PROTECTED] changed: What |Removed |Added Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from [EMAIL PROTECTED] 2006-05-13 00:30 PST --- The old version does not work with TCL8.3 or newer, please use the 3.3 series. -- Configure bugmail: http://bugs.gentoo.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You reported the bug, or are watching the reporter. -- Kevin O'Gorman, PhD
Re: [gentoo-user] OT - slideshow-type screensaver with custom images
On Sat, May 13, 2006 at 07:07:23PM -0500, Penguin Lover Michael Sullivan squawked: We followed your advice about adding the lines to ~/Xresources. Now, under what screensaver name will the pictures be displayed? Right now my wife has her screensaver set to Random Screensaver... Hum, I am not quite sure about in Gnome or KDE. Basically, you want to disable all other screensavers. One way to do it is to edit your .xscreensaver file about insert an minus sign - before each program listed. Another way is to add the following to your .Xresources: xscreensaver.mode: one xscreensaver.selected: 1 (I am not quite sure about the second one, it could be 0 instead of 1...) The first command makes xscreensaver run in one program mode, instead of random. The second command specifies the one program to run (c.f. man xscreensaver), the value should be, quote the index in the _programs_ list. But since they recommend setting that value using the xscreensaver-demo program, the man page does not go into detail as to whether the index starts at 0 or 1. W -- Arthur yawed wildly as his skin tried to jump one way and his skeleton the other, whilst his brain tried to work out which of his ears it most wanted to crawl out of. `Bet you weren't expecting to see me again,' said the monster, which Arthur couldn't help thinking was a strange remark for it to make, seeing as he had never met the creature before. He could tell that he hadn't met the creature before from the simple fact that he was able to sleep at nights. - Arthur discovering who had diverted him from going to a party. Sortir en Pantoufles: up 182 days, 17:42 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Listing portage categories?
Is there a way of getting a list of Portage categories? I know that I can `ls -s /usr/portage', but that seems like such a hack. Is there some way of getting that information with a Portage tool? --- Vladimir P.S. I haven't found a way to list categories with emerge, equery, esearch or eix. Vladimir G. Ivanovic Palo Alto, CA 94306 +1 650 678 8014 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Grrr: gentoo form of dependency hell was: [Bug 129864]
On 5/13/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: I really need this thing. I want it to be stable. But sorry, the old one can't be built any more, and the new one is masked. So I'm just out of luck. snip Clear-Text: http://bugs.gentoo.org/show_bug.cgi?id=129864 Secure: https://bugs.gentoo.org/show_bug.cgi?id=129864 Do you need it with tcl/tk support? If not, add net-misc/suite3270 -tcltk to /etc/portage/package.use and build it without. And it is only keyword masked, so unmasking should be a pretty simple and safe operation. Just add one of the following to /etc/portage/package.keywords: =net-misc/suite3270-3.3.4_p6 ~x86 =net-misc/suite3270-3.3.2_p1 ~x86 net-misc/suite3270 ~x86 Looking at the dependancy list in the 3.3.2 and 3.3.4 ebuilds, you should not need ~x86 for anything else. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Warning: Color name black is not defined
On Sat, 2006-05-13 at 06:50 +0200, Alexander Skwar wrote: Iain Buchanan wrote: I just made a symlink to /usr/share/X11/rgb.txt : Great idea. I'll give that a try on Monday when I'm back at the office. If that really fixes the problem, then it should be incorporated in the RGB package. well, I don't know if the symlink is the real answer, or just a hack. But _something_ should be incorporated _somewhere_ :) -- Iain Buchanan iaindb at netspace dot net dot au Alas, I am dying beyond my means. -- Oscar Wilde [as he sipped champagne on his deathbed] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/13, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Saturday 13 May 2006 03:19, wu chuanwen [EMAIL PROTECTED] wrote You mean re-emerge sun-jdk1.4? You will have to have /a/ 1.4 javac, not necessarily Sun's. Can i just change the 1.5 javac to the 1.4 one?I have never try to do this. Can it work? Is there any other ways? Sure, write and apply a patch to tomcat that removes all uses of enum as an identifier. It needs a lot of work! Besides there is many packages behind of which tomcat dependens on.I can't be sure all of them can be compile by jdk1.5. Besides,install tomcat is a painful thing.You know,you have to download many packages manually and still there are other problems.For example: !!! jmx-1_2_1-scsl.zip not found in /usr/portage/distfiles !!! dev-java/sun-jmx-1.2.1-r1 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * * Due to license restrictions, we cannot fetch the * distributables automagically. * * 1. Visit http://wwws.sun.com/software/communitysource/jmx/download.html and follow instructions * 2. Download jmx-1_2_1-scsl.zip * 3. Move file to /usr/portage/distfiles * 4. Run emerge on this package again to complete * There are several packages having the same information just as above. Is there anybody else having ever install tomcat? Do you have the same situation as me? -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/13, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: enum in jdk1.5 is a keyword,but it is used as a variable in the dev-java/commons-daemon-1.0.1. So now is there anyway to emerge tomcat? Yep. Probably you need to de-install JDK 5.0 (1.5.0) and install the Gentoo approved JDK 1.4.x. Maybe i will do that since there is not anyother ways. You know, there IS a reason why there's (not yet) a JDK 5.0 in portage... Yep,i understand now! Alexander Skwar -- try again -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - slideshow-type screensaver with custom images
On Sat, 2006-05-13 at 18:02 -0500, Michael Sullivan wrote: On Sat, 2006-05-13 at 17:45 -0500, Teresa and Dale wrote: Michael Sullivan wrote: My wife would like to know if there is a slideshow-type screensaver for Linux [snip] I'll forward your advice to my wife. We have both Gnome and KDE installed, but we usually use Gnome... If you usually use gnome, then try xscreensaver (with gnome-2.14) or gnome-screensaver (with =gnome-2.14). gnome-screensaver still needs a bit of work. xscreensaver: 1. change random screen saver to only one screen saver 2. choose GLSlideshow, VidWhacker, XTeeVee, Zoom, or any of the other image based screensavers (trial and error :) 3. go to the Advanced tab, and select Choose Random Image 4. enter the directory to your images. gnome-screensaver: 1. Choose pictures folder 2. make a symlink to your picture folder: $ ln -s /path/to/photos ~/Pictures and you're done! If you feel game, you can convert some of the xscreensaver hacks (/usr/share/xscreensaver/config/) to gnome-screensaver xml files (/usr/share/gnome-screensaver/themes/). Post them back if you do so! HTH, -- Iain Buchanan iaindb at netspace dot net dot au Women sometimes forgive a man who forces the opportunity, but never a man who misses one. -- Charles De Talleyrand-Perigord -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
On Saturday 13 May 2006 21:56, wu chuanwen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': 2006/5/13, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Saturday 13 May 2006 03:19, wu chuanwen [EMAIL PROTECTED] wrote You mean re-emerge sun-jdk1.4? You will have to have /a/ 1.4 javac, not necessarily Sun's. Can i just change the 1.5 javac to the 1.4 one?I have never try to do this. Can it work? Sure, you can emerge -C jdk 1.5 AND emerge jdk 1.4, but wouldn't it be easier to just emerge jdk 1.4 and use the java-config tool provided by Gentoo to change your system jdk? Is there any other ways? Sure, write and apply a patch to tomcat that removes all uses of enum as an identifier. It needs a lot of work! That was my point. I already TOLD you the easy way. !!! jmx-1_2_1-scsl.zip not found in /usr/portage/distfiles !!! dev-java/sun-jmx-1.2.1-r1 has fetch restriction turned on. There are several packages having the same information just as above. Is there anybody else having ever install tomcat? Do you have the same situation as me? Yes, there are a number of packages in the tree with fetch restriction turned on. Due to non-free licenses AND annoying download policies this software may not be downloaded automatically or put on any Gentoo mirror. Gentoo has a choice: do not provide these packages AT ALL, or require you do manually download them. Aren't you glad they chose the former? -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpGqXA5mbrPq.pgp Description: PGP signature
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
wu chuanwen wrote: 2006/5/13, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Saturday 13 May 2006 03:19, wu chuanwen [EMAIL PROTECTED] wrote You mean re-emerge sun-jdk1.4? You will have to have /a/ 1.4 javac, not necessarily Sun's. Can i just change the 1.5 javac to the 1.4 one? No. What's wrong with the proper solution that's been given to you? There are several packages having the same information just as above. Is there anybody else having ever install tomcat? Do you have the same situation as me? As these are fetch restrictions: Yes, everybody will have the same situation. Alexander Skwar -- Campus sidewalks never exist as the straightest line between two points. -- M. M. Johnston -- gentoo-user@gentoo.org mailing list