1. Alternate .so for wxEuphoria

Mario has compiled wxeu.so on his box, and it has apparently solved the
crashes for him (I believe he's using gcc-3.3.4).  I've uploaded this
file to the wxEuphoria web page.  You can download it at:

http://wxeuphoria.sourceforge.net/wxeu-linux-060-suse.tar.gz

If you've been seeing the crashes (Ken!), I'd ask you to please download
this version and see if it solves the problem.

Matt Lewis

new topic     » topic index » view message » categorize

2. Re: Alternate .so for wxEuphoria

Matt Lewis wrote:
> Mario has compiled wxeu.so on his box, and it has apparently solved the
> crashes for him (I believe he's using gcc-3.3.4).  I've uploaded this
> file to the wxEuphoria web page.  You can download it at:
> 
> <a
> href="http://wxeuphoria.sourceforge.net/wxeu-linux-060-suse.tar.gz">http://wxeuphoria.sourceforge.net/wxeu-linux-060-suse.tar.gz</a>
> 
> If you've been seeing the crashes (Ken!), I'd ask you to please download
> this version and see if it solves the problem.

When I replace wxeu.so with Mario's version, I get:

  The wxEuphoria library "/home/rob/euphoria/bin/wxeu.so" could not be opened

both from translate/compiled and interpreted programs.

I have gcc version 3.3.2

With the original wxeu.so, I can run the demos with exu, but
not translated/compiled.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Alternate .so for wxEuphoria

Robert Craig wrote:
> 
> Matt Lewis wrote:
> > Mario has compiled wxeu.so on his box, and it has apparently solved the
> > crashes for him (I believe he's using gcc-3.3.4).  I've uploaded this
> > file to the wxEuphoria web page.  You can download it at:
> > 
> > <a
> > href="http://wxeuphoria.sourceforge.net/wxeu-linux-060-suse.tar.gz">http://wxeuphoria.sourceforge.net/wxeu-linux-060-suse.tar.gz</a>
> > 
> > If you've been seeing the crashes (Ken!), I'd ask you to please download
> > this version and see if it solves the problem.
> 
> When I replace wxeu.so with Mario's version, I get:
> 
>   The wxEuphoria library "/home/rob/euphoria/bin/wxeu.so" could not be opened
> 
> both from translate/compiled and interpreted programs.
> 
> I have gcc version 3.3.2
> 
> With the original wxeu.so, I can run the demos with exu, but
> not translated/compiled.
> 
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
> 


Under Mandrake 10.1, gcc 4.0, using Mario's wxeu.so I can now
run the wxIDE compiled/translated/executable, source file with exu,
and the *.il file perfectly from Gnome, XFCE, and KDE.  :) :) :)

Remember that before I could run the compiled/translated/executable,
but only under XFCE.

Ken Rhodes
100% Microsoft Free!

new topic     » goto parent     » topic index » view message » categorize

4. Re: Alternate .so for wxEuphoria

Thanks for the feedback on my compiled SO File.  Kennith, I'm glad you got it
working on your box.  And your problems with making it work on your box Robert.

It brings up several intresting questions that I'm feeling compelled to ask. If
both of you could answer these questions, it'd help me out in figuring out why
my version is working for Kennith, and not Robert, and why Matt's version is
causing errors on all three of our systems.

So here comes the questions:

What Linux Distrobution are you using? (I know, Ken is using Mandrake 10.1)
What Versions of GTK do you have installed on your computer? 1.2.x,
2.0.x, or both?
Where does your distro have GTK Installed to, or did you self-install/compile
it yourself to it's default location?

Somehow, I think one of the reasons why my version is failing to open on
Rob's computer, is possibly due to where GTK is installed to, but I need
to be sure, and these questions will help me out.

Mario Steele
http://enchantedblade.trilake.net
Attaining World Dominiation, one byte at a time...

new topic     » goto parent     » topic index » view message » categorize

5. Re: Alternate .so for wxEuphoria

Mario Steele wrote:
> 
> Thanks for the feedback on my compiled SO File.  Kennith, I'm glad you got it
> working on your box.  And your problems with making it work on your box
> Robert.
> 
> It brings up several intresting questions that I'm feeling compelled to ask.
> If
> both of you could answer these questions, it'd help me out in figuring out why
> my version is working for Kennith, and not Robert, and why Matt's version is
> causing errors on all three of our systems.
> 
> So here comes the questions:
> 
> What Linux Distrobution are you using? (I know, Ken is using Mandrake 10.1)
> What Versions of GTK do you have installed on your computer? 1.2.x,
> 2.0.x, or both?

GTK 2.0

> Where does your distro have GTK Installed to, or did you self-install/compile
> it yourself to it's default location?

/etc/gtk-2.0/

> 
> Somehow, I think one of the reasons why my version is failing to open on
> Rob's computer, is possibly due to where GTK is installed to, but I need
> to be sure, and these questions will help me out.
> 
> Mario Steele
> <a
> href="http://enchantedblade.trilake.net">http://enchantedblade.trilake.net</a>
> Attaining World Dominiation, one byte at a time...
> 

Hope this helps.  Thanks for all your efforts.

Ken Rhodes
100% Microsoft Free!

new topic     » goto parent     » topic index » view message » categorize

6. Re: Alternate .so for wxEuphoria

Kenneth Rhodes wrote:
> 
> Mario Steele wrote:
> > 
> > Thanks for the feedback on my compiled SO File.  Kennith, I'm glad you got
> > it
> > working on your box.  And your problems with making it work on your box
> > Robert.
> > 
> > It brings up several intresting questions that I'm feeling compelled to ask.
> > If
> > both of you could answer these questions, it'd help me out in figuring out
> > why
> > my version is working for Kennith, and not Robert, and why Matt's version is
> > causing errors on all three of our systems.
> > 
> > So here comes the questions:
> > 
> > What Linux Distrobution are you using? (I know, Ken is using Mandrake 10.1)
> > What Versions of GTK do you have installed on your computer? 1.2.x,
> > 2.0.x, or both?
> 
> GTK 2.0

Apparently I have GTK and also GTK 2.0
I have Mandrake 10.0, and I'm using KDE 3.2 and gcc 3.3.2

> > Where does your distro have GTK Installed to, or did you
> > self-install/compile
> > it yourself to it's default location?
> 
> /etc/gtk-2.0/

I have that and I also have /usr/lib/gtk and /usr/lib/gtk-2.0 
I didn't compile anything myself.

> > Somehow, I think one of the reasons why my version is failing to open on
> > Rob's computer, is possibly due to where GTK is installed to, but I need
> > to be sure, and these questions will help me out.

I also double-checked the permissions on my euphoria/bin/wxeu.so
They are rwx rwx rwx, i.e. all permissions are "on", so it
would seem that something is failing when the .so is initialized.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

7. Re: Alternate .so for wxEuphoria

The wxeu.so file in question is 5708738 bytes on my disk.
(Just in case there was any corruption, e.g. binary<->text conversion,
 when I downloaded it.)

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

8. Re: Alternate .so for wxEuphoria

Robert Craig wrote:
First Message:
> I also double-checked the permissions on my euphoria/bin/wxeu.so
> They are rwx rwx rwx, i.e. all permissions are "on", so it
> would seem that something is failing when the .so is initialized.

Actually, the permissions aren't as strict as you would think, you only
need read permission on the user, and it will work just fine.

Second Message:
> The wxeu.so file in question is 5708738 bytes on my disk.
> (Just in case there was any corruption, e.g. binary<->text conversion,
>  when I downloaded it.)

That is the correct size, so no corruption has occured.  If you could
Rob, try the following example, to ensure that it's attempting to load
the library, or not:

include dll.e

constant wxeu = open_dll("/home/rob/euphoria/bin/wxeu.so")
? wxeu


Be sure that the path is absolute, and leads to where wxeu.so is actually
stored on your box.  I just need to confirm that wxeu.so is not being
loaded at all.  wxEuphoria.e loads it through several methods, the main,
default one, is through grabbing the EUDIR Enviroment Variable, and
prepending it to /bin/wxeu.so.

Also, you can run a md5 checksum on the wxeu.so file, it should be
'537358fe225fb9488061102b635161fc'
You can run it through the following command "openssl dgst -md5 wxeu.so" if
you have OpenSSL installed on your Linux box.

Let me know of your results Rob, cause I'm still trying to work out some
details, and I want to eliminate any possibility of corruption if possible.

Mario Steele
http://enchantedblade.trilake.net
Attaining World Dominiation, one byte at a time...

new topic     » goto parent     » topic index » view message » categorize

9. Re: Alternate .so for wxEuphoria

Mario Steele wrote:
> Robert Craig wrote:
> First Message:
> > I also double-checked the permissions on my euphoria/bin/wxeu.so
> > They are rwx rwx rwx, i.e. all permissions are "on", so it
> > would seem that something is failing when the .so is initialized.
> 
> Actually, the permissions aren't as strict as you would think, you only
> need read permission on the user, and it will work just fine.

Yes I know, I set full permissions just to be absolutely sure.
 
> Second Message:
> > The wxeu.so file in question is 5708738 bytes on my disk.
> > (Just in case there was any corruption, e.g. binary<->text conversion,
> >  when I downloaded it.)
> 
> That is the correct size, so no corruption has occured.  If you could
> Rob, try the following example, to ensure that it's attempting to load
> the library, or not:
> 
> }}}
<eucode>
> include dll.e
> 
> constant wxeu = open_dll("/home/rob/euphoria/bin/wxeu.so")
> ? wxeu
> </eucode>
{{{

> 
> Be sure that the path is absolute, and leads to where wxeu.so is actually
> stored on your box.  I just need to confirm that wxeu.so is not being
> loaded at all.  wxEuphoria.e loads it through several methods, the main,
> default one, is through grabbing the EUDIR Enviroment Variable, and
> prepending it to /bin/wxeu.so.

I get 0, indicating failure.
 
> Also, you can run a md5 checksum on the wxeu.so file, it should be
> '537358fe225fb9488061102b635161fc'
> You can run it through the following command "openssl dgst -md5 wxeu.so" if
> you have OpenSSL installed on your Linux box.

I have openssl, and the checksum matches exactly.
 
Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

10. Re: Alternate .so for wxEuphoria

Okay, this brings up several intresting things that have come to my attention,
and need to ask a few more questions of Ken, Rob, and Matt.

What I basically need to know, is:

What Host system type do you have?  EG: i386-pc-linux-gnu, i486-pc-linux-gnu,
i686-pc-linux-gnu, etc, etc

Do you have the following libraries installed on your system:
  jpeg reader/decoder
  png reader/decoder
  regex system
  tiff reader/decoder
  zlib compression library

I'm starting to make progress, and if my assumptions are correct, I might
know of two things that may be causing failures on both Matt's system, and
Rob's system, while it works on my system, and Ken's system.

Mario Steele
http://enchantedblade.trilake.net
Attaining World Dominiation, one byte at a time...

new topic     » goto parent     » topic index » view message » categorize

11. Re: Alternate .so for wxEuphoria

Mario Steele wrote:
> Okay, this brings up several intresting things that have come to my attention,
> and need to ask a few more questions of Ken, Rob, and Matt.
> 
> What I basically need to know, is:
> 
> What Host system type do you have?  EG: i386-pc-linux-gnu, i486-pc-linux-gnu,
> i686-pc-linux-gnu, etc, etc

I have a fairly new, 2.66 GHz Intel CPU with 512 MB RAM.
I don't think the details of the CPU could affect whether
a library will load or not.
 
> Do you have the following libraries installed on your system:
>   jpeg reader/decoder
>   png reader/decoder
>   regex system
>   tiff reader/decoder
>   zlib compression library

I don't know. Aren't you loading the same libraries that Matt does?
His version of wxeu.so works fine (interpreted).

Isn't there a Linux command to track which libraries are
loading, or failing to load? I think with gdb you can do it, 
if you recompile everything in debug mode.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

12. Re: Alternate .so for wxEuphoria

Robert Craig wrote:
> I have a fairly new, 2.66 GHz Intel CPU with 512 MB RAM.
> I don't think the details of the CPU could affect whether
> a library will load or not.

Actually, with a compiler, and the CPU, it does matter, cause certian
functions that can be optimized for certian CPU's, it will be, and it'll
cause the library not load on older CPUs.  Same applies for Executables.

> I don't know. Aren't you loading the same libraries that Matt does?
> His version of wxeu.so works fine (interpreted).

I don't know what configure options Matt is using for his compile of
wxeu.so, so I'm using the default ones.

> Isn't there a Linux command to track which libraries are
> loading, or failing to load? I think with gdb you can do it, 
> if you recompile everything in debug mode.

Yes, this I am doing as we speak, it's ./configure --enable-debug_dbg, which
as soon as I confirm that it's compiled properly, I'll upload it for both you
and Ken to run through GDB, to see if we might figure out what is happening.

I suggest that Matt does the same with his compile, so that we may get a
better idea of where it's crashing, with his compile.  If we can keep to 1
compile, it'll be easier to maintain, instead of multiple compiles.  But
if it comes to needing multiple compiles, Matt has allready said that he 
would be willing to do that.

Mario Steele
http://enchantedblade.trilake.net
Attaining World Dominiation, one byte at a time...

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu