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 5 of 8
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next
Author
Message
loftwyr
l33t
l33t
User avatar
Posts: 970
Joined: Wed Dec 29, 2004 2:51 am
Location: 43°38'23.62"N 79°27'8.60"W

  • Quote

Post by loftwyr » Sun Apr 06, 2008 1:26 pm

You're running experimental ebuilds with ricer CFLAGS. Trim them down to the very basic and try again.
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Top
Uzytkownik
Guru
Guru
Posts: 399
Joined: Sun Oct 31, 2004 8:08 pm
Location: Bay Area, US
Contact:
Contact Uzytkownik
Website

  • Quote

Post by Uzytkownik » Sun Apr 06, 2008 2:52 pm

The same with:

Code: Select all

CFLAGS="-Os -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w"
CXXFLAGS="-Os -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w" 
I will try with empty
I've probably left my head... somwhere. Please wait untill I find it.
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 Apr 06, 2008 3:22 pm

First of all, you are running an x86 system, why do you need icedtea? The standard sunjdk provides a functional browser plugin that will certainly work, probably with less bugs than this. I only have it on an amd64 system
Secondly, if you really feel you need it, try with gcc 4.2.3, not 4.3, thats still pretty unstable and you will have other problems compiling certain packages.

Heres my emerge info

Portage 2.1.5_rc2 (default/linux/amd64/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Sun, 06 Apr 2008 12:32:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python: 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis ... ons/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/miscellaneous /usr/local/portage/font-overlay /usr/local/portage/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowtext S3TC X a52 aac aalib accessibility acl acpi aiglx alsa amarok amd64 apm arts artworkextra asf audiofile automount avahi avi bash-completion berkdb bidi bitmap-fonts bittorrent bluetooth branding bzip2 cairo calendar cann cdda cdio cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus deprecated devil dga directfb discouraged distribution divx dlloader doc dri dts dv dvb dvd dvdr dvdread eds effects elisp emacs emboss emerald encode esd evo examples exif ext-man ext-rtf ext-tex extraicons fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash foomaticdb fortran freetype fuse gb gcj gd gdbm gdphoto2 gedit gif gimp gimpprint glitz gmedia gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs howl html htmlhandbook httpd iconv idn ieee1394 imagemagick imlib inkjar ipv6 isdnlog jack java jfs joystick jpeg kde kde4 kdehiddenvisibility kerberos lcms ldap libao libcaca libg++ libnotify lirc live lm_sensors logrotate mad mail matroska mdnsresponder-compat midi mikmod mime mjpeg mmx mmxext mng mono mozbranding mozcalendar mozilla mp3 mpeg mplayer mudflap multilib mysql nas nautilus ncurses networking new-login newspr nforce2 nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg oggvorbis opengl openmp pam parport pcre pdf pdflib perl pmu png postgres ppds pppd python qt3 qt3support qt4 quicktime rar rdesktop readline realmedia reflection regex reiser4 reiserfs samba scanner sdl seamonkey semantic-desktop servletapi session skins slang slp smp sndfile snmp sound sounds speex spell spl spreadsheet sqlite sse sse2 ssl startup-notification stream streams subversion svg swat symlink sysfs syslog tcltk tcpd tetex theora thesaurus threads thunderbird tidy tiff timidity tk truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales utempter utils v4l vcd vdr vlm voice vorbis vram weather wmf wmp wordperfect wxwindows xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Billy DeVincentis
Top
Uzytkownik
Guru
Guru
Posts: 399
Joined: Sun Oct 31, 2004 8:08 pm
Location: Bay Area, US
Contact:
Contact Uzytkownik
Website

  • Quote

Post by Uzytkownik » Sun Apr 06, 2008 4:27 pm

1. Just for fun/to have free as in a speach Java
2. Possibly I will try gcc 4.2.1
I've probably left my head... somwhere. Please wait untill I find it.
Top
MalleRIM
Guru
Guru
Posts: 563
Joined: Mon Jul 23, 2007 8:41 pm
Location: China

  • Quote

Post by MalleRIM » Wed Apr 09, 2008 5:30 pm

why does icedtea need sun-jdk? isn't open-jdk sufficient?
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Wed Apr 09, 2008 5:49 pm

its a "recursive" compiled language, e.g. in order to compile 1.7, you need 1.6 (jdk is written in java...)
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
mikkoc
Apprentice
Apprentice
Posts: 231
Joined: Thu May 24, 2007 9:07 am

  • Quote

Post by mikkoc » Fri Apr 11, 2008 1:03 pm

Is it really necessary to have xulrunner and cups in order to have the java plugin?? :(
Top
amd
n00b
n00b
User avatar
Posts: 65
Joined: Tue Nov 26, 2002 12:06 pm
Location: Saaremaa / Estonia
Contact:
Contact amd
Website

  • Quote

Post by amd » Thu Apr 17, 2008 4:32 pm

mikkoc wrote:Is it really necessary to have xulrunner and cups in order to have the java plugin?? :(
I was able to build icedtea java plugin for Mozilla with USE="nsplugin -xulrunner" by using Firefox as dependency..

Just make sure that you have mozilla-firefox emerged and then do

Code: Select all

emerge --nodeps icedtea
Top
GNUtoo
Veteran
Veteran
User avatar
Posts: 1919
Joined: Thu May 05, 2005 9:39 pm

  • Quote

Post by GNUtoo » Thu Apr 17, 2008 8:13 pm

how do i build it from gcj...i have gcj 4.1 and 4.3?
Top
DaggyStyle
Watchman
Watchman
User avatar
Posts: 5969
Joined: Wed Mar 22, 2006 6:57 am

  • Quote

Post by DaggyStyle » Wed Apr 23, 2008 1:50 pm

have anyone encountered sites that do not display well after the install?
I have one site that was ok before the install, now it looks bad, konqi displays it well, firefox uses the 1.7 and konqi uses 1.6
one more thing I've noticed, jdk 1.6 has no 64bit plugin, I'm sure that it is 64bit compiled, so how does it uses 1.6?

GNUtoo, emerge 4.3 with the gcj flag enabled and follow the howto
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Top
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

  • Quote

Post by Kenji Miyamoto » Sun Apr 27, 2008 9:17 pm

Is IcedTea still in the Java overlay? I've synchronized with this repository configuration, but there's no dev-java/icedtea anywhere:

Code: Select all

location = /usr/local/java-experimental
master_repository = gentoo
sync =  svn+http://overlays.gentoo.org/svn/proj/java/gcj-overlay/
cache = /var/empty
format = ebuild
importance = 10
names_cache = ${location}/.cache/names
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sun Apr 27, 2008 10:29 pm

Kenji Miyamoto wrote:Is IcedTea still in the Java overlay? I've synchronized with this repository configuration, but there's no dev-java/icedtea anywhere:

Code: Select all

location = /usr/local/java-experimental
master_repository = gentoo
sync =  svn+http://overlays.gentoo.org/svn/proj/java/gcj-overlay/
cache = /var/empty
format = ebuild
importance = 10
names_cache = ${location}/.cache/names
icedtea seems to be in the java-overlay
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
Kenji Miyamoto
Veteran
Veteran
User avatar
Posts: 1452
Joined: Sat May 28, 2005 6:11 pm
Location: Looking over your shoulder.
Contact:
Contact Kenji Miyamoto
Website

  • Quote

Post by Kenji Miyamoto » Mon Apr 28, 2008 1:49 am

I can't seem to get IcedTea to build. It works after a while, then causes my system to hardlock, even with MAKEOPTS="-j1'. It happens at different times, regardless if I'm in X or not, and nothing else has ever caused it to do this. I can't even SSH into the machine when it locks up, or shut it down via ACPI.

Code: Select all

# paludis --info
paludis 0.26.0_pre2
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.0
        CXXFLAGS:              -march=barcelona -mmmx -m3dnow -msse -msse2 -mfpmath=sse -O2 -pipe
        LDFLAGS:               
        DATE:                  2008-04-21T21:51:25-0700

    Libraries:
        C++ Library:           GNU libstdc++ 20080305

    Reduced Privs:
        reduced_uid:           103
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1004
        reduced_gid->name:     paludisbuild

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      /usr/lib64/python2.5/site-packages
        RUBYINSTALLDIR:        
Why does it lock up?
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Top
gimpel
Advocate
Advocate
User avatar
Posts: 2720
Joined: Fri Oct 15, 2004 10:08 am
Location: Munich, Bavaria
Contact:
Contact gimpel
Website

  • Quote

Post by gimpel » Mon Apr 28, 2008 7:30 am

Kenji Miyamoto, try the one from gcj overlay, it uses sun-jdk to bootstrap. GCJ caused me some hard locks too, 2GB RAM and 1GB swap weren't enough.
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Top
0x0065
n00b
n00b
Posts: 49
Joined: Sun Apr 08, 2007 11:31 pm

  • Quote

Post by 0x0065 » Mon Apr 28, 2008 10:53 am

OpenJDK or IcedTea or GPLed Java seems to be getting a lot of press around the place.
I'm just wondering how far all this is from prime time production stable.
Top
Vash63
n00b
n00b
Posts: 36
Joined: Sun Mar 11, 2007 10:14 am

  • Quote

Post by Vash63 » Thu May 15, 2008 6:53 am

I'm also pretty interested in seeing this a little more production ready.... Fedora 9 uses it and it's pretty nice, I'd like to see it in my gentoo installs but it would be nicer if the ebuild could do more of this.

Edit: Nevermind, I was going based off of the guides... just added the java-overlay and installed from there, pretty easy and works great.
Top
code933k
n00b
n00b
User avatar
Posts: 52
Joined: Thu Aug 30, 2007 10:29 am
Contact:
Contact code933k
Website

  • Quote

Post by code933k » Sun May 18, 2008 11:32 am

Thank you very much b33fc0d3 :D and all the people who contributed.
All the work was yours.

It is working pretty neat and "noticeably fast".

Code: Select all

http://www.java.com/en/download/installed.jsp?jre_version=1.7.0&vendor=Sun+Microsystems+Inc.&os=Linux&os_version=2.6.25.4
PS:// Installed with paludis and all the portage --sync ~amd64 whistles as for 05/17/08.
Contrarily to some comments it didn't compiled with gcc-4.2.3 but gcc-4.3.0 instead.
If gods were created by language then praying is an infinite loop.
Top
urcindalo
l33t
l33t
Posts: 623
Joined: Tue Feb 08, 2005 2:58 pm
Location: Almeria, Spain

  • Quote

Post by urcindalo » Wed Jul 02, 2008 8:33 am

I'm trying to install dev-java/icedtea6-1.2 from the java-overlay on my amd64 box. After emerging dev-java/eclipse-ecj-3.3.0-r2 as a dependency, icedtea failed this way:

Code: Select all

if [ ! -s /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/control/build/linux-amd64/classes/sun/rmi/transport/DGCImpl_Stub.class ] ; \
        then /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/bootstrap/jdk1.6.0/bin/rmic -J-Xmx873m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -v1.1 -classpath \
        "/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/control/build/linux-amd64/classes" \
        -d /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/control/build/linux-amd64/classes 'sun.rmi.transport.DGCImpl' ; \
        fi
Exception in thread "main" java.lang.ExceptionInInitializerError
   at java.lang.Class.initializeClass(libgcj.so.7)
   at java.lang.Class.isAssignableFrom(libgcj.so.7)
   at gnu.java.rmi.rmic.RMIC.findClass(libgcj.so.7)
   at gnu.java.rmi.rmic.RMIC.analyzeClass(libgcj.so.7)
   at gnu.java.rmi.rmic.RMIC.processClass(libgcj.so.7)
   at gnu.java.rmi.rmic.RMIC.run(libgcj.so.7)
   at gnu.java.rmi.rmic.RMIC.main(libgcj.so.7)
Caused by: java.lang.NullPointerException
   at java.rmi.server.LogStream.parseLevel(libgcj.so.7)
   at sun.rmi.transport.DGCImpl.<clinit>(DGCImpl.java:65)
   at java.lang.Class.initializeClass(libgcj.so.7)
   ...6 more
make[5]: *** [/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/control/build/linux-amd64/classes/sun/rmi/transport/DGCImpl_Stub.class] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/jdk/make/sun/rmi/rmi'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/jdk/make/sun/rmi'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/jdk/make/sun'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/jdk/make'
make[1]: *** [jdk-build] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk-ecj/control/make'
make: *** [stamps/icedtea-ecj.stamp] Error 2
 *
 * ERROR: dev-java/icedtea6-1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4577:  Called die
 * The specific snippet of code:
 *       emake -j 1 || die "make failed"
 *  The die message:
 *   make failed
 *
 * 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.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.2/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
My emerge --info:

Code: Select all

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Tue, 01 Jul 2008 07:36:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j2"
PKGDIR="/home/ramiro/usr/local/portage/pkgdir-backup/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/roslin /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/java-overlay /usr/portage/local/layman /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib accessibility acl acpi addbookmarks additions adns aim alsa amd amd64 ao aotuv apache2 apm ares arts async audacious audiofile auth authdaemond authfile authlib automount autoreplace avahi bash-completion bcmath bdf beagle bidi binary-drivers bindist binfilter bl blas bonjour branding bzip2 cairo caps catalogs cdda cddb cdf cdinstall cdparanoia cdr cdrom chm chroot clamav clamd cli connectionstatus contactnotes context corba cpudetection cracklib crypt css ctype cups curl curlwrappers dbase dbm dbus dbx dga dia directfb disk-partition diskio divx djvu dri dts dv dvb dvd dvdr dvdread dvi emboss emerald emovix enca encode epson erandom es escreen esd eu_epg exif expat extensions extra fam fame fastcgi fat fbcon ffmpeg fftw firefox flac flash flatfile font-server fontconfig foomaticdb fortran fpx ftp fuse gadu gcj gd gdbm geoip gif gimp gimpprint ginac glibc-omitfp glitz glut gmail gmp gnome-print gnustep gnutls gphoto2 gpm grammar graphics graphviz groupwise gs gsl gstreamer gtk gtkhtml guile gzip hal hddtemp hdri hfs highlight history hpn httpd humanities iconv icq id3 id3tag idea idled idn ieee1394 imagemagick imap imlib immqt-bc inifile inkjar innodb insecure-savers intl ipv6 isdnlog jabber jack jadetex java javacomm javascript jbig jce jfs jikes jit jpeg jpeg2k justify kde kdeenablefinal kerberos kipi ladspa lame lash latex lcms ldap lesstif libcaca libdsk libgda libnotify libssh2 libwww lids live lm_sensors logitech-mouse logrotate lua lzo lzw m17n-lib mad maildir mailwrapper math matroska mbox mcve md5sum mdb memlimit midi mikmod milter mime mjpeg mmap mmx mmxext mng modplug mono motif mounts-check mouse mozilla moznoirc moznomail mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mudflap multiuser musepack music musicbrainz mysql mysqli nas ncurses neXt nemesi net netboot netcdf network network-cron networking networkmanager new-login nfs nis nls nowlistening npp nptl nptlonly nsplugin ntfs nuv nvidia octave office ofx ogg ole omega openal openbabel opendoc openexr opengl openmp openssh openssl opensslcrypt openvpn opera osc oscar oss ots pam pango parse-clocks passwordsave pcntl pcre pdf perl php player plotutils plugins pmu png portaudio posix postfix postgres postproc postscript povray ppds prelude profile ps pstricks publishers pymol python qt3 qt3support qt4 quicktime quotas rar raw rdesktop readline realmedia reiser4 reiserfs replytolist resolvconf rtc rtsp ruby samba sametime sasl savedconfig savepwd scanner science sdk sdl sdl-image seamonkey sensord session sharedext shout sift simplexml skey skins slang slp sms sndfile snmp soap sockets socks5 solver source sox speedo speex spell spl srt sse sse2 ssl statistics stream subtitles subversion svg svgz swat sysfs syslog sysvipc szip t1lib taglib tcl tcpd teletext tetex tex4ht texteffect tga theora thesaurus thunderbird tidy tiff tivo tk tokenizer truetype tv_check tv_combiner tv_pick_cgi twolame type1 unicode usb userlocales v4l v4l2 vcd vcdx vlm vorbis wavpack wddx webdav webpresence winbind winpopup wmf wmp wxwindows x264 xanim xattr xcomposite xetex xface xforms xfs xft xine xml xmlreader xmlrpc xmlwriter xorg xplanet xpm xprint xscreensaver xsl xslt xterm xv xvid xvmc yahoo yv12 zeroconf zip zlib zoran" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji minolta ptp2 ptp" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en_US en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks in advance for your help.
Top
tallica
Apprentice
Apprentice
User avatar
Posts: 152
Joined: Fri Jul 27, 2007 2:52 pm
Location: Lublin, POL

  • Quote

Post by tallica » Wed Jul 02, 2008 9:00 am

As I don't use ALSA, is there a way to install Icedtea with ALSA disabled?
Gentoo ~AMD64 | Audacious
Top
Shink
n00b
n00b
Posts: 58
Joined: Fri Sep 24, 2004 4:18 pm
Location: Scottsdale, AZ
Contact:
Contact Shink
Website

IcedTea & Opera

  • Quote

Post by Shink » Sun Jul 13, 2008 5:37 pm

(NEVERMIND: Just realized that it's because Opera is 32-bit still heh)

IcedTea is working great in FF3 here on AMD64, but for some reason Opera isn't picking up the plugin. I don't use java sites much, so it's not a show stopper, but does anyone know steps I can take to rectify? It appears that my plugin paths are correct (had to make some changes to get Flash player working) - Java (or GCJ) don't show up though.

/opt/opera/lib/opera/plugins
/usr/lib64/nsbrowser/plugins
/usr/lib64/mozilla/plugins
/usr/lib32/nsbrowser/plugins
Top
Torangan
Apprentice
Apprentice
Posts: 186
Joined: Fri Mar 21, 2003 10:44 am

  • Quote

Post by Torangan » Mon Aug 04, 2008 11:48 am

IcedTea fails to configure if firefox isn't build with the xulrunner USE flag enabled. But I'm not sure where to file a bugreport about this...
Top
Need4Speed
Guru
Guru
User avatar
Posts: 497
Joined: Sun Jun 06, 2004 2:12 am

  • Quote

Post by Need4Speed » Mon Aug 04, 2008 12:12 pm

Why are you not using the xulrunner use flag for firefox? I think it should always be set for building firefox.

Also, please use this thread for icedtea problems: http://forums.gentoo.org/viewtopic-t-379693.html
Top
Torangan
Apprentice
Apprentice
Posts: 186
Joined: Fri Mar 21, 2003 10:44 am

  • Quote

Post by Torangan » Mon Aug 04, 2008 12:15 pm

Wheter it should be built that way or not - the ebuild should check wheter it's done correctly.
Top
danvari
Tux's lil' helper
Tux's lil' helper
Posts: 131
Joined: Fri Apr 04, 2008 10:57 am

  • Quote

Post by danvari » Wed Aug 27, 2008 12:10 pm

i need some help :( i had installed icedtea6 1.2 and it _worked_ quite well. now it does not run anymore. i am using firefox 2...

Code: Select all

gentoobox stephan # ls -l /usr/lib64/nsbrowser/plugins/
insgesamt 64
lrwxrwxrwx 1 root root    57 16. Aug 17:09 javaplugin.so -> //usr/share/java-config-2/nsplugin/icedtea6-javaplugin.so
-rw-r--r-- 1 root root  1794 31. Jul 10:08 libswfdecmozilla.la
-rwxr-xr-x 1 root root 57152 31. Jul 10:08 libswfdecmozilla.so
but /usr/share/java-config-2/nsplugin/icedtea6-javaplugin.so does not exist!

Code: Select all

gentoobox stephan # eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins
where has been icedtea gone?

Code: Select all

gentoobox stephan # emerge -s icedtea6
Searching...   
[ Results for search key : icedtea6 ]
[ Applications found : 1 ]
 
*  dev-java/icedtea6
      Latest version installed: 1.2
      Homepage:      http://icedtea.classpath.org
      Description:   A harness to build the OpenJDK using Free Software build tools and dependencies
      License:       GPL-2-with-linking-exception


it seems to be installed and...

Code: Select all

gentoobox stephan # eix icedtea6
[I] dev-java/icedtea6 [1]
     Available versions:  (~)1.2 **9999 {debug doc examples javascript nsplugin zero}
     Installed versions:  1.2(19:39:42 18.08.2008)(-debug -doc -elibc_FreeBSD -examples -nsplugin -zero)
     Homepage:            http://icedtea.classpath.org
     Description:         A harness to build the OpenJDK using Free Software build tools and dependencies

[1] "java-overlay" /usr/portage/local/layman/java-overlay
...has nsplugin enabled. but...

Code: Select all

gentoobox stephan # emerge -pv dev-java/icedtea6

These are the packages that would be merged, in order:

Calculating dependencies /
!!! All ebuilds that could satisfy "dev-java/icedtea6" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/icedtea6-1.2 (masked by: )

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.

i can not re-emerge it....what does masked by: nothing.... mean ^^? i put it into package.unmask, but it does not work...

i did once a revdep-rebuild and that did also not work :(

edit:

oops i see, icedtea was not compiled with nsplugin enabled ....strange...how can i reemerge it?

edit2:
another strange issue:

Code: Select all

gentoobox stephan # emerge -pv icedtea6

These are the packages that would be merged, in order:

Calculating dependencies -
emerge: there are no ebuilds to satisfy "icedtea6".

gentoobox stephan # emerge -pv dev-java/icedtea6

These are the packages that would be merged, in order:

Calculating dependencies -
!!! All ebuilds that could satisfy "dev-java/icedtea6" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/icedtea6-1.2 (masked by: )

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.

edit3:
haha, the solution is....java-overlay was not anymore in the PORTDIR_OVERLAY so i could not emerge it of cause ^^
Top
rada
Apprentice
Apprentice
Posts: 202
Joined: Fri Oct 21, 2005 11:39 pm
Location: Ottawa, Canada
Contact:
Contact rada
Website

  • Quote

Post by rada » Wed Sep 17, 2008 3:52 pm

New icedtea6 ebuild, with amd64 keyword, added support for liveconnect [by default] and using openjdk-b12-28_aug_2008:

icedtea6-9999.ebuild

Code: Select all

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="1"

inherit autotools pax-utils java-pkg-2 java-utils-2 java-vm-2 mercurial

DESCRIPTION="A harness to build the OpenJDK using Free Software build tools and dependencies"
OPENJDK_BUILD="12"
OPENJDK_DATE="28_aug_2008"
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
SRC_URI="http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}"
HOMEPAGE="http://icedtea.classpath.org"
EHG_REPO_URI="http://icedtea.classpath.org/hg/icedtea6"

IUSE="debug doc examples javascript -nsplugin +liveconnect zero"

LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="amd64"

RDEPEND=">=net-print/cups-1.2.12
	 >=x11-libs/libX11-1.1.3
	 >=media-libs/freetype-2.3.5
	 >=media-libs/alsa-lib-1.0
	 >=x11-libs/gtk+-2.8
	 >=x11-libs/libXinerama-1.0.2
	 >=media-libs/jpeg-6b
	 >=media-libs/libpng-1.2
	 >=media-libs/giflib-4.1.6
	 >=sys-libs/zlib-1.2.3
	x11-proto/inputproto
	 nsplugin? ( || (
		www-client/mozilla-firefox
		net-libs/xulrunner
		www-client/seamonkey
	 ) )"

# Additional dependencies for building:
#   unzip: extract OpenJDK tarball
#   xalan/xerces: automatic code generation
#   ant, ecj, jdk: required to build Java code
DEPEND="${RDEPEND}
	>=virtual/jdk-1.5
	>=app-arch/unzip-5.52
	>=dev-java/xalan-2.7.0
	>=dev-java/xerces-2.9.1
	>=dev-java/ant-core-1.7.0-r3
	|| (	>=dev-java/eclipse-ecj-3.2.1:3.2
		dev-java/eclipse-ecj:3.3 )
	javascript? ( dev-java/rhino:1.6 )"

pkg_setup() {

	if use_zero && ! built_with_use sys-devel/gcc libffi; then
		eerror "Using the zero assembler port requires libffi. Please rebuild sys-devel/gcc"
		eerror "with USE=\"libffi\" or turn off the zero USE flag on ${PN}."
		die "Rebuild sys-devel/gcc with libffi support"
	fi

	java-vm-2_pkg_setup
	java-pkg-2_pkg_setup
}

src_unpack() {
	mercurial_src_unpack
	S="${WORKDIR}"/"${PN}"
	cd "${S}"
	eautoreconf || die "failed to regenerate autoconf infrastructure"
}

src_compile() {
	local config procs rhino_jar

	einfo "Current Java VM is" 
	echo "$(java-pkg_get-current-vm)"

	if [[ "$(java-pkg_get-current-vm)" == "icedtea6" || "$(java-pkg_get-current-vm)" == "icedtea" ]] ; then
		# If we are upgrading icedtea, then we don't need to bootstrap.
		config="${config} --with-icedtea"
		config="${config} --with-icedtea-home=$(java-config -O)"
	else
		# For other 1.5 JDKs e.g. GCJ, CACAO, JamVM.
		config="${config} --with-ecj-jar=$(ls -1r /usr/share/eclipse-ecj-3.[23]/lib/ecj.jar|head -n 1)" \
		config="${config} --with-libgcj-jar=$(java-config -O)/jre/lib/rt.jar"
		config="${config} --with-gcj-home=$(java-config -O)"
	fi

	# OpenJDK-specific parallelism support.
	procs=$(echo ${MAKEOPTS} | sed -r 's/.*-j\W*([0-9]+).*/\1/')
	if [[ -n ${procs} ]] ; then
		config="${config} --with-parallel-jobs=${procs}";
		einfo "Configuring using --with-parallel-jobs=${procs}"
	fi

	if use_zero ; then
		config="${config} --enable-zero"
	else
		config="${config} --disable-zero"
	fi

	unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
	
	econf ${config} \
		--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
		$(use_enable debug optimizations) \
		$(use_enable doc docs) \
		$(use_enable nsplugin gcjwebplugin) \
		$(use_enable liveconnect) \
		$(use_with javascript rhino ${rhino_jar}) \
		|| die "configure failed"

	emake -j 1  || die "make failed"
}

src_install() {
	local dest="/usr/$(get_libdir)/${P}"
	local ddest="${D}/${dest}"
	dodir "${dest}" || die

	local arch=${ARCH}
	use x86 && arch=i586

	cd "${S}/openjdk/control/build/linux-${arch}/j2sdk-image" || die

	if use doc ; then
		dohtml -r ../docs/* || die "Failed to install documentation"
	fi

	# doins can't handle symlinks.
	cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"

	# Set PaX markings on all JDK/JRE executables to allow code-generation on
	# the heap by the JIT compiler.
	pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*)

	dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die
	dohtml README.html || die

	if use examples; then
		dodir "${dest}/share";
		cp -vRP demo sample "${ddest}/share/" || die
	fi

	cp src.zip "${ddest}" || die

	# Fix the permissions.
	find "${ddest}" -perm +111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; || die

	if use nsplugin; then
		use x86 && arch=i386;
		install_mozilla_plugin "${dest}/jre/lib/${arch}/gcjwebplugin.so";
	fi

	if use liveconnect; then
		use x86 && arch=i386;
		install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
	fi

	set_java_env
}

use_zero() {
	use zero || ( ! use amd64 && ! use x86 && ! use sparc )
}

pkg_postinst() {
	# Set as default VM if none exists
	java-vm-2_pkg_postinst
}
Top
Post Reply

199 posts
  • Page 5 of 8
    • Jump to page:
  • Previous
  • 1
  • …
  • 3
  • 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