Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
flash and konqueror
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Thu Aug 12, 2004 5:23 pm    Post subject: flash and konqueror Reply with quote

I've read on those forums, that to use flash, you need a 32bit browser.
Is it possible to only recompile konqueror using 32bit, so that I can use flash with it ?
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Thu Aug 12, 2004 5:28 pm    Post subject: Reply with quote

You need a mozilla-variant. Try mozilla-firefox-bin in combination with netscape-flash.

Konqueror is NOT supported by macromedia, at all. See [url=http://www.macromedia.com/software/flash/productinfo/systemreqs/]here[/i].
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html


Last edited by Corona688 on Thu Aug 12, 2004 5:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
J.M.I.T.
Guru
Guru


Joined: 15 Jan 2003
Posts: 481
Location: München, Germany

PostPosted: Thu Aug 12, 2004 5:31 pm    Post subject: Reply with quote

Corona688 wrote:
Macromedia does NOT support konqueror(see here for supported browsers), so it won't work even with 32-bit konqueror.

Try mozilla-firefox-bin in combination with netscape-flash.

you're wrong... konqueror can integrate a lot of plugins of mozilla/firefox... you can import those netscape-plugins in the settings dialog... but i don't know how to recompile konqueror 32bit-only...
_________________
Get a life...
Code:
:(){ :|:& };:
Use at own risk...
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Thu Aug 12, 2004 5:32 pm    Post subject: Reply with quote

I know about firefox-bin, but I want to stay with Konqueror.
Back to top
View user's profile Send private message
Darian
n00b
n00b


Joined: 12 Jun 2003
Posts: 74
Location: Albuquerque, NM, USA

PostPosted: Thu Aug 12, 2004 6:14 pm    Post subject: Reply with quote

Yes, Flash works great in Konqueror.

1. emerge netscape-flash
2. In Konqueror, look under Settings -> Configure Konqueror -> Plugins
3. click "Scan for new plugins"

I seem to remember that one needed motif in the USE flags to get flash working in Konqueror... or maybe that was to get java working. But then motif isn't even a possible use flag for the latest kdebase release candidate, so maybe I'm just remembering a bad dream I had.
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Thu Aug 12, 2004 6:18 pm    Post subject: Reply with quote

I tried that, and I also tried the latest version (not through portage) but Konqueror doesn't detect them.
The directorys are correct.
Is this because those plugins are 32-bit and konqueror 64-bit ?
Back to top
View user's profile Send private message
mr_andy_main
n00b
n00b


Joined: 31 Dec 2002
Posts: 24

PostPosted: Thu Aug 12, 2004 7:19 pm    Post subject: Reply with quote

Although I don't have a solution you could ask on a SuSE list or forum. I know that konqeror and flash work in that, and knoqueror is supposed to be 64bit compiled.
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Thu Aug 12, 2004 7:31 pm    Post subject: Reply with quote

I've asked it on the suse forums. And I wait now for an answer.
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Thu Aug 12, 2004 9:04 pm    Post subject: Reply with quote

32bit plugins should work with 64bit konqueror.
See here and here

But why doesn't konqueror detect them ?
Back to top
View user's profile Send private message
Fix-85
n00b
n00b


Joined: 10 Aug 2004
Posts: 22

PostPosted: Thu Aug 12, 2004 9:08 pm    Post subject: Reply with quote

Darian wrote:
Yes, Flash works great in Konqueror.

1. emerge netscape-flash
2. In Konqueror, look under Settings -> Configure Konqueror -> Plugins
3. click "Scan for new plugins"

I seem to remember that one needed motif in the USE flags to get flash working in Konqueror... or maybe that was to get java working. But then motif isn't even a possible use flag for the latest kdebase release candidate, so maybe I'm just remembering a bad dream I had.



Works Great, thanks !
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Thu Aug 12, 2004 9:11 pm    Post subject: Reply with quote

For those where flash works: what version do you use of kde ?
I'm using kde 3.2.3
Back to top
View user's profile Send private message
Fix-85
n00b
n00b


Joined: 10 Aug 2004
Posts: 22

PostPosted: Thu Aug 12, 2004 9:20 pm    Post subject: Reply with quote

Titeuf wrote:
For those where flash works: what version do you use of kde ?
I'm using kde 3.2.3


I'm using 3.2.2, I'm just too lazy to run an update world ;)
Back to top
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Fri Aug 13, 2004 8:14 am    Post subject: Reply with quote

