Page 3 of 7

Posted: Mon 11 May 2009, 15:42
by ttuuxxx
Hey mark another idea might be webkit+Qt once you get this browser fully functional, That would be handy to have Qt in puppy by default, probably would be smaller than Seamonkey by a little bit.
ttuuxxx

Posted: Mon 11 May 2009, 15:47
by MU
Sully,

I just installed puppy-4.00-k2.6.21.7-seamonkey.iso in virtualbox.
Installed Pictureviewer 0.3, PuppyBrowser 0.2, libgee-2008.
And it works :shock:

So what might be wrong?
Please rename these two files in /root/:
.gtk-bookmarks
.recently-used.xbel

These are hiddn configfiles from Gtk.
They sometimes prevent applications to start properly.

Does that help?
Does the pictureviewer work?

---------------------------
ttuuxx, yes, I first want to solve the tabbed browsing issue, then look at webkit.
Here is examplecode:
http://code.valaide.org/node?page=2
Mark

Posted: Mon 11 May 2009, 16:13
by sullysat
MU wrote: I just installed puppy-4.00-k2.6.21.7-seamonkey.iso in virtualbox.
Installed Pictureviewer 0.3, PuppyBrowser 0.2, libgee-2008.
And it works

So what might be wrong?
Please rename these two files in /root/:
.gtk-bookmarks
.recently-used.xbel
I renamed the files with no effect.

I'm running Seamonkey 1.1.14.
MU wrote: Does that help?
Does the pictureviewer work?
Downloaded and installed Pictureviewer. That works fine.

I love a good mystery!

Sully

Posted: Mon 11 May 2009, 16:26
by MU
Sully,
I see two possible issues.

1.) you installed somethink, that "broke" the old Seamonkey setup, like a different version.
Or another program. A broken Gtk theme?

2.) what makes me wonder is, that gdb is not found.
Puppy 400 used the erratic "unionfs" driver.
It had a bad effect, it corrupted files, and SFS were not loaded correctly.

Please boot Puppy with the option:

(from CD, by typing at the bootscreen):
puppy layerfs=aufs

(from Grub):
add in the end of the line, that loads the kernel:
layerfs=aufs

If this does not help, it should be something with the mozilla libraries.
You could verify it by running Puppy without savefile, from CD with the bootoption:
puppy pfix=ram

Mark

Posted: Mon 11 May 2009, 16:30
by MU
Sully,
I'm running Seamonkey 1.1.14.
ok, but the inbuilt of Puppy 4.00 is 1.1.8.

Where did you get 1.1.14?
Did you install it with petget?
I'd like to reproduce, what changed on your system.

Mark

Posted: Mon 11 May 2009, 16:42
by MU
I installed now this pet:
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... ilnews.pet (right-click to download)

Just installed it, did not remove something before.
Puppybrowser still works :?:
Mark

Posted: Mon 11 May 2009, 22:01
by headfound
off topic!

Page 3 of this thread tries to open a page at puppylinux.asia !
Anyone know why?

Posted: Mon 11 May 2009, 22:09
by MU
headfound wrote:off topic!

Page 3 of this thread tries to open a page at puppylinux.asia !
Anyone know why?
yes, it is the signature of Bigbass. It includes a picture.
Puppyasia is password protected now, so the login pops up, when the page tries to display the image.

Code: Select all

<span class="postbody"><br />_________________<br />Slaxer_Pup  4.12     slackware hardware detecting kernel  with a puppy 412 body
<br />
<img src="http://puppylinux.asia/tpp/big_bass/Slackware_Packages/slaxer.png" border="0" alt="" /><br /></span></td>
Mark

Posted: Mon 11 May 2009, 22:13
by big_bass
oh no
I ll fix that now

guilty as charged
:lol:

Posted: Mon 11 May 2009, 22:29
by headfound
Thanks guys, had me worried for a minute!

On topic -
Its a great little browser, works perfectly in boxpup :)

Posted: Tue 12 May 2009, 03:11
by PupMike
I'm getting a segfault also. I have SeaMonkey 1.1.6 installed.

Here is the output from gdb:

Code: Select all

Starting program: /usr/local/PuppyBrowser/PuppyBrowser 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
load error
-1

Program received signal SIGSEGV, Segmentation fault.
0xb78b8b2d in EmbedPrivate::Realize ()
   from /usr/local/seamonkey/libgtkembedmoz.so
(gdb) backtrace
#0  0xb78b8b2d in EmbedPrivate::Realize ()
   from /usr/local/seamonkey/libgtkembedmoz.so
#1  0xb78b695f in ?? () from /usr/local/seamonkey/libgtkembedmoz.so
#2  0x080f3d10 in ?? ()
#3  0xbf8da24c in ?? ()
#4  0x00000000 in ?? ()

Posted: Tue 12 May 2009, 03:39
by sullysat
MU wrote:Sully,
I'm running Seamonkey 1.1.14.
ok, but the inbuilt of Puppy 4.00 is 1.1.8.

Where did you get 1.1.14?
Did you install it with petget?
I'd like to reproduce, what changed on your system.

Mark
I used seamonkey-1.1.14.pet
http://www.murga-linux.com/puppy/viewtopic.php?t=29295

I added the line you recommended to my grub file. Nothing changed. Still doesn't work.

At this point, it appears that I lost something when I upgraded SeaMonkey, correct? How do we sort that out?

Posted: Tue 12 May 2009, 05:44
by MU
Sully, and PupMike,

please look, if you have a file /usr/lib/libgtkmozembed.so.

If yes, delete it.
The browser crashes, if it is a different version as for example:
/usr/lib/seamonkey/libgtkmozembed.so.

I had /usr/lib/libgtkmozembed.so in /usr/lib/ (copied from 1.1.8), as it was required to compile the browser.
When I installed the same seamonkey 1.1.14 as Sullysat, puppybrowser crashed.
But to run it, the version, that comes with your newest nstalled brower must be available.
Using an older version in /usr/lib/ causes a crash.

Maybe you must run "ldconfig" or reboot, after you deleted it.
Mark

Posted: Tue 12 May 2009, 06:16
by MU
PupMike,
#1 0xb78b695f in ?? () from /usr/local/seamonkey/libgtkembedmoz.so
That (/usr/local/) is a different location than usual.
Did you compile seamonkey on your own?
Do you have a downloadlink of your version?

It might be required, to recompile Puppybrowser for your special version.
Mark

Posted: Tue 12 May 2009, 06:39
by sullysat
Mark,

I don't have that lib file anywhere on my system.

Sully

Posted: Tue 12 May 2009, 13:29
by PupMike
Hi Mark,

I updated Seamonkey using the standard Seamonkey update on their site. I tried recompiling PuppyBrowser with no difference. I'm starting to think there is a version conflict with the newer releases of Seamonkey. I made up a small C program to test the embeded moz control and I get the same seg fault. i did notice I got a linker warning with the C program that libstdc++.so.5 needed by gtkembedmoz may conflict with libstdc++.so.6. Maybe I need to get the source to gtkembedmoz and try compiling it here?

Thanks,
Mike

Posted: Tue 12 May 2009, 15:19
by MU
Sully,

I'm running out of ideas.
Please post the result of the two commands:

ldd PuppyBrowser | grep moz
echo $MOZILLA_FIVE_HOME


You also could do, what I describe to Mike now:

Mike,

I just used the normal 1.1.16 installer from the mozilla website.
Puppybrowser works by adding thre lines to "/usr/local/PuppyBrowser/puppy-browser", so iit looks like this:

Code: Select all

#!/bin/bash

export PATH=/usr/local/seamonkey:$PATH
export LD_LIBRARY_PATH=/usr/local/seamonkey:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/local/seamonkey

cd /usr/local/PuppyBrowser
./PuppyBrowser "$@" &
But I just tried it in newyearspup, must test Puppy 4.x, too.
*edit*... in 4.00, this works, too.

Mark

Posted: Tue 12 May 2009, 15:57
by sullysat
Yes! It opened! Here's what I did...
MU wrote:Sully,

I'm running out of ideas.
Please post the result of the two commands:

ldd PuppyBrowser | grep moz
echo $MOZILLA_FIVE_HOME
# ldd PuppyBrowser | grep moz
ldd: ./PuppyBrowser: No such file or directory
# echo $MOZILLA_FIVE_HOME
/usr/lib/seamonkey

So then I went in and edited as you show below, but with the path that I got when I ran the commands above.
MU wrote: You also could do, what I describe to Mike now:

Mike,

I just used the normal 1.1.16 installer from the mozilla website.
Puppybrowser works by adding thre lines to "/usr/local/PuppyBrowser/puppy-browser", so iit looks like this:

Code: Select all

#!/bin/bash

export PATH=/usr/local/seamonkey:$PATH
export LD_LIBRARY_PATH=/usr/local/seamonkey:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/local/seamonkey

cd /usr/local/PuppyBrowser
./PuppyBrowser "$@" &
But I just tried it in newyearspup, must test Puppy 4.x, too.
*edit*... in 4.00, this works, too.
My puppy-browser file looks like this:

#!/bin/bash

export PATH=/usr/lib/seamonkey:$PATH
export LD_LIBRARY_PATH=/usr/lib/seamonkey:$LD_LIBRARY_PATH
export MOZILLA_FIVE_HOME=/usr/lib/seamonkey

cd /usr/local/PuppyBrowser
./PuppyBrowser "$@" &

It came up and looks good! Thanks Mark! I'll play with it later and let you know if there's anything else going on, but it looks like this took care of it.

I REALLY appreciate all the help and hope that it helped you with the product as well.. its Very cool looking!

Sully

Posted: Tue 12 May 2009, 16:22
by MU
fine :D
# ldd PuppyBrowser | grep moz
ldd: ./PuppyBrowser: No such file or directory
Sorry, should be:
cd /usr/local/PuppyBrowser
ldd PuppyBrowser | grep moz


----------------
Ok, so the three lines solved it.
I think, somewhere in the folders in your PATH (executables) or LD_LIBRARY_PATH (libs) is a incompatible version of a library.

Maybe a different libmozjs.so, that iis alsio used by gxine for example.

The new lines force PuppyBrowser to ignore those libraries (whereever they are located), and instead use those in /usr/lib/seamonkey/ with highest priority.

So dependencies are consistent now, great :)

I will continue to try tabs and webkit, but might not have time for it before weekend.

Mark

Posted: Tue 12 May 2009, 22:54
by PupMike
Thanks Mark! It was the MOZILLA_FIVE_HOME that I never did set. I had already fixed the other paths for the new install. Who would of thought :)

I'll see if I can help with the tab issue now. Won't be till later though.

Mike