You are not logged in.

#1 2007-12-25 18:22:36

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

32bit-swiftfox problem

Hello,

I've installed 32bit version of swiftfox from AUR (http://aur.archlinux.org/packages.php?d … s=0&SeB=nd). Thanks to that I can use 32bit versions of flash and Sun's java plugin.

I've got problem with 32-bit version of GTK2. Whenever I open "Open File", "Save file" or similar dialog, there are squares instead of letters. When I open gtk-demo (64-bit version), fonts are set correctly.

Thanks in advance. smile

Offline

#2 2007-12-26 02:25:00

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

Glad you're finding a use for that package!  What I did is type "about:config" in the URL window and find the entry 'ui.allow_platform_file_picker'.  Set that value to FALSE.  After that you should get a working file dialog window....

Good luck!

Offline

#3 2007-12-27 10:15:30

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: 32bit-swiftfox problem

Wow, that works smile

Thanks for your help and for your package. It really makes live easier smile

Offline

#4 2007-12-30 22:33:16

Aaron
Member
From: PA, USA
Registered: 2007-12-19
Posts: 108
Website

Re: 32bit-swiftfox problem

Hello, I am having the same issue, however the solution by Janax does not seem to work for me.

Are there any other possible solutions?

Thanks!

Offline

#5 2007-12-31 13:57:50

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: 32bit-swiftfox problem

There is still similar problem with flash. On some pages there are missing texts (for example http://video.reverse-engineering.net/di … um=3&pos=0 ) and when i right-click on any flash window I see squares not letters.

Last edited by Ambi (2007-12-31 14:00:33)

Offline

#6 2008-01-05 04:50:47

Elvish Legion
Member
Registered: 2007-12-29
Posts: 53

Re: 32bit-swiftfox problem

I've got a nifty error I've never seen before


[jduvall@arch ~]$ swiftfox
/opt/swiftfox/swiftfox-bin: error while loading shared libraries: libXt.so.6: wrong ELF class: ELFCLASS64


So if I understand...libXt.so.6 is....is....
I dunno its not right some how?

I installed by

makepkg -i got a list of dependices
installed those libs and now I get that.

Any suggestions?

Offline

#7 2008-01-09 00:11:14

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: 32bit-swiftfox problem

community/lib32-libxt ?

Offline

#8 2008-01-09 14:12:44

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

I've been traveling, so sorry about the late response.  I believe the weird font problem actually stems from the pango library configuration, but I haven't been able to find where the lib32pango config needs to be changed to fix it yet.  At one point I had made a PKGBUILD to try out the Firefox3 beta, but everything (menus, displayed webpages) was showing up as rectangles instead of text.  I plan on researching it some more when I get time, but time has been preciously short for a while now...

I believe that Ambi is right as far as the ELFCLASS64 message goes - anytime you see that, you need the equivalent 'lib32' package.

Offline

#9 2008-01-09 19:43:23

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

Found something to try (run as root):

# cp -p /opt/lib32/config/pango/pango.modules /opt/lib32/config/pango/pango.modules.orig
# pango-querymodules >/opt/lib32/config/pango/pango.modules

Hopefully that will fix things.  I'll try it out myself as soon as I can.

Offline

#10 2008-01-09 19:51:26

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: 32bit-swiftfox problem

Unfortunately it is not changing anything for me.

Offline

#11 2008-01-29 09:32:10

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: 32bit-swiftfox problem

Sorry, I did not see this port earlier.
I have the same problem, see my post in "desktop environment":
http://bbs.archlinux.org/viewtopic.php?id=43047

Offline

#12 2008-02-06 17:00:05

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

All,

I just uploaded a new version of the bin32-swiftfox-* packages which will hopefully fix the problem.  I found this post and made the additions/changes necessary in the PKGBUILD.  I hope it helps!

Offline

#13 2008-02-25 18:56:08

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: 32bit-swiftfox problem

Sorry for late response, but I had not discover new version earlier smile

All the problems I discovered were solved in new PKGBUILD. Gratz Janax and thanks for support big_smile

You have my vote forever wink

Offline

#14 2008-02-25 23:44:51

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 32bit-swiftfox problem

So this 32bit swiftfox doesnt require a chroot? Currently I have:
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)

And I use those for frostwire and i'll need it for openoffice and others when I get around to installing them. So for this 32bit swiftbox, im gathering I need this for my core2duo: http://aur.archlinux.org/packages.php?ID=11895 and this was mentioned by janax in another thread: http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

I only need this for a web java plugin as nspluginwrapper is working for flash with 64bit firefox. I just want to know if I need to install anything else other than those two I mentioned above and if I can still have java jre 1.6 64bit that I have now and use it for frostwire, openoffice etc. while using swiftfox 32bit as well.

thanks

Last edited by ST.x (2008-02-25 23:45:41)

Offline

#15 2008-02-26 04:00:43

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

So this 32bit swiftfox doesnt require a chroot?

That's correct.


Well, if you're going to use the 32-bit Firefox, then I'd just use it instead of having a separate 64-bit version.  Having to switch browsers for different sites (Java/Flash) may work for you, but I really wanted a single solution - hence why I made the 32-bit packages.  All you have to do is link the 'libflashplayer.so' file in the '/opt/mozilla/lib/plugins' directory like so:

$ ls -l /opt/mozilla/lib/plugins
total 0
lrwxrwxrwx 1 root root 36 2008-02-21 09:59 libflashplayer.so -> /opt/lib32/usr/lib/libflashplayer.so
lrwxrwxrwx 1 root root 52 2008-02-20 13:40 libjavaplugin_oji.so -> /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so

As you can see, I also have the link to the java plugin there as well.  That gives me access to everything I want to visit on the web...

You mentioned the 32-bit JDK package. I use it as my plugin for the browser and also as my normal Java platform.  I really just use Java WebStart most of the time, and the 64-bit JDK doesn't include it at all.  I haven't had any problems using it with OpenOffice - and I think I even had Eclipse set up at one point, but I didn't have to code in Java after all and haven't had Eclipse on my system for a few months now... anyway, I think that the 32-bit JDK would work well enough for you (and actually runs faster because of the optimizations for "runtime" capabilities that Sun has done on the 32-bit version(s) only).

Hope this info helps!

Offline

#16 2008-02-26 08:07:54

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 32bit-swiftfox problem

Janax wrote:

So this 32bit swiftfox doesnt require a chroot?

That's correct.


Well, if you're going to use the 32-bit Firefox, then I'd just use it instead of having a separate 64-bit version.  Having to switch browsers for different sites (Java/Flash) may work for you, but I really wanted a single solution - hence why I made the 32-bit packages.  All you have to do is link the 'libflashplayer.so' file in the '/opt/mozilla/lib/plugins' directory like so:

$ ls -l /opt/mozilla/lib/plugins
total 0
lrwxrwxrwx 1 root root 36 2008-02-21 09:59 libflashplayer.so -> /opt/lib32/usr/lib/libflashplayer.so
lrwxrwxrwx 1 root root 52 2008-02-20 13:40 libjavaplugin_oji.so -> /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so

As you can see, I also have the link to the java plugin there as well.  That gives me access to everything I want to visit on the web...

You mentioned the 32-bit JDK package. I use it as my plugin for the browser and also as my normal Java platform.  I really just use Java WebStart most of the time, and the 64-bit JDK doesn't include it at all.  I haven't had any problems using it with OpenOffice - and I think I even had Eclipse set up at one point, but I didn't have to code in Java after all and haven't had Eclipse on my system for a few months now... anyway, I think that the 32-bit JDK would work well enough for you (and actually runs faster because of the optimizations for "runtime" capabilities that Sun has done on the 32-bit version(s) only).

Hope this info helps!

Okay thanks for the reply, it sounds good. So in order to use that java package(32bit JDK) should I just remove the 64bit jre I have now or is it possible to have the two? Im only going to be needing swiftwfox when I need a certain site for uni which needs the java plugin and im going to use the 64bit firefox for flash and normal use. Its just that i've been through the blackdown(didn't even install properly I think), gcc-gcj which installed but failed to load the java sites.

Offline

#17 2008-02-26 13:19:17

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

Well I think it will force you to remove the 64-bit version.  In the PKGBUILD it conflicts with 'jdk' and 'jre', but you could edit that and try to keep both versions around.  However, it looks like I originally set it up so that I wouldn't need the 64-bit version at all.  Seeing it now, I can definitely state that I had Eclipse running on the 32-bit version some time ago, if that's a concern to you.

Offline

#18 2008-02-26 18:14:49

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 32bit-swiftfox problem

Janax wrote:

Well I think it will force you to remove the 64-bit version.  In the PKGBUILD it conflicts with 'jdk' and 'jre', but you could edit that and try to keep both versions around.  However, it looks like I originally set it up so that I wouldn't need the 64-bit version at all.  Seeing it now, I can definitely state that I had Eclipse running on the 32-bit version some time ago, if that's a concern to you.

okay i've removed the 64bit jre and installed the 32bit JDK and also the 32bit swiftfox.
When I do:

ls -l /opt/mozilla/lib/plugins
total 84
-rwxr-xr-x 1 root root 78152 2008-02-23 19:39 npwrapper.so

Am I supposed to make a dummy libjavaplugin_oji.so and link it like:

ln -s /opt/mozilla/lib/plugins/libjavaplugin_oji.so /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so

Also I found that I get missing dependency for bootchart : j2re, can I use this 32bit jdk for bootchart as well somehow? And I got rid of frostwire because theres only an old version in unstable and installed limewire, but I get /usr/bin/limewire: line 5: /opt/java/jre/bin/java: No such file or directory, so this is obviously because I removed the 64bit jre.

Offline

#19 2008-02-26 19:40:13

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

To link something, the command is: ln -s <pointed_to file> <link>.  So this means you should use the following command:

# ln -s /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so /opt/mozilla/lib/plugins/

I've never used 'bootchart' or 'limewire'.  Just for grins, I just went to the Limewire site and downloaded the '.zip' file.  After extracting, I ran the 'runLime.sh' file, and saw the initialization dialog pop up.  So it seems to work for me...

I expect that the problem you're having is because of your profile.  If you log out and back in (or source /etc/profile), then your environment should get updated to point to the 32-bit JDK.  You can check by:

$ echo $JAVA_HOME
/opt/java32

Good luck!

Offline

#20 2008-02-26 20:36:45

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 32bit-swiftfox problem

Janax wrote:

To link something, the command is: ln -s <pointed_to file> <link>.  So this means you should use the following command:

# ln -s /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so /opt/mozilla/lib/plugins/

I've never used 'bootchart' or 'limewire'.  Just for grins, I just went to the Limewire site and downloaded the '.zip' file.  After extracting, I ran the 'runLime.sh' file, and saw the initialization dialog pop up.  So it seems to work for me...

I expect that the problem you're having is because of your profile.  If you log out and back in (or source /etc/profile), then your environment should get updated to point to the 32-bit JDK.  You can check by:

$ echo $JAVA_HOME
/opt/java32

Good luck!

Okay I have java applets working in swiftfox now, although my uni site called 'e-learning' seems to be not working at the moment because apparently they require Java 1.5.0_07 exactly otherwise their site wont work. Go here: http://vista.elearning.unsw.edu.au/webc … ge.dowebct and click Log In and see if it gets to the next page for you. edit: okay I can get to the next page now but when i put my details in and tried to login, swiftfox just froze.

Mmm I used a similar method(installing 32bit java i think) from a member on ubuntu forums to get this working on my gutsy64 laptop. Oh and don't worry about limewire, frostwire seems to be fine actually. And bootchart is working fine despite the message about j2re smile

Also did you do anything to get swiftfox to use the correct gtk theme and such, because currently its using some generic one instead of my current one which works on 64bit firefox.

thanks for the help.

Last edited by ST.x (2008-02-26 20:51:14)

Offline

#21 2008-02-26 21:36:23

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 32bit-swiftfox problem

Another thing i;ve noticed is that the 64bit firefox doesnt wanna work with flash sites now(previously done using):

aur/nspluginwrapper-flash 9.0.115.0-1 [installed]
32bit browserplugins for arch64 and nspluginwrapper - flash9-plugin

aur/nspluginwrapper-ubuntu 0.9.91.5-2 [installed]

(used -ubuntu one because it apparently fixed some smp crash)

Now flash only works in swiftfox, but when I do:

ls -l /opt/mozilla/lib/plugins
total 84
lrwxrwxrwx 1 root root    52 2008-02-27 07:07 libjavaplugin_oji.so -> /opt/java32/jre/plugin/i386/ns7/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 78152 2008-02-23 19:39 npwrapper.so

So it still works without creating that symmlink you mentioned. Okay then im prepared to use swiftfox permanently if I can get it use the proper gtk. I just read on your package page for swiftfox:

This package is for x86_64 users wishing to run a 32-bit browser. This allows you to run 32-bit plugins (like java and flash) natively without nspluginwrapper - which doesn't always work

Ohkay thats good so ill remove the those two nspluginwrapper packages i've installed as well as 64bit firefox. Now am I supposed to install some 32bit flash package similar to the lib32jdk for java and create the appropriate symlink because /opt/lib32/usr/lib/libflashplayer.so doesnt exist at the moment.

Offline

#22 2008-02-27 13:43:58

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: 32bit-swiftfox problem

OK - I created a new package 'lib32-flashplugin' on AUR.  It should try to link the plugin automatically if the /opt/mozilla/lib/plugins/ directory is present (i.e. the browser is already installed).  Hope it helps!

Offline

#23 2008-02-27 15:32:42

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: 32bit-swiftfox problem

hmm the thing is I only need swiftfox because I wanted the javaplugin to access a uni site which is pedantic about the java versions it works with like I mentioned before. So I guess i'll have to go the chroot method now.

Offline

Board footer

Powered by FluxBB