Titeuf wrote:
32bit plugins should work with 64bit konqueror.
See here and here

But why doesn't konqueror detect them ?


Well, I've yet to get any 32-bit plugin working with 64-bit konqueror. Are those posts just wishful thinking?

Andrew
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Fri Aug 13, 2004 10:06 am    Post subject: Reply with quote

alshain wrote:
Well, I've yet to get any 32-bit plugin working with 64-bit konqueror. Are those posts just wishful thinking?

Andrew

I think those posts are serious, because it works for other people
Back to top
View user's profile Send private message
logon
Apprentice
Apprentice


Joined: 22 May 2002
Posts: 182
Location: Bonn / NRW Germany

PostPosted: Fri Aug 13, 2004 4:48 pm    Post subject: Reply with quote

I tried it to, but no success here either. But i know that the SuSE 9.1 Konqueror from the AMD64 Version of 9.1 does play Flash Animations. I thought they compiled it as 32bit konqueror but it seems it was indeed 64bit.

Maybe it has anything to do with this multilib thing? I thought i did add this feature with my new install but i may be wrong.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Fri Aug 13, 2004 11:32 pm    Post subject: Reply with quote

After messing with 64-bit mozilla for weeks, I finally decided to prove for good whether 32-bit libs can be used by 64-bit ones. I did the simplest thing possible: I tried loading a 32-bit .so in a 32-bit executable. Not even running anything in it, mind you, just loading. Here's the code:
Code:
#include <SDL/SDL.h>
#include <SDL/SDL_loadso.h>
#include <stdio.h>

int main(int argc, char *argv[])
{
  int n;
  if(SDL_Init(0)<0) return(1);

  for(n=1; n<argc; n++)
  {
    void *obj=SDL_LoadObject(argv[n]);
    if(obj==NULL)
      fprintf(stderr,"Couldn't load shared object %s\n",argv[n]);
    else
    {
      fprintf(stderr,"Loaded shared object %s\n",argv[n]);
      SDL_UnloadObject(obj);
    }
  }

  SDL_Quit();
  return(0);
}
compile with 'gcc loadso.c -lSDL -lpthread' for 64-bit, throw in a -m32 flag for 32-bit.

The answer is no. No matter what I did, 64-bit executables could not load 32-bit libraries. 64-bit ones could load 64-bit ones, and 32-bit ones could load 32-bit ones, but they cannot work together, at least not in the ordinary way.

There is a fundamental difference between 32-bit and 64-bit, being that pointers are twice as large. This messes up everything from strings to call stacks. It'd take something like vmware to communicate between them.

That said, if konqueror CAN use 32-bit plugins, that would be phenominal. I'm just not holding my breath.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Fri Aug 13, 2004 11:40 pm    Post subject: Reply with quote

Titeuf wrote:
alshain wrote:
Well, I've yet to get any 32-bit plugin working with 64-bit konqueror. Are those posts just wishful thinking?

Andrew

I think those posts are serious, because it works for other people
Show me ONE person who can demonstrate 32-bit flash working under 64-bit konqueror to me and I'll happily admit that I'm full of shit, but right now I'm forced to agree that those posts are wishful thinking.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Fri Aug 13, 2004 11:42 pm    Post subject: Reply with quote

Fix-85 wrote:
Works Great, thanks !
Are you using a 64-bit system & os?
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
secondshadow
Guru
Guru


Joined: 23 Jun 2003
Posts: 362

PostPosted: Sat Aug 14, 2004 3:34 am    Post subject: Reply with quote

Corona688 wrote:
After messing with 64-bit mozilla for weeks, I finally decided to prove for good whether 32-bit libs can be used by 64-bit ones. I did the simplest thing possible: I tried loading a 32-bit .so in a 32-bit executable. Not even running anything in it, mind you, just loading. Here's the code:
Code:
#include <SDL/SDL.h>
#include <SDL/SDL_loadso.h>
#include <stdio.h>

int main(int argc, char *argv[])
{
  int n;
  if(SDL_Init(0)<0) return(1);

  for(n=1; n<argc; n++)
  {
    void *obj=SDL_LoadObject(argv[n]);
    if(obj==NULL)
      fprintf(stderr,"Couldn't load shared object %s\n",argv[n]);
    else
    {
      fprintf(stderr,"Loaded shared object %s\n",argv[n]);
      SDL_UnloadObject(obj);
    }
  }

  SDL_Quit();
  return(0);
}
compile with 'gcc loadso.c -lSDL -lpthread' for 64-bit, throw in a -m32 flag for 32-bit.

The answer is no. No matter what I did, 64-bit executables could not load 32-bit libraries. 64-bit ones could load 64-bit ones, and 32-bit ones could load 32-bit ones, but they cannot work together, at least not in the ordinary way.

There is a fundamental difference between 32-bit and 64-bit, being that pointers are twice as large. This messes up everything from strings to call stacks. It'd take something like vmware to communicate between them.

That said, if konqueror CAN use 32-bit plugins, that would be phenominal. I'm just not holding my breath.


You assumtions about interoperating 32-bit and 64-bit libraries are both correct and incorrect. This subject has be covered in length in other places. There are a 2 major methods by which to write 32-bit libraries that call 64-bit ones. One is called thunking, I forget what the other is. Don't believe me? Go check out the nVidia OpenGL drivers. A few version back they added 32-bit support. How do you think they did that hrrrm? Its just not QUITE as straight forward as simply loading the library, meaning yes, there is a bit more work involved.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Sat Aug 14, 2004 8:42 pm    Post subject: Reply with quote

secondshadow wrote:
There are a 2 major methods by which to write 32-bit libraries that call 64-bit ones. One is called thunking, I forget what the other is. Don't believe me? Go check out the nVidia OpenGL drivers. A few version back they added 32-bit support. How do you think they did that hrrrm? Its just not QUITE as straight forward as simply loading the library, meaning yes, there is a bit more work involved.
I never said that it wasn't possible to interface 32-bit libraries with 64-bit ones, just that they're not interoperable. And if a konqueror developer has invented a universal thunk for 32-bit libraries, they should rip it out of konqueror and put it in the kernel.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Lv
Retired Dev
Retired Dev


Joined: 22 Jun 2003
Posts: 352

PostPosted: Mon Aug 16, 2004 6:02 am    Post subject: Reply with quote

you can use 32bit plugins with konqueror on suse, i just dont know how they do it. i'd really like to know... i think konq might have a seperate plugin handler that isnt linked into the browser proper, and results are mapped onto a window in the browser... regardless, something somewhere is compiled 32bit so it's not like they do it with magic. and right now multilib support in gentoo is a tad iffy...

patches are more than welcome..
Back to top
View user's profile Send private message
LaNcom
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 254
Location: Erfurt, Germany

PostPosted: Mon Aug 16, 2004 3:05 pm    Post subject: Reply with quote

KDE uses nspluginviewer to access plugins. I guess that nspluginviewer uses DCOP to communicate with Konqui, and maybe DCOP works between 32bit and 64bit apps. So, maybe SUSE just uses a 32bit nspluginviewer on 64bit KDE, this should do the trick. Did someone actually try that out?

@secondshadow
The other way is 'system call emulation', I think...
Back to top
View user's profile Send private message
Titeuf
l33t
l33t


Joined: 19 Jun 2004
Posts: 759
Location: Middelkerke, Belgium

PostPosted: Mon Aug 16, 2004 3:15 pm    Post subject: Reply with quote

Well, tnx for the help, but I'm almost done installing 32bit gentoo :wink:
Back to top
View user's profile Send private message
ahorn
Guru
Guru


Joined: 01 Nov 2004
Posts: 366
Location: Ol' europe

PostPosted: Fri Jan 21, 2005 8:46 pm    Post subject: Reply with quote

if u do
Code:
emerge mozilla-fix (not the bin)
firefox is compiled 64-bit, i'm right? but flash still works with this 64bit firefox. but same problem here with konqueror :-(
_________________
Too many connections. Please try again later.
Back to top
View user's profile Send private message
LaNcom
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 254
Location: Erfurt, Germany

PostPosted: Sat Jan 22, 2005 12:50 am    Post subject: Reply with quote

Revived a pretty old thread, didn't ya? :-)

Well, look here:
https://forums.gentoo.org/viewtopic.php?t=216959
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum