1. wxEuphoria in linux

Hi I'm getting an error when I try to use wxeuphoria code. It's just the simple 
window code from c.k.lester's gui book. The first code example:

--------------------------------------------------
include wxEuphoria.e
constant                                                                        
    MenuWin = create( wxFrame,{0,-1, "wxWidgets", -1, -1, -1, -1} ),            
        win = create( wxPanel, {MenuWin})                                       
        wxMain( MenuWin )                        

--------------------------------------------------

Well I try to run it and I get this error msg.

--------------------------------------------------
>/home/rave/dev/euphoria/wxEuphoria/wxEuphoria.e:1028
>A machine-level exception occurred during execution of this statement 

>--> See ex.err 

>Warning: local constant win in dodo.exu is not used
--------------------------------------------------

I've wxEuphoria in my EUINC and wxeu.so in /usr/lib so I don't know what's up.
I've tried both wxeu.so from RH to fedora. The only thing I can think of is
if I compile it myself from the source. I really don't want to do this. I know
next to nothing on compiling this stuff. Plus it keeps freezing everytime I run
the command to download it.

Can I have some help with this please?

thank you


My blog: http://jroller.com/page/irismarks

new topic     » topic index » view message » categorize

2. Re: wxEuphoria in linux

Isaiah wrote:
> 
> Hi I'm getting an error when I try to use wxeuphoria code. It's just the
> simple
> 

<snip>

> I've wxEuphoria in my EUINC and wxeu.so in /usr/lib so I don't know what's up.
> I've tried both wxeu.so from RH to fedora. The only thing I can think of is
> if I compile it myself from the source. I really don't want to do this. I know
> next to nothing on compiling this stuff. Plus it keeps freezing everytime I
> run
> the command to download it.
> 
> Can I have some help with this please?
>

What distro are you running?  Also try:

$ ldd /usr/lib/wxeu.so

(I think it's ldd that I want.  I'm not sitting at a linux box ATM...)
It sgould tell you what's missing.  Unfortunately, you may need to 
build from source.  The easiest way is to dl the dev package and follow 
the instructions there.  Let me know what questions you have after you
read it.

Matt

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

3. Re: wxEuphoria in linux

I'm using Ubuntu edgy.

I ran the command that you said to run.
and this is what came up.
-----------------------------------------------------------------
 linux-gate.so.1 =>  (0xffffe000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb783b000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7805000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb7802000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0xb77ff000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb77db000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb77bb000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb77b6000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb77ae000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb77a1000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb76d8000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76b2000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb75d3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb75c7000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7493000)
        /lib/ld-linux.so.2 (0x80000000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7490000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb748b000)

I'm trying to download the sources with svc like it says on the site but it
keeps stopping after so long. Saying this:


svn: REPORT request failed on '/svnroot/wxeuphoria/!svn/vcc/default'
svn: REPORT of '/svnroot/wxeuphoria/!svn/vcc/default': Could not read response
body: Secure connection truncated (https://svn.sourceforge.net)




My blog: http://jroller.com/page/irismarks

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

4. Re: wxEuphoria in linux

Matt, I looked around the forums, and searched. Since I'm using Ubuntu it's
probably the whole wxeu.so not working in Ubuntu thing. So I figured I'd have to
compile. I downloaded the dev package like you said, but I'm not to sure what to
do. How do I get the source for it too, svc command keeps stopping after so long
without finishing. Is there any good instructions on how to do this?

thanks

My blog: http://jroller.com/page/irismarks

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

5. Re: wxEuphoria in linux

Isaiah wrote:
> 
> Matt, I looked around the forums, and searched. Since I'm using Ubuntu it's
> probably the whole wxeu.so not working in Ubuntu thing. So I figured I'd have
> to compile. I downloaded the dev package like you said, but I'm not to sure
> what to do. How do I get the source for it too, svc command keeps stopping
> after
> so long without finishing. Is there any good instructions on how to do this?

Try going here and downloading v2.4.2:

http://sourceforge.net/project/showfiles.php?group_id=9863&package_id=14076

After you've unpacked the source, unpack the patch code.  It's not as well
organized as it should be, but I think that very few people have looked at
it, and, well...there'll be a 'patch' subdirectory.  Inside of that, there
will be an include and a src subdirectory.  Copy those over to the appropriate
places to replace the files there with the modified versions.  Then
you're ready to go:

 $ ./configure --with-gtk

 $ make

Depending on your install, you may need to get some additional developer 
packages (i.e., for GTK+, etc).

Matt

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

6. Re: wxEuphoria in linux

Hey Matt Lewis

I did what you said and it came up with this. 

>checking for GTK+ version... 
>checking for gtk-config... no
>checking for GTK - version >= 1.2.7... no
>*** The gtk-config script installed by GTK could not be found
>*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
>*** your path, or set the GTK_CONFIG environment variable to the
>*** full path to gtk-config.
>checking for gtk-config... (cached) no
>checking for GTK - version >= 1.2.3... no
>*** The gtk-config script installed by GTK could not be found
>*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
>*** your path, or set the GTK_CONFIG environment variable to the
>*** full path to gtk-config.
>configure: error: 
>Please check that gtk-config is in path, the directory
>where GTK+ libraries are installed (returned by
>'gtk-config --libs' command) is in LD_LIBRARY_PATH or
>equivalent variable and GTK+ is version 1.2.3 or above.

I looked for GTK+ in the available packages and can't find one available.


My blog: http://jroller.com/page/irismarks

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

7. Re: wxEuphoria in linux

Isaiah wrote:
> 
> Hey Matt Lewis
> 
> I did what you said and it came up with this. 

<snip> 

> I looked for GTK+ in the available packages and can't find one available.

I believe that what you need is libgtk1.2-dev.  In Synaptic, it's under
"Libraries - Development."  You might also want/need libgtk1.2-dbg.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu