1. wxEuphoria: Debian and wxeu.so

I got this message from someone trying to run dmak. (again)

[quote]

I have Debian Linux, I downloaded wxeu.so-9.tar.gz  and installed wxeu.so in my
/usr/lib and ran dmak and I got the following message:

The wxEuphoria Library "wxeu.so" could not be opened
Press any key to exit.

The permissions are read by all...

[/quote]

wxeu.so is in the right place. It is not a permissions problem.

Suggestion for wxEuphoria:
Would it be possible to put more information in the error message? I mean
instead of only "could not be opened" could it tell them what to do about it.
Maybe a list of possible reasons why it could not be opened. Maybe if they are
running Debian do this, if they are running Ubuntu do that, etc.

new topic     » topic index » view message » categorize

2. Re: wxEuphoria: Debian and wxeu.so

Jerry Story wrote:
> 
> I got this message from someone trying to run dmak. (again)
> 
> [quote]
> 
> I have Debian Linux, I downloaded wxeu.so-9.tar.gz  and installed wxeu.so in
> my /usr/lib and ran dmak and I got the following message:
> 
> The wxEuphoria Library "wxeu.so" could not be opened
> Press any key to exit.
> 
> The permissions are read by all...
> 
> [/quote]
> 
> wxeu.so is in the right place. It is not a permissions problem.
> 
> Suggestion for wxEuphoria:
> Would it be possible to put more information in the error message? I mean
> instead
> of only "could not be opened" could it tell them what to do about it. Maybe
> a list of possible reasons why it could not be opened. Maybe if they are
> running
> Debian do this, if they are running Ubuntu do that, etc.


One of my goals is to give a better choice of binaries.  And you're right,
there should be some additional information.  I'll work on that.  If anyone
has recompiled on some distro, I'd be happy to put it up on the site.

In the mean time, I believe the immediate thing to try would be to run

 $ ldd /usr/lib/wxeu.so

That should identify the problem.  On some systems, adding a symlink for
an older library might work, though it's not really the best solution.

Matt Lewis

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

3. Re: wxEuphoria: Debian and wxeu.so

Jerry Story wrote:
> 
> Suggestion for wxEuphoria:
> Would it be possible to put more information in the error message? I mean
> instead
> of only "could not be opened" could it tell them what to do about it. Maybe
> a list of possible reasons why it could not be opened. Maybe if they are
> running
> Debian do this, if they are running Ubuntu do that, etc.

I've compiled a new wxeu.so on a Fedora Core 5 machine, which should 
probably work better for people with newer installations.  It's on 
sourceforge (although the home page does not reflect it yet):

http://prdownloads.sourceforge.net/wxeuphoria/wxeu-fc5-so-9.tar.gz?download

Matt Lewis

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

4. Re: wxEuphoria: Debian and wxeu.so

Jerry Story wrote:
> 
> I got this message from someone trying to run dmak. (again)
> 
> [quote]
> 
> I have Debian Linux, I downloaded wxeu.so-9.tar.gz  and installed wxeu.so in
> my /usr/lib and ran dmak and I got the following message:
> 
> The wxEuphoria Library "wxeu.so" could not be opened
> Press any key to exit.
> 
> The permissions are read by all...
> 
> [/quote]
> 
> wxeu.so is in the right place. It is not a permissions problem.
> 
> Suggestion for wxEuphoria:
> Would it be possible to put more information in the error message? I mean
> instead
> of only "could not be opened" could it tell them what to do about it. Maybe
> a list of possible reasons why it could not be opened. Maybe if they are
> running
> Debian do this, if they are running Ubuntu do that, etc.


I had the same problem, on Fedora Core 5 (could not be opened) when i tried to
run the bench_draw.exw demo and some other programs. I tried the latest wxeu.so,
and it starts to load, but then i get the error:

   /home/ryanj/euphoria/include/wxEuphoria.e:1028 
   A machine-level exception occurred during execution of this statement

which is the line:
wxPRINT_POSTSCRIPT = peek4s( define_c_var( wxWin,
   "wxPRINT_POSTSCRIPT" )),


So, if i comment out that line, it gets stuck at the next statement:

   /home/ryanj/euphoria/include/wxEuphoria.e:1031
   A machine-level exception occurred during execution of this statement

Which is:

wxPRINT_WINDOWS = peek4s( define_c_var( wxWin, "wxPRINT_WINDOWS"
   )),


If i comment out that line too, it makes it as far as wxMain(), but still
crashes:

   /home/ryanj/euphoria/include/cplusplus.e:12 in procedure call_func()
   A machine-level exception occurred during execution of this statement

... called from /home/ryanj/euphoria/include/cplusplus.e:38 in function
   call_member()

... called from /home/ryanj/euphoria/include/wxEuphoria.e:8750 in procedure
   wxMain()

   ... called from ./bench_draw.exw:168

--> See ex.err

I also noticed it flash something just before crashing:

Gtk-WARNING **: libgdk_pixbuf.so.2: cannot open shared object file: No such
   file or directory

I don't know what's going on there...any ideas?

~Ryan W. Johnson

Fluid Application Environment
http://www.fluidae.com/

[cool quote here, if i ever think of one...]

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

5. Re: wxEuphoria: Debian and wxeu.so

On Fri, 2006-10-13 at 14:46 -0700, Ryan W. Johnson wrote:

> I also noticed it flash something just before crashing:
> 
>    Gtk-WARNING **: libgdk_pixbuf.so.2: cannot open shared object file: No such
>    file or directory
> 
> I don't know what's going on there...any ideas?
> 
> ~Ryan W. Johnson

Hello Ryan,

Have you used "# updatedb && locate libgdk_pixbuf.so.2" ??
if not, on Fedora try using "# yum provides libgdk_pixbuf.so.2"
and install the appropriate rpm that provides this..

I'm to assuming you could also re-compile wxeu.so, FC5 uses gcc 4.1.0
while on my box I run Rawhide "FC6" which has gcc 4.1.1-30 as of today.

good luck!
Euman

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

6. Re: wxEuphoria: Debian and wxeu.so

Euman wrote:
> 
> On Fri, 2006-10-13 at 14:46 -0700, Ryan W. Johnson wrote:
> > I also noticed it flash something just before crashing:
> >    Gtk-WARNING **: libgdk_pixbuf.so.2: cannot open shared object file: No
> >    such
> file or directory</font></i>
> > I don't know what's going on there...any ideas?
> > ~Ryan W. Johnson
> Hello Ryan,
> 
> Have you used "# updatedb && locate libgdk_pixbuf.so.2" ??
> if not, on Fedora try using "# yum provides libgdk_pixbuf.so.2"
> and install the appropriate rpm that provides this..
> 
> I'm to assuming you could also re-compile wxeu.so, FC5 uses gcc 4.1.0
> while on my box I run Rawhide "FC6" which has gcc 4.1.1-30 as of today.

Fedora, Ubuntu, Red Hat, oh my!

Stop using some flavor of Linux that is ultimately going to be incompatible
with other Linuxes and get a real OS: FreeBSD.

:)

-=ck
"Programming in a state of Euphoria."
http://www.cklester.com/euphoria/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu