1. wxEuphoria - Linux source - configure is missing

I first tried to run with the binary library of wxEuphoria and got a message - Unable to open wxEuphoria So there is something wrong with the library? So I downloaded the source, and the readme says to run configure from the source directory - but it is not there.

new topic     » topic index » view message » categorize

2. Re: wxEuphoria - Linux source - configure is missing

penpal0andrew said...

I first tried to run with the binary library of wxEuphoria and got a message - Unable to open wxEuphoria

I don't believe it is necessary to build wxEuphoria from source. I'm using wxEuphoria version 0.14.0 and EU 4.0.2 on Ubuntu and here is what I did.

1) Make sure eui can find wxeud.e by either moving it or listing the appropriate include directory in an eu.cfg file.
For example: -i /home/user/Downloads/wxEuphoria/include

2) Also move libwxeu.so.14 to /usr/lib OR /usr/local/lib. You may then need to run ldconfig to update the linker bindings on the directory you chose. For example: ldconfig /usr/lib

3) Try running the included demos

Hope this helps,
Ira

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

3. Re: wxEuphoria - Linux source - configure is missing

penpal0andrew said...

I first tried to run with the binary library of wxEuphoria and got a message - Unable to open wxEuphoria So there is something wrong with the library? So I downloaded the source, and the readme says to run configure from the source directory - but it is not there.

First, I'd like to try to diagnose why it isn't working (it's definitely possible that you need to build from source, but I'd like to find out why). So, some questions:

  • Which distro are you using?
  • Which version of wxEuphoria did you download?

Can you try the following, and let me know what it says?

$ ldd path/to/libwxeu.so 

Finally, you can get a tarball of the latest code here. Sorry for the incomplete distribution.

Matt

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

4. Re: wxEuphoria - Linux source - configure is missing

mattlewis said...
penpal0andrew said...

I first tried to run with the binary library of wxEuphoria and got a message - Unable to open wxEuphoria So there is something wrong with the library? So I downloaded the source, and the readme says to run configure from the source directory - but it is not there.

First, I'd like to try to diagnose why it isn't working (it's definitely possible that you need to build from source, but I'd like to find out why). So, some questions:

  • Which distro are you using?
  • Which version of wxEuphoria did you download?

Can you try the following, and let me know what it says?

$ ldd path/to/libwxeu.so 

Finally, you can get a tarball of the latest code here. Sorry for the incomplete distribution.

Matt

Using Puppeee which is a derivative of Puppy Linux

wxEuphoria 0.14 (the dec 19 2010)

also downloaded and make of wxWidgets 2.8.12

the tarball - i configure and make this and get :


In file included from wxeu.h:6, 
                 from wxeu.cpp:19: 
wxstdint.h:3:1: warning: "__STDC_CONSTANT_MACROS" redefined 
In file included from execute.h:9, 
                 from alldefs.h:2, 
                 from wxeu.cpp:18: 
wxstdint.h:3:1: warning: this is the location of the previous definition 
In file included from wxeu.h:6, 
                 from wxeu.cpp:19: 
wxstdint.h:4:1: warning: "__STDC_LIMIT_MACROS" redefined 
In file included from execute.h:9, 
                 from alldefs.h:2, 
                 from wxeu.cpp:18: 
wxstdint.h:4:1: warning: this is the location of the previous definition 
wxeu.cpp:53: error: integer constant is too large for 'long' type 
wxeu.cpp:163: warning: 'EuEventTypes' initialized and declared 'extern' 
make: *** [wxeu.o] Error 1 


Finally, the binary linux tar libwxeu.so.14

I placed it in /usr/local/lib :


