1. VXEUPHORIA - step by step

Hello Matt
You have a step by step to install the complete VXEUPHORIA and dependencies?
I intend to do so within the Mandriva Linux.
Perhaps something like this but, for other distributions, can help me.
Thank you in advance.

new topic     » topic index » view message » categorize

2. Re: VXEUPHORIA - step by step

Installing wxEuphoria:

When I typed ". / Configure" did not work. So, I removed all caracters "^ M" at the end of the line. After that, the ". / Configure" ran.
Now, is giving another error: "No package 'gtk + -2.0' found" But this package is installed in my system.
Any suggestions?

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

3. Re: VXEUPHORIA - step by step

sergelli said...

Installing wxEuphoria:

When I typed ". / Configure" did not work. So, I removed all caracters "^ M" at the end of the line. After that, the ". / Configure" ran.
Now, is giving another error: "No package 'gtk + -2.0' found" But this package is installed in my system.
Any suggestions?

From readme.txt:

* Dependencies:  You must have the following packages installed in order 
  to build wxEuphoria from source: 
      * libwxgtk2.9-dev 
      * gtk+-2.0-dev 
      * libpango1.0-dev 

That's for 2.9. Substitute 2.8 above to be able to build against wxWidgets 2.8. Those files include the headers that you need in order to properly link against those libraries. They're separate than the libraries themselves.

Matt

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

4. Re: VXEUPHORIA - step by step

Thanks. Now I'm running with wxEu.
I installed WxIde, but the lines of open files, comes without the first character.
What might be happening?

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

5. Re: VXEUPHORIA - step by step

OK, now I saw that WxIde open Linux files correctly, but does not bring the first character of the lines of the files stored on Windows systems.

This is the reason for cutting the first character?

If so, how do I fix this? Or how to transform windows file system for Linux?

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

6. Re: VXEUPHORIA - step by step

sergelli said...

OK, now I saw that WxIde open Linux files correctly, but does not bring the first character of the lines of the files stored on Windows systems.

This is the reason for cutting the first character?

If so, how do I fix this? Or how to transform windows file system for Linux?

I think this is basically my buggy attempt at supporting unicode and determining the encoding. I probably need to rip out that stuff and rewrite it.

Matt

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

7. Re: VXEUPHORIA - step by step

I'll report some difficulty I had trying to use the WxEuphoria.

Some lines that need to be modified in the install.txt file, not to confuse the newbies like me.

"You must have installed wxWidgets 2.8, Either from your distribution's package ......"

With the file "libwxeu.so" only, the library wxEuphoria already works. The words "You must have" above, confuses the beginner who will try to install wxWidgets.
This installation is very difficult and did not seem necessary to me.

Is that correct? If not correct, write about the reason to do this installation.


I had another problem within the file "install.txt" in line:

"Put: 
          wxEuphoria/include/wxeud.e 
     into the directory ... $ EUINC on your path. " 

In this case, I like the goofy, I did so:

EUINC = /home/sergio/wxEuphoria/include/wxeud.e 

And, of course, does not work. The Right is:

EUINC = /home/sergio/wxEuphoria/include 

Also would be nice, remember the beginner to make a new login, to reset these variables.
For now it is just that.
If you wish, I keep telling my suggestions to help beginners. But if I'm bothering you, let me know.

Thanks
Sérgio

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

8. Re: VXEUPHORIA - step by step

sergelli said...

I'll report some difficulty I had trying to use the WxEuphoria.

Some lines that need to be modified in the install.txt file, not to confuse the newbies like me.

"You must have installed wxWidgets 2.8, Either from your distribution's package ......"

With the file "libwxeu.so" only, the library wxEuphoria already works. The words "You must have" above, confuses the beginner who will try to install wxWidgets.
This installation is very difficult and did not seem necessary to me.

Is that correct? If not correct, write about the reason to do this installation.

It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.

sergelli said...

I had another problem within the file "install.txt" in line:

"Put: 
          wxEuphoria/include/wxeud.e 
     into the directory ... $ EUINC on your path. " 

In this case, I like the goofy, I did so:

EUINC = /home/sergio/wxEuphoria/include/wxeud.e 

And, of course, does not work. The Right is:

EUINC = /home/sergio/wxEuphoria/include 

Also would be nice, remember the beginner to make a new login, to reset these variables.
For now it is just that.
If you wish, I keep telling my suggestions to help beginners. But if I'm bothering you, let me know.

All of the references to $EUINC should be removed, actually. You should really be managing your include directories with eu.cfg files. Those changes take effect immediately, which is one (major, IMHO) advantage over environment variables.

Thanks for the heads up.

Matt

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

9. Re: VXEUPHORIA - step by step

mattlewis said...

It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.

OK. You're right, on my Linux, I found the wxWidgets, in the following folder
usr/share/codeblocks/templates/wizard/wxwidgets

This is interesting because in the Mandriva repositories do not have this package

mattlewis said...

All of the references to $EUINC should be removed, actually. You should really be managing your include directories with eu.cfg files. Those changes take effect immediately, which is one (major, IMHO) advantage over environment variables.

Thanks for the heads up.

Matt

eu.cfg ? uh...?

I'll try to learn about it

Thanks
Sérgio

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

10. Re: VXEUPHORIA - step by step

sergelli said...
mattlewis said...

It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.

OK. You're right, on my Linux, I found the wxWidgets, in the following folder
usr/share/codeblocks/templates/wizard/wxwidgets

This is interesting because in the Mandriva repositories do not have this package

The actual files are probably in /usr/lib. The package is probably named something like:

i   libwxgtk2.8-0          - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)     
p   libwxgtk2.8-dbg        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) 
p   libwxgtk2.8-dev        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development) 
That's output from aptitude on Kubuntu.

sergelli said...

eu.cfg ? uh...?

I'll try to learn about it

Start here

Matt

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

11. Re: VXEUPHORIA - step by step

mattlewis said...
sergelli said...
mattlewis said...

It sounds like wxWidgets was already installed on your system. There are other applications that depend on it, so it's not terribly surprising.

OK. You're right, on my Linux, I found the wxWidgets, in the following folder
usr/share/codeblocks/templates/wizard/wxwidgets

This is interesting because in the Mandriva repositories do not have this package

The actual files are probably in /usr/lib. The package is probably named something like:

i   libwxgtk2.8-0          - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)     
p   libwxgtk2.8-dbg        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) 
p   libwxgtk2.8-dev        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development) 
That's output from aptitude on Kubuntu.

Mark

wxWidget packages for Mandriva do seem to be out there, even if they are hard to find: http://rpmfind.net/linux/rpm2html/search.php?query=wxgtk2.8

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

12. Re: VXEUPHORIA - step by step

jimcbrown said...

The actual files are probably in /usr/lib. The package is probably named something like:

i   libwxgtk2.8-0          - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)     
p   libwxgtk2.8-dbg        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) 
p   libwxgtk2.8-dev        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development) 
That's output from aptitude on Kubuntu. Mark

That means if I have installed libwxgtk2.8, I also have installed wxWidgets?

But that's not important now.Because the wxEuphoria running wel

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

13. Re: VXEUPHORIA - step by step

sergelli said...
jimcbrown said...

The actual files are probably in /usr/lib. The package is probably named something like:

i   libwxgtk2.8-0          - wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime)     
p   libwxgtk2.8-dbg        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ debug) 
p   libwxgtk2.8-dev        - wxWidgets Cross-platform C++ GUI toolkit (GTK+ development) 
That's output from aptitude on Kubuntu. Mark

That means if I have installed libwxgtk2.8, I also have installed wxWidgets?

Yes, that is wxWidgets. It looked like you had installed Code Blocks, which is built from wxWidgets, so that may have been what installed the libraries. In fact, it is probably multiple libraries. For instance, on my system:

$ ldd l64/libwxeu.so.17  
        linux-vdso.so.1 =>  (0x00007fffa2bd7000) 
        libwx_gtk2u_media-2.8.so.0 => /usr/lib/libwx_gtk2u_media-2.8.so.0 (0x00007f65b7321000) 
        libwx_gtk2u_richtext-2.8.so.0 => /usr/lib/libwx_gtk2u_richtext-2.8.so.0 (0x00007f65b702c000) 
        libwx_gtk2u_aui-2.8.so.0 => /usr/lib/libwx_gtk2u_aui-2.8.so.0 (0x00007f65b6dc3000) 
        libwx_gtk2u_xrc-2.8.so.0 => /usr/lib/libwx_gtk2u_xrc-2.8.so.0 (0x00007f65b6b3a000) 
        libwx_gtk2u_html-2.8.so.0 => /usr/lib/libwx_gtk2u_html-2.8.so.0 (0x00007f65b6897000) 
        libwx_gtk2u_adv-2.8.so.0 => /usr/lib/libwx_gtk2u_adv-2.8.so.0 (0x00007f65b65bd000) 
        libwx_gtk2u_core-2.8.so.0 => /usr/lib/libwx_gtk2u_core-2.8.so.0 (0x00007f65b5fd7000) 
        libwx_baseu_xml-2.8.so.0 => /usr/lib/libwx_baseu_xml-2.8.so.0 (0x00007f65b5dcd000) 
        libwx_baseu_net-2.8.so.0 => /usr/lib/libwx_baseu_net-2.8.so.0 (0x00007f65b5b9f000) 
        libwx_baseu-2.8.so.0 => /usr/lib/libwx_baseu-2.8.so.0 (0x00007f65b585b000) 

Matt

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

14. Re: VXEUPHORIA - step by step

About the file eu.cfg: I read the documentation but I'm not sure I understand.

The tests will involve restarts, and will take a long time, so I ask here if the below will work :)


My file. "Bash_profile" have no variables "EUDIR" and "EUINK"

The file "eu.cfg" has the following contents:

[all] 
EUDIR =/home/sergio/euphoria 
EUINC = /home/sergio/wxEuphoria/include 

and "eu.cfg" is written to the directory: /home/sergio/euphoria


So? With this "eu.cfg" file, the Euphoria and wxEuphoria will work same if the system variables "EUDIR" and "EUINK" are inside the ".bash_profile" file?
Someone would have a "eu.cfg" file with comments, that I can see?

Thanks

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

15. Re: VXEUPHORIA - step by step

sergelli said...

So? With this "eu.cfg" file, the Euphoria and wxEuphoria will work same if the system variables "EUDIR" and "EUINK" are inside the ".bash_profile" file?
Someone would have a "eu.cfg" file with comments, that I can see?

Actually, you probably shouldn't have EUDIR or EUINC in your eu.cfg file. I have .eu.cfg in my home dir, with this:

-i /usr/local/share/euphoria/include 
-i ~/eu 
-batch 

So, when I run euphoria, it reads this, and looks for include files (the -i flag) in /usr/local/share/euphoria/include and in /eu. The /usr/local/share/euphoria/include is where I've installed euphoria after building it myself and using "make install."

The /eu is where I generally do my development. There are multiple directories in there, and when I include something, I prefix the name of the file with its directory. For instance, I do my wxeuphoria development in /eu/wxeu, so I use "include wxeu/wxeud.e". Also, when I build and install wxEuphoria, I put wxeud.e into /usr/local/share/euphoria/include/wxeu.

The eu.cfg system is pretty flexible, however, and so I actually have set up older releases of euphoria so that I can run them. I can put an eu.cfg file in the same directory as the interpreter, and the values in that eu.cfg file will be used before the values in the file in my home dir. For instance:

~/eu/oe-release/4.0.3/bin$ cat eu.cfg 
[all] 
-i ~/eu/oe-release/4.0.3/include 
[translate] 
-lib ~/eu/oe-release/4.0.3/bin/eu.a 
That's what I have set up in order to have a functioning 4.0.3 environment. I also have a symlink, elsewhere (and in my $PATH) named eui403 that points to the copy of eui in that directory. Now, when I want to test something with 4.0.3, I can do so, including the correct standard library, without messing with environment variables or restarting a shell.

In other cases, I might want some specific settings for a particular project. I can put a special eu.cfg file in the directory where I'm working, and whenever I run something from that directory, the eu.cfg will be picked up, but it won't affect anything other than that particular project.

Matt

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

16. Re: VXEUPHORIA - step by step

Thanks for the explanation of the "eu.cfg."

Now, I am not able to solve a new problem:
After rebooting, when you run any "pgm.exw" the below message appears:

"Could not open library wxEuphoria. Press enter to abort." 

To resolve this, I run again, the line below:

# Ldconfig /usr/local/lib 

And it all comes back to work.
But, what I do for this not happen again?

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

17. Re: VXEUPHORIA - step by step

sergelli said...

To resolve this, I run again, the line below:

# Ldconfig /usr/local/lib 

And it all comes back to work.
But, what I do for this not happen again?

The cache should persist across reboots. Did you make/install a new version after running ldconfig the last time?

Matt

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

18. Re: VXEUPHORIA - step by step

mattlewis said...

The cache should persist across reboots. Did you make/install a new version after running ldconfig the last time?

Matt

I'm not sure, I tried to do installations on multiple computers. I'm a little confused.

Now, I am currently trying to build the library in a notebook, and get the following message:
./configure: line 25: wx-config: comando não encontrado
./configure: line 26: wx-config: comando não encontrado
./configure: line 27: wx-config: comando não encontrado

translation:comando não encontrado = command not found

What can be causing this?

OK. wxWidgts missing...oh goofy!

Now compiling wxEuphoria.
./configure is ok

But, after "make" I get the message:
make: nothing to be done to "all"
What can be causing this?

OK, I solv this whit Erase and record again the wxEuphoria/src and the problem disappeared

But now, when using the:
make install
I get the following messages:

PREFIX = /usr/local
install -d /usr/local/lib
install libwxeu.so.16 /usr/local/lib
install -d /usr/local/share/euphoria/include/wxeu
install wxeud.e /usr/local/share/euphoria/include/wxeu
install: can not get status "wxeud.e": File or directory not found
make: [install] Erro 1
What can be causing this?

Despite of the above messages, the wxEuphoria system is fully installed. To worb, just type as root:

ldconfig /usr/local/lib

and now wxEuphoria works perfectly in my noteBook whit Mandriva 2011....phew....

Many thaks

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

Search



Quick Links

User menu

Not signed in.

Misc Menu