View previous topic :: View next topic |
Author |
Message |
Schwinni Apprentice
Joined: 02 Sep 2004 Posts: 214 Location: quadrant1.earth. germany.wuerzburg
|
Posted: Mon Nov 03, 2008 5:27 pm Post subject: |
|
|
Then you probably built it without subversion support again as you did and "emerge -uDN @world".
That's why you should use /etc/portage/package.use. |
|
Back to top |
|
|
billydv l33t
Joined: 22 Dec 2006 Posts: 911 Location: Mount Vernon, NY
|
Posted: Sun Nov 09, 2008 12:42 am Post subject: |
|
|
BTW, plugin doesn't seem to work with seamonkey. _________________ Billy DeVincentis |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Mon Nov 10, 2008 10:38 am Post subject: |
|
|
billydv wrote: | BTW, plugin doesn't seem to work with seamonkey. |
why does icedtea6-1.3-r1 pulls firefox 2.0.0.7 has a dependency? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
NTICompass Apprentice
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Mon Nov 10, 2008 2:05 pm Post subject: |
|
|
DaggyStyle wrote: | billydv wrote: | BTW, plugin doesn't seem to work with seamonkey. |
why does icedtea6-1.3-r1 pulls firefox 2.0.0.7 has a dependency? |
Try compiling icedtea6 with the use flags "xulrunner -firefox" |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Mon Nov 10, 2008 2:22 pm Post subject: |
|
|
no such flags exists:
Code: | ebuild N ] dev-java/icedtea6-1.3.1-r1 USE="javascript nsplugin -cacao -debug -doc -examples -pulseaudio -shark -zero" 5,537 kB |
_________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Lifthanger n00b
Joined: 15 Aug 2007 Posts: 20
|
Posted: Mon Nov 10, 2008 3:24 pm Post subject: |
|
|
got the same problem, with -firefox and +xulrunner being global |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Mon Nov 10, 2008 5:54 pm Post subject: |
|
|
Lifthanger wrote: | got the same problem, with -firefox and +xulrunner being global |
update gnu-classpath to version 0.97.2-r1 from the overlay _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Lifthanger n00b
Joined: 15 Aug 2007 Posts: 20
|
Posted: Mon Nov 10, 2008 6:06 pm Post subject: |
|
|
thank you very much! |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Mon Nov 10, 2008 9:09 pm Post subject: |
|
|
Lifthanger wrote: | thank you very much! |
did it compiled well? I have a problem with gnu-classpath-0.7.2-r1 on the libgcjwebplugin _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Lifthanger n00b
Joined: 15 Aug 2007 Posts: 20
|
Posted: Mon Nov 10, 2008 10:53 pm Post subject: |
|
|
at the moment I'm trying to get gnu-classpath-0.97.2-r1 to compile. after all the checking is done, this happens:
at the moment I'm running sun-jdk-1.6 and I'm looking to get openjdk. this may be completely unrelated, but I'm no pro in this .
Code: | config.status: executing gjavah commands config.status: executing gen-classlist commands config.status: executing copy-vmresources commands make -j3 Making all in lib make[1]: Entering directory `/var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/lib' mkdir -p ../gnu/java/locale ../scripts/generate-locale-list.sh > ../gnu/java/locale/LocaleData.java true top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'. Adding java source files from VM directory ../vm/reference
ecj -nowarn -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes /usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
touch resources #
# An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00002b8aec63225a, pid=4516, tid=1083795792 #
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f125a]
#
# An error report file with more information is saved as:
# /var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/lib/hs_err_pid4516.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
|
sorry I couldn't get it to align well.
edit: uh, icedtea is of course openjdk
edit2: before I forget it: do I still need the gcj flag for gcc? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Tue Nov 11, 2008 6:00 am Post subject: |
|
|
not sure but if yes, then there is still that damm linking bug... _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Wed Nov 12, 2008 12:26 pm Post subject: |
|
|
ok, I can emerge icedtea6, gnu-classpath fails in this:
Code: | x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -Wall -DAPPLETVIEWER_EXECUTABLE=\"/usr/gnu-classpath-0.97/bin/gappletviewer\" -I/usr/include/xulrunner-1.9/stable -I/usr/include/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=core2 -O2 -pipe -c gcjwebplugin.cc -fPIC -DPIC -o .libs/libgcjwebplugin_la-gcjwebplugin.o
gcjwebplugin.cc:61:31: error: nsIPluginInstance.h: No such file or directory
gcjwebplugin.cc:62:35: error: nsIPluginInstancePeer.h: No such file or directory
gcjwebplugin.cc:63:31: error: nsIPluginTagInfo2.h: No such file or directory
gcjwebplugin.cc:145: error: ISO C++ forbids declaration of 'NS_DEFINE_IID' with no type
gcjwebplugin.cc:145: error: 'kIPluginTagInfo2IID' was not declared in this scope
gcjwebplugin.cc:145: error: 'NS_IPLUGINTAGINFO2_IID' was not declared in this scope
gcjwebplugin.cc:145: error: initializer expression list treated as compound expression
gcjwebplugin.cc:203: error: ISO C++ forbids declaration of 'nsIPluginTagInfo2' with no type
gcjwebplugin.cc:203: error: expected ';' before '*' token
gcjwebplugin.cc: In function 'gchar* plugin_get_documentbase(NPP_t*)':
gcjwebplugin.cc:868: error: 'nsIPluginInstance' was not declared in this scope
gcjwebplugin.cc:868: error: 'xpcom_instance' was not declared in this scope
gcjwebplugin.cc:869: error: 'nsIPluginInstancePeer' was not declared in this scope
gcjwebplugin.cc:869: error: 'peer' was not declared in this scope
gcjwebplugin.cc:870: error: 'nsresult' was not declared in this scope
gcjwebplugin.cc:870: error: expected `;' before 'result'
gcjwebplugin.cc:871: error: 'nsIPluginTagInfo2' was not declared in this scope
gcjwebplugin.cc:871: error: 'pluginTagInfo2' was not declared in this scope
gcjwebplugin.cc:876: error: expected primary-expression before ')' token
gcjwebplugin.cc:890: error: 'union info_union' has no member named 'info_field'
gcjwebplugin.cc:892: error: 'result' was not declared in this scope
gcjwebplugin.cc:892: error: 'kIPluginTagInfo2IID' was not declared in this scope
gcjwebplugin.cc:912: error: 'NS_RELEASE' was not declared in this scope
gcjwebplugin.cc: At global scope:
gcjwebplugin.cc:145: warning: 'NS_DEFINE_IID' defined but not used
make[2]: *** [libgcjwebplugin_la-gcjwebplugin.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/native/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/native'
make: *** [all-recursive] Error 1
|
more to add, after compiling gcc with gcj flag I get this:
Code: | 38% ] * broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
[ 52% ] * broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
* broken /usr/lib64/gcj-4.3.2-9/libjvm.la (requires /usr/lib/../lib64/libgcj.la)
[ 100% ]
|
now is similar to the gcc broken link bug but the files are different, anyone knows how to fix it? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Schwinni Apprentice
Joined: 02 Sep 2004 Posts: 214 Location: quadrant1.earth. germany.wuerzburg
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Thu Nov 13, 2008 9:36 am Post subject: |
|
|
did that, broken links are gone, still fails at the same point for the same reason _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Schwinni Apprentice
Joined: 02 Sep 2004 Posts: 214 Location: quadrant1.earth. germany.wuerzburg
|
Posted: Thu Nov 13, 2008 9:41 am Post subject: |
|
|
Please post the output of java-config -L. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Thu Nov 13, 2008 10:48 am Post subject: |
|
|
Schwinni wrote: | Please post the output of java-config -L. |
The following VMs are available for generation-2:
1) Sun JDK 1.5.0.16 [sun-jdk-1.5]
*) Sun JDK 1.6.0.10 [sun-jdk-1.6] _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
BrummieJim l33t
Joined: 22 Jul 2005 Posts: 683
|
Posted: Thu Nov 13, 2008 4:07 pm Post subject: |
|
|
I had to give up using gcj in my compiler as it wouldn't compile under gcc 4.3 on amd64. It says I should be able to use icedtea to compile the new version. Cacao doesn't compile either.
To confirm I'm using Icedtea,
Hawaiian ~ # java-config -L
The following VMs are available for generation-2:
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2) Sun 32bit JRE 1.6.0.10 [emul-linux-x86-java-1.6]
*) OpenJDK/IcedTea 6.1.1 [icedtea-6]
4) JamVM 1.5.0 [jamvm]
5) Sun JDK 1.6.0.10 [sun-jdk-1.6]
Here's the error.
Any ideas?
Jim
Quote: |
* die "Install a GNU Classpath JDK (gcj-jdk, cacao)";
* The die message:
* Install a GNU Classpath JDK (gcj-jdk, cacao)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'
*
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea CLASSPATH="" JAVA_HOME="/usr/lib/icedtea-6.1.1"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
>>> Failed to emerge dev-java/icedtea6-1.3.1-r1, Log file:
>>> '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/build.log'
* Messages for package dev-java/icedtea6-1.3.1-r1:
* IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea.
*
* ERROR: dev-java/icedtea6-1.3.1-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4631: Called die
* The specific snippet of code:
* die "Install a GNU Classpath JDK (gcj-jdk, cacao)";
* The die message:
* Install a GNU Classpath JDK (gcj-jdk, cacao)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'
*
|
|
|
Back to top |
|
|
Schwinni Apprentice
Joined: 02 Sep 2004 Posts: 214 Location: quadrant1.earth. germany.wuerzburg
|
Posted: Thu Nov 13, 2008 6:25 pm Post subject: |
|
|
@ both of you:
It's in the java overlay... |
|
Back to top |
|
|
BrummieJim l33t
Joined: 22 Jul 2005 Posts: 683
|
Posted: Thu Nov 13, 2008 6:46 pm Post subject: |
|
|
I can't build gcc-4.3.2 with the gcj option, it's broken. Hence I can't build gcj-jdk.
Quote: |
* Using gcj as a jdk requires that gcj was compiled as part of gcc.
* Please rebuild sys-devel/gcc with USE="gcj"
|
Why can't it use the existing icedtea version? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Thu Nov 13, 2008 7:40 pm Post subject: |
|
|
Schwinni wrote: | @ both of you:
It's in the java overlay... |
missing patch?
Code: | patching file openjdk/jdk/make/sun/font/Makefile
Checking patches/icedtea-ant.patch
The text leading up to this was:
--------------------------
|--- openjdk.orig/langtools/make/Makefile 2007-10-12 03:47:30.000000000 -0400
|+++ openjdk/langtools/make/Makefile 2007-10-12 17:11:46.000000000 -0400
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
ERROR patch patches/icedtea-ant.patch FAILED!
WARNING make clean-patch before retrying a fix
make: *** [stamps/patch.stamp] Error 2
|
_________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
|
Back to top |
|
|
cgits n00b
Joined: 15 Jul 2005 Posts: 71 Location: Europe
|
Posted: Fri Nov 14, 2008 5:43 pm Post subject: fonts? |
|
|
Thank you very much for the ebuilds.
I have a question: Can the fonts be configured in some way? Where are the fonts? They look much different than when running Sun's JDK. Of course, with IBM's JDK they also look different, but here the differences are bigger. For example there is a Java app that needs to use a monospace font because it has a console, but the font actually used makes things really ugly. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sat Nov 15, 2008 7:19 am Post subject: Re: fonts? |
|
|
cgits wrote: | Thank you very much for the ebuilds.
I have a question: Can the fonts be configured in some way? Where are the fonts? They look much different than when running Sun's JDK. Of course, with IBM's JDK they also look different, but here the differences are bigger. For example there is a Java app that needs to use a monospace font because it has a console, but the font actually used makes things really ugly. |
the ebuilds work for you?
what version of gcc do you use? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
cgits n00b
Joined: 15 Jul 2005 Posts: 71 Location: Europe
|
Posted: Sat Nov 15, 2008 9:08 am Post subject: |
|
|
Yes the ebuilds from the java-overlay work fine. Initially I had some problems, but they were caused by ebuilds from the main portage tree (I think they were ant and eclipse-ecj). I use gcc (Gentoo 4.3.2 p1.1) 4.3.2 |
|
Back to top |
|
|
alextz n00b
Joined: 04 Jan 2006 Posts: 62 Location: Romania
|
Posted: Sat Nov 15, 2008 9:55 am Post subject: |
|
|
What about this:
Code: | desktop-alex alextz # emerge icedtea6
Calculating dependencies... done!
[ebuild N ] dev-java/icedtea6-1.3.1-r1 USE="javascript nsplugin -cacao -debug -doc -examples -pulseaudio -shark -zero"
!!! Error: circular dependencies:
('ebuild', '/', 'dev-java/icedtea6-1.3.1-r1', 'merge') depends on
('ebuild', '/', 'dev-java/icedtea6-1.3.1-r1', 'merge') (hard)
!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies.
|
Any ideas? |
|
Back to top |
|
|
|