ls        
dbus-1.0                     libwx_gtk2_aui-2.8.so.0.8.0 
libdbus-1.a                  libwx_gtk2_core-2.8.so 
libdbus-1.la                 libwx_gtk2_core-2.8.so.0 
libdbus-1.so                 libwx_gtk2_core-2.8.so.0.8.0 
libwx_base-2.8.so            libwx_gtk2_html-2.8.so 
libwx_base-2.8.so.0          libwx_gtk2_html-2.8.so.0 
libwx_base-2.8.so.0.8.0      libwx_gtk2_html-2.8.so.0.8.0 
libwx_base_net-2.8.so        libwx_gtk2_qa-2.8.so 
libwx_base_net-2.8.so.0      libwx_gtk2_qa-2.8.so.0 
libwx_base_net-2.8.so.0.8.0  libwx_gtk2_qa-2.8.so.0.8.0 
libwx_base_xml-2.8.so        libwx_gtk2_richtext-2.8.so 
libwx_base_xml-2.8.so.0      libwx_gtk2_richtext-2.8.so.0 
libwx_base_xml-2.8.so.0.8.0  libwx_gtk2_richtext-2.8.so.0.8.0 
libwxeu.so.14                libwx_gtk2_xrc-2.8.so 
libwx_gtk2_adv-2.8.so        libwx_gtk2_xrc-2.8.so.0 
libwx_gtk2_adv-2.8.so.0      libwx_gtk2_xrc-2.8.so.0.8.0 
libwx_gtk2_adv-2.8.so.0.8.0  pkgconfig 
libwx_gtk2_aui-2.8.so        wx 
libwx_gtk2_aui-2.8.so.0      X11 
# ldconfig 
# ldd libwxeu.so.14  
ldd: warning: you do not have execution permission for `./libwxeu.so.14' 
        linux-gate.so.1 =>  (0xb773a000) 
        libwx_gtk2u_media-2.8.so.0 => not found 
        libwx_gtk2u_richtext-2.8.so.0 => not found 
        libwx_gtk2u_aui-2.8.so.0 => not found 
        libwx_gtk2u_xrc-2.8.so.0 => not found 
        libwx_gtk2u_qa-2.8.so.0 => not found 
        libwx_gtk2u_html-2.8.so.0 => not found 
        libwx_gtk2u_adv-2.8.so.0 => not found 
        libwx_gtk2u_core-2.8.so.0 => not found 
        libwx_baseu_xml-2.8.so.0 => not found 
        libwx_baseu_net-2.8.so.0 => not found 
        libwx_baseu-2.8.so.0 => not found 
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb757a000) 
        libm.so.6 => /lib/libm.so.6 (0xb7552000) 
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7546000) 
        libpthread.so.0 => /lib/libpthread.so.0 (0xb752f000) 
        libc.so.6 => /lib/libc.so.6 (0xb73ef000) 
        /lib/ld-linux.so.2 (0xb773b000) 

I just realized that I have a different wxWidgets than what you have. I do not know if recompiling wxEuphoria will help, so that is why I am asking you. Maybe you can tell me what version of wxWidgets to get, or if that is not the issue, why the above tar did not compile.

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

5. Re: wxEuphoria - Linux source - configure is missing

penpal0andrew said...

I just realized that I have a different wxWidgets than what you have. I do not know if recompiling wxEuphoria will help, so that is why I am asking you. Maybe you can tell me what version of wxWidgets to get, or if that is not the issue, why the above tar did not compile.

Yes, if you have a different version of wxWidgets, you'll need to rebuild. Anything 2.8 should work. Some distros build their binaries with certain options turned off. They have macros of the form WX_USE_*. I've put some of these into wxEuphoria, but I'm sure there are more. It doesn't look like you had that problem (but let me know if some file doesn't compile).

I've been working mainly with 64-bit builds. The error you got was due to some error reporting stuff I'd put in, and used a 64-bit integer, which will cause problems in 32-bits.

Matt

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

6. Re: wxEuphoria - Linux source - configure is missing

penpal0andrew said...

I first tried to run with the binary library of wxEuphoria and got a message - Unable to open wxEuphoria So there is something wrong with the library? So I downloaded the source, and the readme says to run configure from the source directory - but it is not there.

Also, I think I'm going to get this stuff cleaned up and put out v0.15 here in the next week or so. I'd also like to release the updated wxIDE, which has a simple GUI builder (that actually works!), but needs some new stuff from wxEuphoria that wasn't in v0.14.

Matt

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

7. Re: wxEuphoria - Linux source - configure is missing

I fixed the 64 bit constant you put in and make the trunk. The library was created and is okay.

Now I get this error when I run a test program:

# eui wxeutest 
eui: symbol lookup error: /usr/local/lib/libwxeu.so.15: undefined symbol: _Z7get_intii 

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

8. Re: wxEuphoria - Linux source - configure is missing

penpal0andrew said...

I fixed the 64 bit constant you put in and make the trunk. The library was created and is okay.

Now I get this error when I run a test program:

# eui wxeutest 
eui: symbol lookup error: /usr/local/lib/libwxeu.so.15: undefined symbol: _Z7get_intii 

Yes, I just fixed that this morning and committed the code to the svn repository.

Matt

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

9. Re: wxEuphoria - Linux source - configure is missing

looks good so far. Even if I do not use wxEuphoria I now have an editor at least with wxIDE. It has been frustrating to get that scintilla thing to work.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu