Subject: Re: firefox-gtk2-linux v1.0 Java plugin issues
To: Tomas D <u0giene@yahoo.com>
From: Shigeki UNO <shigeki@mediawars.ne.jp>
List: netbsd-help
Date: 02/10/2005 05:51:25
Tomas D <u0giene@yahoo.com> writes:

|  Hi i've put firefox-gtk2-linux onto
| NetBSD uogiene 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec  1
| 10:58:25 UTC 2004 
| builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC
| i386
| and I'm having a bit of problem getting java plugin to
| work here's what i do:
| bash-3.00# more /etc/mk.conf
| ACCEPTABLE_LICENSES=non-commercial-use
| fee-based-commercial-use
| WRKOBJDIR=/usr/obj/pkg
| #PACKAGES=${_PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH}
| USA_RESIDENT=NO
| USE_RSAREF2=NO
| DEPENDS_TARGET=package
| DISTDIR=/usr/pkgsrc_distfiles
| MOZILLA_USE_LINUX=YES
| ACCEPTABLE_LICENSES+=jdk13-license
| bash-3.00# cd /usr/pkgsrc/www/firefox-bin-flash/
| bash-3.00# make update
| ===> *** '/usr/pkg/sbin/download-vulnerability-list'.
| => Checksum OK for
| flash/7.0r25/install_flash_player_7_linux.tar.gz.
| ===> Extracting for firefox-bin-flash-7.0.25
| ===> Required package firefox-bin>=0.8: NOT found
| ===> Verifying package for ../../www/firefox-bin
| ===> *** No /usr/pkgsrc_distfiles/pkg-vulnerabilities
| file found,
| ===> *** skipping vulnerability checks. To fix,
| install
| ===> *** the pkgsrc/security/audit-packages package
| and run
| ===> *** '/usr/pkg/sbin/download-vulneracd
| /usr/obj/pkg/www/firefox-bin/work/firefox && /bin/pax
| -rw -pm .
| /usr/pkg/lib/firefox-gtk2-linux
| install -c -o root -g wheel -m 555
| /usr/obj/pkg/www/firefox-bin/work/firefox.sh
| /usr/pkg/bin/firefox-gtk2-linux
| ===> [Automatic ELF shared object handling]
| ===> Please note the following:
| 
| ===========================================================================
| $NetBSD: MESSAGE.compat_linux,v 1.3 2004/06/29
| 14:55:05 grant Exp $
| 
| firefox-gtk2-bin requires your kernel to include
| 'COMPAT_LINUX'
| (plus in NetBSD systems before 1.5 'EXEC_ELF32').
| 
| On NetBSD 1.5, if INET6 is enabled in the kernel, you
| may need to set
| net.inet6.ip6.v6only=0, using sysctl(8).
| 
| ===========================================================================
| 
| ===> Registering installation for firefox-gtk2-bin-1.0
| firefox-gtk2-bin-1.0 requires installed package
| suse_gtk2-9.1nb3
| firefox-gtk2-bin-1.0 requires installed package
| suse_locale-9.1
| bility-list'.
| firefox-gtk2-bin-1.0 requires installed package
| suse_x11-9.1nb1
| ===> Packaging firefox-gtk2-bin-1.0
| ===> Building binary package for firefox-gtk2-bin-1.0
| Creating package
| /usr/pkgsrc/packages/All/firefox-gtk2-bin-1.0.tgz
| Using SrcDir value of /usr/pkg
| Registering depends: suse_gtk2>=9.1 suse_locale>=9.1
| suse_x11>=9.1.
| ===> Returning to build of firefox-bin-flash-7.0.25
| ===> Patching for firefox-bin-flash-7.0.25
| ===> Overriding tools for firefox-bin-flash-7.0.25
| ===> Creating toolchain wrappers for
| firefox-bin-flash-7.0.25
| ===> Installing for firefox-bin-flash-7.0.25
| install -d -o root -g wheel -m 755
| /usr/pkg/lib/firefox-linux/plugins
| install -c -o root -g wheel -m 444
| /usr/obj/pkg/www/firefox-bin-flash/work/install_flash_player_7_linux/flashplayer.xpt
| /usr/pkg/lib/firefox-linux/plugins
| install -c -o root -g wheel -m 444
| /usr/obj/pkg/www/firefox-bin-flash/work/install_flash_player_7_linux/libflashplayer.so
| /usr/pkg/lib/firefox-linux/plugins
| ===> [Automatic ELF shared object handling]
| ===> Registering installation for
| firefox-bin-flash-7.0.25
| ===> Packaging firefox-bin-flash-7.0.25
| ===> Building binary package for
| firefox-bin-flash-7.0.25
| Creating package
| /usr/pkgsrc/packages/All/firefox-bin-flash-7.0.25.tgz
| Using SrcDir value of /usr/pkg
| Registering depends: firefox-bin>=0.8.
| ===> Warning: firefox-bin-flash-7.0.25 may not be put
| on a CD-ROM:
| ===>          "Redistribution not permitted"
| ===> Warning: firefox-bin-flash-7.0.25 may not be made
| available through
| FTP:
| ===>          "Redistribution not permitted"
| ===> Cleaning for firefox-bin-flash-7.0.25
| bash-3.00# cd ..
| bash-3.00# cd firefox-bin-realplayer/
| bash-3.00# make update
| ===> Deinstalling for firefox-bin-realplayer
| Running /usr/sbin/pkg_delete -K /var/db/pkg -r
| firefox-bin-realplayer-1.0nb1
| ===> *** No /usr/pkgsrc_distfiles/pkg-vulnerabilities
| file found,
| ===> *** skipping vulnerability checks. To fix,
| install
| ===> *** the pkgsrc/security/audit-packages package
| and run
| ===> *** '/usr/pkg/sbin/download-vulnerability-list'.
| ===> Installing for firefox-bin-realplayer-1.0nb1
| /bin/ln -s /usr/pkg/lib/netscape/plugins/rpnp.so
| /usr/pkg/lib/firefox-linux/plugins/rpnp.so
| /usr/obj/pkg/www/firefox-bin-realplayer/work/.PLIST'
| is up to date.
| ===> Registering installation for
| firefox-bin-realplayer-1.0nb1
| Full pathname symlink
| /usr/pkg/lib/netscape/plugins/rpnp.so' is target of
| /usr/pkg/lib/firefox-linux/plugins/rpnp.so' -
| adjusting to
| ../../../lib/netscape/plugins/rpnp.so'
| firefox-bin-realplayer-1.0nb1 requires installed
| package realplayer-8.0.1nb2
| ===> Packaging firefox-bin-realplayer-1.0nb1
| ===> Building binary package for
| firefox-bin-realplayer-1.0nb1
| Creating package
| /usr/pkgsrc/packages/All/firefox-bin-realplayer-1.0nb1.tgz
| Using SrcDir value of /usr/pkg
| Registering depends: firefox-bin>=0.8
| realplayer-[0-9]*.
| ===> Cleaning for firefox-bin-realplayer-1.0nb1
| bash-3.00# cd ../firefox-bin-java/
| bash-3.00# make update
| work -> /usr/obj/pkg/www/firefox-bin-java/work
| ===> Deinstalling for firefox-bin-java
| Running /usr/sbin/pkg_delete -K /var/db/pkg -r
| firefox-bin-java-1.1nb1
| ===> *** No /usr/pkgsrc_distfiles/pkg-vulnerabilities
| file found,
| ===> *** skipping vulnerability checks. To fix,
| install
| ===> *** the pkgsrc/security/audit-packages package
| and run
| ===> *** '/usr/pkg/sbin/download-vulnerability-list'.
| ===> Extracting for firefox-bin-java-1.1nb1===>
| Required installed package sun-jre14-[0-9]*:
| sun-jre14-2.7 found
| ===> Required package firefox-bin>=0.8: NOT found
| ===> Verifying package for ../../www/firefox-bin
| ===> *** No /usr/pkgsrc_distfiles/pkg-vulnerabilities
| file found,
| ===> *** skipping vulnerability checks. To fix,
| install
| ===> *** the pkgsrc/security/audit-packages package
| and run
| ===> *** '/usr/pkg/sbin/download-vulnerability-list'.
| ===> Returning to build of firefox-bin-java-1.1nb1
| ===> Patching for firefox-bin-java-1.1nb1
| ===> Overriding tools for firefox-bin-java-1.1nb1
| ===> Creating toolchain wrappers for
| firefox-bin-java-1.1nb1
| ===> Installing for firefox-bin-java-1.1nb1
| install -d -o root -g wheel -m 755
| /usr/pkg/lib/firefox-linux/plugins
| /bin/ln -s
| /usr/pkg/java/sun-1.4/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
| /usr/pkg/lib/firefox-linux/plugins/libjavaplugin_oji.so
| ===> [Automatic ELF shared object handling]
| ===> Registering installation for
| firefox-bin-java-1.1nb1
| Full pathname symlink
| /usr/pkg/java/sun-1.4/plugin/i386/ns610-gcc32/libjavaplugin_oji.so'
| is
| target of
| /usr/pkg/lib/firefox-linux/plugins/libjavaplugin_oji.so'
| -
| adjusting to
| ../../../java/sun-1.4/plugin/i386/ns610-gcc32/libjavaplugin_oji.so'
| firefox-bin-java-1.1nb1 requires installed package
| sun-jre14-2.7
| ===> Packaging firefox-bin-java-1.1nb1
| ===> Building binary package for
| firefox-bin-java-1.1nb1
| Creating package
| /usr/pkgsrc/packages/All/firefox-bin-java-1.1nb1.tgz
| Using SrcDir value of /usr/pkg
| Registering depends: firefox-bin>=0.8
| sun-jre14-[0-9]*.
| ===> Cleaning for firefox-bin-java-1.1nb1
| bash-3.00# pkg_info | grep firefox
| firefox-gtk2-bin-1.0 Lightweight gecko-based web
| browser (binary pkg)
| firefox-bin-flash-7.0.25 Flash Player plugin for
| firefox-bin
| firefox-bin-realplayer-1.0nb1 RealAudio and RealVideo
| player plugin for
| firefox-bin
| firefox-bin-java-1.1nb1 Java Run Time Environment
| (JRE) 1.4 plugin for
| firefox-bin
| bash-3.00# cd /usr/pkg/lib/firefox-linux/plugins/
| bash-3.00# ls -la
| ===> Installing for firefox-gtk2-bin-1.0
| install -d -o root -g wheel -m 755
| /usr/pkg/lib/firefox-gtk2-linux
| total 2060
| drwxr-xr-x  2 root  wheel      512 Feb  8 21:19 .
| drwxr-xr-x  3 root  wheel      512 Feb  6 12:51 ..
| -rwxr-xr-x  1 root  wheel      856 Feb  8 21:16
| flashplayer.xpt
| -rwxr-xr-x  1 root  wheel  2096844 Feb  8 21:16
| libflashplayer.so
| lrwxr-xr-x  1 root  wheel       66 Feb  8 21:19
| libjavaplugin_oji.so ->
| ../../../java/sun-1.4/plugin/i386/ns
| 610-gcc32/libjavaplugin_oji.so
| lrwxr-xr-x  1 root  wheel       37 Feb  8 21:18
| rpnp.so -> ../../../lib/netscape/plugins/rpnp.so
| bash-3.00# cd
| /usr/pkg/java/sun-1.4/plugin/i386/ns610-gcc32
| bash-3.00# ls -la
| total 290
| drwxr-xr-x  2 root  wheel     512 Feb  8 07:51 .
| drwxr-xr-x  5 root  wheel     512 Feb  8 07:51 ..
| -rwxr-xr-x  1 root  wheel  281612 Feb  8 07:51
| libjavaplugin_oji.so
| bash-3.00# cd /usr/pkg/lib/netscape/plugins
| bash-3.00# ls -la
| total 286
| drwxr-xr-x  2 root  wheel     512 Feb  8 07:22 .
| drwxr-xr-x  3 root  wheel     512 Feb  8 07:22 ..
| -r--r--r--  1 root  wheel    4139 Feb  8 07:22
| raclass.zip
| -rwxr-xr-x  1 root  wheel  129088 Feb  8 07:22 rpnp.so
| 
| bash-3.00$ cd /home/wally/.mozilla/plugins/
| bash-3.00$ ls -la
| total 6
| drwxr-xr-x  2 wally  wheel  512 Feb  8 22:35 .
| drwxr-xr-x  4 wally  wheel  512 Feb  8 22:33 ..
| lrwxr-xr-x  1 wally  wheel   50 Feb  8 22:34
| flashplayer.xpt ->
| /usr/pkg/lib/firefox-linux/plugins/flashplayer.xpt
| lrwxr-xr-x  1 wally  wheel   52 Feb  8 22:34
| libflashplayer.so ->
| /usr/pkg/lib/firefox-linux/plugins/libflashplayer.so
| lrwxr-xr-x  1 wally  wheel   66 Feb  8 22:34
| libjavaplugin_oji.so ->
| /usr/pkg/java/sun-1.4/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
| lrwxr-xr-x  1 wally  wheel   37 Feb  8 22:35 rpnp.so
| -> /usr/pkg/lib/netscape/plugins/rpnp.so
| 
| bash-3.00$ firefox-gtk2-linux
| address about:plugins
| Installed plug-ins
| Find more information about browser plug-ins at
| Netscape.com.
| Help for installing plug-ins is available from
| plugindoc.mozdev.org.
| Java(TM) Plug-in 1.4.2_07-b05
| 
|     File name: libjavaplugin_oji.so
|     Java(TM) Plug-in 1.4.2_07
| 
| MIME Type 	Description 	Suffixes 	Enabled
| application/x-java-vm 	Java 		Yes
| application/x-java-applet 	Java 		Yes
| application/x-java-applet;version=1.1 	Java 		Yes
| application/x-java-applet;version=1.1.1 	Java 		Yes
| application/x-java-applet;version=1.1.2 	Java 		Yes
| application/x-java-applet;version=1.1.3 	Java 		Yes
| application/x-java-applet;version=1.2 	Java 		Yes
| application/x-java-applet;version=1.2.1 	Java 		Yes
| application/x-java-applet;version=1.2.2 	Java 		Yes
| application/x-java-applet;version=1.3 	Java 		Yes
| application/x-java-applet;version=1.3.1 	Java 		Yes
| application/x-java-applet;version=1.4 	Java 		Yes
| application/x-java-applet;version=1.4.1 	Java 		Yes
| application/x-java-applet;version=1.4.2 	Java 		Yes
| application/x-java-applet;jpi-version=1.4.2_07 	Java 	
| Yes
| application/x-java-bean 	Java 		Yes
| application/x-java-bean;version=1.1 	Java 		Yes
| application/x-java-bean;version=1.1.1 	Java 		Yes
| application/x-java-bean;version=1.1.2 	Java 		Yes
| application/x-java-bean;version=1.1.3 	Java 		Yes
| application/x-java-bean;version=1.2 	Java 		Yes
| application/x-java-bean;version=1.2.1 	Java 		Yes
| application/x-java-bean;version=1.2.2 	Java 		Yes
| application/x-java-bean;version=1.3 	Java 		Yes
| application/x-java-bean;version=1.3.1 	Java 		Yes
| application/x-java-bean;version=1.4 	Java 		Yes
| application/x-java-bean;version=1.4.1 	Java 		Yes
| application/x-java-bean;version=1.4.2 	Java 		Yes
| application/x-java-bean;jpi-version=1.4.2_07 	Java 	
| Yes
| Shockwave Flash
| 
|     File name: libflashplayer.so
|     Shockwave Flash 7.0 r25
| 
| MIME Type 	Description 	Suffixes 	Enabled
| application/x-shockwave-flash 	Shockwave Flash 	swf 
| Yes
| application/futuresplash 	FutureSplash Player 	spl 
| Yes
| RealPlayer(tm) 7.0 Plug-In
| 
|     File name: rpnp.so
|     RealPlayer(tm) 7.0 LiveConnect-Enabled Plug-In
| 
| MIME Type 	Description 	Suffixes 	Enabled
| audio/x-pn-realaudio-plugin 	RealPlayer Plugin
| Metafiles
| 
| in /etc/fstab i got:
| bash-3.00$ more /etc/fstab
| /dev/wd0a / ffs rw 1 1
| /dev/wd0b none swap sw 0 0
| /dev/wd0e /usr ffs rw 1 2
| /dev/wd0f /var ffs rw 1 2
| /dev/wd0g /home ffs rw 1 2
| /dev/wd0h /data ffs rw 1 2
| /dev/wd0i /fat32 msdos rw,noauto 0 0
| kernfs /kern kernfs rw
| #procfs /proc procfs rw,noauto
| procfs /emul/linux/proc procfs rw,linux
| 
| everything seems to be ok...
| 
| issue #1
|       when i go to any web page with java applet
| here's what happens Error occurred during
| initialization of VM
| 
|  Could not reserve enough space for object heap
|  INTERNAL ERROR on Browser End: Could not read ack
| from child process
|  System error?:: Resource temporarily unavailable
| 
| issue #2
|       when I go to www.samurai.fm to listen to my
| favorite radio i get real players buttons and
| everything but i'm unable to start playing it 
| 
| can anybody help me with that please?
| 
| p.s. flash works fine
| pp.s rplayer plays downloaded ram files
| 
| thanx tom

I am using tcsh. So there is a line like this in $HOME/.cshrc:

  limit datasize 262144

Both work fine for me.


HTH,
---
su