Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Howto: IcedTea 64bit java plugin (the gentoo way)

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
199 posts
  • Page 7 of 8
    • Jump to page:
  • Previous
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next
Author
Message
Schwinni
Apprentice
Apprentice
Posts: 214
Joined: Thu Sep 02, 2004 6:48 am
Location: quadrant1.earth. germany.wuerzburg
Contact:
Contact Schwinni
Website

  • Quote

Post by Schwinni » Mon Nov 03, 2008 5:27 pm

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.
Top
billydv
l33t
l33t
User avatar
Posts: 911
Joined: Fri Dec 22, 2006 1:03 pm
Location: Mount Vernon, NY

  • Quote

Post by billydv » Sun Nov 09, 2008 12:42 am

BTW, plugin doesn't seem to work with seamonkey.
Billy DeVincentis
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Mon Nov 10, 2008 10:38 am

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
Top
NTICompass
Apprentice
Apprentice
User avatar
Posts: 171
Joined: Wed Jun 11, 2008 12:04 am
Location: /home/nticompass/
Contact:
Contact NTICompass
Website

  • Quote

Post by NTICompass » Mon Nov 10, 2008 2:05 pm

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"
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Mon Nov 10, 2008 2:22 pm

no such flags exists:

Code: Select all

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
Top
Lifthanger
n00b
n00b
Posts: 20
Joined: Wed Aug 15, 2007 1:48 pm

  • Quote

Post by Lifthanger » Mon Nov 10, 2008 3:24 pm

got the same problem, with -firefox and +xulrunner being global
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Mon Nov 10, 2008 5:54 pm

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
Top
Lifthanger
n00b
n00b
Posts: 20
Joined: Wed Aug 15, 2007 1:48 pm

  • Quote

Post by Lifthanger » Mon Nov 10, 2008 6:06 pm

thank you very much!
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Mon Nov 10, 2008 9:09 pm

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
Top
Lifthanger
n00b
n00b
Posts: 20
Joined: Wed Aug 15, 2007 1:48 pm

  • Quote

Post by Lifthanger » Mon Nov 10, 2008 10:53 pm

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: Select all

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?
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Tue Nov 11, 2008 6:00 am

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
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Wed Nov 12, 2008 12:26 pm

ok, I can emerge icedtea6, gnu-classpath fails in this:

Code: Select all

 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: Select all

 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
Top
Schwinni
Apprentice
Apprentice
Posts: 214
Joined: Thu Sep 02, 2004 6:48 am
Location: quadrant1.earth. germany.wuerzburg
Contact:
Contact Schwinni
Website

  • Quote

Post by Schwinni » Wed Nov 12, 2008 11:02 pm

DaggyStyle wrote:anyone knows how to fix it?
Yup:
http://bugs.gentoo.org/show_bug.cgi?id=125728#c152
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Thu Nov 13, 2008 9:36 am

Schwinni wrote:
DaggyStyle wrote:anyone knows how to fix it?
Yup:
http://bugs.gentoo.org/show_bug.cgi?id=125728#c152
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
Top
Schwinni
Apprentice
Apprentice
Posts: 214
Joined: Thu Sep 02, 2004 6:48 am
Location: quadrant1.earth. germany.wuerzburg
Contact:
Contact Schwinni
Website

  • Quote

Post by Schwinni » Thu Nov 13, 2008 9:41 am

Please post the output of java-config -L.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Thu Nov 13, 2008 10:48 am

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
Top
BrummieJim
l33t
l33t
Posts: 683
Joined: Fri Jul 22, 2005 6:48 pm

  • Quote

Post by BrummieJim » Thu Nov 13, 2008 4:07 pm

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

* 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/'
*
Top
Schwinni
Apprentice
Apprentice
Posts: 214
Joined: Thu Sep 02, 2004 6:48 am
Location: quadrant1.earth. germany.wuerzburg
Contact:
Contact Schwinni
Website

  • Quote

Post by Schwinni » Thu Nov 13, 2008 6:25 pm

@ both of you:

Code: Select all

emerge gcj-jdk
It's in the java overlay...
Top
BrummieJim
l33t
l33t
Posts: 683
Joined: Fri Jul 22, 2005 6:48 pm

  • Quote

Post by BrummieJim » Thu Nov 13, 2008 6:46 pm

I can't build gcc-4.3.2 with the gcj option, it's broken. Hence I can't build gcj-jdk.
* 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?
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Thu Nov 13, 2008 7:40 pm

Schwinni wrote:@ both of you:

Code: Select all

emerge gcj-jdk
It's in the java overlay...
missing patch?

Code: Select all

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
Top
arabis
Apprentice
Apprentice
User avatar
Posts: 195
Joined: Mon Apr 11, 2005 9:30 am
Location: Québec, Canada

  • Quote

Post by arabis » Fri Nov 14, 2008 9:37 am

BrummieJim wrote:I can't build gcc-4.3.2 with the gcj option, it's broken. Hence I can't build gcj-jdk.
Maybe you can try the solution I've posted: http://forums.gentoo.org/viewtopic-t-71 ... t-gcc.html
Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche
Top
cgits
n00b
n00b
Posts: 71
Joined: Fri Jul 15, 2005 10:04 am
Location: Europe

fonts?

  • Quote

Post by cgits » Fri Nov 14, 2008 5:43 pm

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.
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

Re: fonts?

  • Quote

Post by DaggyStyle » Sat Nov 15, 2008 7:19 am

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
Top
cgits
n00b
n00b
Posts: 71
Joined: Fri Jul 15, 2005 10:04 am
Location: Europe

  • Quote

Post by cgits » Sat Nov 15, 2008 9:08 am

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
Top
alextz
n00b
n00b
Posts: 62
Joined: Wed Jan 04, 2006 8:39 pm
Location: Romania
Contact:
Contact alextz
Website

  • Quote

Post by alextz » Sat Nov 15, 2008 9:55 am

What about this:

Code: Select all

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?
Top
Post Reply

199 posts
  • Page 7 of 8
    • Jump to page:
  • Previous
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic