Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > x86 64-bit Users
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

x86 64-bit Users
For the discussion of Ubuntu on the AMD 64 platform.

 
Thread Tools Display Modes
Old March 22nd, 2005   #1
xodeus
Gee! These Aren't Roasted!
 
xodeus's Avatar
 
Join Date: Mar 2005
Location: Fredericia, DK
Beans: 201
Ubuntu 9.04 Jaunty Jackalope
Send a message via MSN to xodeus Send a message via Skype™ to xodeus
Installing java & flash player

Hi all.
I've just installed ubuntu and it's a really great port. I really do like it. But I've now come to this point that I need java & flash installed. When I download java from java.com I get the java package so Azureus works but there's no javaplugin_oji.so for my browser. How can it be? Really don't understand.
Now I can't get the flashplayer-mozilla package either. I get some errors when trying to run an apt-get update.
The sources.lit & errors are attached.
Please help me out.

//XoDeus
Attached Files
File Type: txt error.txt (3.4 KB, 46 views)
File Type: txt sources.txt (1.3 KB, 32 views)
xodeus is offline   Reply With Quote
Old March 22nd, 2005   #2
sauteur
First Cup of Ubuntu
 
Join Date: Mar 2005
Beans: 2
Re: Installing java & flash player

it's better to use deb packages
refer to http://ubuntuguide.org/ for instructions


Regards.
Sauteur
sauteur is offline   Reply With Quote
Old March 22nd, 2005   #3
xodeus
Gee! These Aren't Roasted!
 
xodeus's Avatar
 
Join Date: Mar 2005
Location: Fredericia, DK
Beans: 201
Ubuntu 9.04 Jaunty Jackalope
Send a message via MSN to xodeus Send a message via Skype™ to xodeus
Re: Installing java & flash player

Quote:
Originally Posted by sauteur
it's better to use deb packages
refer to http://ubuntuguide.org/ for instructions


Regards.
Sauteur
As I mentioned then I tried to use the ubuntuguide and can't get the flashplayer-mozilla package. And java is now found as deb package, so it has to be installed from java.com, but it does not provide libjavaplugin_oji.so, I miss that.
xodeus is offline   Reply With Quote
Old March 22nd, 2005   #4
mthaddon
A Carafe of Ubuntu
 
mthaddon's Avatar
 
Join Date: Mar 2005
Location: San Francisco, US
Beans: 141
Hardy Heron (Ubuntu Development)
Re: Installing java & flash player

I don't have java installed, but I do have a working flash player:

sudo apt-get install gpl-flash

It's _really_ buggy and I need to kill it sometimes cos it takes up so much memory, but at least I can view some flash. I don't know if there is a native 64-bit flash plugin. From what I can understand the workaround involves installing 32-bit firefox, but I haven't tried it myself.

Good luck.

Tom
mthaddon is offline   Reply With Quote
Old March 22nd, 2005   #5
derjohan
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 2
Send a message via ICQ to derjohan Send a message via AIM to derjohan Send a message via MSN to derjohan
Re: Installing java & flash player

Sun doesn't provide a 64 bit java plugin. try blackdown java 1.4.2 (http://www.blackdown.org), they have a 64 bit mozilla plugin which works for me.

The flashplayer from the gpl-flash homepage (http://gplflash.sourceforge.net/) is a bit newer than the one in the ubuntu repository. I haven't had any big problems with it so far.
It's not optimal, but it works.
derjohan is offline   Reply With Quote
Old March 22nd, 2005   #6
blinksilver
Way Too Much Ubuntu
 
Join Date: Jan 2005
Beans: 160
Re: Installing java & flash player

okay, so i have grabed gpl flash, did an autogen

it worked out then i did a make, and nada,

here is a output, any help is good help

soganess@M6805:~/gplflash-0.4.13$ sudo sh autogen.sh
Password:
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the autogen.sh command line.
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/a...ending-aclocal
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for jpeg_destroy_decompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for XOpenDisplay in -lX11... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for mad_frame_decode in -lmad... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating player/Makefile
config.status: creating plugin/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Now type 'make' to compile libflash.
soganess@M6805:~/gplflash-0.4.13$ mkaer
bash: mkaer: command not found
soganess@M6805:~/gplflash-0.4.13$ make
make all-recursive
make[1]: Entering directory `/home/soganess/gplflash-0.4.13'
Making all in lib
make[2]: Entering directory `/home/soganess/gplflash-0.4.13/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/soganess/gplflash-0.4.13/lib'
Making all in player
make[2]: Entering directory `/home/soganess/gplflash-0.4.13/player'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/soganess/gplflash-0.4.13/player'
Making all in plugin
make[2]: Entering directory `/home/soganess/gplflash-0.4.13/plugin'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libnpflash.la -rpath /usr/local/lib/mozilla/plugins/ -L../lib/.libs -lflash libnpflash_la-plugin.lo libnpflash_la-npunix.lo
gcc -shared .libs/libnpflash_la-plugin.o .libs/libnpflash_la-npunix.o -Wl,--rpath -Wl,/home/soganess/gplflash-0.4.13/lib/.libs/.libs -Wl,--rpath -Wl,/usr/local/lib -L/home/soganess/gplflash-0.4.13/lib/.libs /home/soganess/gplflash-0.4.13/lib/.libs/.libs/libflash.so -Wl,-soname -Wl,libnpflash.so.0 -o .libs/libnpflash.so.0.0.0
gcc: /home/soganess/gplflash-0.4.13/lib/.libs/.libs/libflash.so: No such file or directory
make[2]: *** [libnpflash.la] Error 1
make[2]: Leaving directory `/home/soganess/gplflash-0.4.13/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soganess/gplflash-0.4.13'
make: *** [all] Error 2
blinksilver is offline   Reply With Quote
Old March 23rd, 2005   #7
wmcbrine
Skinny Soy Caramel Ubuntu
 
wmcbrine's Avatar
 
Join Date: Mar 2005
Beans: 652
Ubuntu 9.10 Karmic Koala
Re: Installing java & flash player

Quote:
Originally Posted by derjohan
The flashplayer from the gpl-flash homepage (http://gplflash.sourceforge.net/) is a bit newer than the one in the ubuntu repository. I haven't had any big problems with it so far.
It's not optimal, but it works.
It crashes my Firefox the instant I go to a site with Flash, even with the FlashBlock extension in place. This is with either the deb or compiling the latest source.

So for now, I built a null plugin for Flash, just to get rid of the annoying "missing plugin" message. (Some guy had done it for FreeBSD a while back; I just made a couple minor patches and recompiled. I found it by searching for "null plugin"... I was thinking I'd have to do more, but by luck, there it was, ready-made.)
wmcbrine is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:31 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry