Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/17, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Tuesday 16 May 2006 10:05, wu chuanwen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': Find what package owns the class/jar that's giving a UnsupportedClassVersionError (you might find equery from gentoolkit suited to this task) and recompile it with javac 1.4. This /could/ end up chaining down (meaning, that package requires you to compile a different package with 1.4 and so on)to where you have to compile everything with JDK 1.4, but maybe not. As covered before, JDK 5 (1.5) is masked for a reason. You really shouldn't unmask it unless you are ready to deal with the problems *yourself*. I know i have made a big mistake now! Many on the list will be either unable or unwilling to help you, and I have severe limits in my knowledge, having never actually installed JDK 1.5 on Gentoo, only the Windows boxes I've been forced to use for various work-related tasks. Oh!You are a nice man! Many people here are very nice! -- 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 -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
Done! I have fix my *big* problem now and have installed tomcat! I just want to thank everybody! You know your advices are so important to me! Without your help,I can hardly fix this problem.You have let me learn a lot! Thanks! You are all nice men! -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/15, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Sunday 14 May 2006 13:32, wu chuanwen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': java.lang.UnsupportedClassVersionError: A 1.4 vm refuses to load the output from a 1.5 javac because of the classfile format bump. A 1.5 vm will load both 1.4 and 1.5 classfiles. Try running w/ 1.5. what does this mean? -- 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 -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/16, Uwe Klosa [EMAIL PROTECTED]: Hi You can find information about java on Gentoo here http://www.gentoo.org/doc/en/java.xml. There are a lot of problems that can occur if you use java 1.5 as system vm. Have a look here: http://www.gentoo.org/proj/en/java/tiger-faq.xml I have tried this way,but i can' t work.I think just it can't fix my problem cause i have used jdk1.5 to compile many packages. I recommend to use the java migration-overlay https://projects.gentooexperimental.org/expj/wiki/Using_migration-overlay Why i can't emerge =java-config-2* Uwe -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/16, Uwe Klosa [EMAIL PROTECTED]: You have to emerge java 1.4 and set this to your system vm first. Thena you can follow the migration-overlay description. I also had once java 1.5 as system vm. But there have been problems like that you're describing. the solution was to use the migration-overlay. Now I'm able to use java 1.5 without problems. I mean one step is to emerge =java-config-1* =java-config-2*,but i just can't find the java-config-2*? Uwe wu chuanwen wrote: 2006/5/16, Uwe Klosa [EMAIL PROTECTED]: Hi You can find information about java on Gentoo here http://www.gentoo.org/doc/en/java.xml. There are a lot of problems that can occur if you use java 1.5 as system vm. Have a look here: http://www.gentoo.org/proj/en/java/tiger-faq.xml I have tried this way,but i can' t work.I think just it can't fix my problem cause i have used jdk1.5 to compile many packages. I recommend to use the java migration-overlay https://projects.gentooexperimental.org/expj/wiki/Using_migration-overlay Why i can't emerge =java-config-2* Uwe -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/16, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Tuesday 16 May 2006 02:28, wu chuanwen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] cause jdk1.5 emerge tomcat error!': 2006/5/15, Boyd Stephen Smith Jr. [EMAIL PROTECTED]: On Sunday 14 May 2006 13:32, wu chuanwen [EMAIL PROTECTED] wrote javac compiles .java files into (one or more) .class files. Multiple class files plus metadata files are zip'd into a .jar file. .class files have a very specific format. In particular there's the classfile magic (0xCAFEBABE) that confirms that a file with the .class extension is really in the classfile format, and can be used to identify un- or mis-named classfiles. Further on in the classfile header (before the data specific to the .java file) is a classfile version. Different versions of javac write out different classfile versions. Presumably to make sure a vm can /safely/ load a class. In particular, there've been at least 2 version bumps. One from somewhere between 1.0 and 1.2 and one between 1.4 and 1.5. I'm not sure on the /exact/ chanages associated with each of those bumps. Each vm has a whitelist of classfile versions it will load. The default version output by a 1.5 javac is not on the whitelist for a 1.4 vm. You can change the classfile version output with the --target argument to javac. Also, javac actually runs inside a vm, and will attempt to load classfiles that are used by your program, but not available on the source path, in an attempt to ensure you are using those classes correctly. The classfiles must have a version loadable by javac's vm or you get the same error. Thank you very much!I have learned a lot. Now my problem is : I have both jdk1.5 and 1.4 now. $ java-config -L [sun-jdk-1.4.2.10] Sun JDK 1.4.2.10 (/etc/env.d/java/20sun-jdk-1.4.2.10) [sun-jdk-1.5.0.06] Sun JDK 1.5.0.06 (/etc/env.d/java/20sun-jdk-1.5.0.06) * I compiled all the dev-java packages by javac1.5.Now when i compile commons-pool-1.2-r1,enum can't be recognized as a keyword.And when i switch to jdk 1.4,the message is UnsupportedClassVersionError. How can i fix this problem now besides re-emerge all the packages in dev-java? -- 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 -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/16, Uwe Klosa [EMAIL PROTECTED]: You have to emerge java 1.4 and set this to your system vm first. Thena you can follow the migration-overlay description. I also had once java 1.5 as system vm. But there have been problems like that you're describing. the solution was to use the migration-overlay. Now I'm able to use java 1.5 without problems. I can't download the package javatoolkit-0.1.8.tar.bz2 from http://www.kerami-tek.com/~chewi/chewi-overlay/distfiles/javatoolkit-0.1.8.tar.bz2. I just wonder if you can send it to my mailbox and it will be very appreciated(maybe it's still in your /usr/portage/distfiles). Thanks in advance! Uwe -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
2006/5/15, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: I have unmerge the sun-jdk1.5 and emerge sun-jdk1.4 and it success. But now there is new problem when i emerge the one which tomcat dependen on: Yep. That's because you used JDK 5.0. In bugzilla you can find a lot of reports - BTW: You searched bugs.gentoo.org first? My network is edu net which can't connect the foreign web sites. Either fix all the packages yourself as you insisted on using JDK 5.0, despite it being hardmasked. Or you remove all the Java packages which got installed after you installed JDK 5.0 and install them new, now that you're back with JDK 1.4.2. OMG!But how can i find out all the packages installed after JDK1.5? I hope they are not all the packages in the dev-java. Alexander Skwar -- No spitting on the Bus! Thank you, The Mgt. -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cause jdk1.5 emerge tomcat error!
I have unmerge the sun-jdk1.5 and emerge sun-jdk1.4 and it success. But now there is new problem when i emerge the one which tomcat dependen on: --- #emerge tomcat Calculating dependencies... done! Emerging (1 of 30) dev-java/commons-pool-1.2-r1 to / checking ebuild checksums ;-) checking auxfile checksums ;-) checking miscfile checksums ;-) checking commons-pool-1.2-src.tar.gz ;-) Unpacking source... Unpacking commons-pool-1.2-src.tar.gz to /var/tmp/portage/commons-pool-1.2-r1/work tar: a long zero block at 1325. Source unpacked. Compiling source in /var/tmp/portage/commons-pool-1.2-r1/work/commons-pool-1.2 ... Buildfile: build.xml BUILD FAILED java.lang.UnsupportedClassVersionError: org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87) at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114) at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:193) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91) at org.apache.tools.ant.Main.runBuild(Main.java:653) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Total time: 0 seconds java.lang.UnsupportedClassVersionError: org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:282) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87) at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114) at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:193) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91) at org.apache.tools.ant.Main.runBuild(Main.java:653) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0) !!! ERROR: dev-java/commons-pool-1.2-r1 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile commons-pool-1.2-r1.ebuild, line 37: Called die !!! Compilation Failed !!! If you need support, post
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
[gentoo-user] cause jdk1.5 emerge tomcat error!
Hi!Everybody! 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? Thanks in advance! -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/9, JimD [EMAIL PROTECTED]: wu chuanwen wrote: 2006/5/7, JimD [EMAIL PROTECTED]: hdparm -Tt /dev/hda Thank you!Here are some results: /dev/hda: Timing cached reads: 816 MB in 2.00 seconds = 407.87 MB/sec Timing buffered disk reads: 166 MB in 3.01 seconds = 55.17 MB/sec /dev/hda: Timing cached reads: 900 MB in 2.00 seconds = 449.13 MB/sec Timing buffered disk reads: 170 MB in 3.02 seconds = 56.25 MB/sec /dev/hda: Timing cached reads: 928 MB in 2.00 seconds = 464.21 MB/sec Timing buffered disk reads: 172 MB in 3.03 seconds = 56.77 MB/sec /dev/hda: Timing cached reads: 836 MB in 2.00 seconds = 417.79 MB/sec Timing buffered disk reads: 170 MB in 3.01 seconds = 56.51 MB/sec /dev/hda: Timing cached reads: 908 MB in 2.00 seconds = 453.99 MB/sec Timing buffered disk reads: 140 MB in 3.25 seconds = 43.11 MB/sec /dev/hda: Timing cached reads: 892 MB in 2.00 seconds = 445.28 MB/sec Timing buffered disk reads: 170 MB in 3.02 seconds = 56.29 MB/sec /dev/hda: Timing cached reads: 900 MB in 2.01 seconds = 448.79 MB/sec Timing buffered disk reads: 164 MB in 3.01 seconds = 54.56 MB/sec I think the speed of cache is too slow!In my roommate's machine,this speed is almost 880~900MB/sec Sorry!But i just don't know what you mean by this? I expect your reply! Thanks again! I meant I want you to run the command above and send the output. The last parameter /dev/hda refers to the drive where you have Gentoo insalled. The drive/device path that you put in /etc/fstab. For example, if your 40 GB drive is the primary master, it would be /dev/hda. It it were the primary slave it would be /dev/hdb, etc. If the drive is an SATA drive it would be /dev/sda.. If you still do not understand, send me the contents of the file /etc/fstab and I will show you what command to run. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/9, JimD [EMAIL PROTECTED]: Yes you should get much faster startup times of Gnome 2.14 than that. How to do that?I really don't know how to read the startup script.How can i improve or rebuild my system. My laptop is a Pentium M 1.73 GHz, 1 GB memory and a 5400 RPM SATA laptop drive. From startx to complete Gnome is only about 5 seconds or so. On my AMD64 3200+ with 2 GB and pretty fast SATA II I get in Gnome in less than 5 seconds. Something is slowing down you system. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/7, JimD [EMAIL PROTECTED]: wu chuanwen wrote: Celeron(R)2.0G,Ram=512mb,disk=40Gb That is not bad at all. yeah!I am using Gnome2.14.I konw it's nice.I am just trying to find some ways to make it more fast! Is it possible. What is slow about it? Just the startup or the use of applications or both? One thing I noticed is memory usage and swap can kill performance. You can run free to see how much memory/swap you have in use. What is the output from this command: top -b -n 1 Thanks! I have tried,here is the message: Mem:507856k total, 381252k used, 126604k free,50964k buffers Swap: 305192k total,0k used, 305192k free, 135780k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5896 root 15 0 148m 14m 7852 S 3.9 2.9 0:50.87 X 9104 wcw 16 0 115m 38m 20m S 3.9 7.7 1:49.52 firefox-bin 1 root 16 0 1508 536 464 S 0.0 0.1 0:00.40 init 2 root 34 19 000 S 0.0 0.0 0:00.00 ksoftirqd/0 3 root 10 -5 000 S 0.0 0.0 0:00.03 events/0 4 root 10 -5 000 S 0.0 0.0 0:00.00 khelper 5 root 10 -5 000 S 0.0 0.0 0:00.00 kthread 7 root 10 -5 000 S 0.0 0.0 0:00.03 kblockd/0 8 root 20 -5 000 S 0.0 0.0 0:00.00 kacpid 92 root 10 -5 000 S 0.0 0.0 0:00.00 khubd 133 root 20 0 000 S 0.0 0.0 0:00.00 pdflush 134 root 15 0 000 S 0.0 0.0 0:00.00 pdflush 136 root 16 -5 000 S 0.0 0.0 0:00.00 aio/0 135 root 25 0 000 S 0.0 0.0 0:00.00 kswapd0 725 root 10 -5 000 S 0.0 0.0 0:00.02 kseriod 747 root 11 -5 000 S 0.0 0.0 0:00.00 kpsmoused 783 root 15 0 000 S 0.0 0.0 0:00.02 kjournald 982 root 13 -4 1732 560 356 S 0.0 0.1 0:00.63 udevd 2974 root 15 0 000 S 0.0 0.0 0:00.01 kjournald 5681 root 15 0 1860 604 432 S 0.0 0.1 0:00.01 syslog-ng 5834 root 16 0 2320 1156 900 S 0.0 0.2 0:00.04 login 5835 root 16 0 1548 636 548 S 0.0 0.1 0:00.00 agetty 5836 root 16 0 1544 632 548 S 0.0 0.1 0:00.00 agetty 5837 root 16 0 1544 632 548 S 0.0 0.1 0:00.00 agetty 5853 root 16 0 1548 640 548 S 0.0 0.1 0:00.00 agetty 5856 root 16 0 1548 636 548 S 0.0 0.1 0:00.00 agetty 5874 wcw 16 0 4028 1732 1396 S 0.0 0.3 0:00.03 bash 5879 wcw 17 0 2948 1252 1072 S 0.0 0.2 0:00.00 startx 5895 wcw 16 0 2460 716 600 S 0.0 0.1 0:00.00 xinit 5900 wcw 16 0 34724 10m 7992 S 0.0 2.1 0:00.83 gnome-session 5903 wcw 15 0 17316 9428 1712 S 0.0 1.9 0:00.31 scim-launcher 5907 wcw 19 0 4960 1004 736 S 0.0 0.2 0:00.00 scim-helper-man 5908 wcw 15 0 41696 9740 5984 S 0.0 1.9 0:01.18 scim-panel-gtk 5910 wcw 15 0 7132 1192 808 R 0.0 0.2 0:00.00 scim-launcher 5912 wcw 15 0 5516 3112 1972 S 0.0 0.6 0:00.56 gconfd-2 5915 wcw 19 0 2316 696 572 S 0.0 0.1 0:00.00 gnome-keyring-d 5917 wcw 16 0 6360 2980 2400 S 0.0 0.6 0:00.12 bonobo-activati 5919 wcw 15 0 28124 9500 7316 S 0.0 1.9 0:01.34 gnome-settings- 5924 wcw 15 0 4056 2572 1220 S 0.0 0.5 0:00.10 esd 5931 wcw 15 0 33988 11m 8224 S 0.0 2.2 0:05.66 metacity 5936 wcw 15 0 46804 15m 10m S 0.0 3.0 0:02.57 gnome-panel 5940 wcw 15 0 93612 27m 18m S 0.0 5.5 0:08.77 nautilus 5943 wcw 15 0 45820 12m 9584 S 0.0 2.6 0:03.70 wnck-applet 5946 wcw 15 0 8812 3596 2964 S 0.0 0.7 0:00.08 gnome-vfs-daemo 5958 wcw 16 0 2224 824 708 S 0.0 0.2 0:00.00 mapping-daemon 5960 wcw 15 0 2284 1044 912 S 0.0 0.2 0:00.04 gam_server 5964 wcw 16 0 17860 7884 6468 S 0.0 1.6 0:00.38 notification-ar 5966 wcw 16 0 37744 11m 8708 S 0.0 2.3 0:01.46 clock-applet 5970 wcw 15 0 78300 20m 12m S 0.0 4.1 0:16.36 gnome-terminal 5971 wcw 16 0 2232 712 588 S 0.0 0.1 0:00.00 gnome-pty-helpe 5972 wcw 15 0 3996 1700 1372 S 0.0 0.3 0:00.03 bash 5977 root 17 0 3356 1176 944 S 0.0 0.2 0:00.00 su 5980 root 15 0 3864 1728 1392 S 0.0 0.3 0:00.00 bash 5982 root 16 0 820 316 260 S 0.0 0.1 0:00.00 net 5990 wcw 15 0 4000 1704 1376 S 0.0 0.3 0:00.03 bash 9054 root 16 0 3352 1176 944 S 0.0 0.2 0:00.00 su 9057 root 16 0 3860 1732 1388 S 0.0 0.3 0:00.04 bash 9095 wcw 17 0 3928 1412 1108 S 0.0 0.3 0:00.02 mozilla-launche 9114 wcw 19 0 000 Z 0.0 0.0 0:00.00 netstat defunct 9131 root 18 0 11196 8944 2220 S 0.0 1.8 0:03.81 emerge 9637 root 15 0 3488 1480 1208 S 0.0 0.3 0:01.38 wget 9647 wcw
Re: [gentoo-user] can gnome use prelink?
I count the time when i startx my gnome,it takes me 23 or 24 seconds. The specs of my machine are as follow: Celeron(R)2.0G,Ram=512mb,disk=40Gb Do you think it's slow or not? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/6, JimD [EMAIL PROTECTED]: wu chuanwen wrote: Hi! I know kde can use prelink to accelerate. Can gnome do it? If it can,how?I know in kde we should change the file 99kde-env in /etc/env.d,but here i can't see any file relate gnome. Thank you in advance! From http://www.gentoo.org/doc/en/prelink-howto.xml: Most common applications make use of shared libraries. These shared libraries need to be loaded into memory at runtime and the various symbol references need to be resolved. For most small programs this dynamic linking is very quick. But for programs written in C++ and that have many library dependencies, the dynamic linking can take a fair amount of time. Gnome is written in C and doesn't have this issue. Gnome startup is pretty fast. If you upgrade to the latest Gnome 2.14.x, startup is *very* fast. My AMD64 3200+ logs in to Gnome in only about 2 seconds from startx. I am really impressed with the speed improvements in Gnome 2.14 vs 2.12. So to answer your question, no, it is not needed in Gnome since gnome is not written in C++ like KDE is. Then is there anyway to accelerate gnome?My machine is not very fast!(yeah,of course my machine is not as good as yours) Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/7, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: 2006/5/6, JimD [EMAIL PROTECTED]: I am really impressed with the speed improvements in Gnome 2.14 vs 2.12. Then is there anyway to accelerate gnome? As JimD wrote - 2.14 will be A LOT faster then 2.12. That's also what you'll find on gnome.org. I have already install gnome 2.14.I know it's fast than the lower version ones. I just find it slower and slower(maybe)when i start gnome.And i just search some ways to make it even faster. I don' t know whether it's possible? Does anyone know, when 2.14 will finally be unmasked? Alexander Skwar -- If we wanted more leisure, we'd invent machines that do things less efficiently. -Calvin's dad -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
[gentoo-user] can gnome use prelink?
Hi! I know kde can use prelink to accelerate. Can gnome do it? If it can,how?I know in kde we should change the file 99kde-env in /etc/env.d,but here i can't see any file relate gnome. Thank you in advance! -- wcw -- gentoo-user@gentoo.org mailing list
[gentoo-user] eth0 corrupted after power cut off when emerged world
I just emerge --update --deep --newuse world and suddenly the power is cut off. Then,when i start my gentoo again,my network can't work now. The error message is : Starting eth0 ls:*.sh:No such file or directory. * no interface module has been loaded. *starting lo. /lib/rcscripts/net.modules.d/iproute2.sh does not exist ERROR:Problem starting needed service net.lo netmount was not started. Is there anybody know what is matter? -- wcw -- gentoo-user@gentoo.org mailing list
[gentoo-user] why firefox is so slow?
Hi! Everybody!I think most of us are using firefox now .Do you think it's too slow?In my machine,if i open 6 or more tabs in firefox,my firefox will be stuck and even can not scroll up and down.Many peple have the same situation.Do you think so? And how can you solve this problem?-- wcw
Re: [gentoo-user] Two things, AC97 sound and Gnome issues!
2006/4/27, Christopher E [EMAIL PROTECTED]: Hello all,if there is any one that can help me with the following two issue Iwould be greatful.1.I am have a error message when booting about snd_via82xx notfound.FATAL: Module snd_via82xx not found.is the exact message. Are you sure your sound module is snd_via82xx?I have a AC97 sound card,and the modules is not this one. I have the driver as part of the kernel, when I don't ALSA then givesa message like this:ALSA device list:Sound Card not foundI have emerged hal, dbus, alsa-utils and have added all of them torc-update level boot.I have run the alsaconf. 2.Now with gnome, when I type startx at the prompte I get the logo and then it stops, I then have to move the mouse and click on the logoand it goes away and then its just a blank screen.I have to doctrl+alt+backspace to get out and get to a prompte again. See the message after you do ctrl+alt+bachspace! If you have any other questions that I have not answered here please ask so this may get fixed.If any one knows how I could fix these issue I would be greatful andthankful to you.Sincerely,Christopher--gentoo-user@gentoo.org mailing list-- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Jeff Rollin [EMAIL PROTECTED]: Works fine on mine; what are your USE flags?USE=gtk gnome gcj hal -qt -kde dvd alsa cdr nptl nptlonly pic.It's OK!Oh god! Just like now ,i just open two tab,it's so slow when i switch between the two tab. On 30/04/06, wu chuanwen [EMAIL PROTECTED] wrote: Hi! Everybody!I think most of us are using firefox now .Do you think it's too slow?In my machine,if i open 6 or more tabs in firefox,my firefox will be stuck and even can not scroll up and down.Many peple have the same situation.Do you think so? And how can you solve this problem?-- wcw -- --Argument against Linux number 6,033: ...So this is like most Linux viruses. You have to download the virus yourself, become root, install it and then run it. Seems like a lot of work just to experience what you can get on Windows with a lot less trouble. -- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: Hi! Everybody! I think most of us are using firefox now .Do you think it's too slow?Not really. In my machine,if i open 6 or more tabs in firefox,my firefox will be stuck and even can not scroll up and down.Works fine here. Many peple have the same situation.Haven't heard of.Really?Open this page ,you can see how many people complant firefox from april 15th! Do you think so?No, I don't. And how can you solve this problem? Try a blank Firefox profile. To create one, run firefox -ProfileManager.Can you tell me which version you are using ? Alexander Skwar--Would you people stop playing these stupid games?!?!?--gentoo-user@gentoo.org mailing list -- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, wu chuanwen [EMAIL PROTECTED]: 2006/4/30, Alexander Skwar [EMAIL PROTECTED] : wu chuanwen wrote: Hi! Everybody! I think most of us are using firefox now .Do you think it's too slow?Not really. In my machine,if i open 6 or more tabs in firefox,my firefox will be stuck and even can not scroll up and down.Works fine here. Many peple have the same situation.Haven't heard of.Really?Open this page ,you can see how many people complant firefox from april 15th! I am sorry,i forget the link:http://www.linuxsir.org/bbs/showthread.php?t=252747 Do you think so? No, I don't. And how can you solve this problem? Try a blank Firefox profile. To create one, run firefox -ProfileManager.Can you tell me which version you are using ? Alexander Skwar--Would you people stop playing these stupid games?!?!?--gentoo-user@gentoo.org mailing list -- wcw -- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Andrea Barisani [EMAIL PROTECTED]: On Sun, Apr 30, 2006 at 02:59:06PM +0200, Alexander Skwar wrote: wu chuanwen wrote: Hi! Everybody! I think most of us are using firefox now .Do you think it's too slow? Not really. In my machine,if i open 6 or more tabs in firefox,my firefox will be stuck and even can not scroll up and down. Works fine here. Many peple have the same situation. Haven't heard of. Do you think so? No, I don't. And how can you solve this problem? Try a blank Firefox profile. To create one, run firefox -ProfileManager. Alexander Skwar -- Would you people stop playing these stupid games?!?!? -- gentoo-user@gentoo.org mailing list Try using this:$ MOZ_DISABLE_PANGO=1 firefoxIt seems better now, but i am not sure.I will be very appreciated if you can tell me what the command means!Thanks! --Andrea Barisani [EMAIL PROTECTED].*.Gentoo Linux Infrastructure DeveloperV ( ) PGP-Key 0x864C9B9E http://dev.gentoo.org/~lcars/pubkey.asc ( )0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E^^_^^Pluralitas non est ponenda sine necessitate --gentoo-user@gentoo.org mailing list-- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Raymond Lewis Rebbeck [EMAIL PROTECTED]: On Sunday, April 30 2006 22:52, wu chuanwen wrote: I am sorry,i forget the link: http://www.linuxsir.org/bbs/showthread.php?t=252747 I don't think it'd be much help posting a Chinese forum thread in an Englishmailing list.I just mean to show that many people don't think firefox is so good and i search some methods to solve the problem. --Raymond Lewis Rebbeck--gentoo-user@gentoo.org mailing list-- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: 2006/4/30, Jeff Rollin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Works fine on mine; what are your USE flags? USE=gtk gnome gcj hal -qt -kde dvd alsa cdr nptl nptlonly pic.Hm, those are not firefox USE flags. What do you get, when you runemerge -vpt mozilla-firefoxI get:[ebuild U ] www-client/mozilla-firefox-1.5.0.2-r1 [1.5.0.2] USE=-debug gnome -ipv6 java -mozdevelop -xinerama xprint 0 kB I get this:[ebuild U ] www-client/mozilla-firefox-1.5.0.2 [1.5.0.1-r4] USE=gnome ipv6 -debug -java -mozdevelop -xinerama -xprint 37 kB Have you yet tried a blank profile?What do you mean?How to do it? Alexander SkwarPS: Please no HTML. Makes your posts harder to read.Do you mean the link i gave in the mail before?Or another thing?I'm sorry if i bring you any troubles but i really don't know what happen. --Is it really you, Fuzz, or is it Memorex, or is it radiation sickness? -- Sonic Disruptors comics--gentoo-user@gentoo.org mailing list-- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Jeff Rollin [EMAIL PROTECTED]: I know a lot of people don't recommend this, but I haven't had any trouble with CFLAGS=-O3, specifically in firefox 1.5.0.2I can't use O3 because i got many errors when complied my gentoo .I use O2,-- wcw
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: 2006/4/30, Alexander Skwar [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Hm, those are not firefox USE flags. What do you get, when you run emerge -vpt mozilla-firefox I get this: [ebuild U ] www-client/mozilla-firefox-1.5.0.2 [1.5.0.1-r4] USE=gnome ipv6 -debug -java -mozdevelop -xinerama -xprint 37 kB Do you really need ipv6? I doubt that this has anything to do with the problem at hand, but if you don't need it, you should remove it. If you don't know anything about ipv6, it's very probable that you don't need it. thinks for this advice.Maybe next time when i am free i will re -emerge my firefox To the others: Is ipv6 still one of the default flags? Has this bug still not been fixed? Have you yet tried a blank profile? What do you mean? As I wrote: Try a blank Firefox profile. To create one, run firefox -ProfileManager. I have tried,and i am not sure it fater now! Just some time to see it. PS: Please no HTML. Makes your posts harder to read. Do you mean the link i gave in the mail before?Or another thing? I mean, that you compose your mails in gmail as HTML or rich text. This makes them bigger without adding any benefit to it - indeed, as you can see above, it makes it even worse, as there are no proper quote marks before the quoted text. Simply click on plain text. Oh! I know now.I use gmail(i think it is the best e-mail now which can sort you e-mail by topic and looks very good!)and never see my mail from the mail-list in other application. Is this mail OK now ? Alexander Skwar -- Trespassers will be shot. Survivors will be prosecuted. -- gentoo-user@gentoo.org mailing list Thanks for your reply! -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Heiko Wundram [EMAIL PROTECTED]: Am Sonntag 30 April 2006 14:24 schrieb wu chuanwen: I think most of us are using firefox now .Do you think it's too slow?In my machine,if i open 6 or more tabs in firefox,my firefox will be stuck and even can not scroll up and down.Many peple have the same situation.Do you think so? And how can you solve this problem? Most certainly, this is a memory issue. For every tab you have open, Firefox keeps a 30-something pages history cache in memory, including pictures, for quicker back-browsing. If you are under tight memory (512MB, I'd say), you My memory is 512mb,but still consider what you said is the point. quickly notice that the memory requirements of Firefox make the computer start to swap, and that the system slows down considerably. You can turn off this history-caching somewhere, someplace on about:config, but I wouldn't know where. Search the net. You're not the first one to complain about this. I have larger the cache to 80MB. It's not enough now? --- Heiko. -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Richard Fish [EMAIL PROTECTED]: On 4/30/06, Jeff Rollin [EMAIL PROTECTED] wrote: Alexander, DG_DISABLE_DEBUG strips debugging information from binaries, making them smaller (and faster) Maybe as a CFLAG, but not a USE flag. And it will only affect gnome/glib/gtk applications. Are you sure it can work?Is there anybody else using it ?I have never heard of such cflag or use flag PS: As Alexander already said, please do not top post, and learn to trim your replies. -Richard -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] why firefox is so slow?
2006/5/1, Andrea Barisani [EMAIL PROTECTED]: On Sun, Apr 30, 2006 at 01:35:18PM +, wu chuanwen wrote: Try using this: $ MOZ_DISABLE_PANGO=1 firefox It seems better now, but i am not sure. I will be very appreciated if you can tell me what the command means! Thanks! It disables pango library usage, there's a known bug about it that makes firefox scrolling and stuff very slow. Google for it and you'll find lots of reports about it. Is there any way to fix it? I just don' t start firefox everytime like that. Cheers -- Andrea Barisani [EMAIL PROTECTED].*. Gentoo Linux Infrastructure Developer V ( ) PGP-Key 0x864C9B9E http://dev.gentoo.org/~lcars/pubkey.asc ( ) 0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E^^_^^ Pluralitas non est ponenda sine necessitate -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] why firefox is so slow?
2006/4/30, Benno Schulenberg [EMAIL PROTECTED]: wu chuanwen wrote: 2006/4/30, Raymond Lewis Rebbeck [EMAIL PROTECTED]: On Sunday, April 30 2006 22:52, wu chuanwen wrote: http://www.linuxsir.org/bbs/showthread.php?t=252747 I don't think it'd be much help posting a Chinese forum thread in an English mailing list. I just mean to show that many people don't think firefox is so good But most of the people here can't read what's written there: for all we know they could be singing the praises of spaghetti. :) It's my fault.I didn't consider it much. Maybe, though, your Firefox gets slow because of the Chinese (?) characters? Have you tried visiting only English sites for a while? I don't think that is becaust my Chinese characters.It seems better now for the advices from Alexander Skwar and Andrea Barisani(nice man). In fact,i usually visit the English sites(you know,in China,linux is not so flourish yet although more and more people join this group. And if it's caused by bad or heavy use of Javascript, also try avoiding the sites you usually visit, hop around on gentoo.org and similar sites, open lots of tabs and see what happens there. Benno -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] soundcards inconsistent
Hi!I don't konw why you need two soundcard! I just think that maybe one is enough.Once before I had two sound cards too,and at that time my gentoo can not have any sound(maybe not because i had two soundcards but the init script).Anyway, I just reset my bios,and mask my first soundcard which is in my board,and then the problem gone!Now everything is good! Maybe you can have a try if you don't need two soundcards!2006/4/19, Michael Schreckenbauer [EMAIL PROTECTED]: Dear gentoo-users,yesterday I recognized a strange problem with my soundcards. I have twosoundcards in my system. A Soundblaster, ens1371 based, and a TerratecDMX6Fire, which uses an ice1712 chip. The Soundblaster is used as the primary soundcard, recording from tape or vinyl and stereo playback, the ice1712 oneis used for 5.1 playback of dvds.So, the normal situation is as follows:~ $ cat /proc/asound/cards 0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI Ensoniq AudioPCI ENS1371 at 0xc000, irq 16 1 [DMX6Fire ]: ICE1712 - TerraTec DMX6FireTerraTec DMX6Fire at 0xc400, irq 19Now, after boot, I _sometimes_ get this one: ~ $ cat /proc/asound/cards 0 [DMX6Fire ]: ICE1712 - TerraTec DMX6FireTerraTec DMX6Fire at 0xc400, irq 19 1 [AudioPCI ]: ENS1371 - Ensoniq AudioPCIEnsoniq AudioPCI ENS1371 at 0xc000, irq 16 which I don't want, because I always have to adjust my applications ;)After executing /etc/init.d/alsasound restart, things are as expected.Some more info:~ $ uname -aLinux pc 2.6.15-gentoo-r3 #2 Mon Feb 27 22:36:46 CET 2006 i686 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux ~ $ cat /proc/asound/versionAdvanced Linux Sound Architecture Driver Version 1.0.11rc5.Compiled on Apr 12 2006 for kernel 2.6.15-gentoo-r3.~ $ eix ^udev$* sys-fs/udev Available versions:068-r1 069 070-r1 071 072 073 077 077-r1 077-r2077-r3 077-r4 077-r5 078 079 079-r1 081 081-r1 084 085 086 087 089 089-r1089-r2 090 Installed: 090 Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html Description: Linux dynamic and persistent device naming support (aka userspace devfs)Found 1 matches~ $ cat /etc/modules.d/alsa# Alsa 0.9.X kernel modules' configuration file.#$Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc ,v1.1 2003/08/05 21:07:55 johnm Exp $# ALSA portionalias char-major-116 snd# OSS/Free portionalias char-major-14 soundcore IMPORTANT:## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command.## Read alsa-driver's INSTALL file in /usr/share/doc for more info.ALSA portionalias snd-card-0 snd-ens1371alias snd-card-1 snd-ice1712##OSS/Free portion alias sound-slot-0 snd-card-0alias sound-slot-1 snd-card-1### OSS/Free portion - card #1alias sound-service-0-0 snd-mixer-ossalias sound-service-0-1 snd-seq-ossalias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-ossalias sound-service-0-12 snd-pcm-oss##OSS/Free portion - card #2alias sound-service-1-0 snd-mixer-ossalias sound-service-1-3 snd-pcm-ossalias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-ossalias /dev/dsp snd-pcm-ossalias /dev/midi snd-seq-ossoptions snd-card-1 model=dmx6fire# Set this to the correct number of cards.options snd cards_limit=2 I searched bugzilla for sound, alsa and udev, but found nothing useful. Wellhttp://bugs.gentoo.org/show_bug.cgi?id=128601 sounds similar, but it's about cdroms and an older version of udev.Any idea, what's the problem here?Thanks in advance,Michael--gentoo-user@gentoo.org mailing list -- wcw
Re: [gentoo-user] Re: how to setup sun-jdk
Thank you for you reply! I think we should have more fun in life but not just programming.Just as what you said,playing banminton,which is my favorite sport.And our department(i am a undergraduate) had won the first place in ouruniversity's league match.I am so lucky that i am one of the member in our team.Just have some sports,and take care you health. I use eclipse to write some socket program,so that i can use it either inWindows or Linux. 2006/4/17, [EMAIL PROTECTED] [EMAIL PROTECTED]: On Sunday 16 April 2006 08:51 pm, wu chuanwen wrote: Oh,God!Now i know the problem.My usbdisk is broken.So the file every time i read from it is corrucpted althougth the file i download is OK.Hah!That's really funny!I remeber once I burned out a SD Card since I wasusing the same addresses over and over (compiling some Java stuff).I figured out that SD Cards aren't invulnerable - the hard way.That was somegood data I lost... I'm so sorry that i have such a silly problemNot at all.Trust me, there's not much else that goes on in my life other than programming...I should take up a sport either badmitton orcricket, more likely than not it'll be badmitton.I hear the rule book forcricket is ~2x longer than the Bible (KJV - can't speak for others). Anyways, glad you got it working.Just out of curiosity, what were youworking on in Java?-- wcw
Re: [gentoo-user] Re: how to setup sun-jdk
Thank you ! I have settle the problem days ago.The package i downloaded is Ok but the one after i copied in my usbdisk and got it in gentoo is corrupt.My usbdisk is broken! Now everything is Ok. Thanks for your reply! 2006/4/16, [EMAIL PROTECTED] [EMAIL PROTECTED]: On Saturday 15 April 2006 11:30 pm, wu chuanwen wrote: The package dose not mention it's Multi-language package or not.The name of package is Linux self-extracting file.And i notice that the package for Windows mentions that it's Multi-language package. Does it matter if it'a Multi-language or not? Yes.In a situation like this, Java can be amazingly picky over not justwhich JDK but such nonsense as lanugage packs, c.I left Java about a yearago to this day because it was totally barf-disgusting gross (like my Mormon swearing ; )Then I qualify for AP Computer Science (yay!) and have to useJava again : \Get the precise name of the JDK that you need, then do this little trick inGoogle:site: http://java.sun.com/ [the EXACT file you need]That should find what youwant out of Sun's bloated archives of Java-garbage.And, just b/c I'm having fun making fun of Java, I have to quote a very goodfriend of mine on the subject: Java should stick to the miserable server apps it was designed for. --SethWillits-- wcw
[gentoo-user] Re: how to setup sun-jdk
The package dose not mention it's Multi-language package or not.The name of package is Linux self-extracting file.And i notice that the package for Windows mentions that it's Multi-language package. Does it matter if it'a Multi-language or not? 2006/4/16, Martins Steinbergs [EMAIL PROTECTED]: On Sunday 16 April 2006 08:06, wu chuanwen wrote: Thank you at first! But i still have some trouble.I just #ebuild /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.06-r2.ebuild digest then emerge sun-jdk. and error: . inflating: jdk1.5.0_06/man/ja_JP.eucJP/man1/serialver.1 inflating: jdk1.5.0_06/man/ja_JP.eucJP/man1/idlj.1 !!! ERROR: dev-java/sun-jdk-1.5.0.06-r2 failed. Call stack: ebuild.sh, line 1532: Called dyn_unpack ebuild.sh, line 697: Called src_unpack sun-jdk-1.5.0.06-r2.ebuild, line 106: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. How could this happened? Thank you in advanced! are you sure its Multi-language package, maybe it is English only. just a guess. m -- Linux 2.6.15-ck7 AMD Athlon(tm) 64 Processor 3200+ 08:48:53 up 6:23, 3 users, load average: 0.03, 0.16, 0.16 -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: !!! ERROR: app-text/ope nsp-1.5.1 failed w hen emerge gnome
MAKEOPTS=-j2,Can it be another better one? 2006/4/16, Walter Dnes [EMAIL PROTECTED]: On Sat, Apr 15, 2006 at 10:52:34AM +0800, wcw84 wrote I hava solved this problem now,chang my cflags=O3 to O2,and it's OK now ! Do not use -O3. It is begging for trouble, and can result in *SLOWER* programs, even when it doesn't blow up in your face. By the way, what is your MAKEOPTS setting? That is another item where over-optimizing can blow up the compile. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: how to setup sun-jdk
: bad zipfile offset (local header sig): 31424274 file #2443: bad zipfile offset (local header sig): 31424398 file #2444: bad zipfile offset (local header sig): 31424909 file #2445: bad zipfile offset (local header sig): 31425033 file #2446: bad zipfile offset (local header sig): 31425737 file #2447: bad zipfile offset (local header sig): 31426114 file #2448: bad zipfile offset (local header sig): 31426519 file #2449: bad zipfile offset (local header sig): 31427342 file #2450: bad zipfile offset (local header sig): 31427451 file #2451: bad zipfile offset (local header sig): 31427826 file #2452: bad zipfile offset (local header sig): 31427918 file #2453: bad zipfile offset (local header sig): 31428016 file #2454: bad zipfile offset (local header sig): 31428122 file #2455: bad zipfile offset (local header sig): 31428233 file #2456: bad zipfile offset (local header sig): 31428351 file #2457: bad zipfile offset (local header sig): 31428482 file #2458: bad zipfile offset (local header sig): 31428623 file #2459: bad zipfile offset (local header sig): 31429345 file #2460: bad zipfile offset (local header sig): 31430579 file #2461: bad zipfile offset (local header sig): 31431286 error: invalid compressed data to inflate error: invalid compressed data to inflate file #2544: bad zipfile offset (local header sig): 31828326 file #2545: bad zipfile offset (local header sig): 31829740 file #2546: bad zipfile offset (local header sig): 31831257 file #2547: bad zipfile offset (local header sig): 31832681 file #2548: bad zipfile offset (local header sig): 31834121 file #2549: bad zipfile offset (local header sig): 31835491 file #2550: bad zipfile offset (local header sig): 31838722 file #2551: bad zipfile offset (local header sig): 31840117 error: invalid compressed data to inflate !!! ERROR: dev-java/sun-jdk-1.5.0.06-r2 failed. Call stack: ebuild.sh, line 1532: Called dyn_unpack ebuild.sh, line 697: Called src_unpack sun-jdk-1.5.0.06-r2.ebuild, line 106: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. - I have download two of the same package.And the result is all the same as above. I don't think the packages are corrupted. 2006/4/16, wu chuanwen [EMAIL PROTECTED]: The package dose not mention it's Multi-language package or not.The name of package is Linux self-extracting file.And i notice that the package for Windows mentions that it's Multi-language package. Does it matter if it'a Multi-language or not? 2006/4/16, Martins Steinbergs [EMAIL PROTECTED]: On Sunday 16 April 2006 08:06, wu chuanwen wrote: Thank you at first! But i still have some trouble.I just #ebuild /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.06-r2.ebuild digest then emerge sun-jdk. and error: . inflating: jdk1.5.0_06/man/ja_JP.eucJP/man1/serialver.1 inflating: jdk1.5.0_06/man/ja_JP.eucJP/man1/idlj.1 !!! ERROR: dev-java/sun-jdk-1.5.0.06-r2 failed. Call stack: ebuild.sh, line 1532: Called dyn_unpack ebuild.sh, line 697: Called src_unpack sun-jdk-1.5.0.06-r2.ebuild, line 106: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. How could this happened? Thank you in advanced! are you sure its Multi-language package, maybe it is English only. just a guess. m -- Linux 2.6.15-ck7 AMD Athlon(tm) 64 Processor 3200+ 08:48:53 up 6:23, 3 users, load average: 0.03, 0.16, 0.16 -- gentoo-user@gentoo.org mailing list -- wcw -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: how to setup sun-jdk
Oh,God!Now i know the problem.My usbdisk is broken.So the file every time i read from it is corrucpted althougth the file i download is OK.I'm so sorry that i have such a silly problem 2006/4/16, Heiko Wundram [EMAIL PROTECTED]: Am Sonntag 16 April 2006 08:51 schrieb wu chuanwen: I have download two of the same package.And the result is all the same as above. I don't think the packages arecorrupted.Yes, they are? Because it's no Gentoo program that tries to unpack the files, but the self-extractable itself (and no wonder Gentoo gets a digest error onthe file). Or, your machine is broken somehow, and corrupts the file whileit's being written/read from disk. But I'd much rather guess the source you download the self-extractable from is corrupt. Use another source, luke. ;-)--- Heiko.--gentoo-user@gentoo.org mailing list -- wcw
[gentoo-user] how to setup sun-jdk
Hi everybody! I unmask sun-jdk1.5 and emerge it.Then it tell me to download it manually from the http://javashoplm.sun.com/ECom/docs/...actionId=noreg. I hava download it and mv it to /usr/portage/distfile/,and emerged it again.Then it told me the MD5 from the jdk i downloaded didn't match the MD5 experted.I changed the MD5 in /usr/portage/dev-java/sun-jdk/files//digest-sun-jdk-1.5.0.06-r2 to match my jdk which i sure it's OK.And emerge sun-jdk the third time.And now it told me: !!! Digest verification Failed: !!! /usr/portage/dev-java/sun-jdk/files/digest-sun-jdk-1.5.0.06-r2 !!! Reason: Filesize does not match recorded size !!! Got: 288 !!! Expected: 212 Is there anybody can tell me how to setup sun-jdk now? Thanks in advanced! -- wcw -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: how to setup sun-jdk
Thank you at first! But i still have some trouble.I just #ebuild /usr/portage/dev-java/sun-jdk/sun-jdk-1.5.0.06-r2.ebuild digest then emerge sun-jdk. and error: . inflating: jdk1.5.0_06/man/ja_JP.eucJP/man1/serialver.1 inflating: jdk1.5.0_06/man/ja_JP.eucJP/man1/idlj.1 !!! ERROR: dev-java/sun-jdk-1.5.0.06-r2 failed. Call stack: ebuild.sh, line 1532: Called dyn_unpack ebuild.sh, line 697: Called src_unpack sun-jdk-1.5.0.06-r2.ebuild, line 106: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. How could this happened? Thank you in advanced! 2006/4/16, Martins Steinbergs [EMAIL PROTECTED]: On Sunday 16 April 2006 07:28, wu chuanwen wrote: Hi everybody! I unmask sun-jdk1.5 and emerge it.Then it tell me to download it manually from the http://javashoplm.sun.com/ECom/docs/...actionId=noreg. I hava download it and mv it to /usr/portage/distfile/,and emerged it again.Then it told me the MD5 from the jdk i downloaded didn't match the MD5 experted.I changed the MD5 in /usr/portage/dev-java/sun-jdk/files//digest-sun-jdk-1.5.0.06-r2 to match my jdk which i sure it's OK.And emerge sun-jdk the third time.And now it told me: !!! Digest verification Failed: !!! /usr/portage/dev-java/sun-jdk/files/digest-sun-jdk-1.5.0.06-r2 !!! Reason: Filesize does not match recorded size !!! Got: 288 !!! Expected: 212 Is there anybody can tell me how to setup sun-jdk now? Thanks in advanced! -- wcw if file is ok, you can try ebuild sun-jdk1.5.ebuild digest -- Linux 2.6.15-ck7 AMD Athlon(tm) 64 Processor 3200+ 07:47:30 up 5:22, 3 users, load average: 0.27, 0.69, 0.87 -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list